prompt
stringlengths
219
3.5k
label
stringlengths
96
1.37k
text
stringlengths
316
4.54k
file_path
stringlengths
5
168
lang
stringclasses
7 values
commit
stringlengths
40
40
<|file_sep|>src/StdAfx.h.diff original: updated: #include <sstream> <|file_sep|>original/src/StdAfx.h #ifdef _WIN32 # define VC_EXTRALEAN # define WIN32_LEAN_AND_MEAN # include <windows.h> #endif #include <math.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <list> #include <map> #include <memor...
# define WIN32_LEAN_AND_MEAN # include <windows.h> #endif #include <math.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <list> #include <map> #include <memory> #include <sstream> #include <string> #include <vector> #include <utility> #include <SDL2/SDL.h> #include <SDL2/SDL_image.h> #include <S...
<|file_sep|>src/StdAfx.h.diff original: updated: #include <sstream> <|file_sep|>original/src/StdAfx.h #ifdef _WIN32 # define VC_EXTRALEAN # define WIN32_LEAN_AND_MEAN # include <windows.h> #endif #include <math.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <list> #include <map> #include <memor...
src/StdAfx.h
C
00ce45e79a3abaf31a3861001b06107f461dcc90
<|file_sep|>src/opencc_convert.h.diff original: updated: #ifdef __cplusplus extern "C" { #endif <|file_sep|>original/src/opencc_convert.h * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS...
*/ #ifndef __OPENCC_CONVERT_H_ #define __OPENCC_CONVERT_H_ #include "opencc_utils.h" #define SEGMENT_BUFF_SIZE 1048576 #ifdef __cplusplus extern "C" { #endif wchar_t * words_segmention(wchar_t * dest, const wchar_t * text); wchar_t * simp_to_trad(wchar_t * dest, const wchar_t * text); #ifdef __cplusplus }; #endif...
<|file_sep|>src/opencc_convert.h.diff original: updated: #ifdef __cplusplus extern "C" { #endif <|file_sep|>original/src/opencc_convert.h * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS...
src/opencc_convert.h
C
6d58640be1e9d8bf8408864f293b75c1d48da06b
<|file_sep|>tests/auto/common/declarativewebutils.h.diff original: updated: Q_PROPERTY(bool firstUseDone READ firstUseDone NOTIFY firstUseDoneChanged FINAL) <|file_sep|>original/tests/auto/common/declarativewebutils.h Q_INVOKABLE int getLightness(QColor color) const; Q_INVOKABLE QString displayableUrl(QSt...
Q_INVOKABLE int getLightness(QColor color) const; Q_INVOKABLE QString displayableUrl(QString fullUrl) const; static DeclarativeWebUtils *instance(); QString homePage() const; bool firstUseDone() const; void setFirstUseDone(bool firstUseDone); signals: void homePageChanged(); void firs...
<|file_sep|>tests/auto/common/declarativewebutils.h.diff original: updated: Q_PROPERTY(bool firstUseDone READ firstUseDone NOTIFY firstUseDoneChanged FINAL) <|file_sep|>original/tests/auto/common/declarativewebutils.h Q_INVOKABLE int getLightness(QColor color) const; Q_INVOKABLE QString displayableUrl(QSt...
tests/auto/common/declarativewebutils.h
C
dc5390b941c4694b601b52dc1a0ad5c69ed1cfa2
<|file_sep|>IPCalculator/IPAddress.h.diff original: updated: #endif // _IPADDRESS_H_ <|file_sep|>original/IPCalculator/IPAddress.h #include <iostream> // An IPv4 address has the following form: // "A.B.C.D", where A, B, C and D are bytes class IPAddress { public: IPAddress (unsigned char a = 0, unsigned char b...
#ifndef _IP_ADDRESS_H_ #define _IP_ADDRESS_H_ #include <iostream> // An IPv4 address has the following form: // "A.B.C.D", where A, B, C and D are bytes class IPAddress { public: IPAddress (unsigned char a = 0, unsigned char b = 0, unsigned char c = 0, unsigned char d = 0); IPAddress operator& (const IPAd...
<|file_sep|>IPCalculator/IPAddress.h.diff original: updated: #endif // _IPADDRESS_H_ <|file_sep|>original/IPCalculator/IPAddress.h #include <iostream> // An IPv4 address has the following form: // "A.B.C.D", where A, B, C and D are bytes class IPAddress { public: IPAddress (unsigned char a = 0, unsigned char b...
IPCalculator/IPAddress.h
C
9a91e90810d8c91e9e83799e7824f1ff9b171266
<|file_sep|>bikepath/SearchItem.h.diff original: updated: <|file_sep|>original/bikepath/SearchItem.h // // SearchItem.h // bikepath // // Created by Farheen Malik on 8/15/14. // Copyright (c) 2014 Bike Path. All rights reserved. // #import <Foundation/Foundation.h> @interface SearchItem : NSObject @end <|file_...
// // SearchItem.h // bikepath // // Created by Farheen Malik on 8/15/14. // Copyright (c) 2014 Bike Path. All rights reserved. // #import <Foundation/Foundation.h> @interface SearchItem : NSObject @property NSString *searchQuery; @property (readonly) NSDate *creationDate; @end
<|file_sep|>bikepath/SearchItem.h.diff original: updated: <|file_sep|>original/bikepath/SearchItem.h // // SearchItem.h // bikepath // // Created by Farheen Malik on 8/15/14. // Copyright (c) 2014 Bike Path. All rights reserved. // #import <Foundation/Foundation.h> @interface SearchItem : NSObject @end <|file_...
bikepath/SearchItem.h
C
682e9119abc404a15c8304567819ed8f81ee27ab
<|file_sep|>test/Sema/attr-availability-ios.c.diff original: updated: void f5(int) __attribute__((availability(ios,introduced=2.0))) __attribute__((availability(ios,deprecated=3.0))); void f6(int) __attribute__((availability(ios,deprecated=3.0))); void f6(int) __attribute__((availability(ios,introduced=2.0))); <|file...
// RUN: %clang_cc1 "-triple" "x86_64-apple-darwin3.0.0-iphoneos" -fsyntax-only -verify %s void f0(int) __attribute__((availability(ios,introduced=2.0,deprecated=2.1))); void f1(int) __attribute__((availability(ios,introduced=2.1))); void f2(int) __attribute__((availability(ios,introduced=2.0,deprecated=3.0))); void f3...
<|file_sep|>test/Sema/attr-availability-ios.c.diff original: updated: void f5(int) __attribute__((availability(ios,introduced=2.0))) __attribute__((availability(ios,deprecated=3.0))); void f6(int) __attribute__((availability(ios,deprecated=3.0))); void f6(int) __attribute__((availability(ios,introduced=2.0))); <|file...
test/Sema/attr-availability-ios.c
C
6cc425e21330a5fa456077def0fc727b92e6ecde
<|file_sep|>ndb/src/common/portlib/NdbSleep.c.diff original: updated: #include <my_sys.h> <|file_sep|>ndb/src/common/portlib/NdbSleep.c.diff original: updated: my_sleep(milliseconds*1000); return 0; #if 0 <|file_sep|>original/ndb/src/common/portlib/NdbSleep.c #include <ndb_global.h> #include <NdbSleep.h> int Ndb...
NdbSleep_MilliSleep(int milliseconds){ my_sleep(milliseconds*1000); return 0; #if 0 int result = 0; struct timespec sleeptime; sleeptime.tv_sec = milliseconds / 1000; sleeptime.tv_nsec = (milliseconds - (sleeptime.tv_sec * 1000)) * 1000000; result = nanosleep(&sleeptime, NULL); return result; #endif } ...
<|file_sep|>ndb/src/common/portlib/NdbSleep.c.diff original: updated: #include <my_sys.h> <|file_sep|>ndb/src/common/portlib/NdbSleep.c.diff original: updated: my_sleep(milliseconds*1000); return 0; #if 0 <|file_sep|>original/ndb/src/common/portlib/NdbSleep.c #include <ndb_global.h> #include <NdbSleep.h> int Ndb...
ndb/src/common/portlib/NdbSleep.c
C
837f1bd12b5c80446bf0ee243303c66d37c6a69e
<|file_sep|>STRUCT/STRUCTLinkDef.h.diff original: updated: #pragma link C++ class AliABSOv0; <|file_sep|>original/STRUCT/STRUCTLinkDef.h #pragma link off all globals; #pragma link off all classes; #pragma link off all functions; #pragma link C++ class AliBODY; #pragma link C++ class AliMAG; #pragma link C++ class...
#pragma link off all functions; #pragma link C++ class AliBODY; #pragma link C++ class AliMAG; #pragma link C++ class AliABSO; #pragma link C++ class AliABSOv0; #pragma link C++ class AliDIPO; #pragma link C++ class AliDIPOv1; #pragma link C++ class AliDIPOv2; #pragma link C++ class AliFRAME; #pragma link C++...
<|file_sep|>STRUCT/STRUCTLinkDef.h.diff original: updated: #pragma link C++ class AliABSOv0; <|file_sep|>original/STRUCT/STRUCTLinkDef.h #pragma link off all globals; #pragma link off all classes; #pragma link off all functions; #pragma link C++ class AliBODY; #pragma link C++ class AliMAG; #pragma link C++ class...
STRUCT/STRUCTLinkDef.h
C
66122432b36ed35ec40499d2d93fc51fa02c20e0
<|file_sep|>inc/osvr/Util/SharedPtr.h.diff original: updated: using std::weak_ptr; <|file_sep|>original/inc/osvr/Util/SharedPtr.h // All rights reserved. // // (Final version intended to be licensed under // the Apache License, Version 2.0) #ifndef INCLUDED_SharedPtr_h_GUID_E9C5BC8D_7D3A_4896_1552_6F4F5292783C #defin...
// (Final version intended to be licensed under // the Apache License, Version 2.0) #ifndef INCLUDED_SharedPtr_h_GUID_E9C5BC8D_7D3A_4896_1552_6F4F5292783C #define INCLUDED_SharedPtr_h_GUID_E9C5BC8D_7D3A_4896_1552_6F4F5292783C #if defined(_MSC_VER) && (_MSC_VER < 1600) #error "Not supported before VS 2010" #else #inc...
<|file_sep|>inc/osvr/Util/SharedPtr.h.diff original: updated: using std::weak_ptr; <|file_sep|>original/inc/osvr/Util/SharedPtr.h // All rights reserved. // // (Final version intended to be licensed under // the Apache License, Version 2.0) #ifndef INCLUDED_SharedPtr_h_GUID_E9C5BC8D_7D3A_4896_1552_6F4F5292783C #defin...
inc/osvr/Util/SharedPtr.h
C
00cbbaa30f3c3336f6bfeea39b8c2699fb43b6e0
<|file_sep|>cpp/EXGL.h.diff original: updated: #ifdef __ANDROID__ #include <GLES2/gl2.h> #endif #ifdef __APPLE__ <|file_sep|>original/cpp/EXGL.h #ifndef __EXGL_H__ #define __EXGL_H__ #include <OpenGLES/ES2/gl.h> #include <JavaScriptCore/JSBase.h> #ifdef __cplusplus extern "C" { #endif // Identifies an EXGL contex...
#ifndef __EXGL_H__ #define __EXGL_H__ #ifdef __ANDROID__ #include <GLES2/gl2.h> #endif #ifdef __APPLE__ #include <OpenGLES/ES2/gl.h> #endif #include <JavaScriptCore/JSBase.h> #ifdef __cplusplus extern "C" { #endif // Identifies an EXGL context. No EXGL context has the id 0, so that can be // used as a 'null' valu...
<|file_sep|>cpp/EXGL.h.diff original: updated: #ifdef __ANDROID__ #include <GLES2/gl2.h> #endif #ifdef __APPLE__ <|file_sep|>original/cpp/EXGL.h #ifndef __EXGL_H__ #define __EXGL_H__ #include <OpenGLES/ES2/gl.h> #include <JavaScriptCore/JSBase.h> #ifdef __cplusplus extern "C" { #endif // Identifies an EXGL contex...
cpp/EXGL.h
C
f333a38b65f9d357ab6c2fc73fd014f8e266657f
<|file_sep|>include/win32/strings.h.diff original: updated: #ifdef __cplusplus extern "C" { #endif <|file_sep|>original/include/win32/strings.h #include <stdarg.h> #include <platform/visibility.h> PLATFORM_PUBLIC_API int asprintf(char **ret, const char *format, ...); PLATFORM_PUBLIC_API int vasprintf(char **ret, c...
extern "C" { #endif PLATFORM_PUBLIC_API int asprintf(char **ret, const char *format, ...); PLATFORM_PUBLIC_API int vasprintf(char **ret, const char *format, va_list ap); #ifdef __cplusplus } #endif /* * We have a fair amount of use of this file in our code base. * Let's just make a dummy file to aviod a lot of #ifd...
<|file_sep|>include/win32/strings.h.diff original: updated: #ifdef __cplusplus extern "C" { #endif <|file_sep|>original/include/win32/strings.h #include <stdarg.h> #include <platform/visibility.h> PLATFORM_PUBLIC_API int asprintf(char **ret, const char *format, ...); PLATFORM_PUBLIC_API int vasprintf(char **ret, c...
include/win32/strings.h
C
814fd55d1b26335f1765ed59fda4b6325893a9ad
<|file_sep|>src/api/yawot/version.h.diff original: updated: #ifndef YAWOT_VERSION_H #define YAWOT_VERSION_H <|file_sep|>original/src/api/yawot/version.h namespace yawot { /** * Return the version of the *library* as an * unsigned integer. The format is XXYYZZ * XX - major version * YY - minor version * ZZ - p...
#ifndef YAWOT_VERSION_H #define YAWOT_VERSION_H namespace yawot { /** * Return the version of the *library* as an * unsigned integer. The format is XXYYZZ * XX - major version * YY - minor version * ZZ - patch version */ unsigned int version(); } #endif /* YAWOT_VERSION_H */
<|file_sep|>src/api/yawot/version.h.diff original: updated: #ifndef YAWOT_VERSION_H #define YAWOT_VERSION_H <|file_sep|>original/src/api/yawot/version.h namespace yawot { /** * Return the version of the *library* as an * unsigned integer. The format is XXYYZZ * XX - major version * YY - minor version * ZZ - p...
src/api/yawot/version.h
C
e89291fb0f04e1585014b5f60446ddc49e4c3ec7
<|file_sep|>include/asm-arm/mach/flash.h.diff original: updated: struct mtd_info; <|file_sep|>include/asm-arm/mach/flash.h.diff original: updated: * mmcontrol: method called to enable or disable Sync. Burst Read in OneNAND <|file_sep|>original/include/asm-arm/mach/flash.h * map_name: the map probe function name * ...
* width: width of mapped device * init: method called at driver/device initialisation * exit: method called at driver/device removal * set_vpp: method called to enable or disable VPP * mmcontrol: method called to enable or disable Sync. Burst Read in OneNAND * parts: optional array of mtd_partitions for static pa...
<|file_sep|>include/asm-arm/mach/flash.h.diff original: updated: struct mtd_info; <|file_sep|>include/asm-arm/mach/flash.h.diff original: updated: * mmcontrol: method called to enable or disable Sync. Burst Read in OneNAND <|file_sep|>original/include/asm-arm/mach/flash.h * map_name: the map probe function name * ...
include/asm-arm/mach/flash.h
C
861e37ad5969f764574722f4cfc0734511cbac7f
<|file_sep|>include/ethdrivers/intel.h.diff original: updated: #ifndef ETHIF_INTEL_H #define ETHIF_INTEL_H <|file_sep|>original/include/ethdrivers/intel.h #include <platsupport/io.h> /** * This function initialises the hardware * @param[in] io_ops A structure containing os specific data and * ...
/** * This function initialises the hardware * @param[in] io_ops A structure containing os specific data and * functions. * @param[in] bar0 Where pci bar0 has been mapped into our vspace * @return A reference to the ethernet drivers state. */ struct eth_dr...
<|file_sep|>include/ethdrivers/intel.h.diff original: updated: #ifndef ETHIF_INTEL_H #define ETHIF_INTEL_H <|file_sep|>original/include/ethdrivers/intel.h #include <platsupport/io.h> /** * This function initialises the hardware * @param[in] io_ops A structure containing os specific data and * ...
include/ethdrivers/intel.h
C
918002b7cc42d465dc80d2313e31d8fbfeef3712
<|file_sep|>src/csapex_remote/include/csapex/io/session_client.h.diff original: updated: #include <boost/version.hpp> <|file_sep|>src/csapex_remote/include/csapex/io/session_client.h.diff original: updated: #if (BOOST_VERSION / 100000) >= 1 && (BOOST_VERSION / 100 % 1000) >= 66 boost::asio::ip::tcp::resolver::end...
private: boost::asio::io_service io_service; boost::asio::ip::tcp::socket socket_impl; boost::asio::ip::tcp::resolver resolver; #if (BOOST_VERSION / 100000) >= 1 && (BOOST_VERSION / 100 % 1000) >= 66 boost::asio::ip::tcp::resolver::endpoint_type resolver_iterator; #else // deprecated in boost 1.66 ...
<|file_sep|>src/csapex_remote/include/csapex/io/session_client.h.diff original: updated: #include <boost/version.hpp> <|file_sep|>src/csapex_remote/include/csapex/io/session_client.h.diff original: updated: #if (BOOST_VERSION / 100000) >= 1 && (BOOST_VERSION / 100 % 1000) >= 66 boost::asio::ip::tcp::resolver::end...
src/csapex_remote/include/csapex/io/session_client.h
C
a261efe40af92ed1548d50a9997469ce5b4eab14
<|file_sep|>Settings/Tab.h.diff original: updated: #include "Control.h" <|file_sep|>Settings/Tab.h.diff original: updated: /// <summary>Window handle of this tab.</summary> <|file_sep|>original/Settings/Tab.h /// <summary>Persists changes made on the tab page</summary> virtual void SaveSettings() = 0; ...
HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam); /// <summary>Persists changes made on the tab page</summary> virtual void SaveSettings() = 0; protected: /// <summary>Window handle of this tab.</summary> HWND _hWnd; UIContext *_ctxt; /// <summary>A vector of all the controls pr...
<|file_sep|>Settings/Tab.h.diff original: updated: #include "Control.h" <|file_sep|>Settings/Tab.h.diff original: updated: /// <summary>Window handle of this tab.</summary> <|file_sep|>original/Settings/Tab.h /// <summary>Persists changes made on the tab page</summary> virtual void SaveSettings() = 0; ...
Settings/Tab.h
C
9abc56ec060ec6366878a829fa9554cde28e8925
<|file_sep|>ARAnalyticalProvider.h.diff original: updated: /// Submit a string to the local persisted logging system <|file_sep|>original/ARAnalyticalProvider.h /// Monitor Navigation changes as page view - (void)monitorNavigationViewController:(UINavigationController *)controller; /// Submit an event with a time in...
/// Submit an event with a time interval - (void)logTimingEvent:(NSString *)event withInterval:(NSNumber *)interval; /// Submit an event with a time interval and extra properties /// @warning the properites must not contain the key string `length`. - (void)logTimingEvent:(NSString *)event withInterval:(NSNumber *)int...
<|file_sep|>ARAnalyticalProvider.h.diff original: updated: /// Submit a string to the local persisted logging system <|file_sep|>original/ARAnalyticalProvider.h /// Monitor Navigation changes as page view - (void)monitorNavigationViewController:(UINavigationController *)controller; /// Submit an event with a time in...
ARAnalyticalProvider.h
C
4db6dd114fde94aac12d4a2f01ca23032cc8cc61
<|file_sep|>Code/RestKit.h.diff original: updated: #ifndef _RESTKIT_ #define _RESTKIT_ <|file_sep|>original/Code/RestKit.h // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, eit...
// #ifndef _RESTKIT_ #define _RESTKIT_ #import "ObjectMapping.h" #import "Network.h" #import "Support.h" #import "CoreData.h" /** Set the App logging component. This header file is generally only imported by apps that are pulling in all of RestKit. By setting the log component to App here, we allow the app devel...
<|file_sep|>Code/RestKit.h.diff original: updated: #ifndef _RESTKIT_ #define _RESTKIT_ <|file_sep|>original/Code/RestKit.h // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, eit...
Code/RestKit.h
C
7d0c8651ffc96bf8d1f08b1a482105514301e16b
<|file_sep|>Sources/Cinput/input.c.diff original: updated: #ifdef input_event_sec <|file_sep|>Sources/Cinput/input.c.diff original: updated: #else return event.time.tv_sec #endif <|file_sep|>Sources/Cinput/input.c.diff original: updated: #ifdef input_event_usec <|file_sep|>original/Sources/Cinput/input.c #includ...
#include "input.h" inline int input_event_get_sec(struct input_event event) { #ifdef input_event_sec return event.input_event_sec; #else return event.time.tv_sec #endif } inline int input_event_get_usec(struct input_event event) { #ifdef input_event_usec return event.input_event_usec; #else return eve...
<|file_sep|>Sources/Cinput/input.c.diff original: updated: #ifdef input_event_sec <|file_sep|>Sources/Cinput/input.c.diff original: updated: #else return event.time.tv_sec #endif <|file_sep|>Sources/Cinput/input.c.diff original: updated: #ifdef input_event_usec <|file_sep|>original/Sources/Cinput/input.c #includ...
Sources/Cinput/input.c
C
db769b79cf99203a93c441bcfe98c993aa0ca3b5
<|file_sep|>src/gallium/winsys/sw/hgl/hgl_sw_winsys.h.diff original: updated: #ifdef __cplusplus extern "C" { #endif <|file_sep|>original/src/gallium/winsys/sw/hgl/hgl_sw_winsys.h * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN N...
* The above copyright notice and this permission notice (including the * next paragraph) shall be included in all copies or substantial portions * of the Software. * **************************************************************************/ #ifndef _HGL_SOFTWAREWINSYS_H #define _HGL_SOFTWAREWINSYS_H #ifdef __cpl...
<|file_sep|>src/gallium/winsys/sw/hgl/hgl_sw_winsys.h.diff original: updated: #ifdef __cplusplus extern "C" { #endif <|file_sep|>original/src/gallium/winsys/sw/hgl/hgl_sw_winsys.h * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN N...
src/gallium/winsys/sw/hgl/hgl_sw_winsys.h
C
73aef2d1d8a0fe417df1ab4a35029be74891ee37
<|file_sep|>src/UserSpaceInstrumentation/include/UserSpaceInstrumentation/Attach.h.diff original: updated: // Attaches to and stops all threads of the process `pid` using `PTRACE_ATTACH`. Being attached to a // process using this function is a precondition for using any of the tooling provided here. <|file_sep|>origin...
// found in the LICENSE file. #ifndef USER_SPACE_INSTRUMENTATION_ATTACH_H_ #define USER_SPACE_INSTRUMENTATION_ATTACH_H_ #include <sys/types.h> #include "OrbitBase/Result.h" namespace orbit_user_space_instrumentation { // Attaches to and stops all threads of the process `pid` using `PTRACE_ATTACH`. Being attached t...
<|file_sep|>src/UserSpaceInstrumentation/include/UserSpaceInstrumentation/Attach.h.diff original: updated: // Attaches to and stops all threads of the process `pid` using `PTRACE_ATTACH`. Being attached to a // process using this function is a precondition for using any of the tooling provided here. <|file_sep|>origin...
src/UserSpaceInstrumentation/include/UserSpaceInstrumentation/Attach.h
C
8012d2842d234a838b2ff27c27c5222a665cf7f7
<|file_sep|>libavutil/pca.h.diff original: updated: #ifndef FFMPEG_PCA_H #define FFMPEG_PCA_H <|file_sep|>original/libavutil/pca.h * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURP...
* * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ /** * @file pca.h * Principal component analysis */ #ifndef FFMPEG_PCA_H #define FFMPEG_P...
<|file_sep|>libavutil/pca.h.diff original: updated: #ifndef FFMPEG_PCA_H #define FFMPEG_PCA_H <|file_sep|>original/libavutil/pca.h * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURP...
libavutil/pca.h
C
a995514733949a433e39edec0966ba2789b57ada
<|file_sep|>src/skbuff.c.diff original: updated: memset(skb, 0, sizeof(struct sk_buff)); <|file_sep|>original/src/skbuff.c #include "syshead.h" #include "skbuff.h" struct sk_buff *alloc_skb(unsigned int size) { struct sk_buff *skb = malloc(sizeof(struct sk_buff)); skb->data = malloc(size); skb->head ...
#include "syshead.h" #include "skbuff.h" struct sk_buff *alloc_skb(unsigned int size) { struct sk_buff *skb = malloc(sizeof(struct sk_buff)); memset(skb, 0, sizeof(struct sk_buff)); skb->data = malloc(size); memset(skb->data, 0, size); skb->head = skb->data; skb->tail = skb->data; skb...
<|file_sep|>src/skbuff.c.diff original: updated: memset(skb, 0, sizeof(struct sk_buff)); <|file_sep|>original/src/skbuff.c #include "syshead.h" #include "skbuff.h" struct sk_buff *alloc_skb(unsigned int size) { struct sk_buff *skb = malloc(sizeof(struct sk_buff)); skb->data = malloc(size); skb->head ...
src/skbuff.c
C
4cabeb8a7181b841457efa594287b66bf81956e4
<|file_sep|>subsys/ChTerrain.h.diff original: updated: #include "core/ChVector.h" <|file_sep|>original/subsys/ChTerrain.h namespace chrono { class CH_SUBSYS_API ChTerrain : public ChShared { public: ChTerrain() {} virtual ~ChTerrain() {} virtual void Update(double time) {} virtual void Advance(double step...
class CH_SUBSYS_API ChTerrain : public ChShared { public: ChTerrain() {} virtual ~ChTerrain() {} virtual void Update(double time) {} virtual void Advance(double step) {} virtual double GetHeight(double x, double y) const = 0; //// TODO: make this a pure virtual function... virtual ChVector<> GetNorma...
<|file_sep|>subsys/ChTerrain.h.diff original: updated: #include "core/ChVector.h" <|file_sep|>original/subsys/ChTerrain.h namespace chrono { class CH_SUBSYS_API ChTerrain : public ChShared { public: ChTerrain() {} virtual ~ChTerrain() {} virtual void Update(double time) {} virtual void Advance(double step...
subsys/ChTerrain.h
C
cfa41a9669ff7675bf6c92d4cbdf7e142c98e4ab
<|file_sep|>src/condor_includes/condor_fix_stdio.h.diff original: updated: extern void setbuffer(FILE*, char*, int); extern void setlinebuf(FILE*); <|file_sep|>original/src/condor_includes/condor_fix_stdio.h for popen() and pclose() if _POSIX_SOURCE is defined. */ #if defined(OSF1) #if defined(__STDC__) ||...
*/ #if defined(OSF1) #if defined(__STDC__) || defined(__cplusplus) FILE *popen( char *, char * ); int pclose( FILE *__stream ); extern void setbuffer(FILE*, char*, int); extern void setlinebuf(FILE*); #else FILE *popen(); int pclose(); extern void setbuffer(); extern void setlinebuf(); #endif ...
<|file_sep|>src/condor_includes/condor_fix_stdio.h.diff original: updated: extern void setbuffer(FILE*, char*, int); extern void setlinebuf(FILE*); <|file_sep|>original/src/condor_includes/condor_fix_stdio.h for popen() and pclose() if _POSIX_SOURCE is defined. */ #if defined(OSF1) #if defined(__STDC__) ||...
src/condor_includes/condor_fix_stdio.h
C
60f44581f2077d3f5a00cad006a2bb1c86d80f2a
<|file_sep|>src/libaten/types.h.diff original: updated: #define AT_IS_TYPE_DOUBLE (true) <|file_sep|>original/src/libaten/types.h #pragma once #include <stdint.h> #include <climits> //#define TYPE_DOUBLE #ifdef TYPE_DOUBLE using real = double; #else using real = float; #endif <|file_sep|>current/src/libaten/typ...
#pragma once #include <stdint.h> #include <climits> //#define TYPE_DOUBLE #ifdef TYPE_DOUBLE using real = double; #define AT_IS_TYPE_DOUBLE (true) #else using real = float; #define AT_IS_TYPE_DOUBLE (false) #endif
<|file_sep|>src/libaten/types.h.diff original: updated: #define AT_IS_TYPE_DOUBLE (true) <|file_sep|>original/src/libaten/types.h #pragma once #include <stdint.h> #include <climits> //#define TYPE_DOUBLE #ifdef TYPE_DOUBLE using real = double; #else using real = float; #endif <|file_sep|>current/src/libaten/typ...
src/libaten/types.h
C
ad315659a48175b2875adc400413808a68d951ca
<|file_sep|>src/source/libpetsc4py.c.diff original: updated: #define PY_SSIZE_T_CLEAN <|file_sep|>original/src/source/libpetsc4py.c /* ---------------------------------------------------------------- */ #include <Python.h> /* ---------------------------------------------------------------- */ #define MPICH_SKIP_MPI...
/* ---------------------------------------------------------------- */ #define PY_SSIZE_T_CLEAN #include <Python.h> #if PY_VERSION_HEX < 0x02050000 typedef int Py_ssize_t; #endif /* ---------------------------------------------------------------- */ #define MPICH_SKIP_MPICXX 1 #define OMPI_SKIP_MPICXX 1 #include <p...
<|file_sep|>src/source/libpetsc4py.c.diff original: updated: #define PY_SSIZE_T_CLEAN <|file_sep|>original/src/source/libpetsc4py.c /* ---------------------------------------------------------------- */ #include <Python.h> /* ---------------------------------------------------------------- */ #define MPICH_SKIP_MPI...
src/source/libpetsc4py.c
C
38310122f3a4d99326320da14638ff9088a33b56
<|file_sep|>Wangscape/noise/module/codecs/ModuleCodecs.h.diff original: updated: #include "CornerCombinerBaseWrapperCodec.h" <|file_sep|>Wangscape/noise/module/codecs/ModuleCodecs.h.diff original: updated: #include "ExpWrapperCodec.h" <|file_sep|>Wangscape/noise/module/codecs/ModuleCodecs.h.diff original: updated: #...
#include "ExpWrapperCodec.h" #include "ExponentWrapperCodec.h" #include "ForwardWrapperCodec.h" #include "InvertWrapperCodec.h" #include "MaxWrapperCodec.h" #include "MinWrapperCodec.h" #include "MultiplyWrapperCodec.h" #include "NormLPQWrapperCodec.h" #include "NoiseSourcesCodec.h" #include "PerlinWrapperCodec.h" #inc...
<|file_sep|>Wangscape/noise/module/codecs/ModuleCodecs.h.diff original: updated: #include "CornerCombinerBaseWrapperCodec.h" <|file_sep|>Wangscape/noise/module/codecs/ModuleCodecs.h.diff original: updated: #include "ExpWrapperCodec.h" <|file_sep|>Wangscape/noise/module/codecs/ModuleCodecs.h.diff original: updated: #...
Wangscape/noise/module/codecs/ModuleCodecs.h
C
e05b052ebf4b8ed48b8dc5f0e358c2c01aabda78
<|file_sep|>src/http/responsedata.h.diff original: updated: #include <unordered_map> #include "statuscodes.h" <|file_sep|>original/src/http/responsedata.h #ifndef APIMOCK_RESPONSEDATA_H #define APIMOCK_RESPONSEDATA_H #include <string> namespace ApiMock { struct ResponseData { std::string body; }; } #endif <|fil...
#ifndef APIMOCK_RESPONSEDATA_H #define APIMOCK_RESPONSEDATA_H #include <string> #include <unordered_map> #include "statuscodes.h" namespace ApiMock { struct ResponseData { std::string body; std::unordered_map<std::string, std::string> headers; HTTP_RESPONSE_CODE statusCode; }; } #endif
<|file_sep|>src/http/responsedata.h.diff original: updated: #include <unordered_map> #include "statuscodes.h" <|file_sep|>original/src/http/responsedata.h #ifndef APIMOCK_RESPONSEDATA_H #define APIMOCK_RESPONSEDATA_H #include <string> namespace ApiMock { struct ResponseData { std::string body; }; } #endif <|fil...
src/http/responsedata.h
C
8cb37afde89b4c89079f579f3532792d7dd5ff67
<|file_sep|>Pod/Classes/Artsy+Authentication.h.diff original: updated: #endif #if __has_include("ArtsyAuthentication+Twitter.h") <|file_sep|>Pod/Classes/Artsy+Authentication.h.diff original: updated: #endif <|file_sep|>original/Pod/Classes/Artsy+Authentication.h #import "ArtsyToken.h" #import "ArtsyAuthentication.h" ...
#import "ArtsyToken.h" #import "ArtsyAuthentication.h" #if __has_include("ArtsyAuthentication+Facebook.h") #import "ArtsyAuthentication+Facebook.h" #endif #if __has_include("ArtsyAuthentication+Twitter.h") #import "ArtsyAuthentication+Twitter.h" #endif
<|file_sep|>Pod/Classes/Artsy+Authentication.h.diff original: updated: #endif #if __has_include("ArtsyAuthentication+Twitter.h") <|file_sep|>Pod/Classes/Artsy+Authentication.h.diff original: updated: #endif <|file_sep|>original/Pod/Classes/Artsy+Authentication.h #import "ArtsyToken.h" #import "ArtsyAuthentication.h" ...
Pod/Classes/Artsy+Authentication.h
C
17ceee99c3b3170a49b5fca7f7650f94f40e1de9
<|file_sep|>core/imt/inc/LinkDef.h.diff original: updated: // Exclude in case ROOT does not have IMT support #ifdef R__USE_IMT <|file_sep|>original/core/imt/inc/LinkDef.h #ifdef __CLING__ #pragma link off all globals; #pragma link off all classes; #pragma link off all functions; // Only for the autoload, autoparse. ...
#ifdef __CLING__ #pragma link off all globals; #pragma link off all classes; #pragma link off all functions; // Only for the autoload, autoparse. No IO of these classes is foreseen! // Exclude in case ROOT does not have IMT support #ifdef R__USE_IMT #pragma link C++ class ROOT::Internal::TPoolManager-; #pragma link C...
<|file_sep|>core/imt/inc/LinkDef.h.diff original: updated: // Exclude in case ROOT does not have IMT support #ifdef R__USE_IMT <|file_sep|>original/core/imt/inc/LinkDef.h #ifdef __CLING__ #pragma link off all globals; #pragma link off all classes; #pragma link off all functions; // Only for the autoload, autoparse. ...
core/imt/inc/LinkDef.h
C
322b07ff24932fb0e59114e30620e47501a84191
<|file_sep|>src/hexutil/basics/datum.h.diff original: updated: Datum(const std::string& x): value(x) { } <|file_sep|>original/src/hexutil/basics/datum.h boost::variant<Atom, int, float, std::string> value; Datum& operator=(const Datum& x) { value = x.value; return *this; } bool o...
boost::variant<Atom, int, float, std::string> value; Datum& operator=(const Datum& x) { value = x.value; return *this; } bool operator==(const Datum& x) const { return value == x.value; } Datum& operator=(const Atom& x) { value = x; return *this; } bool operator==(const Atom&...
<|file_sep|>src/hexutil/basics/datum.h.diff original: updated: Datum(const std::string& x): value(x) { } <|file_sep|>original/src/hexutil/basics/datum.h boost::variant<Atom, int, float, std::string> value; Datum& operator=(const Datum& x) { value = x.value; return *this; } bool o...
src/hexutil/basics/datum.h
C
780f85f9521ae28669cd25bad8ffe8d74f7c913c
<|file_sep|>src/GtkApplicationDelegate.h.diff original: updated: #include <AvailabilityMacros.h> <|file_sep|>src/GtkApplicationDelegate.h.diff original: updated: #if MAC_OS_X_VERSION_MIN_REQUIRED >= 1060 <|file_sep|>original/src/GtkApplicationDelegate.h * This library is free software; you can redistribute it and/or...
* This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Pub...
<|file_sep|>src/GtkApplicationDelegate.h.diff original: updated: #include <AvailabilityMacros.h> <|file_sep|>src/GtkApplicationDelegate.h.diff original: updated: #if MAC_OS_X_VERSION_MIN_REQUIRED >= 1060 <|file_sep|>original/src/GtkApplicationDelegate.h * This library is free software; you can redistribute it and/or...
src/GtkApplicationDelegate.h
C
177e9089a4bfdb04d73a12eba6dc3b426b33b8d6
<|file_sep|>lottie-ios/Classes/PublicHeaders/Lottie.h.diff original: updated: #include <TargetConditionals.h> #if TARGET_OS_IPHONE <|file_sep|>original/lottie-ios/Classes/PublicHeaders/Lottie.h // #if __has_feature(modules) @import Foundation; #else #import <Foundation/Foundation.h> #endif #ifndef Lottie_h #define ...
#import <Foundation/Foundation.h> #endif #ifndef Lottie_h #define Lottie_h //! Project version number for Lottie. FOUNDATION_EXPORT double LottieVersionNumber; //! Project version string for Lottie. FOUNDATION_EXPORT const unsigned char LottieVersionString[]; #include <TargetConditionals.h> #if TARGET_OS_IPHONE #i...
<|file_sep|>lottie-ios/Classes/PublicHeaders/Lottie.h.diff original: updated: #include <TargetConditionals.h> #if TARGET_OS_IPHONE <|file_sep|>original/lottie-ios/Classes/PublicHeaders/Lottie.h // #if __has_feature(modules) @import Foundation; #else #import <Foundation/Foundation.h> #endif #ifndef Lottie_h #define ...
lottie-ios/Classes/PublicHeaders/Lottie.h
C
481aeecd9bf2e239c3fa911286bece5143246311
<|file_sep|>tests/libfixmath_unittests/main.c.diff original: updated: #include <stdio.h> <|file_sep|>original/tests/libfixmath_unittests/main.c * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ /** * @ingroup tests * @{ * * @file * @brief execute libfixmath's unittests ...
/** * @ingroup tests * @{ * * @file * @brief execute libfixmath's unittests in RIOT * * @author René Kijewski <rene.kijewski@fu-berlin.de> * * @} */ #include <stdio.h> int main(void) { #include "fix16_unittests.inc" puts("All tests executed."); return 0; }
<|file_sep|>tests/libfixmath_unittests/main.c.diff original: updated: #include <stdio.h> <|file_sep|>original/tests/libfixmath_unittests/main.c * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ /** * @ingroup tests * @{ * * @file * @brief execute libfixmath's unittests ...
tests/libfixmath_unittests/main.c
C
71fff3ac1cd1349b8cba13114ac6025d8e6eca73
<|file_sep|>include/msvc_compat/C99/stdbool.h.diff original: updated: /* Clang-cl uses MSVC headers, so needs msvc_compat, but has _Bool as * a built-in type. */ #ifndef __clang__ <|file_sep|>original/include/msvc_compat/C99/stdbool.h #ifndef stdbool_h #define stdbool_h #include <wtypes.h> /* MSVC doesn't define _B...
#ifndef stdbool_h #define stdbool_h #include <wtypes.h> /* MSVC doesn't define _Bool or bool in C, but does have BOOL */ /* Note this doesn't pass autoconf's test because (bool) 0.5 != true */ /* Clang-cl uses MSVC headers, so needs msvc_compat, but has _Bool as * a built-in type. */ #ifndef __clang__ typedef BOOL _...
<|file_sep|>include/msvc_compat/C99/stdbool.h.diff original: updated: /* Clang-cl uses MSVC headers, so needs msvc_compat, but has _Bool as * a built-in type. */ #ifndef __clang__ <|file_sep|>original/include/msvc_compat/C99/stdbool.h #ifndef stdbool_h #define stdbool_h #include <wtypes.h> /* MSVC doesn't define _B...
include/msvc_compat/C99/stdbool.h
C
5b8106e848d99433f62310dbf3cb80ef9812e572
<|file_sep|>src/DeviceInterfaces/Networking.Sntp/nf_networking_sntp.h.diff original: updated: #ifndef PLATFORM_ESP32 <|file_sep|>original/src/DeviceInterfaces/Networking.Sntp/nf_networking_sntp.h #define _NF_NETWORKING_SNTP_H_ #include <nanoCLR_Interop.h> #include <nanoCLR_Runtime.h> #include <nanoCLR_Checks.h> #incl...
#include <nanoCLR_Interop.h> #include <nanoCLR_Runtime.h> #include <nanoCLR_Checks.h> #include <nanoHAL_time.h> extern "C" { #ifndef PLATFORM_ESP32 #include <apps/sntp.h> #else #include <apps/sntp/sntp.h> #endif } struct Library_nf_networking_sntp_nanoFramework_Networking_Sntp { NANOCLR_NATIVE_DECLARE(Start___STA...
<|file_sep|>src/DeviceInterfaces/Networking.Sntp/nf_networking_sntp.h.diff original: updated: #ifndef PLATFORM_ESP32 <|file_sep|>original/src/DeviceInterfaces/Networking.Sntp/nf_networking_sntp.h #define _NF_NETWORKING_SNTP_H_ #include <nanoCLR_Interop.h> #include <nanoCLR_Runtime.h> #include <nanoCLR_Checks.h> #incl...
src/DeviceInterfaces/Networking.Sntp/nf_networking_sntp.h
C
6def8cef8c661ed9b68974ccb4871645efdafa2b
<|file_sep|>include/llvm/Support/ValueHolder.h.diff original: updated: ValueHolder(const ValueHolder &VH) : User(VH.getType(), Value::TypeVal) {} <|file_sep|>original/include/llvm/Support/ValueHolder.h struct ValueHolder : public User { ValueHolder(Value *V = 0); // Getters... const Value *get() const { retur...
operator const Value*() const { return getOperand(0); } Value *get() { return getOperand(0); } operator Value*() { return getOperand(0); } // Setters... const ValueHolder &operator=(Value *V) { setOperand(0, V); return *this; } const ValueHolder &operator=(ValueHolder &VH) { setOperand(0, VH...
<|file_sep|>include/llvm/Support/ValueHolder.h.diff original: updated: ValueHolder(const ValueHolder &VH) : User(VH.getType(), Value::TypeVal) {} <|file_sep|>original/include/llvm/Support/ValueHolder.h struct ValueHolder : public User { ValueHolder(Value *V = 0); // Getters... const Value *get() const { retur...
include/llvm/Support/ValueHolder.h
C
8518e74f3e24b136c627534e30b0068836785575
<|file_sep|>ppapi/tests/arch_dependent_sizes_64.h.diff original: updated: // TODO(jschuh): Resolve ILP64 to LLP64 issue. crbug.com/177779 #if !defined(_WIN64) <|file_sep|>original/ppapi/tests/arch_dependent_sizes_64.h * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE fil...
* This file has compile assertions for the sizes of types that are dependent * on the architecture for which they are compiled (i.e., 32-bit vs 64-bit). */ #ifndef PPAPI_TESTS_ARCH_DEPENDENT_SIZES_64_H_ #define PPAPI_TESTS_ARCH_DEPENDENT_SIZES_64_H_ #include "ppapi/tests/test_struct_sizes.c" // TODO(jschuh): Reso...
<|file_sep|>ppapi/tests/arch_dependent_sizes_64.h.diff original: updated: // TODO(jschuh): Resolve ILP64 to LLP64 issue. crbug.com/177779 #if !defined(_WIN64) <|file_sep|>original/ppapi/tests/arch_dependent_sizes_64.h * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE fil...
ppapi/tests/arch_dependent_sizes_64.h
C
7e3f73b484dce568b5cee7f4e3209181efdf5cc7
<|file_sep|>firmware/lm32/config.h.diff original: updated: #ifdef BOARD_MINISPARTAN6 #define CONFIG_DEFAULTS { 5, 1, 2, 3, 4 } #else <|file_sep|>original/firmware/lm32/config.h #ifndef __CONFIG_H #define __CONFIG_H enum { CONFIG_KEY_RESOLUTION = 0, CONFIG_KEY_BLEND_USER1, CONFIG_KEY_BLEND_USER2, CONFIG_KEY_BLEND_...
CONFIG_KEY_RESOLUTION = 0, CONFIG_KEY_BLEND_USER1, CONFIG_KEY_BLEND_USER2, CONFIG_KEY_BLEND_USER3, CONFIG_KEY_BLEND_USER4, CONFIG_KEY_COUNT }; #ifdef BOARD_MINISPARTAN6 #define CONFIG_DEFAULTS { 5, 1, 2, 3, 4 } #else #define CONFIG_DEFAULTS { 9, 1, 2, 3, 4 } #endif void config_init(void); void config_write_all...
<|file_sep|>firmware/lm32/config.h.diff original: updated: #ifdef BOARD_MINISPARTAN6 #define CONFIG_DEFAULTS { 5, 1, 2, 3, 4 } #else <|file_sep|>original/firmware/lm32/config.h #ifndef __CONFIG_H #define __CONFIG_H enum { CONFIG_KEY_RESOLUTION = 0, CONFIG_KEY_BLEND_USER1, CONFIG_KEY_BLEND_USER2, CONFIG_KEY_BLEND_...
firmware/lm32/config.h
C
526b09b014c8219cfe3747170c6021fe92fb65d5
<|file_sep|>robot_module.h.diff original: updated: typedef std::function<void(unsigned short int, const char*, va_list)> t_printf_color_module; <|file_sep|>original/robot_module.h virtual void axisControl(regval axis_index, regval value) = 0; virtual ~Robot() {} }; class RobotModule { protected: ...
virtual FunctionResult* executeFunction(regval command_index, regval *args) = 0; virtual void axisControl(regval axis_index, regval value) = 0; virtual ~Robot() {} }; class RobotModule { protected: RobotModule() {} public: virtual const char *getUID() = 0; virtu...
<|file_sep|>robot_module.h.diff original: updated: typedef std::function<void(unsigned short int, const char*, va_list)> t_printf_color_module; <|file_sep|>original/robot_module.h virtual void axisControl(regval axis_index, regval value) = 0; virtual ~Robot() {} }; class RobotModule { protected: ...
robot_module.h
C
c3a6cadc3df8702f1f195f6cda53f023dfe7e6ae
<|file_sep|>ipcrypt.h.diff original: updated: #ifdef __cplusplus extern "C" { #endif <|file_sep|>ipcrypt.h.diff original: updated: #ifdef __cplusplus } /* End of the 'extern "C"' block */ <|file_sep|>original/ipcrypt.h #ifndef ipcrypt_H #define ipcrypt_H #define IPCRYPT_BYTES 4 #define IPCRYPT_KEYBYTES 16 int...
#define IPCRYPT_BYTES 4 #define IPCRYPT_KEYBYTES 16 #ifdef __cplusplus extern "C" { #endif int ipcrypt_encrypt(unsigned char out[IPCRYPT_BYTES], const unsigned char in[IPCRYPT_BYTES], const unsigned char key[IPCRYPT_KEYBYTES]); int ipcrypt_decrypt(unsigned char out[IPCRYPT_BY...
<|file_sep|>ipcrypt.h.diff original: updated: #ifdef __cplusplus extern "C" { #endif <|file_sep|>ipcrypt.h.diff original: updated: #ifdef __cplusplus } /* End of the 'extern "C"' block */ <|file_sep|>original/ipcrypt.h #ifndef ipcrypt_H #define ipcrypt_H #define IPCRYPT_BYTES 4 #define IPCRYPT_KEYBYTES 16 int...
ipcrypt.h
C
85c15fe657b4bc21a1e39f192e03bc06a759f15d
<|file_sep|>tests/mypaint-test-surface.h.diff original: updated: #include <mypaint-glib-compat.h> G_BEGIN_DECLS <|file_sep|>original/tests/mypaint-test-surface.h #ifndef MYPAINTTESTSURFACE_H #define MYPAINTTESTSURFACE_H #include <mypaint-surface.h> typedef MyPaintSurface * (*MyPaintTestsSurfaceFactory)(gpointer use...
#ifndef MYPAINTTESTSURFACE_H #define MYPAINTTESTSURFACE_H #include <mypaint-surface.h> #include <mypaint-glib-compat.h> G_BEGIN_DECLS typedef MyPaintSurface * (*MyPaintTestsSurfaceFactory)(gpointer user_data); int mypaint_test_surface_run(int argc, char **argv, MyPaintTestsSurfaceFactory surfa...
<|file_sep|>tests/mypaint-test-surface.h.diff original: updated: #include <mypaint-glib-compat.h> G_BEGIN_DECLS <|file_sep|>original/tests/mypaint-test-surface.h #ifndef MYPAINTTESTSURFACE_H #define MYPAINTTESTSURFACE_H #include <mypaint-surface.h> typedef MyPaintSurface * (*MyPaintTestsSurfaceFactory)(gpointer use...
tests/mypaint-test-surface.h
C
015f3526ea6d0b24900b72ad01c1abd730555136
<|file_sep|>kernel/port/heap.c.diff original: updated: #include <kernel/arch/lock.h> static mutex_t heap_lock; <|file_sep|>kernel/port/heap.c.diff original: updated: wait_acquire(&heap_lock); <|file_sep|>original/kernel/port/heap.c void heap_init(uintptr_t start, uintptr_t end) { heap_next = start; heap_end = end...
heap_end = end; } void *kalloc_align(uintptr_t size, uintptr_t alignment) { wait_acquire(&heap_lock); heap_next = round_up(heap_next, alignment); uintptr_t ret = heap_next; heap_next += size; if(heap_next > heap_end) { panic("Out of space!"); } release(&heap_lock); return (void*)ret; } void *kalloc(uintptr...
<|file_sep|>kernel/port/heap.c.diff original: updated: #include <kernel/arch/lock.h> static mutex_t heap_lock; <|file_sep|>kernel/port/heap.c.diff original: updated: wait_acquire(&heap_lock); <|file_sep|>original/kernel/port/heap.c void heap_init(uintptr_t start, uintptr_t end) { heap_next = start; heap_end = end...
kernel/port/heap.c
C
d45a05e3563085b8131f3a84c4f3b16c3fab7908
<|file_sep|>src/core/lib/gprpp/optional.h.diff original: updated: #include <grpc/support/port_platform.h> #include <utility> <|file_sep|>src/core/lib/gprpp/optional.h.diff original: updated: <|file_sep|>original/src/core/lib/gprpp/optional.h public: Optional() : value_() {} void set(const T& val) { value_...
template <typename T> class Optional { public: Optional() : value_() {} void set(const T& val) { value_ = val; set_ = true; } void set(T&& val) { value_ = std::move(val); set_ = true; } bool has_value() const { return set_; } void reset() { set_ = false; } T value() const { return ...
<|file_sep|>src/core/lib/gprpp/optional.h.diff original: updated: #include <grpc/support/port_platform.h> #include <utility> <|file_sep|>src/core/lib/gprpp/optional.h.diff original: updated: <|file_sep|>original/src/core/lib/gprpp/optional.h public: Optional() : value_() {} void set(const T& val) { value_...
src/core/lib/gprpp/optional.h
C
bcaf6d41b80ac74122a9b5daa87e329348dbf094
<|file_sep|>src/capwap/dtls_gnutls.c.diff original: updated: #include "cw_log.h" <|file_sep|>original/src/capwap/dtls_gnutls.c (at your option) any later version. libcapwap is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY...
libcapwap is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License ...
<|file_sep|>src/capwap/dtls_gnutls.c.diff original: updated: #include "cw_log.h" <|file_sep|>original/src/capwap/dtls_gnutls.c (at your option) any later version. libcapwap is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY...
src/capwap/dtls_gnutls.c
C
dd8141b9f910bda6a1f423dcdda0ca48fac8cdcf
<|file_sep|>src/lib/PMDPage.h.diff original: updated: yamlBeginMap(emitter); <|file_sep|>original/src/lib/PMDPage.h m_shapes.push_back(shape); } unsigned numShapes() const { return m_shapes.size(); } boost::shared_ptr<const PMDLineSet> getShape(unsigned i) const { return m_shapes.at(i); ...
unsigned numShapes() const { return m_shapes.size(); } boost::shared_ptr<const PMDLineSet> getShape(unsigned i) const { return m_shapes.at(i); } void emitYaml(yaml_emitter_t *emitter) const { yamlBeginMap(emitter); yamlIndirectForeach(emitter, "shapes", m_shapes); yamlEndMap(emitt...
<|file_sep|>src/lib/PMDPage.h.diff original: updated: yamlBeginMap(emitter); <|file_sep|>original/src/lib/PMDPage.h m_shapes.push_back(shape); } unsigned numShapes() const { return m_shapes.size(); } boost::shared_ptr<const PMDLineSet> getShape(unsigned i) const { return m_shapes.at(i); ...
src/lib/PMDPage.h
C
37ffe379713c08899981532bad1a9df96c7fd3e2
<|file_sep|>iobuf/iobuf_init.c.diff original: updated: #include <sys/types.h> <|file_sep|>original/iobuf/iobuf_init.c #include <stdlib.h> #include <string.h> #include <sys/mman.h> #include "iobuf.h" unsigned iobuf_bufsize = 8192; int iobuf_init(iobuf* io, int fd, unsigned bufsize, char* buffer, unsigned flags) { m...
#include <sys/types.h> #include <stdlib.h> #include <string.h> #include <sys/mman.h> #include "iobuf.h" unsigned iobuf_bufsize = 8192; #ifndef MAP_ANONYMOUS #define MAP_ANONYMOUS MAP_ANON #endif int iobuf_init(iobuf* io, int fd, unsigned bufsize, char* buffer, unsigned flags) { memset(io, 0, sizeof *io); if (!bu...
<|file_sep|>iobuf/iobuf_init.c.diff original: updated: #include <sys/types.h> <|file_sep|>original/iobuf/iobuf_init.c #include <stdlib.h> #include <string.h> #include <sys/mman.h> #include "iobuf.h" unsigned iobuf_bufsize = 8192; int iobuf_init(iobuf* io, int fd, unsigned bufsize, char* buffer, unsigned flags) { m...
iobuf/iobuf_init.c
C
c804b5c55d42fcdc645dd81014d6bef253bd9f39
<|file_sep|>erts/emulator/test/scheduler_SUITE_data/scheduler_SUITE.c.diff original: updated: #ifndef __WIN32__ <|file_sep|>erts/emulator/test/scheduler_SUITE_data/scheduler_SUITE.c.diff original: updated: #endif <|file_sep|>erts/emulator/test/scheduler_SUITE_data/scheduler_SUITE.c.diff original: updated: #ifdef __W...
} static ERL_NIF_TERM dirty_sleeper(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[]) { #ifdef ERL_NIF_DIRTY_SCHEDULER_SUPPORT #ifdef __WIN32__ Sleep(3000); #else sleep(3); #endif #endif return enif_make_atom(env, "ok"); } static ErlNifFunc funcs[] = { #ifdef ERL_NIF_DIRTY_SCHEDULER_SUPPORT {"dirty...
<|file_sep|>erts/emulator/test/scheduler_SUITE_data/scheduler_SUITE.c.diff original: updated: #ifndef __WIN32__ <|file_sep|>erts/emulator/test/scheduler_SUITE_data/scheduler_SUITE.c.diff original: updated: #endif <|file_sep|>erts/emulator/test/scheduler_SUITE_data/scheduler_SUITE.c.diff original: updated: #ifdef __W...
erts/emulator/test/scheduler_SUITE_data/scheduler_SUITE.c
C
a426da990b999ba8a44aec739e412f7f8722df24
<|file_sep|>include/sys/dirent.h.diff original: updated: // Depending on header include order, this may collide with the definition in // newlib's <dirent.h> See open issue: https://code.systems.ethz.ch/T58#1169 #ifndef NAME_MAX <|file_sep|>original/include/sys/dirent.h */ #ifndef DIRENT_H_ #define DIRENT_H_ #incl...
#ifndef DIRENT_H_ #define DIRENT_H_ #include <sys/cdefs.h> // Depending on header include order, this may collide with the definition in // newlib's <dirent.h> See open issue: https://code.systems.ethz.ch/T58#1169 #ifndef NAME_MAX #define NAME_MAX 512 #endif struct dirent { // long d_ino; // off_t d_off; // ...
<|file_sep|>include/sys/dirent.h.diff original: updated: // Depending on header include order, this may collide with the definition in // newlib's <dirent.h> See open issue: https://code.systems.ethz.ch/T58#1169 #ifndef NAME_MAX <|file_sep|>original/include/sys/dirent.h */ #ifndef DIRENT_H_ #define DIRENT_H_ #incl...
include/sys/dirent.h
C
2ab77e34c2e175d90c79dde9b708e3c5beff64de
<|file_sep|>src/main/c/emulator/src/config.h.diff original: updated: #ifndef OS_CALL <|file_sep|>src/main/c/emulator/src/config.h.diff original: updated: #endif #ifndef DTB <|file_sep|>original/src/main/c/emulator/src/config.h #ifndef CONFIG_H #define CONFIG_H //#define QEMU #define SIM #define OS_CALL 0xC0000000 ...
#ifndef CONFIG_H #define CONFIG_H //#define QEMU #define SIM #ifndef OS_CALL #define OS_CALL 0xC0000000 #endif #ifndef DTB #define DTB 0xC3000000 #endif #endif
<|file_sep|>src/main/c/emulator/src/config.h.diff original: updated: #ifndef OS_CALL <|file_sep|>src/main/c/emulator/src/config.h.diff original: updated: #endif #ifndef DTB <|file_sep|>original/src/main/c/emulator/src/config.h #ifndef CONFIG_H #define CONFIG_H //#define QEMU #define SIM #define OS_CALL 0xC0000000 ...
src/main/c/emulator/src/config.h
C
e76435c6c60bf1247d6bb91fe8cf5e57a896da55
<|file_sep|>ouzel/RenderTarget.h.diff original: updated: #include "Color.h" <|file_sep|>ouzel/RenderTarget.h.diff original: updated: virtual void setClearColor(Color color) { clearColor = color; } virtual Color getClearColor() const { return clearColor; } <|file_sep|>original/ouzel/RenderTarg...
public: virtual ~RenderTarget(); virtual bool init(const Size2& newSize, bool useDepthBuffer); virtual void setClearColor(Color color) { clearColor = color; } virtual Color getClearColor() const { return clearColor; } TexturePtr getTexture() const {...
<|file_sep|>ouzel/RenderTarget.h.diff original: updated: #include "Color.h" <|file_sep|>ouzel/RenderTarget.h.diff original: updated: virtual void setClearColor(Color color) { clearColor = color; } virtual Color getClearColor() const { return clearColor; } <|file_sep|>original/ouzel/RenderTarg...
ouzel/RenderTarget.h
C
21a451d7f90a7953e0eb64101188b136d076ad23
<|file_sep|>Source/LuminoCore/Include/LuminoMath.h.diff original: updated: #pragma push_macro("min") #pragma push_macro("max") #undef min #undef max <|file_sep|>original/Source/LuminoCore/Include/LuminoMath.h #ifndef LUMINO_MATH_H #define LUMINO_MATH_H #include "Lumino/Math/MathUtils.h" #include "Lumino/Math/Vector...
#pragma push_macro("min") #pragma push_macro("max") #undef min #undef max #include "Lumino/Math/MathUtils.h" #include "Lumino/Math/Vector2.h" #include "Lumino/Math/Vector3.h" #include "Lumino/Math/Vector4.h" #include "Lumino/Math/Matrix.h" #include "Lumino/Math/Quaternion.h" #include "Lumino/Math/AttitudeTransform.h" ...
<|file_sep|>Source/LuminoCore/Include/LuminoMath.h.diff original: updated: #pragma push_macro("min") #pragma push_macro("max") #undef min #undef max <|file_sep|>original/Source/LuminoCore/Include/LuminoMath.h #ifndef LUMINO_MATH_H #define LUMINO_MATH_H #include "Lumino/Math/MathUtils.h" #include "Lumino/Math/Vector...
Source/LuminoCore/Include/LuminoMath.h
C
b0a039d70ab17fb7b68afc498ae635825c8300cd
<|file_sep|>arch/arm64/include/asm/spinlock_types.h.diff original: updated: #ifdef __AARCH64EB__ u16 next; u16 owner; #else <|file_sep|>original/arch/arm64/include/asm/spinlock_types.h #if !defined(__LINUX_SPINLOCK_TYPES_H) && !defined(__ASM_SPINLOCK_H) # error "please don't include this file directly" #endif #def...
#define TICKET_SHIFT 16 typedef struct { #ifdef __AARCH64EB__ u16 next; u16 owner; #else u16 owner; u16 next; #endif } __aligned(4) arch_spinlock_t; #define __ARCH_SPIN_LOCK_UNLOCKED { 0 , 0 } typedef struct { volatile unsigned int lock; } arch_rwlock_t; #define __ARCH_RW_LOCK_UNLOCKED { 0 }
<|file_sep|>arch/arm64/include/asm/spinlock_types.h.diff original: updated: #ifdef __AARCH64EB__ u16 next; u16 owner; #else <|file_sep|>original/arch/arm64/include/asm/spinlock_types.h #if !defined(__LINUX_SPINLOCK_TYPES_H) && !defined(__ASM_SPINLOCK_H) # error "please don't include this file directly" #endif #def...
arch/arm64/include/asm/spinlock_types.h
C
4a12cae7ef2612eb094c4b48e8b37cf837e3df55
<|file_sep|>include/prd-fw-msg.h.diff original: updated: PRD_FW_MSG_TYPE_RESP_GENERIC = 2, PRD_FW_MSG_TYPE_REQ_HCODE_UPDATE = 3, PRD_FW_MSG_TYPE_HBRT_FSP = 4, PRD_FW_MSG_TYPE_ERROR_LOG = 5, PRD_FW_MSG_TYPE_FSP_HBRT = 6, <|file_sep|>original/include/prd-fw-msg.h #ifndef __PRD_FW_MSG_H #define __PRD_FW_MSG_H #inc...
PRD_FW_MSG_TYPE_REQ_NOP = 0, PRD_FW_MSG_TYPE_RESP_NOP = 1, PRD_FW_MSG_TYPE_RESP_GENERIC = 2, PRD_FW_MSG_TYPE_REQ_HCODE_UPDATE = 3, PRD_FW_MSG_TYPE_HBRT_FSP = 4, PRD_FW_MSG_TYPE_ERROR_LOG = 5, PRD_FW_MSG_TYPE_FSP_HBRT = 6, }; struct prd_fw_msg { __be64 type; union { struct { __be64 status; } generic_re...
<|file_sep|>include/prd-fw-msg.h.diff original: updated: PRD_FW_MSG_TYPE_RESP_GENERIC = 2, PRD_FW_MSG_TYPE_REQ_HCODE_UPDATE = 3, PRD_FW_MSG_TYPE_HBRT_FSP = 4, PRD_FW_MSG_TYPE_ERROR_LOG = 5, PRD_FW_MSG_TYPE_FSP_HBRT = 6, <|file_sep|>original/include/prd-fw-msg.h #ifndef __PRD_FW_MSG_H #define __PRD_FW_MSG_H #inc...
include/prd-fw-msg.h
C
9088e400d3196d691980e36b908548cefcbcd3e0
<|file_sep|>infiniteloop_cmd.c.diff original: updated: static unsigned int solutions_found = 0; <|file_sep|>infiniteloop_cmd.c.diff original: updated: ++solutions_found; <|file_sep|>original/infiniteloop_cmd.c fprintf(stderr, "Failed to print solution\n"); exit(1); } printf("-- SOLUTION --\n%s\n", buf)...
printf("-- SOLUTION --\n%s\n", buf); ++solutions_found; return true; } int main(void) { char buf[1024]; size_t len = fread(buf, 1, sizeof(buf) - 1, stdin); buf[len] = '\0'; struct il_problem p; if (!il_problem_parse(buf, &p)) { fprintf(stderr, "Failed to parse input\n"); return 1; } il_so...
<|file_sep|>infiniteloop_cmd.c.diff original: updated: static unsigned int solutions_found = 0; <|file_sep|>infiniteloop_cmd.c.diff original: updated: ++solutions_found; <|file_sep|>original/infiniteloop_cmd.c fprintf(stderr, "Failed to print solution\n"); exit(1); } printf("-- SOLUTION --\n%s\n", buf)...
infiniteloop_cmd.c
C
af6936815f344cab1cd0549172582dfa40dcd46e
<|file_sep|>src/lib/utils/rotate.h.diff original: updated: rot %= 8 * sizeof(T); <|file_sep|>original/src/lib/utils/rotate.h * @return input rotated left by rot bits */ template<typename T> inline T rotate_left(T input, size_t rot) { return (rot == 0) ? input : static_cast<T>((input << rot) | (input >> (8*siz...
template<typename T> inline T rotate_left(T input, size_t rot) { rot %= 8 * sizeof(T); return (rot == 0) ? input : static_cast<T>((input << rot) | (input >> (8*sizeof(T)-rot)));; } /** * Bit rotation right * @param input the input word * @param rot the number of bits to rotate * @return input rotated right...
<|file_sep|>src/lib/utils/rotate.h.diff original: updated: rot %= 8 * sizeof(T); <|file_sep|>original/src/lib/utils/rotate.h * @return input rotated left by rot bits */ template<typename T> inline T rotate_left(T input, size_t rot) { return (rot == 0) ? input : static_cast<T>((input << rot) | (input >> (8*siz...
src/lib/utils/rotate.h
C
2b37c13dcf9f8460bf86c4b9096dcc49aed72a44
<|file_sep|>RNUnifiedContacts/RNUnifiedContacts-Bridging-Header.h.diff original: updated: #if __has_include("RCTBridgeModule.h") #import "RCTBridgeModule.h" #else <|file_sep|>original/RNUnifiedContacts/RNUnifiedContacts-Bridging-Header.h // // RNUnifiedContacts.h // RNUnifiedContacts // // Created by Joshua Pinter ...
// // Created by Joshua Pinter on 2016-03-23. // Copyright © 2016 Joshua Pinter. All rights reserved. // #ifndef RNUnifiedContacts_Bridging_Header_h #define RNUnifiedContacts_Bridging_Header_h #if __has_include("RCTBridgeModule.h") #import "RCTBridgeModule.h" #else #import <React/RCTBridgeModule.h> #endif #endif /...
<|file_sep|>RNUnifiedContacts/RNUnifiedContacts-Bridging-Header.h.diff original: updated: #if __has_include("RCTBridgeModule.h") #import "RCTBridgeModule.h" #else <|file_sep|>original/RNUnifiedContacts/RNUnifiedContacts-Bridging-Header.h // // RNUnifiedContacts.h // RNUnifiedContacts // // Created by Joshua Pinter ...
RNUnifiedContacts/RNUnifiedContacts-Bridging-Header.h
C
78a22a1dd7608accc960623f8e59c997c75602ea
<|file_sep|>extensions/ringopengl/opengl11/ring_opengl11.c.diff original: updated: RING_FUNC(ring_get_gl_false) { RING_API_RETNUMBER(GL_FALSE); } <|file_sep|>original/extensions/ringopengl/opengl11/ring_opengl11.c #include "ring.h" /* OpenGL 1.1 Extension Copyright (c) 2017 Mahmoud Fayed <msfclipper@yahoo.com> *...
*/ #include <GL/glew.h> #include <GL/glut.h> RING_FUNC(ring_get_gl_zero) { RING_API_RETNUMBER(GL_ZERO); } RING_FUNC(ring_get_gl_false) { RING_API_RETNUMBER(GL_FALSE); } RING_API void ringlib_init(RingState *pRingState) { ring_vm_funcregister("get_gl_zero",ring_get_gl_zero); ring_vm_funcregister("get_gl_false",...
<|file_sep|>extensions/ringopengl/opengl11/ring_opengl11.c.diff original: updated: RING_FUNC(ring_get_gl_false) { RING_API_RETNUMBER(GL_FALSE); } <|file_sep|>original/extensions/ringopengl/opengl11/ring_opengl11.c #include "ring.h" /* OpenGL 1.1 Extension Copyright (c) 2017 Mahmoud Fayed <msfclipper@yahoo.com> *...
extensions/ringopengl/opengl11/ring_opengl11.c
C
a926488619cbe3aa5b5cf367486f6e4b08d70e98
<|file_sep|>pevents.h.diff original: updated: //Type declarations <|file_sep|>pevents.h.diff original: updated: //WIN32-style pevent functions <|file_sep|>original/pevents.h #pragma once #include <pthread.h> #include <stdint.h> namespace neosmart { struct neosmart_event_t_; typedef neosmart_event_t_ * neo...
#pragma once #include <pthread.h> #include <stdint.h> namespace neosmart { //Type declarations struct neosmart_event_t_; typedef neosmart_event_t_ * neosmart_event_t; //WIN32-style pevent functions neosmart_event_t CreateEvent(bool manualReset = false, bool initialState = false); int DestroyEvent(neosma...
<|file_sep|>pevents.h.diff original: updated: //Type declarations <|file_sep|>pevents.h.diff original: updated: //WIN32-style pevent functions <|file_sep|>original/pevents.h #pragma once #include <pthread.h> #include <stdint.h> namespace neosmart { struct neosmart_event_t_; typedef neosmart_event_t_ * neo...
pevents.h
C
e4edb986c6acfb48e0d95b845bcdca75595f5308
<|file_sep|>libgo/runtime/rtems-task-variable-add.c.diff original: updated: #include <assert.h> <|file_sep|>original/libgo/runtime/rtems-task-variable-add.c /* rtems-task-variable-add.c -- adding a task specific variable in RTEMS OS. Copyright 2010 The Go Authors. All rights reserved. Use of this source code i...
Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #include <assert.h> #include <rtems/error.h> #include <rtems/system.h> #include <rtems/rtems/tasks.h> /* RTEMS does not support GNU TLS extension __thread. */ void __wrap_rtems_task_variable_add (void **var) ...
<|file_sep|>libgo/runtime/rtems-task-variable-add.c.diff original: updated: #include <assert.h> <|file_sep|>original/libgo/runtime/rtems-task-variable-add.c /* rtems-task-variable-add.c -- adding a task specific variable in RTEMS OS. Copyright 2010 The Go Authors. All rights reserved. Use of this source code i...
libgo/runtime/rtems-task-variable-add.c
C
c5c547e1faeeb300fb7a7d4976f561bb01496cad
<|file_sep|>examples/ZXSpectrum/cpusimple.c.diff original: updated: extern uint16_t PC; <|file_sep|>examples/ZXSpectrum/cpusimple.c.diff original: updated: int Disassemble(unsigned int address,int registers); <|file_sep|>original/examples/ZXSpectrum/cpusimple.c extern uint8_t CYCLES; void CPU_RESET() { RESET(); } ...
int Disassemble(unsigned int address,int registers); void CPU_RESET() { RESET(); } int CPU_STEP(int intClocks,int doDebug) { if (doDebug) { Disassemble(PC,1); } if (intClocks) { INTERRUPT(0xFF); if (CYCLES==0) { STEP(); }
<|file_sep|>examples/ZXSpectrum/cpusimple.c.diff original: updated: extern uint16_t PC; <|file_sep|>examples/ZXSpectrum/cpusimple.c.diff original: updated: int Disassemble(unsigned int address,int registers); <|file_sep|>original/examples/ZXSpectrum/cpusimple.c extern uint8_t CYCLES; void CPU_RESET() { RESET(); } ...
examples/ZXSpectrum/cpusimple.c
C
7cb013f3d3f72a53c607c45492c26184283ac990
<|file_sep|>base/mac/launchd.h.diff original: updated: #include "base/base_export.h" <|file_sep|>base/mac/launchd.h.diff original: updated: BASE_EXPORT <|file_sep|>original/base/mac/launchd.h #include <string> namespace base { namespace mac { // MessageForJob sends a single message to launchd with a simple dictio...
namespace base { namespace mac { // MessageForJob sends a single message to launchd with a simple dictionary // mapping |operation| to |job_label|, and returns the result of calling // launch_msg to send that message. On failure, returns NULL. The caller // assumes ownership of the returned launch_data_t object. BASE...
<|file_sep|>base/mac/launchd.h.diff original: updated: #include "base/base_export.h" <|file_sep|>base/mac/launchd.h.diff original: updated: BASE_EXPORT <|file_sep|>original/base/mac/launchd.h #include <string> namespace base { namespace mac { // MessageForJob sends a single message to launchd with a simple dictio...
base/mac/launchd.h
C
b878603f9122d058a3730dd6f716a0c03a7a64e4
<|file_sep|>include/ieeefp.h.diff original: updated: __BEGIN_DECLS <|file_sep|>original/include/ieeefp.h * Public domain. */ #ifndef _IEEEFP_H_ #define _IEEEFP_H_ #include <sys/cdefs.h> #include <machine/ieeefp.h> #ifdef __i386__ #include <machine/floatingpoint.h> #else /* !__i386__ */ extern fp_rnd fpgetround...
#ifndef _IEEEFP_H_ #define _IEEEFP_H_ #include <sys/cdefs.h> #include <machine/ieeefp.h> #ifdef __i386__ #include <machine/floatingpoint.h> #else /* !__i386__ */ __BEGIN_DECLS extern fp_rnd fpgetround __P((void)); extern fp_rnd fpsetround __P((fp_rnd)); extern fp_except fpgetmask __P((void)); extern fp_except ...
<|file_sep|>include/ieeefp.h.diff original: updated: __BEGIN_DECLS <|file_sep|>original/include/ieeefp.h * Public domain. */ #ifndef _IEEEFP_H_ #define _IEEEFP_H_ #include <sys/cdefs.h> #include <machine/ieeefp.h> #ifdef __i386__ #include <machine/floatingpoint.h> #else /* !__i386__ */ extern fp_rnd fpgetround...
include/ieeefp.h
C
acb1a34584a2f31dbe59b77d48f782042293b049
<|file_sep|>AVOS/AVOSCloudLiveQuery/AVSubscription.h.diff original: updated: @protocol AVSubscriptionDelegate <NSObject> @end <|file_sep|>original/AVOS/AVOSCloudLiveQuery/AVSubscription.h #import <Foundation/Foundation.h> #import "AVQuery.h" #import "AVDynamicObject.h" NS_ASSUME_NONNULL_BEGIN @interface AVSubscrip...
@protocol AVSubscriptionDelegate <NSObject> @end @interface AVSubscriptionOptions : AVDynamicObject @end @interface AVSubscription : NSObject @property (nonatomic, weak, nullable) id<AVSubscriptionDelegate> delegate; @property (nonatomic, strong, readonly) AVQuery *query; @property (nonatomic, strong, readonly, n...
<|file_sep|>AVOS/AVOSCloudLiveQuery/AVSubscription.h.diff original: updated: @protocol AVSubscriptionDelegate <NSObject> @end <|file_sep|>original/AVOS/AVOSCloudLiveQuery/AVSubscription.h #import <Foundation/Foundation.h> #import "AVQuery.h" #import "AVDynamicObject.h" NS_ASSUME_NONNULL_BEGIN @interface AVSubscrip...
AVOS/AVOSCloudLiveQuery/AVSubscription.h
C
cec1a48a4138035c6c8462c8baaee699addf0ede
<|file_sep|>Settings/Display.h.diff original: updated: #include <CommCtrl.h> <|file_sep|>original/Settings/Display.h ComboBox _animation; Label _hideDelayLabel; Spinner _hideDelay; Label _hideSpeedLabel; Spinner _hideSpeed; private: /* Strings: */ std::wstring primaryMonitorStr = L"Prima...
ComboBox _animation; Label _hideDelayLabel; Spinner _hideDelay; Label _hideSpeedLabel; Spinner _hideSpeed; private: /* Strings: */ std::wstring primaryMonitorStr = L"Primary Monitor"; std::wstring allMonitorStr = L"All Monitors"; std::wstring customPositionStr = L"Custom"; std::...
<|file_sep|>Settings/Display.h.diff original: updated: #include <CommCtrl.h> <|file_sep|>original/Settings/Display.h ComboBox _animation; Label _hideDelayLabel; Spinner _hideDelay; Label _hideSpeedLabel; Spinner _hideSpeed; private: /* Strings: */ std::wstring primaryMonitorStr = L"Prima...
Settings/Display.h
C
8c890982a2aa318fcc632ee616e1c5398fa9eb91
<|file_sep|>src/pam_unshare.c.diff original: updated: printf("pam_unshare pam_sm_open_session\n"); <|file_sep|>original/src/pam_unshare.c #include <stdio.h> #include <stdlib.h> #include <string.h> #include <security/pam_appl.h> #include <security/pam_modules.h> PAM_EXTERN int pam_sm_open_session(pam_handle_t *pam...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <security/pam_appl.h> #include <security/pam_modules.h> PAM_EXTERN int pam_sm_open_session(pam_handle_t *pamh, int flags, int argc, const char **argv) { printf("pam_unshare pam_sm_open_session\n"); return PAM_SUCCESS; } PAM_EXTERN int pam_sm...
<|file_sep|>src/pam_unshare.c.diff original: updated: printf("pam_unshare pam_sm_open_session\n"); <|file_sep|>original/src/pam_unshare.c #include <stdio.h> #include <stdlib.h> #include <string.h> #include <security/pam_appl.h> #include <security/pam_modules.h> PAM_EXTERN int pam_sm_open_session(pam_handle_t *pam...
src/pam_unshare.c
C
0b3b2c730aa260f1d060f5f70cf871174da28fc8
<|file_sep|>src/node.h.diff original: updated: bool isPersistable() { return persistable; } <|file_sep|>original/src/node.h virtual void render(Gl *gl, RenderData renderData) = 0; virtual std::shared_ptr<Math::Obb> getObb() { return std::shared_ptr<Math::Obb>(); } protected: Node() { } ...
bool isPersistable() { return persistable; } protected: Node() { } bool persistable = true; private: friend class boost::serialization::access; template <class Archive> void serialize(Archive &ar, unsigned int version) const { } }; #endif // SRC_NODE_H_
<|file_sep|>src/node.h.diff original: updated: bool isPersistable() { return persistable; } <|file_sep|>original/src/node.h virtual void render(Gl *gl, RenderData renderData) = 0; virtual std::shared_ptr<Math::Obb> getObb() { return std::shared_ptr<Math::Obb>(); } protected: Node() { } ...
src/node.h
C
164fe0f58855721bd10abc4498e993443665b6fb
<|file_sep|>src/cc/common.h.diff original: updated: #ifdef __cpp_lib_make_unique using std::make_unique; #else <|file_sep|>original/src/cc/common.h #include <memory> #include <string> #include <unistd.h> #include <vector> namespace ebpf { template <class T, class... Args> typename std::enable_if<!std::is_array<T>::...
#include <vector> namespace ebpf { #ifdef __cpp_lib_make_unique using std::make_unique; #else template <class T, class... Args> typename std::enable_if<!std::is_array<T>::value, std::unique_ptr<T>>::type make_unique(Args &&... args) { return std::unique_ptr<T>(new T(std::forward<Args>(args)...)); } #endif std::vec...
<|file_sep|>src/cc/common.h.diff original: updated: #ifdef __cpp_lib_make_unique using std::make_unique; #else <|file_sep|>original/src/cc/common.h #include <memory> #include <string> #include <unistd.h> #include <vector> namespace ebpf { template <class T, class... Args> typename std::enable_if<!std::is_array<T>::...
src/cc/common.h
C
fed5b68b9fdf3a3196ae39609b7ae217999b094f
<|file_sep|>include/insect.h.diff original: updated: #ifdef __cplusplus extern "C" { #endif /* C++ */ <|file_sep|>original/include/insect.h #ifndef __INSECT_H__ #define __INSECT_H__ #include "insect/crawler.h" #include "insect/records.h" /* basic file API */ #include "insect/file/stat.h" #ifdef USE_THREADS #includ...
#define __INSECT_H__ #ifdef __cplusplus extern "C" { #endif /* C++ */ #include "insect/crawler.h" #include "insect/records.h" /* basic file API */ #include "insect/file/stat.h" #ifdef USE_THREADS #include "insect/concurrent/thread.h" #endif /* USE_THREADS */ #ifdef __cplusplus } /* extern "C" */ #endif /* C++ */ ...
<|file_sep|>include/insect.h.diff original: updated: #ifdef __cplusplus extern "C" { #endif /* C++ */ <|file_sep|>original/include/insect.h #ifndef __INSECT_H__ #define __INSECT_H__ #include "insect/crawler.h" #include "insect/records.h" /* basic file API */ #include "insect/file/stat.h" #ifdef USE_THREADS #includ...
include/insect.h
C
fbe96411e7888bfb9cc92fe85e35e093239d24a7
<|file_sep|>ui/reflectionview.h.diff original: updated: std::map<BNFunctionGraphType, BNFunctionGraphType> m_ilMap; bool m_ilSync; bool m_locationSync; <|file_sep|>original/ui/reflectionview.h class BINARYNINJAUIAPI ReflectionView: public QWidget, public DockContextHandler { Q_OBJECT Q_INTERFACES(DockContextHand...
ViewFrame* m_frame; BinaryViewRef m_data; DisassemblyContainer* m_disassemblyContainer; std::map<BNFunctionGraphType, BNFunctionGraphType> m_ilMap; bool m_ilSync; bool m_locationSync; public: ReflectionView(ViewFrame* frame, BinaryViewRef data); ~ReflectionView(); void toggleILSync(); void toggleLocationSyn...
<|file_sep|>ui/reflectionview.h.diff original: updated: std::map<BNFunctionGraphType, BNFunctionGraphType> m_ilMap; bool m_ilSync; bool m_locationSync; <|file_sep|>original/ui/reflectionview.h class BINARYNINJAUIAPI ReflectionView: public QWidget, public DockContextHandler { Q_OBJECT Q_INTERFACES(DockContextHand...
ui/reflectionview.h
C
2a608956279a2bc37c762f3f2b5e20ee38b1f43c
<|file_sep|>source/common/game_state_manager_base.h.diff original: updated: virtual void OnResize(int newClientWidth, int newClientHeight) = 0; <|file_sep|>original/source/common/game_state_manager_base.h * should return 50. * * NOTE: This should probably be inlined. * NOTE: This will only be called at the ...
virtual double GetUpdatePeriod() = 0; /** * Called every time the game logic should be updated. The frequency * of this being called is determined by getUpdatePeriod() */ virtual void Update() = 0; virtual void OnResize(int newClientWidth, int newClientHeight) = 0; virtual void GamePaused() = 0; virtual v...
<|file_sep|>source/common/game_state_manager_base.h.diff original: updated: virtual void OnResize(int newClientWidth, int newClientHeight) = 0; <|file_sep|>original/source/common/game_state_manager_base.h * should return 50. * * NOTE: This should probably be inlined. * NOTE: This will only be called at the ...
source/common/game_state_manager_base.h
C
af7e443cb2e40a8c5c3886cf7c37c9a762eaf3b2
<|file_sep|>src/MotorShield.h.diff original: updated: // Initialization method. Must be called in Arduino's setup() function. <|file_sep|>src/MotorShield.h.diff original: updated: // Makes left and right motors go in the forward direction. <|file_sep|>src/MotorShield.h.diff original: updated: // Makes...
uint8_t getLeftSpeed(); // Returns the current speed of the right motor. uint8_t getRightSpeed(); // Sets the speed of both left and right motors. void setSpeed(uint8_t); // Sets the speed of the left motor. void setLeftSpeed(uint8_t); // Sets the speed of the right motor. void s...
<|file_sep|>src/MotorShield.h.diff original: updated: // Initialization method. Must be called in Arduino's setup() function. <|file_sep|>src/MotorShield.h.diff original: updated: // Makes left and right motors go in the forward direction. <|file_sep|>src/MotorShield.h.diff original: updated: // Makes...
src/MotorShield.h
C
f743a0c0d7c8d67fd5a3263deade3525ce7a0441
<|file_sep|>src/lib/PMDPage.h.diff original: updated: yamlBeginMap(emitter); <|file_sep|>original/src/lib/PMDPage.h m_shapes.push_back(shape); } unsigned numShapes() const { return m_shapes.size(); } boost::shared_ptr<const PMDLineSet> getShape(unsigned i) const { return m_shapes.at(i); ...
unsigned numShapes() const { return m_shapes.size(); } boost::shared_ptr<const PMDLineSet> getShape(unsigned i) const { return m_shapes.at(i); } void emitYaml(yaml_emitter_t *emitter) const { yamlBeginMap(emitter); yamlIndirectForeach(emitter, "shapes", m_shapes); yamlEndMap(emitt...
<|file_sep|>src/lib/PMDPage.h.diff original: updated: yamlBeginMap(emitter); <|file_sep|>original/src/lib/PMDPage.h m_shapes.push_back(shape); } unsigned numShapes() const { return m_shapes.size(); } boost::shared_ptr<const PMDLineSet> getShape(unsigned i) const { return m_shapes.at(i); ...
src/lib/PMDPage.h
C
be3d7ac0ccd1363ed9a38b275d07270b224fd893
<|file_sep|>opencog/atoms/base/types.h.diff original: updated: #include <set> <|file_sep|>original/opencog/atoms/base/types.h /** * basic type definitions. */ #ifndef _OPENCOG_TYPES_H #define _OPENCOG_TYPES_H namespace opencog { /** \addtogroup grp_atomspace * @{ */ //! type of Atoms, represented as short in...
#ifndef _OPENCOG_TYPES_H #define _OPENCOG_TYPES_H #include <set> namespace opencog { /** \addtogroup grp_atomspace * @{ */ //! type of Atoms, represented as short integer (16 bits) typedef unsigned short Type; //! Set of atom types typedef std::set<Type> TypeSet; /** @}*/ } // namespace opencog #endif // _OPEN...
<|file_sep|>opencog/atoms/base/types.h.diff original: updated: #include <set> <|file_sep|>original/opencog/atoms/base/types.h /** * basic type definitions. */ #ifndef _OPENCOG_TYPES_H #define _OPENCOG_TYPES_H namespace opencog { /** \addtogroup grp_atomspace * @{ */ //! type of Atoms, represented as short in...
opencog/atoms/base/types.h
C
bd0266ffdcb0b9debbe3dea7e3f07f54500af8c3
<|file_sep|>bikepath/ResultsMapViewController.h.diff original: updated: #import "SearchItem.h" <|file_sep|>original/bikepath/ResultsMapViewController.h // // ResultsMapViewController.h // bikepath // // Created by Farheen Malik on 8/14/14. // Copyright (c) 2014 Bike Path. All rights reserved. // #import <UIKit/UI...
// // ResultsMapViewController.h // bikepath // // Created by Farheen Malik on 8/14/14. // Copyright (c) 2014 Bike Path. All rights reserved. // #import <UIKit/UIKit.h> #import <GoogleMaps/GoogleMaps.h> #import "SearchItem.h" @interface ResultsMapViewController : UIViewController <GMSMapViewDelegate> @property (s...
<|file_sep|>bikepath/ResultsMapViewController.h.diff original: updated: #import "SearchItem.h" <|file_sep|>original/bikepath/ResultsMapViewController.h // // ResultsMapViewController.h // bikepath // // Created by Farheen Malik on 8/14/14. // Copyright (c) 2014 Bike Path. All rights reserved. // #import <UIKit/UI...
bikepath/ResultsMapViewController.h
C
d7713594c2db37aeed1ff5da8aefbbbd26e73f34
<|file_sep|>src/FTDebouncer-Lambda.h.diff original: updated: #endif <|file_sep|>original/src/FTDebouncer-Lambda.h #include "FTDebouncer.h" //Dummy function implementations to satisfy linker when using lambdas void onPinActivated(int pinNumber){} void onPinDeactivated(int pinNumber){} <|file_sep|>current/src/FTDeboun...
#ifndef FTDEBOUNCER_LAMBDA_H #define FTDEBOUNCER_LAMBDA_H #include "FTDebouncer.h" //Dummy function implementations to satisfy linker when using lambdas void onPinActivated(int pinNumber){} void onPinDeactivated(int pinNumber){} #endif
<|file_sep|>src/FTDebouncer-Lambda.h.diff original: updated: #endif <|file_sep|>original/src/FTDebouncer-Lambda.h #include "FTDebouncer.h" //Dummy function implementations to satisfy linker when using lambdas void onPinActivated(int pinNumber){} void onPinDeactivated(int pinNumber){} <|file_sep|>current/src/FTDeboun...
src/FTDebouncer-Lambda.h
C
68c6b7bf28749e8d71d5cb7d28dceb0cd1592caf
<|file_sep|>SSPSolution/SSPSolution/MenuState.h.diff original: updated: #include "../GraphicsDLL/GraphicsComponent.h" <|file_sep|>original/SSPSolution/SSPSolution/MenuState.h #ifndef SSPAPPLICATION_GAMESTATES_MENUSTATE_H #define SSPAPPLICATION_GAMESTATES_MENUSTATE_H #include "GameState.h" class MenuState : public Gam...
#ifndef SSPAPPLICATION_GAMESTATES_MENUSTATE_H #define SSPAPPLICATION_GAMESTATES_MENUSTATE_H #include "GameState.h" #include "../GraphicsDLL/GraphicsComponent.h" class MenuState : public GameState { private: const static int m_NR_OF_MENU_ITEMS = 2; UIComponent* m_uiComps[NR_OF_MENU_ITEMS]; TextComponent* m_textComps...
<|file_sep|>SSPSolution/SSPSolution/MenuState.h.diff original: updated: #include "../GraphicsDLL/GraphicsComponent.h" <|file_sep|>original/SSPSolution/SSPSolution/MenuState.h #ifndef SSPAPPLICATION_GAMESTATES_MENUSTATE_H #define SSPAPPLICATION_GAMESTATES_MENUSTATE_H #include "GameState.h" class MenuState : public Gam...
SSPSolution/SSPSolution/MenuState.h
C
acd4d69243c48f9bbff625d269b337eed0c47f24
<|file_sep|>src/gallium/auxiliary/target-helpers/inline_debug_helper.h.diff original: updated: #ifdef DEBUG <|file_sep|>src/gallium/auxiliary/target-helpers/inline_debug_helper.h.diff original: updated: #endif /* DEBUG */ <|file_sep|>src/gallium/auxiliary/target-helpers/inline_debug_helper.h.diff original: updated...
screen = rbug_screen_create(screen); #endif #if defined(GALLIUM_TRACE) screen = trace_screen_create(screen); #endif #if defined(GALLIUM_GALAHAD) screen = galahad_screen_create(screen); #endif #if defined(GALLIUM_NOOP) screen = noop_screen_create(screen); #endif #endif /* DEBUG */ return screen; } #...
<|file_sep|>src/gallium/auxiliary/target-helpers/inline_debug_helper.h.diff original: updated: #ifdef DEBUG <|file_sep|>src/gallium/auxiliary/target-helpers/inline_debug_helper.h.diff original: updated: #endif /* DEBUG */ <|file_sep|>src/gallium/auxiliary/target-helpers/inline_debug_helper.h.diff original: updated...
src/gallium/auxiliary/target-helpers/inline_debug_helper.h
C
232073b0d97756ee4b3961c99050f4e20aa29a44
<|file_sep|>3RVX/3RVX.h.diff original: updated: #define MSG_ACTIVATE WM_APP + 104 <|file_sep|>original/3RVX/3RVX.h #pragma once #define CLASS_3RVX L"3RVXv3" static const UINT WM_3RVX_CONTROL = RegisterWindowMessage(L"WM_3RVX_CONTROL"); static const UINT WM_3RVX_SETTINGSCTRL = RegisterWindowMessage(L"WM_3RVX_...
#pragma once #define CLASS_3RVX L"3RVXv3" #define CLASS_3RVX_SETTINGS L"3RVX-Settings" static const UINT WM_3RVX_CONTROL = RegisterWindowMessage(L"WM_3RVX_CONTROL"); static const UINT WM_3RVX_SETTINGSCTRL = RegisterWindowMessage(L"WM_3RVX_SETTINGSCTRL"); #define MSG_LOAD WM_APP + 100 #define MSG_SETTINGS...
<|file_sep|>3RVX/3RVX.h.diff original: updated: #define MSG_ACTIVATE WM_APP + 104 <|file_sep|>original/3RVX/3RVX.h #pragma once #define CLASS_3RVX L"3RVXv3" static const UINT WM_3RVX_CONTROL = RegisterWindowMessage(L"WM_3RVX_CONTROL"); static const UINT WM_3RVX_SETTINGSCTRL = RegisterWindowMessage(L"WM_3RVX_...
3RVX/3RVX.h
C
da5a68aff87e0152a5058c070b634eecaddf1a27
<|file_sep|>scriptobject.h.diff original: updated: #include "util.h" <|file_sep|>original/scriptobject.h static NPObject* allocateThunk(NPP npp, NPClass *aClass); static void deallocateThunk(NPObject *npobj); static void invalidateThunk(NPObject *npobj); static bool hasMethodThunk(NPObject *npobj, NPI...
static void deallocateThunk(NPObject *npobj); static void invalidateThunk(NPObject *npobj); static bool hasMethodThunk(NPObject *npobj, NPIdentifier name); static bool invokeThunk(NPObject *npobj, NPIdentifier name, const NPVariant *args, uint32_t argCount, NPVariant *result); static b...
<|file_sep|>scriptobject.h.diff original: updated: #include "util.h" <|file_sep|>original/scriptobject.h static NPObject* allocateThunk(NPP npp, NPClass *aClass); static void deallocateThunk(NPObject *npobj); static void invalidateThunk(NPObject *npobj); static bool hasMethodThunk(NPObject *npobj, NPI...
scriptobject.h
C
431357bc5ced7c1ffd6616f681c195ce45c61462
<|file_sep|>extensions/ringopengl/opengl11/ring_opengl11.c.diff original: updated: RING_FUNC(ring_get_gl_none) { RING_API_RETNUMBER(GL_NONE); } <|file_sep|>original/extensions/ringopengl/opengl11/ring_opengl11.c RING_FUNC(ring_get_gl_zero) { RING_API_RETNUMBER(GL_ZERO); } RING_FUNC(ring_get_gl_false) { RING_API_R...
{ RING_API_RETNUMBER(GL_FALSE); } RING_FUNC(ring_get_gl_logic_op) { RING_API_RETNUMBER(GL_LOGIC_OP); } RING_FUNC(ring_get_gl_none) { RING_API_RETNUMBER(GL_NONE); } RING_API void ringlib_init(RingState *pRingState) { ring_vm_funcregister("get_gl_zero",ring_get_gl_zero); ring_vm_funcregister("get_gl_false",ring_g...
<|file_sep|>extensions/ringopengl/opengl11/ring_opengl11.c.diff original: updated: RING_FUNC(ring_get_gl_none) { RING_API_RETNUMBER(GL_NONE); } <|file_sep|>original/extensions/ringopengl/opengl11/ring_opengl11.c RING_FUNC(ring_get_gl_zero) { RING_API_RETNUMBER(GL_ZERO); } RING_FUNC(ring_get_gl_false) { RING_API_R...
extensions/ringopengl/opengl11/ring_opengl11.c
C
e87f79e573ba951dad55b81433b3a1839dd85332
<|file_sep|>trace.h.diff original: updated: #ifdef DEBUG <|file_sep|>original/trace.h #ifndef _TRACE_H_ #define _TRACE_H_ #include <stdio.h> #include <errno.h> #define TRACE ERROR #define ERROR(fmt,arg...) \ fprintf(stderr, "%s: "fmt, program_invocation_short_name, ##arg) #define FATAL(fmt,arg...) do { \ ERRO...
#ifndef _TRACE_H_ #define _TRACE_H_ #include <stdio.h> #include <errno.h> #ifdef DEBUG #define TRACE ERROR #else #define TRACE(fmt,arg...) ((void) 0) #endif #define ERROR(fmt,arg...) \ fprintf(stderr, "%s: "fmt, program_invocation_short_name, ##arg) #define FATAL(fmt,arg...) do { \ ERROR(fmt, ##arg); \...
<|file_sep|>trace.h.diff original: updated: #ifdef DEBUG <|file_sep|>original/trace.h #ifndef _TRACE_H_ #define _TRACE_H_ #include <stdio.h> #include <errno.h> #define TRACE ERROR #define ERROR(fmt,arg...) \ fprintf(stderr, "%s: "fmt, program_invocation_short_name, ##arg) #define FATAL(fmt,arg...) do { \ ERRO...
trace.h
C
15378c98e1987964299a406232dc405a11c7a413
<|file_sep|>tests/testTime.c.diff original: updated: #include "../../bluez-5.28/lib/bluetooth.h" <|file_sep|>original/tests/testTime.c #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <sys/time.h> #include <time.h> #include <unistd.h> int main(int argc, char **argv) { struct timeval tv; st...
#include <time.h> #include <unistd.h> #include "../../bluez-5.28/lib/bluetooth.h" int main(int argc, char **argv) { struct timeval tv; struct timezone tz; struct tm *tm; gettimeofday(&tv, &tz); tm = localtime(&tv.tv_sec); char timestr[128]; size_t length = strftime(timestr, 128, "%F...
<|file_sep|>tests/testTime.c.diff original: updated: #include "../../bluez-5.28/lib/bluetooth.h" <|file_sep|>original/tests/testTime.c #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <sys/time.h> #include <time.h> #include <unistd.h> int main(int argc, char **argv) { struct timeval tv; st...
tests/testTime.c
C
5394589f53072a71942a11695470d7ca97ab7a70
<|file_sep|>include/franka/lowpass_filter.h.diff original: updated: * @throw std::invalid_argument if y is infinite or NaN. <|file_sep|>original/include/franka/lowpass_filter.h constexpr double kMaxCutoffFrequency = 1000.0; /** * Default cutoff frequency */ constexpr double kDefaultCutoffFrequency = 100.0; /** * A...
constexpr double kDefaultCutoffFrequency = 100.0; /** * Applies a first-order low-pass filter * * @param[in] sample_time Sample time constant * @param[in] y Current value of the signal to be filtered * @param[in] y_last Value of the signal to be filtered in the previous time step * @param[in] cutoff_frequency Cut...
<|file_sep|>include/franka/lowpass_filter.h.diff original: updated: * @throw std::invalid_argument if y is infinite or NaN. <|file_sep|>original/include/franka/lowpass_filter.h constexpr double kMaxCutoffFrequency = 1000.0; /** * Default cutoff frequency */ constexpr double kDefaultCutoffFrequency = 100.0; /** * A...
include/franka/lowpass_filter.h
C
0ae1522b36e4f7fbea3770d108a10d4bc784d26f
<|file_sep|>spellutil.h.diff original: updated: typedef struct spell_hashtable { char *key; spell_list_node *val; } spell_hashtable; <|file_sep|>spellutil.h.diff original: updated: void spell_list_remove(spell_list_node **, spell_list_node *); <|file_sep|>original/spellutil.h #ifndef SPELLUTIL_H #define SPEL...
typedef struct spell_list_node { struct spell_list_node *next; void *data; } spell_list_node; typedef struct spell_hashtable { char *key; spell_list_node *val; } spell_hashtable; spell_list_node *spell_list_init(void *); int spell_list_add(spell_list_node **, void *); void spell_list_remove(spell_list...
<|file_sep|>spellutil.h.diff original: updated: typedef struct spell_hashtable { char *key; spell_list_node *val; } spell_hashtable; <|file_sep|>spellutil.h.diff original: updated: void spell_list_remove(spell_list_node **, spell_list_node *); <|file_sep|>original/spellutil.h #ifndef SPELLUTIL_H #define SPEL...
spellutil.h
C
13d6f51d99675d5c31d4fb6c6fc18dcb1acb9ba0
<|file_sep|>src/domain/noterepository.h.diff original: updated: #include "datasource.h" <|file_sep|>original/src/domain/noterepository.h #define DOMAIN_NOTEREPOSITORY_H #include "note.h" class KJob; namespace Domain { class NoteRepository { public: NoteRepository(); virtual ~NoteRepository(); virtual ...
class KJob; namespace Domain { class NoteRepository { public: NoteRepository(); virtual ~NoteRepository(); virtual bool isDefaultSource(DataSource::Ptr source) const = 0; virtual void setDefaultSource(DataSource::Ptr source) = 0; virtual KJob *save(Note::Ptr note) = 0; virtual KJob *remove(...
<|file_sep|>src/domain/noterepository.h.diff original: updated: #include "datasource.h" <|file_sep|>original/src/domain/noterepository.h #define DOMAIN_NOTEREPOSITORY_H #include "note.h" class KJob; namespace Domain { class NoteRepository { public: NoteRepository(); virtual ~NoteRepository(); virtual ...
src/domain/noterepository.h
C
62f828c9bd51124a9a24362fbf6d2bc4a7971e75
<|file_sep|>pg_query.c.diff original: updated: #include <mb/pg_wchar.h> <|file_sep|>original/pg_query.c #include "pg_query.h" #include "pg_query_internal.h" const char* progname = "pg_query"; void pg_query_init(void) { MemoryContextInit(); } <|file_sep|>current/pg_query.c #include "pg_query.h" #include "pg_query_in...
#include "pg_query.h" #include "pg_query_internal.h" #include <mb/pg_wchar.h> const char* progname = "pg_query"; void pg_query_init(void) { MemoryContextInit(); SetDatabaseEncoding(PG_UTF8); }
<|file_sep|>pg_query.c.diff original: updated: #include <mb/pg_wchar.h> <|file_sep|>original/pg_query.c #include "pg_query.h" #include "pg_query_internal.h" const char* progname = "pg_query"; void pg_query_init(void) { MemoryContextInit(); } <|file_sep|>current/pg_query.c #include "pg_query.h" #include "pg_query_in...
pg_query.c
C
743a89c5c27c3c17b87af5df8c381d95b00f2f42
<|file_sep|>src/3rdparty/win32_src/pdcurses/wincon/pdcwin.h.diff original: updated: #ifndef __PDC_WIN_H__ #define __PDC_WIN_H__ <|file_sep|>original/src/3rdparty/win32_src/pdcurses/wincon/pdcwin.h #if defined(PDC_WIDE) && !defined(UNICODE) # define UNICODE #endif #define WIN32_LEAN_AND_MEAN #include <windows.h> #und...
#endif #define WIN32_LEAN_AND_MEAN #include <windows.h> #undef MOUSE_MOVED #include <curspriv.h> typedef struct {short r, g, b; bool mapped;} PDCCOLOR; extern PDCCOLOR pdc_color[PDC_MAXCOL]; extern HANDLE pdc_con_out, pdc_con_in; extern DWORD pdc_quick_edit; extern DWORD pdc_last_blink; extern short pdc_curstoreal[...
<|file_sep|>src/3rdparty/win32_src/pdcurses/wincon/pdcwin.h.diff original: updated: #ifndef __PDC_WIN_H__ #define __PDC_WIN_H__ <|file_sep|>original/src/3rdparty/win32_src/pdcurses/wincon/pdcwin.h #if defined(PDC_WIDE) && !defined(UNICODE) # define UNICODE #endif #define WIN32_LEAN_AND_MEAN #include <windows.h> #und...
src/3rdparty/win32_src/pdcurses/wincon/pdcwin.h
C
2c1b1a2343f5882ee6f98328ff391478d0d58c23
<|file_sep|>csapex_ros/src/ros_boot.h.diff original: updated: #if CLASS_LOADER_USES_HPP <|file_sep|>original/csapex_ros/src/ros_boot.h #include <csapex/core/bootstrap_plugin.h> #include <csapex/core/core_fwd.h> #include <csapex/model/model_fwd.h> #include <csapex/msg/msg_fwd.h> #include <csapex/view/view_fwd.h> /// S...
#include <csapex/model/model_fwd.h> #include <csapex/msg/msg_fwd.h> #include <csapex/view/view_fwd.h> /// SYSTEM // clang-format off #include <csapex/utility/suppress_warnings_start.h> #if CLASS_LOADER_USES_HPP #include <pluginlib/class_loader.hpp> #else #include <pluginlib/class_loader.h> #endif #include <csapex/util...
<|file_sep|>csapex_ros/src/ros_boot.h.diff original: updated: #if CLASS_LOADER_USES_HPP <|file_sep|>original/csapex_ros/src/ros_boot.h #include <csapex/core/bootstrap_plugin.h> #include <csapex/core/core_fwd.h> #include <csapex/model/model_fwd.h> #include <csapex/msg/msg_fwd.h> #include <csapex/view/view_fwd.h> /// S...
csapex_ros/src/ros_boot.h
C
27b36d361060857849880209794c6f6f98457bfe
<|file_sep|>string_hash.h.diff original: updated: __attribute__((unused)) <|file_sep|>original/string_hash.h while ((c = *str++)) { hash = c + (hash << 6) + (hash << 16) - hash; } return hash; } /** * Test two strings for equality. */ static int string_compare(const char *str1, const char *str2) { if (str1 =...
while ((c = *str++)) { hash = c + (hash << 6) + (hash << 16) - hash; } return hash; } /** * Test two strings for equality. */ __attribute__((unused)) static int string_compare(const char *str1, const char *str2) { if (str1 == str2) { return 1; } if (str2 == NULL) { return 0; }
<|file_sep|>string_hash.h.diff original: updated: __attribute__((unused)) <|file_sep|>original/string_hash.h while ((c = *str++)) { hash = c + (hash << 6) + (hash << 16) - hash; } return hash; } /** * Test two strings for equality. */ static int string_compare(const char *str1, const char *str2) { if (str1 =...
string_hash.h
C
96de597b3c9491bb257526cb7ed817238c88916a
<|file_sep|>Pod/Classes/TTRangeSliderDelegate.h.diff original: updated: /** * Called when the RangeSlider values are changed */ <|file_sep|>original/Pod/Classes/TTRangeSliderDelegate.h // // YLRangeSliderViewDelegate.h // FantasyRealFootball // // Created by Tom Thorpe on 16/04/2014. // Copyright (c) 2014 Yahoo ...
// Copyright (c) 2014 Yahoo inc. All rights reserved. // #import <Foundation/Foundation.h> @class TTRangeSlider; @protocol TTRangeSliderDelegate <NSObject> /** * Called when the RangeSlider values are changed */ -(void)rangeSlider:(TTRangeSlider *)sender didChangeSelectedMinimumValue:(float)selectedMinimum andMax...
<|file_sep|>Pod/Classes/TTRangeSliderDelegate.h.diff original: updated: /** * Called when the RangeSlider values are changed */ <|file_sep|>original/Pod/Classes/TTRangeSliderDelegate.h // // YLRangeSliderViewDelegate.h // FantasyRealFootball // // Created by Tom Thorpe on 16/04/2014. // Copyright (c) 2014 Yahoo ...
Pod/Classes/TTRangeSliderDelegate.h
C
eb6f58307e488a8468c725af20cd482d62b37136
<|file_sep|>test/Interop/Cxx/class/Inputs/access-specifiers.h.diff original: updated: #ifndef TEST_INTEROP_CXX_CLASS_INPUTS_ACCESS_SPECIFIERS_H #define TEST_INTEROP_CXX_CLASS_INPUTS_ACCESS_SPECIFIERS_H <|file_sep|>original/test/Interop/Cxx/class/Inputs/access-specifiers.h PublicOpenEnumValue1 } __attribute__((e...
enum PublicFlagEnum {} __attribute__((flag_enum)); private: int PrivateMemberVar; static int PrivateStaticMemberVar; void privateMemberFunc() {} typedef int PrivateTypedef; struct PrivateStruct {}; enum PrivateEnum { PrivateEnumValue1 }; enum { PrivateAnonymousEnumValue1 }; enum PrivateClosedEnum { ...
<|file_sep|>test/Interop/Cxx/class/Inputs/access-specifiers.h.diff original: updated: #ifndef TEST_INTEROP_CXX_CLASS_INPUTS_ACCESS_SPECIFIERS_H #define TEST_INTEROP_CXX_CLASS_INPUTS_ACCESS_SPECIFIERS_H <|file_sep|>original/test/Interop/Cxx/class/Inputs/access-specifiers.h PublicOpenEnumValue1 } __attribute__((e...
test/Interop/Cxx/class/Inputs/access-specifiers.h
C
6c9ccbc59bb5d98785b5e45acd139704241ecebb
<|file_sep|>plugins.h.diff original: updated: #include "pie/pie-arm-field-decoder.h" #include "pie/pie-arm-decoder.h" #include "pie/pie-thumb-field-decoder.h" #include "pie/pie-thumb-decoder.h" <|file_sep|>original/plugins.h You may obtain a copy of the License at http://www.apache.org/licenses/LICENS...
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ #include "dbm.h" #include "scanner_public.h" #ifdef __arm__ #include "api/emit_thumb.h" #include "api/emit_arm.h" #include "pie/pie-...
<|file_sep|>plugins.h.diff original: updated: #include "pie/pie-arm-field-decoder.h" #include "pie/pie-arm-decoder.h" #include "pie/pie-thumb-field-decoder.h" #include "pie/pie-thumb-decoder.h" <|file_sep|>original/plugins.h You may obtain a copy of the License at http://www.apache.org/licenses/LICENS...
plugins.h
C
4d3b86d589a605c04cde6af4e483adc7d58c994e
<|file_sep|>libjc/arch/i386/i386_definitions.h.diff original: updated: /* Fixes for Cygwin */ <|file_sep|>original/libjc/arch/i386/i386_definitions.h #ifndef _ARCH_I386_DEFINITIONS_H_ #define _ARCH_I386_DEFINITIONS_H_ #if !defined(__i386__) #error "This include file is for the i386 architecture only" #endif #define...
#if !defined(__i386__) #error "This include file is for the i386 architecture only" #endif #define _JC_PAGE_SHIFT 12 /* 4096 byte pages */ #define _JC_STACK_ALIGN 2 #define _JC_BIG_ENDIAN 0 /* Fixes for Cygwin */ #ifdef __CYGWIN__ #undef _JC_LIBRARY_FMT #define _JC_LIBRARY_FMT "cyg%s.dll" #define sched_get_pr...
<|file_sep|>libjc/arch/i386/i386_definitions.h.diff original: updated: /* Fixes for Cygwin */ <|file_sep|>original/libjc/arch/i386/i386_definitions.h #ifndef _ARCH_I386_DEFINITIONS_H_ #define _ARCH_I386_DEFINITIONS_H_ #if !defined(__i386__) #error "This include file is for the i386 architecture only" #endif #define...
libjc/arch/i386/i386_definitions.h
C
b2192eb67960c6943b266a0456b672ee93483952
<|file_sep|>events/tests/UNITTESTS/doubles/equeue_stub.h.diff original: updated: #ifdef __cplusplus extern "C" { #endif <|file_sep|>events/tests/UNITTESTS/doubles/equeue_stub.h.diff original: updated: #ifdef __cplusplus } <|file_sep|>original/events/tests/UNITTESTS/doubles/equeue_stub.h * Unless required by applica...
#define __EQUEUE_STUB_H__ #include "stdint.h" #include "stdbool.h" #ifdef __cplusplus extern "C" { #endif typedef struct { void *void_ptr; bool call_cb_immediately; } equeue_stub_def; extern equeue_stub_def equeue_stub; #ifdef __cplusplus } #endif #endif
<|file_sep|>events/tests/UNITTESTS/doubles/equeue_stub.h.diff original: updated: #ifdef __cplusplus extern "C" { #endif <|file_sep|>events/tests/UNITTESTS/doubles/equeue_stub.h.diff original: updated: #ifdef __cplusplus } <|file_sep|>original/events/tests/UNITTESTS/doubles/equeue_stub.h * Unless required by applica...
events/tests/UNITTESTS/doubles/equeue_stub.h
C
162ae220b18ff32ee631202567ca85eb69823372
<|file_sep|>libs/console/src/cons_fmt.c.diff original: updated: #include <os/os_time.h> <|file_sep|>original/libs/console/src/cons_fmt.c #include <console/console.h> #define CONS_OUTPUT_MAX_LINE 128 void console_printf(const char *fmt, ...) { va_list args; char buf[CONS_OUTPUT_MAX_LINE]; int len; va...
#include <os/os_time.h> #define CONS_OUTPUT_MAX_LINE 128 void console_printf(const char *fmt, ...) { va_list args; char buf[CONS_OUTPUT_MAX_LINE]; int len; len = snprintf(buf, sizeof(buf), "%lu:", os_time_get()); console_write(buf, len); va_start(args, fmt); len = vsnprintf(buf, sizeof(b...
<|file_sep|>libs/console/src/cons_fmt.c.diff original: updated: #include <os/os_time.h> <|file_sep|>original/libs/console/src/cons_fmt.c #include <console/console.h> #define CONS_OUTPUT_MAX_LINE 128 void console_printf(const char *fmt, ...) { va_list args; char buf[CONS_OUTPUT_MAX_LINE]; int len; va...
libs/console/src/cons_fmt.c
C
6ea796c6cae61f9c45d4a85e84ce619b83788934
<|file_sep|>modules/luni/src/main/native/include/shared/exceptions.h.diff original: updated: #ifdef __cplusplus extern "C" { #endif <|file_sep|>modules/luni/src/main/native/include/shared/exceptions.h.diff original: updated: #ifdef __cplusplus } <|file_sep|>original/modules/luni/src/main/native/include/shared/excep...
#include <string.h> #include "vmi.h" #ifdef __cplusplus extern "C" { #endif void throwNewExceptionByName(JNIEnv* env, const char* name, const char* message); void throwNewOutOfMemoryError(JNIEnv* env, const char* message); void throwJavaIoIOException(JNIEnv* env, const char* message); vo...
<|file_sep|>modules/luni/src/main/native/include/shared/exceptions.h.diff original: updated: #ifdef __cplusplus extern "C" { #endif <|file_sep|>modules/luni/src/main/native/include/shared/exceptions.h.diff original: updated: #ifdef __cplusplus } <|file_sep|>original/modules/luni/src/main/native/include/shared/excep...
modules/luni/src/main/native/include/shared/exceptions.h
C
7c437002355eeda375cc4616e6cde5729a871b23
<|file_sep|>include/llvm/Transforms/Utils/FunctionUtils.h.diff original: updated: #include <vector> <|file_sep|>original/include/llvm/Transforms/Utils/FunctionUtils.h // This family of transformations manipulate LLVM functions. // //===----------------------------------------------------------------------===// #ifnd...
// //===----------------------------------------------------------------------===// #ifndef LLVM_TRANSFORMS_UTILS_FUNCTION_H #define LLVM_TRANSFORMS_UTILS_FUNCTION_H #include <vector> namespace llvm { class BasicBlock; class Function; class Loop; /// ExtractCodeRegion - rip out a sequence of basic blocks into a ...
<|file_sep|>include/llvm/Transforms/Utils/FunctionUtils.h.diff original: updated: #include <vector> <|file_sep|>original/include/llvm/Transforms/Utils/FunctionUtils.h // This family of transformations manipulate LLVM functions. // //===----------------------------------------------------------------------===// #ifnd...
include/llvm/Transforms/Utils/FunctionUtils.h
C
e454c0d607937d13dbd72e4b28b8fc76cc18c281
<|file_sep|>tools/llvm-c-test/metadata.c.diff original: updated: LLVMDisposeModule(m); <|file_sep|>original/tools/llvm-c-test/metadata.c LLVMModuleRef m = LLVMModuleCreateWithName("Mod"); LLVMValueRef values[] = { LLVMConstInt(LLVMInt32Type(), 0, 0) }; // This used to trigger an assertion LLVMAddNamedMetad...
LLVMAddNamedMetadataOperand(m, "name", LLVMMDNode(values, 1)); LLVMDisposeModule(m); return 0; } int set_metadata(void) { LLVMBuilderRef b = LLVMCreateBuilder(); LLVMValueRef values[] = { LLVMConstInt(LLVMInt32Type(), 0, 0) }; // This used to trigger an assertion LLVMSetMetadata( LLVMBuildRetVoi...
<|file_sep|>tools/llvm-c-test/metadata.c.diff original: updated: LLVMDisposeModule(m); <|file_sep|>original/tools/llvm-c-test/metadata.c LLVMModuleRef m = LLVMModuleCreateWithName("Mod"); LLVMValueRef values[] = { LLVMConstInt(LLVMInt32Type(), 0, 0) }; // This used to trigger an assertion LLVMAddNamedMetad...
tools/llvm-c-test/metadata.c
C
dd4a5df6e1e2b17a0f8963674bea6e94cc6c9b0e