commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
old_contents
stringlengths
0
4.24k
new_contents
stringlengths
1
5.44k
subject
stringlengths
14
778
message
stringlengths
15
9.92k
lang
stringclasses
277 values
license
stringclasses
13 values
repos
stringlengths
5
127k
040aeca4c99c536c055ff9f2611ed65b4d94b4f7
include/threadscan.h
include/threadscan.h
/* Copyright (c) 2015 ThreadScan authors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribu...
Add a header file for users to include.
Add a header file for users to include. threadscan.h lists the library's exported functions for simplicity.
C
mit
Willtor/ThreadScan,Willtor/ThreadScan
7fa6f8081ac60d1e82f156d35bdf457185e54366
Include/Guid/PcAtChipsetTokenSpace.h
Include/Guid/PcAtChipsetTokenSpace.h
/** @file GUID for PcAtChipsetPkg PCD Token Space Copyright (c) 2009, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license ...
Add declaration header file for token space.
Add declaration header file for token space. git-svn-id: 5832b8bc916ddbdd95b25464e449aa07e9932e08@8781 6f19259b-4bc3-4df7-8a09-765794883524
C
bsd-2-clause
hwu25/edk2_PcAtChipsetPkg,hwu25/edk2_PcAtChipsetPkg
b3a2fa880dc10002781ef990f5c7597ac6723c0e
tests/regression/02-base/96-null-deref-top.c
tests/regression/02-base/96-null-deref-top.c
#include <assert.h> #include <stddef.h> int main() { int r; // rand int i = 0; int *p; if (r) p = &i; else p = NULL; if (*p == 2) // WARN assert(1); // reachable (via UB) return 0; }
Add NULL dereferenced top value test
Add NULL dereferenced top value test This is why we assumed this to be unreachable: https://gitlab.com/sosy-lab/benchmarking/sv-benchmarks/-/merge_requests/1364
C
mit
goblint/analyzer,goblint/analyzer,goblint/analyzer,goblint/analyzer,goblint/analyzer
967696ea0c410b0c6ea5b3c2bc689dccf25b19b5
mysociety_error.h
mysociety_error.h
// // mysociety_error.cpp: // Some helpers. // // Copyright (c) 2009 UK Citizens Online Democracy. All rights reserved. // Email: francis@mysociety.org; WWW: http://www.mysociety.org/ // // $Id: mysociety_error.h,v 1.1 2009-03-23 09:30:06 francis Exp $ // #include <string> #if defined(OUTPUT_ROUTE_DETAILS) or defined...
Split up C++ program into separate files and put its components into proper places.
Split up C++ program into separate files and put its components into proper places.
C
agpl-3.0
MorusAB/commonlib-fmg,MorusAB/commonlib-fmg,MorusAB/commonlib-fmg,MorusAB/commonlib-fmg,MorusAB/commonlib-fmg,MorusAB/commonlib-fmg,MorusAB/commonlib-fmg,MorusAB/commonlib-fmg
f00bfc8fa7c73e6c58dc71d2da4555ce1712aef4
compat/compat.h
compat/compat.h
#ifndef COMPAT_H #define COMPAT_H #ifndef HAVE_PLEDGE #include "pledge.h" #endif #ifndef HAVE_STRTONUM #include "strtonum.h" #endif #ifndef timespecsub #define timespecsub(tsp, usp, vsp) \ do { \ (vsp)->tv_sec = (tsp)->tv_sec - (usp)->tv_sec; \ (vsp)->tv_nsec = (tsp)->tv_nsec - (usp)->tv_nsec; \ i...
#ifndef COMPAT_H #define COMPAT_H #ifndef HAVE_PLEDGE #include "pledge.h" #endif #ifndef HAVE_STRTONUM #include "strtonum.h" #endif /* Use CLOCK_REALTIME if CLOCK_MONOTONIC is not available */ #ifndef CLOCK_MONOTONIC #define CLOCK_MONOTONIC CLOCK_REALTIME #endif #ifndef timespecsub #define timespecsub(tsp, usp, vsp...
Use CLOCK_REALTIME if CLOCK_MONOTONIC is not available.
Use CLOCK_REALTIME if CLOCK_MONOTONIC is not available.
C
bsd-2-clause
ansilove/ansilove,ansilove/AnsiLove-C
dcd84def06271e300e45a82186403905204cece0
src/exercise202.c
src/exercise202.c
/* A solution to Exercise 2-2 in The C Programming Language (Second Edition). */ #include <stdint.h> #include <stdio.h> #include <stdlib.h> int main(void) { uint32_t i = 0; uint32_t lim = 100; char c = 0; char s[lim]; while (i < (lim - 1)) { c = getchar(); if (c != '\n') { if (c != EOF) { ...
Add solution to Exercise 2-2.
Add solution to Exercise 2-2.
C
unlicense
damiendart/knr-solutions,damiendart/knr-solutions,damiendart/knr-solutions
79429d6a9d45df5cc4418a86778441204509aa26
src/tests/enesim_test_renderer.c
src/tests/enesim_test_renderer.c
#include "Enesim.h" int main(int argc, char **argv) { Enesim_Renderer *r; Enesim_Surface *s; enesim_init(); r = enesim_renderer_rectangle_new(); enesim_renderer_shape_fill_color_set(r, 0xffffffff); enesim_renderer_rectangle_width_set(r, 100); enesim_renderer_rectangle_height_set(r, 100); s = enesim_surface_n...
Add an example renderer test
Add an example renderer test
C
lgpl-2.1
turran/enesim,turran/enesim,turran/enesim,turran/enesim
e038cf04e9edcc2286dc180aa1ab9fe517c81990
test/PCH/modified-header-error.c
test/PCH/modified-header-error.c
// RUN: mkdir -p %t.dir // RUN: echo '#include "header2.h"' > %t.dir/header1.h // RUN: echo > %t.dir/header2.h // RUN: cp %s %t.dir/t.c // RUN: %clang_cc1 -x c-header %t.dir/header1.h -emit-pch -o %t.pch // RUN: sleep 2 // RUN: echo >> %t.dir/header2.h // RUN: %clang_cc1 %t.dir/t.c -include-pch %t.pch -fsyntax-only 2>&...
// RUN: mkdir -p %t.dir // RUN: echo '#include "header2.h"' > %t.dir/header1.h // RUN: echo > %t.dir/header2.h // RUN: cp %s %t.dir/t.c // RUN: %clang_cc1 -x c-header %t.dir/header1.h -emit-pch -o %t.pch // RUN: echo >> %t.dir/header2.h // RUN: %clang_cc1 %t.dir/t.c -include-pch %t.pch -fsyntax-only 2>&1 | FileCheck %s...
Disable this test on win32. My "sleep 2" trick didn't seem to work
Disable this test on win32. My "sleep 2" trick didn't seem to work git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@139729 91177308-0d34-0410-b5e6-96231b3b80d8
C
apache-2.0
llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/cl...
463ca23d5a937cdb12628eb9ef1c8a40113575d0
test/wasm/soft/float/floatditf.c
test/wasm/soft/float/floatditf.c
#include "src/math/reinterpret.h" #include <stdint.h> #include <assert.h> int64_t __fixtfdi(long double); static _Bool run(int64_t a) { return a == __fixtfdi(a); } int main(void) { const int64_t delta = 0x0000002BA87B5A22; assert(run(INT64_MAX)); assert(run(INT64_MIN)); for (int64_t i = 0x3FFFF...
Test int64_t -> long double
Test int64_t -> long double
C
mit
jdh8/metallic,jdh8/metallic,jdh8/metallic,jdh8/metallic,jdh8/metallic
5455d6710ff4f627858ddeac6bf169695ebd7f4b
src/ofxSocketIO.h
src/ofxSocketIO.h
// // ofxSocketIO.h // // Created by hugohil on 05/02/16. // // #pragma once #include "ofMain.h" #include "ofEvents.h" #if defined(_MSC_VER) || defined(_WIN32) || defined(WIN32) || defined(__MINGW32__) // Windows stuff #else // Linux and OSX here #include <sio_client.h> #endif #include "ofxSocketIOData.h" cla...
// // ofxSocketIO.h // // Created by hugohil on 05/02/16. // // #pragma once #include "ofMain.h" #include "ofEvents.h" #if defined(_MSC_VER) || defined(_WIN32) || defined(WIN32) || defined(__MINGW32__) // Windows stuff #else // Linux and OSX here #include <sio_client.h> #endif #include "ofxSocketIOData.h" cla...
Set currentStatus public and add default value
Set currentStatus public and add default value
C
mit
soixantecircuits/ofxSocketIO,soixantecircuits/ofxSocketIO
3c7b73f39d31cddf1c2126e1d3e25fd8c9708235
src/vast/access.h
src/vast/access.h
#ifndef VAST_ACCESS_H #define VAST_ACCESS_H namespace vast { /// Wrapper to encapsulate the implementation of concepts requiring access to /// private state. struct access { template <typename, typename = void> struct state; template <typename, typename = void> struct parsable; template <typename, typenam...
#ifndef VAST_ACCESS_H #define VAST_ACCESS_H namespace vast { /// Wrapper to encapsulate the implementation of concepts requiring access to /// private state. struct access { template <typename, typename = void> struct state; template <typename, typename = void> struct parser; template <typename, typename ...
Add traits for befriendable concepts.
Add traits for befriendable concepts.
C
bsd-3-clause
pmos69/vast,mavam/vast,pmos69/vast,mavam/vast,vast-io/vast,vast-io/vast,vast-io/vast,pmos69/vast,vast-io/vast,vast-io/vast,mavam/vast,mavam/vast,pmos69/vast
0f39bae64c385bd61ff7fb52d11be70545270b7c
c_src/hash.c
c_src/hash.c
#include "erl_nif.h" #include <sodium.h> #include "hash.h" ERL_NIF_TERM enacl_crypto_hash_nif(ErlNifEnv *env, int argc, ERL_NIF_TERM const argv[]) { ErlNifBinary input; ErlNifBinary result; ERL_NIF_TERM ret; if ((argc != 1) || (!enif_inspect_iolist_as_binary(env, argv[0], ...
#include "erl_nif.h" #include <sodium.h> #include "hash.h" ERL_NIF_TERM enacl_crypto_hash(ErlNifEnv *env, int argc, ERL_NIF_TERM const argv[]) { ErlNifBinary input; ErlNifBinary result; ERL_NIF_TERM ret; if ((argc != 1) || (!enif_inspect_iolist_as_binary(env, argv[0], &input))...
Fix name of C function
Fix name of C function The name of the generichash function was wrong, so it was not possible to find it when loading the NIF.
C
mit
jlouis/enacl,jlouis/enacl
6b79855c62dc196ceb55fc0e585f6feb27db2fda
cc1/tests/test040.c
cc1/tests/test040.c
/* name: TEST040 description: Test for bug parsing typenames in struct definition output: */ typedef struct List List; struct List { int len; struct List *head; };
Add test for bug parsing typenames in structs
Add test for bug parsing typenames in structs When a struct is parsed the namespace of the lexer is changed to the namespace of the struct, which hides the definition of types, which should be visible in such context.
C
isc
k0gaMSX/scc,k0gaMSX/kcc,k0gaMSX/scc,k0gaMSX/scc,k0gaMSX/kcc
b0cc4feff6ca7ac2015a44dd36506de77023b798
src/tests/log_mock.c
src/tests/log_mock.c
#include "log.h" #include <stdio.h> void debug(const char* format, ...) { #ifdef __DEBUG__ vprintf(format, args); #endif // __DEBUG__ } void initializeLogging() { }
#include "log.h" #include <stdio.h> #include <stdarg.h> void debug(const char* format, ...) { #ifdef __DEBUG__ va_list args; va_start(args, format); vprintf(format, args); va_end(args); #endif // __DEBUG__ } void initializeLogging() { }
Fix debugging printouts when running tests.
Fix debugging printouts when running tests.
C
bsd-3-clause
openxc/vi-firmware,ene-ilies/vi-firmware,mgiannikouris/vi-firmware,mgiannikouris/vi-firmware,mgiannikouris/vi-firmware,mgiannikouris/vi-firmware,ene-ilies/vi-firmware,openxc/vi-firmware,openxc/vi-firmware,ene-ilies/vi-firmware,ene-ilies/vi-firmware,openxc/vi-firmware
00e9ca7148936b16b9547f71b1c9501d41f7f034
include/llvm/System/Signals.h
include/llvm/System/Signals.h
//===- llvm/System/Signals.h - Signal Handling support ----------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. // //===--------...
//===- llvm/System/Signals.h - Signal Handling support ----------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. // //===--------...
Make the remove*OnSignal functions deal with Paths not strings
Make the remove*OnSignal functions deal with Paths not strings git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@17761 91177308-0d34-0410-b5e6-96231b3b80d8
C
bsd-2-clause
dslab-epfl/asap,dslab-epfl/asap,chubbymaggie/asap,apple/swift-llvm,dslab-epfl/asap,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,dslab-epfl/asap,chubbymaggie/asap,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,chubbyma...
cb85bbb9831f48b1e71050e59bf911c0d93fadc8
Future/toImplement/new_new.c
Future/toImplement/new_new.c
/* * Copyright (C) 2016 Bastien Penavayre * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, ...
Add new future syntax for 'new' in Future folder
Add new future syntax for 'new' in Future folder
C
mit
swac31/ObjectC,DaemonSnake/ObjectC,swac31/ObjectC,swac31/ObjectC,DaemonSnake/ObjectC,DaemonSnake/ObjectC
0db943cf12894cf4342618655a8a3adfbb638984
src/builder.c
src/builder.c
#include "builder.h" #include "entity/board.h" /** * A small board has 4 cells, and its layout is a square. * 1 ----- 2 * | | * | | * | | * 4 ----- 3 */ int builder_create_small_board(s_board *b) { int c; uint8_t nb_max_players; nb_max_players = 4; init_board(b, SMALL_BOARD_NB_CELLS, nb_m...
#include "builder.h" #include "entity/board.h" /** * A small board has 4 cells, and its layout is a square. * 1 ----- 2 * | | * | | * | | * 4 ----- 3 */ int builder_create_small_board(s_board *b) { int c; uint8_t nb_max_players; nb_max_players = 2; init_board(b, SMALL_BOARD_NB_CELLS, nb_m...
Revert "players number changed, for some tests"
Revert "players number changed, for some tests" This reverts commit 90457a3c218b08da4eeb4e9c6907b909878290f5.
C
mit
padawin/Conqueror
d368da32d1b7d1c062229aa737be96775b0fae25
webkit/glue/webkit_constants.h
webkit/glue/webkit_constants.h
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBKIT_GLUE_WEBKIT_CONSTANTS_H_ #define WEBKIT_GLUE_WEBKIT_CONSTANTS_H_ namespace webkit_glue { // Chromium sets the minimum interval timeou...
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBKIT_GLUE_WEBKIT_CONSTANTS_H_ #define WEBKIT_GLUE_WEBKIT_CONSTANTS_H_ namespace webkit_glue { // Chromium sets the minimum interval timeou...
Increase the minimum interval for timers on background tabs to reduce their CPU consumption.
Increase the minimum interval for timers on background tabs to reduce their CPU consumption. The new interval is 1000 ms, or once per second. We can easily adjust this value up or down, but this seems like a reasonable value to judge the compatibility impact of this change. BUG=66078 TEST=none (tested manually with m...
C
bsd-3-clause
wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser
9935581d8ade0529be8c1af2ae39b8cf4cc288da
drivers/i2c/i2c-priv.h
drivers/i2c/i2c-priv.h
/* * Copyright (c) 2017 Linaro Limited * * SPDX-License-Identifier: Apache-2.0 */ #ifndef _I2C_PRIV_H_ #define _I2C_PRIV_H_ #ifdef __cplusplus extern "C" { #endif #include <i2c.h> #include <dt-bindings/i2c/i2c.h> #ifndef SYS_LOG_LEVEL #define SYS_LOG_LEVEL CONFIG_SYS_LOG_I2C_LEVEL #endif #include <logging/sys_l...
Add helper function to map from bitrate values to zephyr cfg
i2c: Add helper function to map from bitrate values to zephyr cfg Add _i2c_map_dt_bitrate() that maps from a bitrate to the I2C zephyr cfg bit fields used in i2c_configure(). Signed-off-by: Kumar Gala <a5e5248af4cd4f0ed8c515f61d40a6e2db46a66e@linaro.org>
C
apache-2.0
ldts/zephyr,GiulianoFranchetto/zephyr,kraj/zephyr,punitvara/zephyr,mbolivar/zephyr,zephyrproject-rtos/zephyr,runchip/zephyr-cc3220,Vudentz/zephyr,ldts/zephyr,punitvara/zephyr,fbsder/zephyr,finikorg/zephyr,aceofall/zephyr-iotos,Vudentz/zephyr,aceofall/zephyr-iotos,nashif/zephyr,kraj/zephyr,rsalveti/zephyr,fbsder/zephyr,...
d4ebaf57f5b06163889b6eaf986f430f6f50cb2b
tools/emulator/non_interactive.c
tools/emulator/non_interactive.c
// // Copyright 2011-2012 Jeff Bush // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agr...
// // Copyright 2011-2012 Jeff Bush // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agr...
Increase instruction count in emulator
Increase instruction count in emulator
C
apache-2.0
hoangt/NyuziProcessor,jbush001/NyuziProcessor,FulcronZ/NyuziProcessor,FulcronZ/NyuziProcessor,hoangt/NyuziProcessor,hoangt/NyuziProcessor,hoangt/NyuziProcessor,jbush001/NyuziProcessor,jbush001/NyuziProcessor,FulcronZ/NyuziProcessor,jbush001/NyuziProcessor,FulcronZ/NyuziProcessor,jbush001/NyuziProcessor,jbush001/NyuziPr...
bc36c64c8d87b8cef07de9c40b282f4cf79339f6
lib/libthr/thread/thr_event.c
lib/libthr/thread/thr_event.c
/* * Copyright (c) 2005 David Xu * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions ...
Add missing event reporting code.
Add missing event reporting code.
C
bsd-3-clause
jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase
876bc2c9a54c59dd75d18e7292dc3aedc9ea5f8b
src/bindings/python/helpers/exceptions.h
src/bindings/python/helpers/exceptions.h
/*ckwg +5 * Copyright 2012 by Kitware, Inc. All Rights Reserved. Please refer to * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel, * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065. */ #ifndef VISTK_PYTHON_HELPERS_EXCEPTIONS_H #define VISTK_PYTHON_HELPERS_EXCEPTIONS_H #define ...
/*ckwg +5 * Copyright 2012 by Kitware, Inc. All Rights Reserved. Please refer to * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel, * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065. */ #ifndef VISTK_PYTHON_HELPERS_EXCEPTIONS_H #define VISTK_PYTHON_HELPERS_EXCEPTIONS_H /// \tod...
Add a todo for more useful Python exception output
Add a todo for more useful Python exception output
C
bsd-3-clause
mathstuf/sprokit,Kitware/sprokit,mathstuf/sprokit,linus-sherrill/sprokit,linus-sherrill/sprokit,Kitware/sprokit,linus-sherrill/sprokit,Kitware/sprokit,linus-sherrill/sprokit,mathstuf/sprokit,mathstuf/sprokit,Kitware/sprokit
22a40259343115f241456b6914e86c32ab1e3e46
include/semantic.h
include/semantic.h
#ifndef SCC_SEMANTIC_HEADER #define SCC_SEMANTIC_HEADER #include <stdio.h> #include "syntax.h" #include "symboltable.h" int semantic_analysis(Syntax * top_level); #endif
#ifndef SCC_SEMANTIC_HEADER #define SCC_SEMANTIC_HEADER #include <stdio.h> #include <stdbool.h> #include "syntax.h" #include "symboltable.h" bool semantic_analysis(Syntax * top_level); #endif
Change the return type to bool.
Change the return type to bool.
C
mit
RyanWangGit/scc
ab77d5e6475c9dbbce0b4fe4068025627df19291
lib/RStore-utils.h
lib/RStore-utils.h
#ifndef RSTORE_UITLS_H #define RSTORE_UITLS_H #include <RStore.h> #include <ParsedRStore.h> RS_RStore RS_lowerRStore(PRS_RStore store); #endif
#ifndef RSTORE_UITLS_H #define RSTORE_UITLS_H #include <RStore.h> #include <ParsedRStore.h> RS_RStore RS_lowerRStore(PRS_RStore store); PRS_RStore RS_liftRStore(RS_RStore store); #endif
Add declaration of lift function
Add declaration of lift function
C
bsd-3-clause
cwi-swat/relation-stores,cwi-swat/relation-stores,cwi-swat/relation-stores
0793e936d6a57c1bb8ca723b06b3e0c762e52f80
src/main/native/macros.h
src/main/native/macros.h
// Copyright 2014 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
// Copyright 2014 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
Allow external contributions on src/main/native
Allow external contributions on src/main/native -- MOS_MIGRATED_REVID=90050516
C
apache-2.0
nkhuyu/bazel,bitemyapp/bazel,hhclam/bazel,mikelikespie/bazel,charlieaustin/bazel,snnn/bazel,mikelalcon/bazel,variac/bazel,juhalindfors/bazel-patches,asarazan/bazel,vt09/bazel,kidaa/bazel,xindaya/bazel,Ansahmadiba/bazel,zhexuany/bazel,iamthearm/bazel,joshua0pang/bazel,zhexuany/bazel,murugamsm/bazel,damienmg/bazel,kamalm...
41c4f531895fdaa62972e84d282c95e7fee93f67
SwiftyHTTP/SwiftyHTTP.h
SwiftyHTTP/SwiftyHTTP.h
// // SwiftyHTTP.h // SwiftyHTTP // // Created by Helge Hess on 6/25/14. // Copyright (c) 2014 Always Right Institute. All rights reserved. // #import <Cocoa/Cocoa.h> //! Project version number for SwiftyHTTP. FOUNDATION_EXPORT double SwiftyHTTPVersionNumber; //! Project version string for SwiftyHTTP. FOUNDATION...
// // SwiftyHTTP.h // SwiftyHTTP // // Created by Helge Hess on 6/25/14. // Copyright (c) 2014 Always Right Institute. All rights reserved. // #import <Cocoa/Cocoa.h> //! Project version number for SwiftyHTTP. FOUNDATION_EXPORT double SwiftyHTTPVersionNumber; //! Project version string for SwiftyHTTP. FOUNDATION...
Include http_parser.h from the right spot (public header copied to framework headers)
Include http_parser.h from the right spot (public header copied to framework headers)
C
mit
AlwaysRightInstitute/SwiftyHTTP,maxadamski/SwiftyHTTP,AlwaysRightInstitute/SwiftyHTTP,maxadamski/SwiftyHTTP
00bec89d716bed1ab1e7846f5fb53d1e4986917c
src/imap/cmd-close.c
src/imap/cmd-close.c
/* Copyright (c) 2002-2008 Dovecot authors, see the included COPYING file */ #include "common.h" #include "commands.h" #include "imap-expunge.h" bool cmd_close(struct client_command_context *cmd) { struct client *client = cmd->client; struct mailbox *mailbox = client->mailbox; struct mail_storage *storage; if (!...
/* Copyright (c) 2002-2008 Dovecot authors, see the included COPYING file */ #include "common.h" #include "commands.h" #include "imap-expunge.h" bool cmd_close(struct client_command_context *cmd) { struct client *client = cmd->client; struct mailbox *mailbox = client->mailbox; struct mail_storage *storage; if (!...
Synchronize the mailbox after expunging messages to actually get them expunged.
CLOSE: Synchronize the mailbox after expunging messages to actually get them expunged.
C
mit
LTD-Beget/dovecot,LTD-Beget/dovecot,LTD-Beget/dovecot,LTD-Beget/dovecot,LTD-Beget/dovecot
ecccde5f7bb180c5a20005fd20bf0b46ebe6f418
hardware/arduino/bootloaders/atmega/board.h
hardware/arduino/bootloaders/atmega/board.h
#ifndef BOARD_H #define BOARD_H // USARTs #if xplain == TARGET #define BL_PORT PORTF #define BL_DIR BL_PORT.DIR #define BL_IN BL_PORT.IN #define BL_OUT BL_PORT.OUT #define BL_0_PIN 0 #define BL_1_PIN 1 #define BL_2_PIN 2 #define APP_PIN 3 ...
Add useless bootlader header needed to merge with google code.
Add useless bootlader header needed to merge with google code.
C
lgpl-2.1
deluxetiky/xmegaduino,deluxetiky/xmegaduino,deluxetiky/xmegaduino,deluxetiky/xmegaduino,deluxetiky/xmegaduino,deluxetiky/xmegaduino
4f58adc9a99104feebbc98b4691a7aa461d0016b
ports/terracoin/files/patch-src_txmempool.h
ports/terracoin/files/patch-src_txmempool.h
--- src/txmempool.h.orig 2018-01-11 20:38:04 UTC +++ src/txmempool.h @@ -241,7 +241,7 @@ public: class CompareTxMemPoolEntryByScore { public: - bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) + bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) const { double ...
--- src/txmempool.h.orig 2018-01-11 20:38:04 UTC +++ src/txmempool.h @@ -204,7 +204,7 @@ struct mempoolentry_txid class CompareTxMemPoolEntryByDescendantScore { public: - bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) + bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) co...
Fix build for boost 1.66
Fix build for boost 1.66
C
bsd-2-clause
tuaris/FreeBSD-Coin-Ports,tuaris/FreeBSD-Coin-Ports,tuaris/FreeBSD-Coin-Ports
572c399cc06597282e7192da7e30db7fb4b031a4
src/data/dataset.h
src/data/dataset.h
#pragma once #include "common/definitions.h" #include "data/batch.h" #include "data/rng_engine.h" #include "data/vocab.h" #include "training/training_state.h" namespace marian { namespace data { template <class Sample, class Iterator, class Batch> class DatasetBase { protected: // Data processing may differ in tra...
#pragma once #include "common/definitions.h" #include "data/batch.h" #include "data/rng_engine.h" #include "data/vocab.h" #include "training/training_state.h" namespace marian { namespace data { template <class Sample, class Iterator, class Batch> class DatasetBase { protected: // Data processing may differ in tra...
Check if options is nullptr in DatasetBase
Check if options is nullptr in DatasetBase
C
mit
emjotde/amunmt,marian-nmt/marian-train,emjotde/Marian,emjotde/amunn,amunmt/marian,amunmt/marian,marian-nmt/marian-train,emjotde/amunmt,emjotde/amunn,emjotde/Marian,amunmt/marian,marian-nmt/marian-train,marian-nmt/marian-train,emjotde/amunmt,emjotde/amunn,emjotde/amunmt,marian-nmt/marian-train,emjotde/amunn
6339d4ab67eebb5868288fa4baf780d35aa36ebb
test/CFrontend/2007-03-27-ArrayCompatible.c
test/CFrontend/2007-03-27-ArrayCompatible.c
// RUN: %llvmgcc -S %s -O2 -o - | grep {ret i8 0} static char c(int n) { char x[2][n]; x[1][0]=0; return *(n+(char *)x); } char d(void) { return c(2); }
Check handling of arrays of variable sized components.
Check handling of arrays of variable sized components. git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@36162 91177308-0d34-0410-b5e6-96231b3b80d8
C
apache-2.0
apple/swift-llvm,chubbymaggie/asap,apple/swift-llvm,dslab-epfl/asap,llvm-mirror/llvm,chubbymaggie/asap,llvm-mirror/llvm,dslab-epfl/asap,chubbymaggie/asap,llvm-mirror/llvm,apple/swift-llvm,chubbymaggie/asap,llvm-mirror/llvm,dslab-epfl/asap,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-...
83bf5a83b9296d6fe16e55d2c54209c35d2fa20b
test/test_mutex.c
test/test_mutex.c
/* This file is part of the YAZ toolkit. * Copyright (C) 1995-2010 Index Data * See the file LICENSE for details. */ #include <stdlib.h> #include <stdio.h> #include <yaz/mutex.h> #include <yaz/test.h> #include <yaz/log.h> static void tst(void) { YAZ_MUTEX p = 0; yaz_mutex_create(&p); YAZ_CHECK(p); ...
/* This file is part of the YAZ toolkit. * Copyright (C) 1995-2010 Index Data * See the file LICENSE for details. */ #include <stdlib.h> #include <stdio.h> #include <yaz/mutex.h> #include <yaz/test.h> #include <yaz/log.h> static void tst(void) { YAZ_MUTEX p = 0; yaz_mutex_create(&p); YAZ_CHECK(p); ...
Add one call to yaz_mutex_destroy in test
Add one call to yaz_mutex_destroy in test
C
bsd-3-clause
nla/yaz,dcrossleyau/yaz,nla/yaz,dcrossleyau/yaz,nla/yaz,nla/yaz,dcrossleyau/yaz
e431f2220e18d698eb802d661f4f3c3082b6d8f6
exercise110.c
exercise110.c
/* Exercise 1-10: Write a program to copy its input to its output, replacing * each tab by \t, each backspace by \b, and each backslash by \\. This makes * tabs and backspaces visible in an unambiguous way. */ #include <stdint.h> #include <stdio.h> #include <stdlib.h> int main(int argc, char **argv) { int16_t cha...
Add solution to Exercise 1-10.
Add solution to Exercise 1-10.
C
unlicense
damiendart/knr-solutions,damiendart/knr-solutions,damiendart/knr-solutions
f80e44e09a5669c6275880b8250346faca1c895a
include/gen.h
include/gen.h
#ifndef _GEN_H #define _GEN_H #define MAKEFILE "Makefile" #include <fstream> #include <sys/param.h> class Generate { public: char cwd[MAXPATHLEN]; const char *defaultMakefile; FILE *Makefile; FILE *newConfig; Generate(); ~Generate(); char *DefineBaseDir(); void WriteMake(); void GenBlankConfig(); void Chec...
#ifndef _GEN_H #define _GEN_H #define MAKEFILE "Makefile" #define FS_NONE 0 #define FS_RECURSIVE (1 << 0) #define FS_DEFAULT FS_RECURSIVE #define FS_FOLLOWLINK (1 << 1) #define FS_DOTFILES (1 << 2) #define FS_MATCHDIRS (1 << 3) #include <regex.h> #include <unistd.h> #include <sys/param.h> #include <fstream> class Ge...
Add FS defines, move includes, add member functions
Add FS defines, move includes, add member functions - Defines define flags for WalkDir - Fix includes order to that of: C includes C++ includes Project includes External library includes Signed-off-by: Alberto Corona <c1a4158909d6c23f73df353c7cc0bbe963891a65@0x1a.us>
C
bsd-3-clause
0X1A/yabs,0X1A/yabs,0X1A/yabs,0X1A/yabs
ce1e00ffe08ac93999ac87a1308096fa0a3e3673
SmartDeviceLink-iOS/SmartDeviceLink/SDLProtocol.h
SmartDeviceLink-iOS/SmartDeviceLink/SDLProtocol.h
// SDLSmartDeviceLinkProtocol.h // #import "SDLAbstractProtocol.h" @class SDLProtocolHeader; @class SDLProtocolRecievedMessageRouter; @interface SDLProtocol : SDLAbstractProtocol <SDLProtocolListener> // Sending - (void)sendStartSessionWithType:(SDLServiceType)serviceType; - (void)sendEndSessionWithType:(SDLServic...
// SDLSmartDeviceLinkProtocol.h // #import "SDLAbstractProtocol.h" @class SDLProtocolHeader; @class SDLProtocolRecievedMessageRouter; @interface SDLProtocol : SDLAbstractProtocol <SDLProtocolListener> // Sending - (void)sendStartSessionWithType:(SDLServiceType)serviceType; - (void)sendEndSessionWithType:(SDLServic...
Remove the public sendHeartbeat declaration
Remove the public sendHeartbeat declaration
C
bsd-3-clause
FordDev/sdl_ios,davidswi/sdl_ios,duydb2/sdl_ios,kshala-ford/sdl_ios,smartdevicelink/sdl_ios,APCVSRepo/sdl_ios,APCVSRepo/sdl_ios,duydb2/sdl_ios,APCVSRepo/sdl_ios,FordDev/sdl_ios,davidswi/sdl_ios,FordDev/sdl_ios,kshala-ford/sdl_ios,smartdevicelink/sdl_ios,kshala-ford/sdl_ios,smartdevicelink/sdl_ios,davidswi/sdl_ios,kshal...
67ecca456198488c4fd19d237d7387a80b494421
include/Graphics.h
include/Graphics.h
#ifndef INCLUDE_GRAPHICS_H #define INCLUDE_GRAPHICS_H namespace WalrusRPG { namespace Graphics { typedef struct Rect Rect_t; struct Rect { int x, y; unsigned w, h; }; /* * Buffer management */ void buffer_allocate(); void buf...
#ifndef INCLUDE_GRAPHICS_H #define INCLUDE_GRAPHICS_H namespace WalrusRPG { namespace Graphics { typedef struct Rect Rect_t; struct Rect { int x, y; int w, h; }; /* * Buffer management */ void buffer_allocate(); void buffer_f...
Fix sprite clipping by using signed rect width
Fix sprite clipping by using signed rect width
C
mit
WalrusRPG/WalrusRPG,WalrusRPG/WalrusRPG,WalrusRPG/WalrusRPG,WalrusRPG/WalrusRPG
9e9081110bd7b2390c27247f32379b58501143de
src/dsnotificationinterface.h
src/dsnotificationinterface.h
// Copyright (c) 2015 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_DSNOTIFICATIONINTERFACE_H #define BITCOIN_DSNOTIFICATIONINTERFACE_H #include "validationinterface.h" class CDSNo...
// Copyright (c) 2015 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_DSNOTIFICATIONINTERFACE_H #define BITCOIN_DSNOTIFICATIONINTERFACE_H #include "validationinterface.h" class CDSNo...
Add override keywork to CDSNotificationInterface::NotifyChainLock
Add override keywork to CDSNotificationInterface::NotifyChainLock
C
mit
nmarley/dash,dashpay/dash,ionomy/ion,nmarley/dash,thelazier/dash,nmarley/dash,dashpay/dash,nmarley/dash,UdjinM6/dash,thelazier/dash,ionomy/ion,ionomy/ion,ionomy/ion,dashpay/dash,nmarley/dash,ionomy/ion,UdjinM6/dash,thelazier/dash,UdjinM6/dash,nmarley/dash,ionomy/ion,UdjinM6/dash,dashpay/dash,thelazier/dash,thelazier/da...
7c8e66c785b1188687b3eb0363ae52c0cdc898ec
src/opticon-agent/probes.c
src/opticon-agent/probes.c
#include <sys/utsname.h> #include <libopticonf/var.h> #include "probes.h" /** List of built-in probe functions */ builtinfunc BUILTINS[] = { {"probe_pcpu", runprobe_pcpu}, {"probe_hostname", runprobe_hostname}, {"probe_uname", runprobe_uname}, {NULL, NULL} }; var *runprobe_pcpu (probe *self) { var...
#include <sys/utsname.h> #include <unistd.h> #include <libopticonf/var.h> #include "probes.h" /** List of built-in probe functions */ builtinfunc BUILTINS[] = { {"probe_pcpu", runprobe_pcpu}, {"probe_hostname", runprobe_hostname}, {"probe_uname", runprobe_uname}, {NULL, NULL} }; var *runprobe_pcpu (pr...
Make the hostname probe for real
Make the hostname probe for real
C
apache-2.0
CloudVPS/opticon,CloudVPS/opticon,CloudVPS/opticon
348d46bd97e8fb2432685d931210b72827060b5d
sbr/m_name.c
sbr/m_name.c
/* * m_name.c -- return a message number as a string * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for * complete copyright information. */ #include <limits.h> #include <h/mh.h> #define STR(s) #s #define SIZE(n) (sizeof STR(n...
/* * m_name.c -- return a message number as a string * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for * complete copyright information. */ #include <limits.h> #include <h/mh.h> #define STR(s) #s #define SIZE(n) (sizeof STR(n...
Use the imperfect snprintf(3) instead of sprintf(3).
Use the imperfect snprintf(3) instead of sprintf(3).
C
bsd-3-clause
mcr/nmh,mcr/nmh
81b82f44a2350144bb49c52f1b11a9cfc84da0cd
ui/options.h
ui/options.h
#pragma once #include <QtWidgets/QComboBox> #include <QtWidgets/QDialog> #include <QtWidgets/QLabel> #include <QtCore/QObject> #include <QtCore/QString> #include <QtWidgets/QTabWidget> #include <QtWidgets/QWidget> #include "binaryninjaapi.h" #include "viewtype.h" #include "filecontext.h" #include <string> #include <t...
#pragma once #include <QtWidgets/QComboBox> #include <QtWidgets/QDialog> #include <QtWidgets/QLabel> #include <QtCore/QObject> #include <QtCore/QString> #include <QtWidgets/QTabWidget> #include <QtWidgets/QWidget> #include "binaryninjaapi.h" #include "viewtype.h" #include "filecontext.h" #include <string> #include <t...
Move OptionsDialog::queryViewTypes into public bool method
Move OptionsDialog::queryViewTypes into public bool method Fixes #2856
C
mit
Vector35/binaryninja-api,Vector35/binaryninja-api,Vector35/binaryninja-api,Vector35/binaryninja-api,Vector35/binaryninja-api,Vector35/binaryninja-api,Vector35/binaryninja-api
7761f46e8e6cb1bf8fc11c3df7a6b93d1cbe41bf
simple_module.c
simple_module.c
#include "mruby.h" #include "mruby/irep.h" #include "mruby/string.h" #include "simple_module_mrb.h" static mrb_value foo_bar(mrb_state* mrb, mrb_value obj) { mrb_value message; mrb_get_args(mrb, "o", &message); if (!mrb_nil_p(message)) { fprintf(stderr, "bar: %s\n", mrb_str_ptr(message)->ptr); } ret...
#include "mruby.h" #include "mruby/irep.h" #include "mruby/string.h" #include "simple_module_mrb.h" static mrb_value foo_bar(mrb_state* mrb, mrb_value obj) { mrb_value message; mrb_get_args(mrb, "S", &message); if (!mrb_nil_p(message)) { fprintf(stderr, "bar: %s\n", mrb_str_ptr(message)->ptr); } ret...
Change object to string input
Change object to string input
C
mit
carsonmcdonald/mruby-c-example,carsonmcdonald/mruby-c-example,carsonmcdonald/mruby-c-example
9c00e4c82100cf773abe21a5209b80fe67c22064
src/config.h
src/config.h
#ifndef _CONFIG_H #define _CONFIG_H #define ENABLE_FUTILITY_DEPTH 4 #define ENABLE_HISTORY 1 #define ENABLE_KILLERS 1 #define ENABLE_LMR 1 #define ENABLE_NNUE 0 #define ENABLE_NNUE_SIMD 0 #define ENABLE_NULL_MOVE_PRUNING 1 #define ENABLE_REVERSE_FUTILITY_DEPTH 4 #define ENABLE_SEE_Q_PRUNE_LOSING_CAPTURES 1 #define ENA...
#ifndef _CONFIG_H #define _CONFIG_H #define ENABLE_FUTILITY_DEPTH 4 #define ENABLE_HISTORY 1 #define ENABLE_KILLERS 1 #define ENABLE_LMR 1 #define ENABLE_NNUE 0 #define ENABLE_NNUE_SIMD 0 #define ENABLE_NULL_MOVE_PRUNING 1 #define ENABLE_REVERSE_FUTILITY_DEPTH 4 #define ENABLE_SEE_Q_PRUNE_LOSING_CAPTURES 1 #define ENA...
Enable more time on aspiration failure
Enable more time on aspiration failure
C
bsd-3-clause
jwatzman/nameless-chessbot,jwatzman/nameless-chessbot
97141b968258e9213c77bf3dcd481bdbb3b9e832
Framework/Cocoa3D/C3DObject.h
Framework/Cocoa3D/C3DObject.h
// // C3DObject.h // Cocoa3D // // Created by Brent Gulanowski on 2014-07-11. // Copyright (c) 2014 Lichen Labs. All rights reserved. // #import <Foundation/Foundation.h> #import <Cocoa3D/C3DCamera.h> @class C3DIndexBuffer, C3DNode, C3DProgram, C3DVertexBuffer; @interface C3DObject : NSObject<C3DVisible> @prop...
// // C3DObject.h // Cocoa3D // // Created by Brent Gulanowski on 2014-07-11. // Copyright (c) 2014 Lichen Labs. All rights reserved. // #import <Foundation/Foundation.h> #import <Cocoa3D/C3DCamera.h> @class C3DIndexBuffer, C3DNode, C3DProgram, C3DVertexBuffer; @interface C3DObject : NSObject<C3DVisible> @prop...
Add "name" property for convenience.
Add "name" property for convenience.
C
mit
bgulanowski/Cocoa3D
65f1b0993cd2c45a90c0f54b3f47d3f5148bfe11
src/lib/ldm.h
src/lib/ldm.h
/* * This file is part of linux-driver-management. * * Copyright © 2016-2017 Ikey Doherty * * linux-driver-management is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 * of the ...
/* * This file is part of linux-driver-management. * * Copyright © 2016-2017 Ikey Doherty * * linux-driver-management is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 * of the ...
Include DmiDevice as part of global includes
Include DmiDevice as part of global includes Signed-off-by: Ikey Doherty <d8d992cf0016e35c2a8339d5e7d44bebd12a2d77@solus-project.com>
C
lgpl-2.1
solus-project/linux-driver-management,solus-project/linux-driver-management
cdeb97c03824cdefeaa617800c033c0c03ee5902
include/pangolin/utils/memstreambuf.h
include/pangolin/utils/memstreambuf.h
#pragma once #include <streambuf> #include <vector> namespace pangolin { // A simple streambuf wrapper around std::vector for memory buffer use struct memstreambuf : public std::streambuf { public: memstreambuf(size_t initial_buffer_size) { buffer.reserve(initial_buffer_size); } size_t size(...
#pragma once #include <streambuf> #include <vector> namespace pangolin { // A simple streambuf wrapper around std::vector for memory buffer use struct memstreambuf : public std::streambuf { public: memstreambuf(size_t initial_buffer_size) { buffer.reserve(initial_buffer_size); } // Avoiding ...
Fix for old GCC compilers. Avoid trying to use std::streambuf's move constructor
Fix for old GCC compilers. Avoid trying to use std::streambuf's move constructor
C
mit
mp3guy/Pangolin,tschmidt23/Pangolin,mp3guy/Pangolin,stevenlovegrove/Pangolin,renzodenardi/Pangolin,tschmidt23/Pangolin,mp3guy/Pangolin,tschmidt23/Pangolin,renzodenardi/Pangolin,stevenlovegrove/Pangolin,stevenlovegrove/Pangolin
924b003200d2d2a34a4903c074399a862e1c777d
examples/c/test_plend.c
examples/c/test_plend.c
/* $Id$ plend and plend1 testing demo. */ #include "plcdemos.h" /*--------------------------------------------------------------------------*\ * main * * Demonstrates absolute positioning of graphs on a page. \*--------------------------------------------------------------------------*/ int main(int argc, const...
/* $Id$ plend and plend1 testing demo. */ #include "plcdemos.h" /*--------------------------------------------------------------------------*\ * main * * Demonstrates absolute positioning of graphs on a page. \*--------------------------------------------------------------------------*/ int main(int argc, const...
Change from plend1 to plend to generate errors for devices that have trouble for that case.
Change from plend1 to plend to generate errors for devices that have trouble for that case. svn path=/trunk/; revision=10350
C
lgpl-2.1
FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot
73660f725a7479d33f5ebb1517608e4d4c9fb103
include/support/android/locale_bionic.h
include/support/android/locale_bionic.h
// -*- C++ -*- //===------------------- support/android/locale_bionic.h ------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===-------------------------...
// -*- C++ -*- //===------------------- support/android/locale_bionic.h ------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===-------------------------...
Stop using __strtonum_fallback on Android.
Stop using __strtonum_fallback on Android. Fallback implementations are now provided by bionic when necessary, which these may conflict with. git-svn-id: 756ef344af921d95d562d9e9f9389127a89a6314@324534 91177308-0d34-0410-b5e6-96231b3b80d8
C
apache-2.0
llvm-mirror/libcxx,llvm-mirror/libcxx,llvm-mirror/libcxx,llvm-mirror/libcxx,llvm-mirror/libcxx
887f4b189d1b0e1e4e61f5f4cffc3be395cd12b6
hittop/parser/success.h
hittop/parser/success.h
// DESCRIPTION // #ifndef HITTOP_PARSER_SUCCESS_H #define HITTOP_PARSER_SUCCESS_H #include <iterator> #include "hittop/parser/parser.h" namespace hittop { namespace parser { struct Success {}; // Always succeed, consuming no input. template <> class Parser<Success> { template <typename Range> auto operator()(c...
// DESCRIPTION // #ifndef HITTOP_PARSER_SUCCESS_H #define HITTOP_PARSER_SUCCESS_H #include <iterator> #include "hittop/parser/parser.h" namespace hittop { namespace parser { struct Success {}; // Always succeed, consuming no input. template <> class Parser<Success> { public: template <typename Range> auto oper...
Fix bug: Parser<Success>::operator() was not public
Fix bug: Parser<Success>::operator() was not public
C
apache-2.0
hittop/hittop,hittop/hittop
9b352efa3cfbd20e0f1b63fd073ba440810c0223
ELF/ScriptParser.h
ELF/ScriptParser.h
//===- ScriptParser.h -------------------------------------------*- C++ -*-===// // // The LLVM Linker // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------...
//===- ScriptParser.h -------------------------------------------*- C++ -*-===// // // The LLVM Linker // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------...
Fix build failure from r265600
[lld] Fix build failure from r265600 git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@265603 91177308-0d34-0410-b5e6-96231b3b80d8
C
apache-2.0
llvm-mirror/lld,llvm-mirror/lld
a40390e142aaf9796ae3fd219e3aabdcda8ee096
src/readstat_malloc.c
src/readstat_malloc.c
#include <stdlib.h> #define MAX_MALLOC_SIZE (1<<20) /* One megabyte ought to be enough for anyone */ void *readstat_malloc(size_t len) { if (len > MAX_MALLOC_SIZE || len == 0) { return NULL; } return malloc(len); } void *readstat_calloc(size_t count, size_t size) { if (count > MAX_MALLOC_SIZE...
#include <stdlib.h> #define MAX_MALLOC_SIZE (1<<20) /* One megabyte ought to be enough for anyone */ void *readstat_malloc(size_t len) { if (len > MAX_MALLOC_SIZE || len == 0) { return NULL; } return malloc(len); } void *readstat_calloc(size_t count, size_t size) { if (count > MAX_MALLOC_SIZE...
Check readstat_calloc for 0-sized input
Check readstat_calloc for 0-sized input
C
mit
WizardMac/ReadStat,WizardMac/ReadStat
d192eda9cf103f88468acdf40dc77114d30bde67
lib/src/lib.c
lib/src/lib.c
// The Tree-sitter runtime library can be built by compiling this // one source file. // // The following directories must be added to the include path: // - src // - include // - externals/utf8proc #include "./get_changed_ranges.c" #include "./language.c" #include "./lexer.c" #include "./node.c" #include "./par...
// The Tree-sitter library can be built by compiling this one source file. // // The following directories must be added to the include path: // - src // - include // - externals/utf8proc #include "./get_changed_ranges.c" #include "./language.c" #include "./lexer.c" #include "./node.c" #include "./parser.c" #inc...
Remove stray word 'runtime' from comment
Remove stray word 'runtime' from comment
C
mit
tree-sitter/tree-sitter,tree-sitter/tree-sitter,tree-sitter/tree-sitter,tree-sitter/tree-sitter,tree-sitter/tree-sitter,tree-sitter/tree-sitter,tree-sitter/tree-sitter
920e161a029d38c78042221415d036d7a6e631c5
apply-rules.c
apply-rules.c
#include "gc.h" #include "tree.h" #include "dict.h" #include "match.h" #include "optimize.h" /* We recursively iterate through all * rules on all the children of the tree * until the expression is irreducible, * i.e. stops changing. * * Also, we (try to) apply the optimization * routine. */ int apply_rules...
#include "gc.h" #include "tree.h" #include "dict.h" #include "match.h" #include "optimize.h" /* * We recursively iterate through all * rules on all the children of the tree * until the expression is irreducible, * i.e. stops changing. * * Also, we (try to) apply the optimization * routine. */ int apply_rules...
Change indent and comments to a more readable style
Change indent and comments to a more readable style
C
mit
bl0ckeduser/symdiff,bl0ckeduser/symdiff,bl0ckeduser/symdiff
39f8ed0f2b1ef5d3e8572bc74f2fbe0a153e74ce
core/thread/inc/TSpinMutex.h
core/thread/inc/TSpinMutex.h
#include <atomic> namespace ROOT { /// A spin mutex class which respects the STL interface. class TSpinMutex { public: TSpinMutex() noexcept {} TSpinMutex(const TSpinMutex&) = delete; TSpinMutex( TSpinMutex && ) = delete; ~TSpinMutex(){} void lock(){while (fAFlag.test_and_set(std...
#ifndef ROOT_TSpinMutex #define ROOT_TSpinMutex #include <atomic> namespace ROOT { /// A spin mutex class which respects the STL interface. class TSpinMutex { public: TSpinMutex() = default; TSpinMutex(const TSpinMutex&) = delete; ~TSpinMutex(){} TSpinMutex& operator=(const TSpinMutex...
Make class more C++11 compliant
Make class more C++11 compliant o Do not delete move ctor o Mark ctor as default o Delete the assignment operator (as in std::mutex) Add also include guards.
C
lgpl-2.1
davidlt/root,BerserkerTroll/root,georgtroska/root,karies/root,agarciamontoro/root,root-mirror/root,simonpf/root,thomaskeck/root,thomaskeck/root,agarciamontoro/root,satyarth934/root,BerserkerTroll/root,beniz/root,karies/root,BerserkerTroll/root,mhuwiler/rootauto,gbitzes/root,satyarth934/root,mhuwiler/rootauto,beniz/root...
0bf7ca7b7d2b7635f8f45bf19ea895ae17add94e
R2Bot/include/Config.h
R2Bot/include/Config.h
#ifndef _R2BOT_CONFIG #define _R2BOT_CONFIG #define _WINSOCK_DEPRECATED_NO_WARNINGS // Logging #ifndef LOGGING # define LOGGING 0 #endif // Define / undefine these for your own use #define USE_KINECT1 #define USE_KINECT2 #define USE_MOTORS #define USE_ULTRASONIC #define USE_R2SERVER #endif
#ifndef _R2BOT_CONFIG #define _R2BOT_CONFIG #define _WINSOCK_DEPRECATED_NO_WARNINGS // Define / undefine these for your own use #define USE_KINECT1 #define USE_KINECT2 #define USE_MOTORS #define USE_ULTRASONIC #define USE_R2SERVER #endif
Remove logging definition from config
Remove logging definition from config
C
mit
cornell-cup/cs-r2bot2,cornell-cup/cs-r2bot2,cornell-cup/cs-r2bot2,cornell-cup/cs-r2bot2,cornell-cup/cs-r2bot2
c67c4aceaceae6aa8429128f7fa2ef3d04a6c342
client/loop.c
client/loop.c
#include <stdio.h> #include <sys/select.h> /* pselect loop test */ int main(int argc, char *argv[]) { struct timespec timeout; fd_set readfds; int fdcount; while(1){ FD_ZERO(&readfds); FD_SET(0, &readfds); timeout.tv_sec = 1; timeout.tv_nsec = 0; fdcount = pselect(1, &readfds, NULL, NULL, &timeout, NUL...
Test program for playing around with (p)select.
Test program for playing around with (p)select.
C
bsd-3-clause
zlargon/mosquitto,tempbottle/mosquitto,tempbottle/mosquitto,zlargon/mosquitto,tempbottle/mosquitto,zlargon/mosquitto,tempbottle/mosquitto,zlargon/mosquitto,tempbottle/mosquitto,zlargon/mosquitto
82e8947ca83b54772c49f7ed25ad2e46a19aa3aa
spinnaker_components/ensemble/ensemble-main.c
spinnaker_components/ensemble/ensemble-main.c
#include "ensemble.h" void c_main( void ) { // Set the system up address_t address = system_load_sram(); data_system ( region_start( 1, address ) ); data_get_bias ( region_start( 2, address ), g_ensemble.n_neurons ); data_get_encoders ( region_start( 3, address ), g_ensemble.n_neurons, g_n_input_di...
#include "ensemble.h" void c_main( void ) { // Set the system up address_t address = system_load_sram(); data_system ( region_start( 1, address ) ); data_get_bias ( region_start( 2, address ), g_ensemble.n_neurons ); data_get_encoders ( region_start( 3, address ), g_ensemble.n_neurons, g_n_input_di...
Load and configure core map.
Load and configure core map.
C
mit
ctn-archive/nengo_spinnaker_2014,ctn-archive/nengo_spinnaker_2014,ctn-archive/nengo_spinnaker_2014,ctn-archive/nengo_spinnaker_2014
13f6e450824dbce2e73b9139dc7283ef903210d1
ui/reflectionview.h
ui/reflectionview.h
#pragma once #include <QtGui/QMouseEvent> #include <QtGui/QPaintEvent> #include <QtWidgets/QWidget> #include "binaryninjaapi.h" #include "dockhandler.h" #include "uitypes.h" class ContextMenuManager; class DisassemblyContainer; class FlowGraphWidget; class Menu; class ViewFrame; class BINARYNINJAUIAPI ReflectionVie...
#pragma once #include <QtGui/QMouseEvent> #include <QtGui/QPaintEvent> #include <QtWidgets/QWidget> #include "binaryninjaapi.h" #include "dockhandler.h" #include "uitypes.h" class ContextMenuManager; class DisassemblyContainer; class FlowGraphWidget; class Menu; class ViewFrame; class BINARYNINJAUIAPI ReflectionVie...
Add font change notifications to reflection view.
Add font change notifications to reflection view.
C
mit
joshwatson/binaryninja-api,Vector35/binaryninja-api,Vector35/binaryninja-api,Vector35/binaryninja-api,joshwatson/binaryninja-api,Vector35/binaryninja-api,Vector35/binaryninja-api,joshwatson/binaryninja-api,Vector35/binaryninja-api,joshwatson/binaryninja-api,joshwatson/binaryninja-api,Vector35/binaryninja-api
808b4fabc1535fafba8079bbd5af0b754039edaf
master_degree_1/sess_3/integrate_padding_omp.c
master_degree_1/sess_3/integrate_padding_omp.c
#include <stdio.h> #include <omp.h> static long num_steps = 1000000000; double step; #define NUM_THREADS 2 #define PAD 8 int main() { int i, nThreads; double pi, sum[NUM_THREADS][PAD]; step = 1.0/(double) num_steps; omp_set_num_threads(NUM_THREADS); #pragma omp parallel ...
Add hpc padding approach using omp
Add hpc padding approach using omp
C
mit
leiverandres/HPC_assignments,leiverandres/HPC_assignments,leiverandres/HPC_assignments,leiverandres/HPC_assignments,leiverandres/HPC_assignments
0f9d995ab74075c306b7c8b24ac930c4a93e76d0
Curve.h
Curve.h
/* * File: Curve.h * Author: cameron * * Created on October 22, 2013, 1:07 AM */ #ifndef CURVE_H #define CURVE_H #include <avr/pgmspace.h> class Curve { static const uint8_t etable[] PROGMEM; public: static uint8_t exponential(uint8_t); static uint8_t linear(uint8_t); static uint8_t reverse(uint8_t); }; ...
/* * File: Curve.h * Author: cameron * * Created on October 22, 2013, 1:07 AM */ #ifndef CURVE_H #define CURVE_H #if (defined(__AVR__)) #include <avr\pgmspace.h> #else #include <pgmspace.h> #endif class Curve { static const uint8_t etable[] PROGMEM; public: static uint8_t exponential(uint8_t); static uint...
Fix for eps8266 and athers non avr mcu :)
Fix for eps8266 and athers non avr mcu :) Fix for eps8266 and athers non avr mcu :)
C
mit
jgillick/arduino-LEDFader
0078079b20d1fe7b52cf7c2ac0558abbeefddcca
gpu/include/GrGLConfig_chrome.h
gpu/include/GrGLConfig_chrome.h
#ifndef GrGLConfig_chrome_DEFINED #define GrGLConfig_chrome_DEFINED #define GR_SUPPORT_GLES2 1 // gl2ext.h will define these extensions macros but Chrome doesn't provide // prototypes. #define GL_OES_mapbuffer 0 #define GL_IMG_multisampled_render_to_texture 0 #include <GLES2/gl2.h> #include <...
#ifndef GrGLConfig_chrome_DEFINED #define GrGLConfig_chrome_DEFINED #define GR_SUPPORT_GLES2 1 // gl2ext.h will define these extensions macros but Chrome doesn't provide // prototypes. #define GL_OES_mapbuffer 0 #define GL_IMG_multisampled_render_to_texture 0 #include <GLES2/gl2.h> #include <...
Make chrome use the static square vb when drawing rects.
Make chrome use the static square vb when drawing rects. Review URL: http://codereview.appspot.com/4280053/ git-svn-id: e8541e15acce502a64c929015570ad1648e548cd@949 2bbb7eff-a529-9590-31e7-b0007b416f81
C
bsd-3-clause
AOSPU/external_chromium_org_third_party_skia,pacerom/external_skia,pcwalton/skia,HalCanary/skia-hc,samuelig/skia,vvuk/skia,UBERMALLOW/external_skia,Purity-Lollipop/platform_external_skia,noselhq/skia,xin3liang/platform_external_chromium_org_third_party_skia,DARKPOP/external_chromium_org_third_party_skia,geekboxzone/lol...
37cf701f569f64ff46c0ab5fd9e2783e4315275c
chap15/chmod_arx.c
chap15/chmod_arx.c
/* chmod_arx.c - the equivalent of chmod a+rX on the command line. * * The chmod(1) utility uses the chmod(2) system call to perform a series of * changes on file permissions. Particularly, if you invoke it as in: * * $ chmod a+rX <files> * * it will give read permission for every type of user, and will give ...
Implement the equivalent of chmod a+rX.
Implement the equivalent of chmod a+rX. Chapter 15, exercise 6.
C
mit
rmascarenhas/lpi
a4c8fc3e7f5624f8dcaffcf1ed6b8ba8f8bd9861
include/uwhd/sync/ModelSync.h
include/uwhd/sync/ModelSync.h
//===-- ModelSync.h - Wireless Syncing of GameModel ---------------- c++ --===// // // UWH Timer // // This file is distributed under the BSD 3-Clause License. // See LICENSE.TXT for details. // //===-----------------------------------------------------------...
//===-- ModelSync.h - Wireless Syncing of GameModel ---------------- c++ --===// // // UWH Timer // // This file is distributed under the BSD 3-Clause License. // See LICENSE.TXT for details. // //===-----------------------------------------------------------...
Address a warning from the generated swig code
[sync] Address a warning from the generated swig code
C
bsd-3-clause
Navisjon/uwh-display,jroelofs/uwh-display,jroelofs/uwh-display,jroelofs/uwh-display,Navisjon/uwh-display,Navisjon/uwh-display,Navisjon/uwh-display
7bd01c0936a140f39e2b15ab72f042197f59dc52
base/critical_closure.h
base/critical_closure.h
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef BASE_CRITICAL_CLOSURE_H_ #define BASE_CRITICAL_CLOSURE_H_ #include "base/callback.h" namespace base { // Returns a closure that will contin...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef BASE_CRITICAL_CLOSURE_H_ #define BASE_CRITICAL_CLOSURE_H_ #include "base/callback.h" namespace base { // Returns a closure that will contin...
Add inline annotation for base::MakeCriticalClosure() in platform other than ios.
Add inline annotation for base::MakeCriticalClosure() in platform other than ios. The implementation of this method is basically noop in platforms other than ios and it is put in the header file; this change adds inline annotation to avoid duplicate symbol link error on other platforms. BUG=NONE Review URL: https:/...
C
bsd-3-clause
anirudhSK/chromium,mohamed--abdel-maksoud/chromium.src,crosswalk-project/chromium-crosswalk-efl,ChromiumWebApps/chromium,patrickm/chromium.src,axinging/chromium-crosswalk,axinging/chromium-crosswalk,Jonekee/chromium.src,Fireblend/chromium-crosswalk,axinging/chromium-crosswalk,junmin-zhu/chromium-rivertrail,hujiajie/pa-...
3386d3a91d405a744cfcb9909446cf4613d25a40
chrome/browser/ui/panels/panel_browser_window_gtk.h
chrome/browser/ui/panels/panel_browser_window_gtk.h
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_ #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_ #include "chrome/browser/ui...
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_ #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_ #include "chrome/browser/ui...
Use scoped_ptr for Panel in PanelBrowserWindowGTK.
Use scoped_ptr for Panel in PanelBrowserWindowGTK. BUG=None TEST=Verified WindowOpenPanel test now hits Panel destructor. Review URL: http://codereview.chromium.org/7120011 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@88154 0039d316-1c4b-4281-b951-d872f2087c98
C
bsd-3-clause
anirudhSK/chromium,ltilve/chromium,ChromiumWebApps/chromium,hgl888/chromium-crosswalk,dushu1203/chromium.src,nacl-webkit/chrome_deps,timopulkkinen/BubbleFish,axinging/chromium-crosswalk,ChromiumWebApps/chromium,rogerwang/chromium,ondra-novak/chromium.src,zcbenz/cefode-chromium,crosswalk-project/chromium-crosswalk-efl,m...
4151341273f8b57845f493d59734dc7bbbab8f47
include/utils/SkNullCanvas.h
include/utils/SkNullCanvas.h
/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkNullCanvas_DEFINED #define SkNullCanvas_DEFINED #include "SkBitmap.h" class SkCanvas; /** * Creates a canvas that draws nothing. This is useful for performance t...
/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkNullCanvas_DEFINED #define SkNullCanvas_DEFINED #include "SkBitmap.h" class SkCanvas; /** * Creates a canvas that draws nothing. This is useful for performance t...
Add SK_API to null canvas create method
Add SK_API to null canvas create method git-svn-id: e8541e15acce502a64c929015570ad1648e548cd@4221 2bbb7eff-a529-9590-31e7-b0007b416f81
C
bsd-3-clause
MonkeyZZZZ/platform_external_skia,mydongistiny/android_external_skia,sigysmund/platform_external_skia,SlimSaber/android_external_skia,TeamTwisted/external_skia,timduru/platform-external-skia,aospo/platform_external_skia,geekboxzone/lollipop_external_chromium_org_third_party_skia,Infinitive-OS/platform_external_skia,Tea...
22dbe8cb994cf2e10c70a81686cef72408e4d2f2
MatrixSDK/MatrixSDK.h
MatrixSDK/MatrixSDK.h
/* Copyright 2014 OpenMarket Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
/* Copyright 2014 OpenMarket Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
Fix build after MacOS merge
Fix build after MacOS merge
C
apache-2.0
matrix-org/matrix-ios-sdk,matrix-org/matrix-ios-sdk,matrix-org/matrix-ios-sdk,matrix-org/matrix-ios-sdk,matrix-org/matrix-ios-sdk
d122a86c526c30d4ba4e3aa37e6d261a1e4ee827
tests/regression/36-apron/88-mine14.c
tests/regression/36-apron/88-mine14.c
// SKIP PARAM: --set ana.activated[+] apron --set ana.path_sens[+] threadflag --sets exp.apron.privatization mutex-meet-tid --set ana.activated[-] threadJoins // Fig 5a from Miné 2014 #include <pthread.h> #include <stdio.h> int x; pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; void *t_fun(void *arg) { int top; ...
Add problematic example due to widening :'(
Add problematic example due to widening :'(
C
mit
goblint/analyzer,goblint/analyzer,goblint/analyzer,goblint/analyzer,goblint/analyzer
b28a5fa199c7d4591671fcb0bf7befb19fb1db39
src/scanner.c
src/scanner.c
#include <assert.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "scanner.h" /** * Opens a file in read-only mode and creates a scanner context for it. */ ScannerContext* scanner_open(char* filename) { // open the given file FILE* stream = fopen(filename, "r"); if (stream == NULL) ...
Add basic ScannerContext create / destroy functions
Add basic ScannerContext create / destroy functions
C
mit
coderstephen/walrus,coderstephen/walrus,coderstephen/walrus
957af5527c4f23072b84384e2d972429a6b7be09
main.c
main.c
#include<stdio.h> #include<stdlib.h> struct node { int data; struct node* next; }; int Length(struct node* head) { int count = 0; struct node* current = head; while (current != NULL) { count++; current=current->next; } return(count); } // Given a reference (pointer to pointer) to the head // of ...
#include<stdio.h> #include<stdlib.h> #include<assert.h> struct node { int data; struct node* next; }; int Length(struct node* head) { int count = 0; struct node* current = head; while (current != NULL) { count++; current=current->next; } return(count); } // Given a reference (pointer to pointer)...
Write failing assert for count
Write failing assert for count
C
mit
wlaurance/c-practice
caf4ad66a4a7fac322753baae0057df99a5971fd
include/Social/SLComposeSheetConfigurationItem.h
include/Social/SLComposeSheetConfigurationItem.h
//****************************************************************************** // // Copyright (c) 2016 Microsoft Corporation. All rights reserved. // // This code is licensed under the MIT License (MIT). // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LI...
//****************************************************************************** // // Copyright (c) 2016 Microsoft Corporation. All rights reserved. // // This code is licensed under the MIT License (MIT). // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LI...
Fix Social framework headers to be self-contained.
Fix Social framework headers to be self-contained.
C
mit
pradipd/WinObjC,yweijiang/WinObjC,nathpete-msft/WinObjC,Microsoft/WinObjC,s5msft/WinObjC,bbowman/WinObjC,vkvenkat/WinObjC,Microsoft/WinObjC,ehren/WinObjC,MSFTFox/WinObjC,yweijiang/WinObjC,vkvenkat/WinObjC,autodesk-forks/WinObjC,s5msft/WinObjC,afaruqui/WinObjC,pradipd/WinObjC,bbowman/WinObjC,bSr43/WinObjC,autodesk-forks...
31b16f3e9477bfadf93704055e7395d55196eaf5
Projects/MacOS/ProjectBuilder/XercesSamples/xerces_sample_prefix.h
Projects/MacOS/ProjectBuilder/XercesSamples/xerces_sample_prefix.h
/* * The Apache Software License, Version 1.1 * * Copyright (c) 2001-2002 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of sou...
Add prefix file for ProjectBuilder samples
Add prefix file for ProjectBuilder samples git-svn-id: 95233098a850bdf68e142cb551b6b3e756f38fc7@174526 13f79535-47bb-0310-9956-ffa450edef68
C
apache-2.0
svn2github/xerces-c,svn2github/xerces-c,svn2github/xerces-c,svn2github/xerces-c,svn2github/xerces-c
e2d6f3833127d478d15ac36e2336a92b1863d65f
board/bip/board.h
board/bip/board.h
/* Copyright 2018 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /* Bip board configuration */ #ifndef __CROS_EC_BOARD_H #define __CROS_EC_BOARD_H /* Select Baseboard features */ #define VARIANT_OCTOPUS_EC_ITE8...
/* Copyright 2018 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /* Bip board configuration */ #ifndef __CROS_EC_BOARD_H #define __CROS_EC_BOARD_H /* Select Baseboard features */ #define VARIANT_OCTOPUS_EC_ITE8...
Increase UART transmit buffer size
bip: Increase UART transmit buffer size With this patch, we can get the completed messages during system boot. If the size of tx buffer is too small, the messages will print overwritten. BUG=none BRANCH=none TEST=The serial console can check message during system reboot. Change-Id: I37902096baeeb678b696d9a4acce...
C
bsd-3-clause
coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec
e093455d8fb03bdb6185f23fade9323464c1106f
include/flatcc/portable/pcrt.h
include/flatcc/portable/pcrt.h
#ifndef PCRT_H #define PCRT_H #ifdef __cplusplus extern "C" { #endif /* * Assertions and pointer violations in debug mode may trigger a dialog * on Windows. When running headless this is not helpful, but * unfortunately it cannot be disabled with a compiler option so code * must be injected into the runtime earl...
Add portable file to handle headless asserts etc. on Windows
Add portable file to handle headless asserts etc. on Windows
C
apache-2.0
dvidelabs/flatcc,dvidelabs/flatcc,dvidelabs/flatcc
8d763d25ecf02f2704f6192a8f96bfe35aad6d98
include/llvm/Bytecode/Format.h
include/llvm/Bytecode/Format.h
//===-- llvm/Bytecode/Format.h - VM bytecode file format info ---*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. // //===--------...
//===-- llvm/Bytecode/Format.h - VM bytecode file format info ---*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. // //===--------...
Add enum for compaction table.
Add enum for compaction table. git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@10916 91177308-0d34-0410-b5e6-96231b3b80d8
C
apache-2.0
llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,dslab-epfl/asap,chubbymaggie/asap,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,GPUOpen-Drivers/llvm,dslab-epfl/asap,llvm-mirror/llvm,chubbymaggie/asap,apple/swift-llvm,dsl...
cb39939355915d400a9ea0f0bee5e6fcc5dfeb37
miner.h
miner.h
#ifndef _CGMINER_MINER_H #define _CGMINER_MINER_H #include <stdint.h> struct work { uint8_t *midstate; uint8_t *data; }; #ifndef MAX #define MAX(a,b) ((a) < (b) ? (b) : (a)) #endif #ifndef MIN #define MIN(a,b) ((a) > (b) ? (b) : (a)) #endif typedef enum { false = 0, true = 1 } bool; #endif
#ifndef _CGMINER_MINER_H #define _CGMINER_MINER_H #include <stdint.h> #include <stdbool.h> struct work { uint8_t *midstate; uint8_t *data; }; #ifndef MAX #define MAX(a,b) ((a) < (b) ? (b) : (a)) #endif #ifndef MIN #define MIN(a,b) ((a) > (b) ? (b) : (a)) #endif #endif
Use stdbool.h for bool definition.
Use stdbool.h for bool definition. Our own collides with applications using strbool.h
C
mit
KnCMiner/knc-asic,KnCMiner/knc-asic,KnCMiner/knc-asic
7faecaf1a4ee5fd3e25e2a1facfbfdebb15b596a
radix.h
radix.h
#ifndef RADIXTREE #define RADIXTREE typedef struct rxt_node { int color; char *key; // only stores pos and beyond int level; // tree level; for debug only int parent_id; //for debug only int pos; void *value; struct rxt_node *parent; struct rxt_node *left; struct rxt_node *right; }r...
#ifndef RADIXTREE #define RADIXTREE typedef struct rxt_node { int color; char *key; void *value; int pos; // bit index of the key to compare at (critical position) int level; // tree level; for debug only int parent_id; //for debug only struct rxt_node *parent; struct rxt_node *left; ...
Move things around the rxt_node struct and clean up comments. Breaks ABI.
Move things around the rxt_node struct and clean up comments. Breaks ABI.
C
bsd-2-clause
j0sh/radixtree
702bc06cd7418160e2592cc2a5dae386c6faf227
snake.c
snake.c
#include <stdlib.h> /** * @author: Hendrik Werner */ #define BOARD_HEIGHT 50 #define BOARD_WIDTH 50 typedef struct Position { int row; int col; } Position; typedef enum Cell { EMPTY ,SNAKE ,FOOD } Cell; typedef Cell Board[BOARD_HEIGHT][BOARD_WIDTH]; typedef enum Direction {LEFT, UP, RIGHT, DOWN} Direction;...
#include <stdlib.h> /** * @author: Hendrik Werner */ #define BOARD_HEIGHT 50 #define BOARD_WIDTH 50 typedef struct Position { int row; int col; } Position; typedef enum Cell { EMPTY ,SNAKE ,FOOD } Cell; typedef Cell Board[BOARD_HEIGHT][BOARD_WIDTH]; typedef enum Direction {LEFT, UP, RIGHT, DOWN} Direction;...
Add a function to stringify boards.
Add a function to stringify boards.
C
mit
Hendrikto/Snake
6f3db08828b139d50b6f91a8fd87e8b3b18fbf1f
stack.c
stack.c
#include "stack.h" struct Stack { size_t size; size_t top; void** e; } Stack* Stack_Create(size_t n) { Stack* s = (Stack *)malloc(sizeof(Stack)); s->size = n; s->top = 0; s->e = (void**)malloc(sizeof(void*) * (n + 1)); return s; } int Stack_Empty(Stack* s) { if (s->top == 0) { return 1; } else { retur...
#include "stack.h" struct Stack { size_t size; size_t top; void** e; }; Stack* Stack_Create(size_t n) { Stack* s = (Stack *)malloc(sizeof(Stack)); s->size = n; s->top = 0; s->e = (void**)malloc(sizeof(void*) * (n + 1)); return s; } int Stack_Empty(Stack* s) { if (s->top == 0) { return 1; } else { retu...
Fix missing ; in struct implementation
Fix missing ; in struct implementation
C
mit
MaxLikelihood/CADT
83672f4cd283575c147b308d786463aa0216f694
config/alpha/netbsd1/jit-md.h
config/alpha/netbsd1/jit-md.h
/* * alpha/netbsd/jit-md.h * NetBSD Alpha JIT configuration information. * * Copyright (c) 2001 * Edouard G. Parmelan. All rights reserved. * * Copyright (c) 2001 * Transvirtual Technologies, Inc. All rights reserved. * * See the file "license.terms" for information on usage and redistribution * of this fi...
Use new stack inspection function. Enable JIT compilation.
Use new stack inspection function. Enable JIT compilation.
C
lgpl-2.1
kaffe/kaffe,kaffe/kaffe,kaffe/kaffe,kaffe/kaffe,kaffe/kaffe
41886d53f3c007f5a23781361e3b638afb62ea6d
Include/node.h
Include/node.h
/* Parse tree node interface */ #ifndef Py_NODE_H #define Py_NODE_H #ifdef __cplusplus extern "C" { #endif typedef struct _node { short n_type; char *n_str; int n_lineno; int n_nchildren; struct _node *n_child; } node; extern DL_IMPORT(node *) PyNode_New(int type); extern DL_IMPORT(int) Py...
/* Parse tree node interface */ #ifndef Py_NODE_H #define Py_NODE_H #ifdef __cplusplus extern "C" { #endif typedef struct _node { short n_type; char *n_str; int n_lineno; int n_nchildren; struct _node *n_child; } node; extern DL_IMPORT(node *) PyNode_New(int type); extern DL_IMPORT(int) Py...
Use an assert() for the REQ() macro instead of making up our own assertion.
Use an assert() for the REQ() macro instead of making up our own assertion.
C
mit
sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator
810f19c8fd7b21a8ba65bc510b8b38e8b19f7aba
src/DGLCommon/gl-headers.h
src/DGLCommon/gl-headers.h
#ifndef GL_HEADERS_H #define GL_HEADERS_H #ifdef _WIN32 #define WIN32_LEAN_AND_MEAN #include <windows.h> #else #define WINGDIAPI KHRONOS_APICALL #define APIENTRY KHRONOS_APIENTRY #endif #include <codegen/input/egl.h> #include <codegen/input/eglext.h> #include <codegen/input/GL.h> #include <codegen/input...
#ifndef GL_HEADERS_H #define GL_HEADERS_H #ifdef _WIN32 #define WIN32_LEAN_AND_MEAN #include <windows.h> #else #define WINGDIAPI KHRONOS_APICALL #define APIENTRY KHRONOS_APIENTRY #endif #include <codegen/input/egl.h> #include <codegen/input/eglext.h> #include <codegen/input/GL.h> #include <codegen/input...
Include glx as a gl-header
Include glx as a gl-header
C
apache-2.0
scygan/debugler,scygan/debugler,scygan/debugler,scygan/debugler
f1e39690cf85b947ed6ccb1c12315b79f83708bb
433Rx/Device.h
433Rx/Device.h
// Copyright 2014-2016 the project authors as listed in the AUTHORS file. // All rights reserved. Use of this source code is governed by the // license that can be found in the LICENSE file. #ifndef _DEVICE #define _DEVICE #include "MessageQueue.h" #include "DeviceMessageHandler.h" typedef struct MessageHandlerList...
// Copyright 2014-2016 the project authors as listed in the AUTHORS file. // All rights reserved. Use of this source code is governed by the // license that can be found in the LICENSE file. #ifndef _DEVICE #define _DEVICE #include "MessageQueue.h" #include "DeviceMessageHandler.h" #ifdef __arm__ #define INTERRUPT_...
Add back missing platform defines
Add back missing platform defines
C
mit
mhdawson/arduino-esp8266,mhdawson/arduino-esp8266
6ea747689679605c90dc4fa109a6988ccc10ff48
application/tools/linux/xwalk_tizen_user.c
application/tools/linux/xwalk_tizen_user.c
// Copyright (c) 2013 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <unistd.h> #include <sys/types.h> #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <errno.h> #include <pwd.h> int xwalk_tiz...
// Copyright (c) 2013 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <unistd.h> #include <sys/types.h> #include <string.h> #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <errno.h> #include <p...
Fix warning about missing strcmp() definition
[Application][Tools] Fix warning about missing strcmp() definition The #include <string.h> directive was missing.
C
bsd-3-clause
jondwillis/crosswalk,ZhengXinCN/crosswalk,fujunwei/crosswalk,leonhsl/crosswalk,heke123/crosswalk,PeterWangIntel/crosswalk,hgl888/crosswalk,pk-sam/crosswalk,chuan9/crosswalk,minggangw/crosswalk,Pluto-tv/crosswalk,xzhan96/crosswalk,jpike88/crosswalk,minggangw/crosswalk,dreamsxin/crosswalk,XiaosongWei/crosswalk,baleboy/cr...
aa5d17c0a52530b387ff6819b2cc5d2afd4eb38c
plugins/stardict/file.h
plugins/stardict/file.h
/****************************************************************************** * This file is part of the Mula project * Copyright (c) 2011 Laszlo Papp <lpapp@kde.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publi...
/****************************************************************************** * This file is part of the Mula project * Copyright (c) 2011 Laszlo Papp <lpapp@kde.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publi...
Use the tenary operator instead of a simple if/else inside an inline function
Use the tenary operator instead of a simple if/else inside an inline function
C
lgpl-2.1
KDE/mula,KDE/mula
64dbdcce076a64f7bcfd83ddf7e6f6440c004556
types.h
types.h
#ifndef BFC_TYPES_H #define BFC_TYPES_H #ifndef __cplusplus # include <stdint.h> #else # include <cstdint> #endif typedef bfc_cell uint8_t; #endif /* !BFC_TYPES_H */
#ifndef BFC_TYPES_H #define BFC_TYPES_H #ifndef __cplusplus # include <stdint.h> #else # include <cstdint> #endif typedef bf_value uint8_t; #endif /* !BFC_TYPES_H */
Change basic cell type name to bf_value.
Change basic cell type name to bf_value.
C
mit
bassettmb/bfc,bassettmb/bfc
51f9648c1af205b9822a1dfe220c825eef07a2cc
test2/inline/static_local.c
test2/inline/static_local.c
// RUN: %check %s // extern extern inline int f() { static int i; return i++; } // static static inline int h() { static int i; return i++; } // neither inline int g() { static int i; // CHECK: warning: static variable in pure-inline function - may differ per file return i++; } // neither, but const inline in...
// RUN: %check %s // extern extern inline int f() { static int i; return i++; } // static static inline int h() { static int i; return i++; } // neither inline int g() { static int i; // CHECK: warning: mutable static variable in pure-inline function - may differ per file return i++; } // neither, but const i...
Fix inline static local warning
Fix inline static local warning
C
mit
8l/ucc-c-compiler,8l/ucc-c-compiler,8l/ucc-c-compiler,8l/ucc-c-compiler
39f66ecf2685e1d7a4d0bbe16d8db87e08e91ed9
net/proxy/proxy_resolver_mac.h
net/proxy/proxy_resolver_mac.h
// Copyright (c) 2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef NET_PROXY_PROXY_RESOLVER_MAC_H_ #define NET_PROXY_PROXY_RESOLVER_MAC_H_ #pragma once #include <string> #include "googleurl/src/gurl.h" #incl...
// Copyright (c) 2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef NET_PROXY_PROXY_RESOLVER_MAC_H_ #define NET_PROXY_PROXY_RESOLVER_MAC_H_ #pragma once #include <string> #include "googleurl/src/gurl.h" #incl...
Fix a typo, that could cause a crash on mac.
Fix a typo, that could cause a crash on mac. BUG=50717 TBR=rvargas TEST=Set system proxy settings to use a custom PAC script, then launch TestShell.app -- should not crash. Review URL: http://codereview.chromium.org/3023030 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@54279 0039d316-1c4b-4281-b951-d872f2087c9...
C
bsd-3-clause
ropik/chromium,yitian134/chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,yitian134/chromium,ropik/chromium,gavinp/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,ropik/chromium,gavinp/chromium,adobe/chromium,ropik/chromium,ropik/chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,Crystalnix/...
f2570192b6ea925e0db5957719525ebd144e0037
common/osdep.h
common/osdep.h
/***************************************************************************** * osdep.h: ***************************************************************************** * Copyright (C) 2010 L-SMASH project * * Authors: Yusuke Nakamura <muken.the.vfrmaniac@gmail.com> * Takashi Hirata <silverfilain@gmail.co...
/***************************************************************************** * osdep.h: ***************************************************************************** * Copyright (C) 2010 L-SMASH project * * Authors: Yusuke Nakamura <muken.the.vfrmaniac@gmail.com> * Takashi Hirata <silverfilain@gmail.co...
Remove redundant declaration of lsmash_fseek.
Remove redundant declaration of lsmash_fseek.
C
isc
mstorsjo/l-smash,silverfilain/L-SMASH,l-smash/l-smash,silverfilain/L-SMASH,canbal/l-smash,dwbuiten/l-smash,dwbuiten/l-smash,maki-rxrz/L-SMASH,mstorsjo/l-smash,silverfilain/L-SMASH,l-smash/l-smash,maki-rxrz/L-SMASH,l-smash/l-smash,canbal/l-smash
ece0b186333657c94cd50148fbf10802a052d214
debugger/tui.h
debugger/tui.h
#ifndef DEBUGGER_TUI_H #define DEBUGGER_TUI_H #include "asic.h" char **tui_parse_commandline(const char *, int *); void tui_tick(asic_t *asic); #endif
#ifndef DEBUGGER_TUI_H #define DEBUGGER_TUI_H #include "asic.h" char **tui_parse_commandline(const char *, int *); #ifndef EMSCRIPTEN void tui_tick(asic_t *asic); #endif #endif
Add ifs around TUI function not available in emscripten
Add ifs around TUI function not available in emscripten
C
mit
KnightOS/z80e,KnightOS/z80e
b0149a850e2209301304e67dd4fab34245fe0d70
include/perfetto/protozero/contiguous_memory_range.h
include/perfetto/protozero/contiguous_memory_range.h
/* * Copyright (C) 2017 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2017 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Mark ContiguousMemoryRange::size as const. am: f2c28cd765 am: 1b5ab79b0b am: 69614c4761 am: e447d8a1c2
Mark ContiguousMemoryRange::size as const. am: f2c28cd765 am: 1b5ab79b0b am: 69614c4761 am: e447d8a1c2 Change-Id: Ib4ab16a01bcda43994c6d26f34d16e3579272cf6
C
apache-2.0
google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto
13b6f22f0473917e11ed650282b9b118edb12b90
include/llvm/Analysis/BasicAliasAnalysis.h
include/llvm/Analysis/BasicAliasAnalysis.h
//===- llvm/Analysis/BasicAliasAnalysis.h - Alias Analysis Impl -*- C++ -*-===// // // This file defines the default implementation of the Alias Analysis interface // that simply implements a few identities (two different globals cannot alias, // etc), but otherwise does no analysis. // //===---------------------------...
//===- llvm/Analysis/BasicAliasAnalysis.h - Alias Analysis Impl -*- C++ -*-===// // // This file defines the default implementation of the Alias Analysis interface // that simply implements a few identities (two different globals cannot alias, // etc), but otherwise does no analysis. // //===---------------------------...
Tweak to work with new AA implementation
Tweak to work with new AA implementation git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@5632 91177308-0d34-0410-b5e6-96231b3b80d8
C
apache-2.0
apple/swift-llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,dslab-epfl/asap,chubbymaggie/asap,apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,dslab-epfl/asap,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,GPUOpen-Drivers/l...
ad2faeac06c7be527108d83cd8771b6c0f296257
tensorflow/cc/saved_model/tag_constants.h
tensorflow/cc/saved_model/tag_constants.h
/* Copyright 2016 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
/* Copyright 2016 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
Add SavedModel tag-constant for gpu.
Add SavedModel tag-constant for gpu. PiperOrigin-RevId: 159600621
C
apache-2.0
xodus7/tensorflow,hfp/tensorflow-xsmm,jendap/tensorflow,jhseu/tensorflow,karllessard/tensorflow,unsiloai/syntaxnet-ops-hack,lukeiwanski/tensorflow,rabipanda/tensorflow,tensorflow/tensorflow-pywrap_saved_model,zycdragonball/tensorflow,gunan/tensorflow,lukeiwanski/tensorflow,zycdragonball/tensorflow,meteorcloudy/tensorfl...
f0705ea08c9c53f13113f60db2bea9786d7738bb
src/ee/common/UndoQuantumReleaseInterest.h
src/ee/common/UndoQuantumReleaseInterest.h
/* This file is part of VoltDB. * Copyright (C) 2008-2010 VoltDB Inc. * * VoltDB is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. ...
/* This file is part of VoltDB. * Copyright (C) 2008-2010 VoltDB Inc. * * VoltDB is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. ...
Fix compile error on CentOS
Fix compile error on CentOS
C
agpl-3.0
simonzhangsm/voltdb,flybird119/voltdb,kobronson/cs-voltdb,flybird119/voltdb,flybird119/voltdb,deerwalk/voltdb,wolffcm/voltdb,simonzhangsm/voltdb,simonzhangsm/voltdb,zuowang/voltdb,flybird119/voltdb,kumarrus/voltdb,kumarrus/voltdb,kobronson/cs-voltdb,VoltDB/voltdb,zuowang/voltdb,migue/voltdb,simonzhangsm/voltdb,paulmart...
42078262c5a5a4203a3256d6b0ab16792c48a433
include/charset.h
include/charset.h
n/************************************************* * Character Set Handling Header File * * (C) 1999-2007 Jack Lloyd * *************************************************/ #ifndef BOTAN_CHARSET_H__ #define BOTAN_CHARSET_H__ #include <botan/types.h> #include <botan/enums.h> #include <s...
/************************************************* * Character Set Handling Header File * * (C) 1999-2007 Jack Lloyd * *************************************************/ #ifndef BOTAN_CHARSET_H__ #define BOTAN_CHARSET_H__ #include <botan/types.h> #include <botan/enums.h> #include <st...
Remove stray character introduced during merge
Remove stray character introduced during merge
C
bsd-2-clause
randombit/botan,webmaster128/botan,Rohde-Schwarz-Cybersecurity/botan,randombit/botan,Rohde-Schwarz-Cybersecurity/botan,randombit/botan,webmaster128/botan,Rohde-Schwarz-Cybersecurity/botan,Rohde-Schwarz-Cybersecurity/botan,webmaster128/botan,randombit/botan,Rohde-Schwarz-Cybersecurity/botan,Rohde-Schwarz-Cybersecurity/b...
e0c021bfef7292524964b4ab61db5db65c49f6aa
atom/utility/atom_content_utility_client.h
atom/utility/atom_content_utility_client.h
// Copyright (c) 2015 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #ifndef ATOM_UTILITY_ATOM_CONTENT_UTILITY_CLIENT_H_ #define ATOM_UTILITY_ATOM_CONTENT_UTILITY_CLIENT_H_ #include <vector> #include "base/compiler_specific.h" #include "base/memory/sc...
// Copyright (c) 2015 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #ifndef ATOM_UTILITY_ATOM_CONTENT_UTILITY_CLIENT_H_ #define ATOM_UTILITY_ATOM_CONTENT_UTILITY_CLIENT_H_ #include <vector> #include "base/compiler_specific.h" #include "base/memory/sc...
Fix compilation waring on Mac
Fix compilation waring on Mac
C
mit
shiftkey/electron,shiftkey/electron,the-ress/electron,renaesop/electron,rajatsingla28/electron,electron/electron,rreimann/electron,Floato/electron,renaesop/electron,tonyganch/electron,miniak/electron,brenca/electron,the-ress/electron,miniak/electron,tonyganch/electron,electron/electron,shiftkey/electron,renaesop/electr...
c7a41814a7f1a1519f107108233071646bd2fa6a
rosidl_typesupport_opensplice_cpp/include/rosidl_typesupport_opensplice_cpp/u__instanceHandle.h
rosidl_typesupport_opensplice_cpp/include/rosidl_typesupport_opensplice_cpp/u__instanceHandle.h
/* * OpenSplice DDS * * This software and documentation are Copyright 2006 to TO_YEAR PrismTech * Limited, its affiliated companies and licensors. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in complia...
/* * OpenSplice DDS * * This software and documentation are Copyright 2006 to TO_YEAR PrismTech * Limited, its affiliated companies and licensors. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in complia...
Fix build issue on windows
Fix build issue on windows export function
C
apache-2.0
ros2/rmw_opensplice
643faa24287693f2692434e4641c2e80cec6588d
indra/llcommon/nd/ndboolswitch.h
indra/llcommon/nd/ndboolswitch.h
#ifndef NDBOOLSWITCH_H #define NDBOOLSWITCH_H /** * $LicenseInfo:firstyear=2013&license=fsviewerlgpl$ * Phoenix Firestorm Viewer Source Code * Copyright (C) 2013, Nicky Dasmijn * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Licens...
Add file that did not get added by MQ.
Add file that did not get added by MQ.
C
lgpl-2.1
gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm
b8e969093e83bccc053e2102674561776ef5ee44
evmjit/libevmjit/CompilerHelper.h
evmjit/libevmjit/CompilerHelper.h
#pragma once #include "preprocessor/llvm_includes_start.h" #include <llvm/IR/IRBuilder.h> #include "preprocessor/llvm_includes_end.h" namespace dev { namespace eth { namespace jit { class RuntimeManager; /// Base class for compiler helpers like Memory, GasMeter, etc. class CompilerHelper { protected: CompilerHelpe...
#pragma once #include "preprocessor/llvm_includes_start.h" #include <llvm/IR/IRBuilder.h> #include "preprocessor/llvm_includes_end.h" namespace dev { namespace eth { namespace jit { class RuntimeManager; /// Base class for compiler helpers like Memory, GasMeter, etc. class CompilerHelper { protected: CompilerHelpe...
Reimplement InsertPointGuard to avoid LLVM ABI incompatibility.
Reimplement InsertPointGuard to avoid LLVM ABI incompatibility. In general, the NDEBUG flag should match cpp-ethereum and LLVM builds. But this is hard to satisfy as we usually have one system-wide build of LLVM and different builds of cpp-ethereum. This ABI incompatibility hit OSX only in release builds as LLVM is bu...
C
mit
johnpeter66/ethminer,smartbitcoin/cpp-ethereum,Sorceror32/.-git-clone-https-github.com-ethereum-cpp-ethereum,ethers/cpp-ethereum,expanse-project/cpp-expanse,yann300/cpp-ethereum,gluk256/cpp-ethereum,xeddmc/cpp-ethereum,PaulGrey30/.-git-clone-https-github.com-ethereum-cpp-ethereum,anthony-cros/cpp-ethereum,LefterisJP/we...
fd21da62c853499531eb95fc666cde55e70b1d41
Libs/PluginFramework/Testing/Cpp/ctkPluginFrameworkTestUtilExport.h
Libs/PluginFramework/Testing/Cpp/ctkPluginFrameworkTestUtilExport.h
/*============================================================================= Library: CTK Copyright (c) 2010 German Cancer Research Center, Division of Medical and Biological Informatics Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with...
/*============================================================================= Library: CTK Copyright (c) 2010 German Cancer Research Center, Division of Medical and Biological Informatics Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with...
Fix export macro for plugin test utility library.
Fix export macro for plugin test utility library.
C
apache-2.0
commontk/CTK,finetjul/CTK,finetjul/CTK,sankhesh/CTK,CJGoch/CTK,commontk/CTK,msmolens/CTK,pieper/CTK,CJGoch/CTK,AndreasFetzer/CTK,rkhlebnikov/CTK,Sardge/CTK,jcfr/CTK,naucoin/CTK,rkhlebnikov/CTK,mehrtash/CTK,lassoan/CTK,151706061/CTK,mehrtash/CTK,commontk/CTK,espakm/CTK,SINTEFMedtek/CTK,pieper/CTK,danielknorr/CTK,jcfr/CT...
b3400badf022b4ff6f3545d1baa706affc22d93d
include/gpu/gl/SkMesaGLContext.h
include/gpu/gl/SkMesaGLContext.h
/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkMesaGLContext_DEFINED #define SkMesaGLContext_DEFINED #include "SkGLContext.h" #if SK_MESA class SkMesaGLContext : public SkGLContext { private: typedef intpt...
/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkMesaGLContext_DEFINED #define SkMesaGLContext_DEFINED #include "SkGLContext.h" #if SK_MESA class SkMesaGLContext : public SkGLContext { private: typedef intpt...
Fix undefined GLint in Mac builds
Fix undefined GLint in Mac builds git-svn-id: e8541e15acce502a64c929015570ad1648e548cd@3736 2bbb7eff-a529-9590-31e7-b0007b416f81
C
bsd-3-clause
geekboxzone/lollipop_external_chromium_org_third_party_skia,sombree/android_external_skia,rubenvb/skia,Purity-Lollipop/platform_external_skia,FusionSP/android_external_skia,PAC-ROM/android_external_skia,aosp-mirror/platform_external_skia,DiamondLovesYou/skia-sys,zhaochengw/platform_external_skia,aospo/platform_external...