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 |
|---|---|---|---|---|---|---|---|---|---|
e2e9ee8ea3e866a23601cc3ff4c5679b6d3b5206 | test_problems/VPsilane_test/silane_equil.cpp | test_problems/VPsilane_test/silane_equil.cpp | /*
* Copyright 2002 California Institute of Technology
*/
#include "cantera/IdealGasMix.h"
#include "cantera/equilibrium.h"
#include "cantera/thermo/IdealSolnGasVPSS.h"
#include "cantera/thermo/ThermoFactory.h"
using namespace std;
using namespace Cantera;
int main(int argc, char** argv)
{
#ifdef _MSC_VER
_se... | /*
* Copyright 2002 California Institute of Technology
*/
#include "cantera/IdealGasMix.h"
#include "cantera/equilibrium.h"
#include "cantera/thermo/IdealSolnGasVPSS.h"
#include "cantera/thermo/ThermoFactory.h"
using namespace std;
using namespace Cantera;
int main(int argc, char** argv)
{
#ifdef _MSC_VER
_se... | Fix failure of VPsilane_test when debug_verbose=y | [Test] Fix failure of VPsilane_test when debug_verbose=y
Partially addresses Issue 69.
| C++ | bsd-3-clause | Heathckliff/cantera,imitrichev/cantera,imitrichev/cantera,imitrichev/cantera,Heathckliff/cantera,Heathckliff/cantera,imitrichev/cantera,Heathckliff/cantera,imitrichev/cantera,Heathckliff/cantera,imitrichev/cantera,Heathckliff/cantera |
0f999232b847b3f4de0d61700303becf87197be5 | cmake_has_regex_test.cpp | cmake_has_regex_test.cpp | #include <regex>
int main()
{
std::regex r(R"(\s*(SIGNAL|SLOT)\s*\(\s*(.+)\s*\(.*)");
return 0;
}
| /*
This file is part of the clang-lazy static checker.
Copyright (C) 2015 Sergio Martins <smartins@kde.org>
This program 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 2 of the License... | Add license to this test file so license checkers don't complain | Add license to this test file so license checkers don't complain
| C++ | lgpl-2.1 | nyalldawson/clazy,nyalldawson/clazy,nyalldawson/clazy,nyalldawson/clazy |
e260efe488109ffade7c32359e05873535f05db6 | raytracer.cc | raytracer.cc | /*
* Entry point for the raytracer binary.
* Autor: Dino Wernli
*/
#include <google/protobuf/stubs/common.h>
#include <memory>
#include "exporter/bmp_exporter.h"
#include "proto/configuration.pb.h"
#include "renderer/image.h"
#include "renderer/renderer.h"
#include "scene/camera.h"
#include "scene/point_light.h"
#... | /*
* Entry point for the raytracer binary.
* Autor: Dino Wernli
*/
#include <google/protobuf/stubs/common.h>
#include <memory>
#include "exporter/bmp_exporter.h"
#include "proto/configuration.pb.h"
#include "renderer/image.h"
#include "renderer/renderer.h"
#include "scene/camera.h"
#include "scene/point_light.h"
#... | Refactor main to use a test method. | Refactor main to use a test method.
| C++ | mit | dinowernli/raytracer,dinowernli/raytracer,dinowernli/raytracer,dinowernli/raytracer |
a13912f5be4a3a16690901fb61375e5ecf964c57 | src/casts.cc | src/casts.cc | #include <node.h>
#include <v8.h>
#include "helpers.h"
using namespace v8;
using namespace node;
namespace node_objc {
// Cast a JavaScript "String" to an "NSString"
v8::Handle<Value> Cast_NSString (const Arguments& args) {
HandleScope scope;
String::Utf8Value val(args[0]->ToString());
NSString *rtn ... | #import <Foundation/Foundation.h>
#include <node.h>
#include <v8.h>
#include "helpers.h"
using namespace v8;
using namespace node;
namespace node_objc {
// Cast a JavaScript "String" to an "NSString"
v8::Handle<Value> Cast_NSString (const Arguments& args) {
HandleScope scope;
String::Utf8Value val(args[0... | Add NSNumber cast from JavaScript function | Add NSNumber cast from JavaScript function
| C++ | mit | TooTallNate/node-objc,TooTallNate/node-objc,TooTallNate/node-objc |
94f0b94a3dfcd24a14ba88f1ca8aacf3becd0dc1 | experimental/graphite/src/ResourceCache.cpp | experimental/graphite/src/ResourceCache.cpp | /*
* Copyright 2022 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "experimental/graphite/src/ResourceCache.h"
#include "experimental/graphite/src/Resource.h"
#include "include/private/SingleOwner.h"
namespace skgpu {
#define ASSER... | /*
* Copyright 2022 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "experimental/graphite/src/ResourceCache.h"
#include "experimental/graphite/src/Resource.h"
#include "include/private/SingleOwner.h"
namespace skgpu {
#define ASSER... | Fix unused member warning in Release build. | [graphite] Fix unused member warning in Release build.
Change-Id: Ib995ebae0ad54d6ce672ce4afe61f67c4247bd9d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/504540
Commit-Queue: Greg Daniel <39df0a804564ccb6cf75f18db79653821f37c1c5@google.com>
Auto-Submit: Greg Daniel <39df0a804564ccb6cf75f18db79653821f37c1c... | C++ | bsd-3-clause | google/skia,google/skia,google/skia,google/skia,aosp-mirror/platform_external_skia,aosp-mirror/platform_external_skia,aosp-mirror/platform_external_skia,google/skia,aosp-mirror/platform_external_skia,google/skia,aosp-mirror/platform_external_skia,google/skia,aosp-mirror/platform_external_skia,google/skia,aosp-mirror/pl... |
7b6d90ad7d5abf454c24c35e2c8125a679fb1ba6 | src/main.cpp | src/main.cpp | #include "mainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}
| #include "mainwindow.h"
#include <QApplication>
#include <QStyleFactory>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
a.setStyle(QStyleFactory::create("Fusion"));
QPalette dark;
dark.setColor(QPalette::Window, QColor(53, 53, 53));
dark.setColor(QPalette::WindowText, Qt::white);
dark.set... | Change UI to dark style | Change UI to dark style
| C++ | mit | jwkpeter/tincan |
7e0c5620178e1e882436d8ca02b06ccbd7d4d994 | cpp/utils/connection.cpp | cpp/utils/connection.cpp | #include "utils/connection.h"
namespace utils {
Connection::Connection(const std::string& host, const std::string& port)
: socket(io_service) {
tcp::resolver resolver(io_service);
tcp::resolver::query query(host, port);
boost::asio::connect(socket, resolver.resolve(query));
response_buf.prepare(8192);
}
Co... | #include "utils/connection.h"
namespace utils {
Connection::Connection(const std::string& host, const std::string& port)
: socket(io_service) {
tcp::resolver resolver(io_service);
tcp::resolver::query query(host, port);
boost::asio::connect(socket, resolver.resolve(query));
response_buf.prepare(8192);
}
Co... | Add debug for server responses | Add debug for server responses
| C++ | apache-2.0 | kareth/helloworldopen2014,kareth/helloworldopen2014,kareth/helloworldopen2014,kareth/helloworldopen2014,kareth/helloworldopen2014 |
daef9cc7e379c83e272f50de2fb3b7ab2e7e42db | test/PCH/missing-file.cpp | test/PCH/missing-file.cpp | // Test reading of PCH without original input files.
// Generate the PCH, removing the original file:
// RUN: echo 'struct S{char c; int i; }; void foo() {}' > %t.h
// RUN: echo 'template <typename T> void tf() { T::foo(); }' >> %t.h
// RUN: echo '#define RETURN return &i' >> %t.h
// RUN: %clang_cc1 -x c++ -emit-pch -... | // Test reading of PCH without original input files.
// Generate the PCH, removing the original file:
// RUN: echo 'struct S{char c; int i; }; void foo() {}' > %t.h
// RUN: echo 'template <typename T> void tf() { T::foo(); }' >> %t.h
// RUN: echo '#define RETURN return &i' >> %t.h
// RUN: %clang_cc1 -x c++ -emit-pch -... | Use tempfiles for the .o outputs. | Use tempfiles for the .o outputs.
git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@124697 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/cl... |
c1f55270028332d8e559b2396696d8b33fd0a317 | chrome/browser/metrics/metrics_service_unittest.cc | chrome/browser/metrics/metrics_service_unittest.cc | // 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.
#include "chrome/browser/metrics/metrics_service.h"
#include <string>
#include "base/base64.h"
#include "testing/gtest/include/gtest/gtest.h"
clas... | // 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.
#include <ctype.h>
#include <string>
#include "chrome/browser/metrics/metrics_service.h"
#include "testing/gtest/include/gtest/gtest.h"
// Ensure t... | Clean up MetricsService unit test. | Clean up MetricsService unit test.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/10119030
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@133439 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | Fireblend/chromium-crosswalk,Just-D/chromium-1,zcbenz/cefode-chromium,fujunwei/chromium-crosswalk,hgl888/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,keishi/chromium,krieger-od/nwjs_chromium.src,Pluto-tv/chromium-crosswalk,bright-sparks/chromium-spacewalk,dednal/chromium.src,junmin-zhu/chromium-rivertrail,mogowe... |
2154e3806097b6f3056a7c7117872c768e79b631 | test/SemaCXX/cxx2a-pointer-to-const-ref-member.cpp | test/SemaCXX/cxx2a-pointer-to-const-ref-member.cpp | // RUN: %clang_cc1 -std=c++2a %s -verify
struct X {
void ref() & {}
void cref() const& {}
};
void test() {
X{}.ref(); // expected-error{{cannot initialize object parameter of type 'X' with an expression of type 'X'}}
X{}.cref(); // expected-no-error
(X{}.*&X::ref)(); // expected-error{{pointer-to-member fu... | // RUN: %clang_cc1 -std=c++2a %s -verify
struct X {
void ref() & {}
void cref() const& {}
};
void test() {
X{}.ref(); // expected-error{{cannot initialize object parameter of type 'X' with an expression of type 'X'}}
X{}.cref(); // expected-no-error
(X{}.*&X::ref)(); // expected-error-re{{pointer-to-member... | Fix MSVC bots which include '__attribute__((thiscall))' in pretty-printed member function types. | Fix MSVC bots which include '__attribute__((thiscall))' in pretty-printed member function types.
We really shouldn't be including inferred calling conventions here, but let's get the bots green first...
git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@311746 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,apple/swift-cl... |
13bcbe7def1f285d83bc05e298677784c30d1617 | src/Thread/ScopedLock.cpp | src/Thread/ScopedLock.cpp | #include "Thread/ScopedLock.hh"
namespace LilWrapper
{
ScopedLock::ScopedLock(Mutex *mutex)
: _mutex(mutex)
{
this->_mutex->lock();
}
ScopedLock::~ScopedLock()
{
this->_mutex->unlock();
}
}
| #include "Thread/ScopedLock.hh"
namespace LilWrapper
{
ScopedLock::ScopedLock(Mutex *mutex)
: _mutex(mutex)
{
if (this->_mutex)
this->_mutex->lock();
}
ScopedLock::~ScopedLock()
{
if (this->_mutex)
this->_mutex->unlock();
}
}
| Make sure the Mutex exists before using it. | Make sure the Mutex exists before using it.
| C++ | mit | aliou/lilwrapper |
940706c1916fac701b6e25baa6eee04fa75b49e3 | Strings/utilities.cpp | Strings/utilities.cpp | #include <bits/stdc++.h>
#define pb push_back
using namespace std;
typedef vector <string> vs;
int toNum(string a){
stringstream toNum(a);
int num;
toNum >> num;
return num;
}
vs split(string line, char d){
vector < string > elements;
stringstream ss(line);
string item;
while(getline(ss, item, d)) elements.pb(i... | #include <bits/stdc++.h>
#define pb push_back
using namespace std;
typedef vector <string> vs;
int toNum(string a){
stringstream toNum(a);
int num;
toNum >> num;
return num;
}
string toString(double d){
stringstream ss;
ss << fixed << setprecision(10) << fl;
string num = ss.str();
return num;
}
vs split(stri... | Create useful function to convert a number to string. | Create useful function to convert a number to string.
| C++ | mit | xdanielsb/Marathon-book,xdanielsb/Marathon-book,xdanielsb/Marathon-book,xdanielsb/Marathon-book,xdanielsb/Marathon-book |
1db22cb218df2c7870f2790846bd7766e087e429 | plugins/loggerui/logaction.cpp | plugins/loggerui/logaction.cpp | /*
* The MIT License (MIT)
*
* Copyright (c) 2017 Nathan Osman
*
* 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,... | /*
* The MIT License (MIT)
*
* Copyright (c) 2017 Nathan Osman
*
* 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,... | Fix compilation error on MSVC++. | Fix compilation error on MSVC++.
| C++ | mit | nitroshare/nitroshare-desktop,nitroshare/nitroshare-desktop,nitroshare/nitroshare-desktop,nitroshare/nitroshare-desktop |
5beecba366bb0e643172aeace0c57cde4672956a | test/correctness/buffer_t.cpp | test/correctness/buffer_t.cpp | #include <stdio.h>
#include "Halide.h"
#define CHECK(f, s32, s64) \
static_assert(offsetof(buffer_t, f) == (sizeof(void*) == 8 ? (s64) : (s32)), #f " is wrong")
int main(int argc, char **argv) {
CHECK(dev, 0, 0);
CHECK(host, 8, 8);
CHECK(extent, 12, 16);
CHECK(stride, 28, 32);
CHECK(min, 44,... | #include <stdio.h>
#include "Halide.h"
#define CHECK(f, s32, s64) \
static_assert(offsetof(buffer_t, f) == (sizeof(void*) == 8 ? (s64) : (s32)), #f " is wrong")
int main(int argc, char **argv) {
CHECK(dev, 0, 0);
CHECK(host, 8, 8);
CHECK(extent, 12, 16);
CHECK(stride, 28, 32);
CHECK(min, 44,... | Allow for struct padding in test | Allow for struct padding in test
| C++ | mit | fengzhyuan/Halide,mcanthony/Halide,kenkuang1213/Halide,kgnk/Halide,dan-tull/Halide,ronen/Halide,ayanazmat/Halide,fengzhyuan/Halide,aam/Halide,myrtleTree33/Halide,tdenniston/Halide,ayanazmat/Halide,ronen/Halide,dougkwan/Halide,kenkuang1213/Halide,damienfir/Halide,fengzhyuan/Halide,fengzhyuan/Halide,smxlong/Halide,dan-tu... |
3ad630f5570101f6f7aa077de622f29e319e7f4b | main.cpp | main.cpp | #include <ncurses.h>
#include "print.hpp"
#include "lightsout.hpp"
#include "keybindings.hpp"
using namespace roadagain;
int main()
{
initscr();
cbreak();
noecho();
curs_set(0);
start_color();
init_colors();
board b(5, 5);
keybindings k("emacs");
while (!b.is_perfect()){
c... | #include <ncurses.h>
#include <cstring>
#include <string>
#include "print.hpp"
#include "lightsout.hpp"
#include "keybindings.hpp"
using namespace roadagain;
int main(int argc, char** argv)
{
initscr();
cbreak();
noecho();
curs_set(0);
start_color();
init_colors();
std::string key = "vim... | Add getting keybindings from argv | Add getting keybindings from argv
| C++ | mit | Roadagain/KeyBindings-LightsOut |
269777a1dfc3051272ee740131066f5942017a3b | base/system_monitor_win.cc | base/system_monitor_win.cc | // 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.
#include "base/system_monitor.h"
namespace base {
void SystemMonitor::ProcessWmPowerBroadcastMessage(int event_id) {
PowerEvent power_eve... | // 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.
#include "base/system_monitor.h"
namespace base {
void SystemMonitor::ProcessWmPowerBroadcastMessage(int event_id) {
PowerEvent power_eve... | Update comments and remove bogus DCHECK in windows-specific broadcasted power message status. | Update comments and remove bogus DCHECK in windows-specific broadcasted power message status.
Review URL: http://codereview.chromium.org/16220
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@7398 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | adobe/chromium,yitian134/chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,adobe/chromium,adobe/chromium,yitian134/chromium,ropik/chromium,gavinp/chromium,adobe/chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,Crystalnix/house-of-life-chromium,adobe/chromium,Crystalnix/house-of-life-chromium,Cr... |
60d93b3d0632c467b1df55a50e33e5e46a2ef0bc | core/main.cpp | core/main.cpp | ////////////////////////////////////////////////////////////////////////////////////////////////
///
/// @file
/// @author Kuba Sejdak
/// @date 17.07.2016
///
/// @copyright This file is a part of cosmos OS. All rights reserved.
///
///////////////////////////////////////////////////////////////////////////... | ////////////////////////////////////////////////////////////////////////////////////////////////
///
/// @file
/// @author Kuba Sejdak
/// @date 17.07.2016
///
/// @copyright This file is a part of cosmos OS. All rights reserved.
///
///////////////////////////////////////////////////////////////////////////... | Add dummy test for memory allocator. | Add dummy test for memory allocator.
| C++ | bsd-2-clause | ksejdak/cosmos,ksejdak/cosmos,ksejdak/cosmos |
e64b6ee7e5ed5571b2d821d3a85e8519ef807c49 | tensorflow/contrib/memory_stats/ops/memory_stats_ops.cc | tensorflow/contrib/memory_stats/ops/memory_stats_ops.cc | /* Copyright 2017 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 2017 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 static shape inference to BytesLimit and MaxBytesInUse. | Add static shape inference to BytesLimit and MaxBytesInUse.
PiperOrigin-RevId: 158540875
| C++ | apache-2.0 | bowang/tensorflow,dongjoon-hyun/tensorflow,ageron/tensorflow,alsrgv/tensorflow,apark263/tensorflow,tillahoffmann/tensorflow,mavenlin/tensorflow,benoitsteiner/tensorflow,JVillella/tensorflow,freedomtan/tensorflow,ravindrapanda/tensorflow,manipopopo/tensorflow,benoitsteiner/tensorflow-xsmm,tensorflow/tensorflow,av8ramit/... |
c442bc92a1110f597b40b50129cd21b5c4c3287b | tensorflow/compiler/tf2xla/kernels/replica_id_op.cc | tensorflow/compiler/tf2xla/kernels/replica_id_op.cc | /* Copyright 2017 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 2017 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... | Convert the result of xla::ReplicaId to S32 | [tf2xla] Convert the result of xla::ReplicaId to S32
PiperOrigin-RevId: 327455603
Change-Id: Ic5efe1f80fc7a92debbc4f08853f824f8cdfb937
| C++ | apache-2.0 | yongtang/tensorflow,aam-at/tensorflow,yongtang/tensorflow,tensorflow/tensorflow,aam-at/tensorflow,annarev/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,freedomtan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,petewarden/tensorflow,aam-at/tensorflow,Intel-tensorflow/tensorflow,tensorflo... |
38ba833bdec11edc2b0ab9baac6e276d6890eeac | tests/format_factory.cpp | tests/format_factory.cpp | #include <string>
#include "catch.hpp"
#include "Chemharp.hpp"
#include "FormatFactory.hpp"
#include "Frame.hpp"
#include "formats/XYZ.hpp"
using namespace harp;
// Dummy format clase
class DummyFormat : public Format {
public:
DummyFormat(){}
std::string description() const {return "";}
REGISTER_FORMAT... | #include <string>
#include "catch.hpp"
#include "Chemharp.hpp"
#include "FormatFactory.hpp"
#include "Error.hpp"
#include "formats/XYZ.hpp"
#include "Frame.hpp"
using namespace harp;
// Dummy format clase
class DummyFormat : public Format {
public:
DummyFormat(){}
std::string description() const {return "";... | Add tests for registering the formats | Add tests for registering the formats
| C++ | bsd-3-clause | Luthaf/Chemharp,chemfiles/chemfiles,lscalfi/chemfiles,chemfiles/chemfiles,lscalfi/chemfiles,Luthaf/Chemharp,Luthaf/Chemharp,lscalfi/chemfiles,chemfiles/chemfiles,lscalfi/chemfiles,chemfiles/chemfiles |
c6cab1f52fc5635dc059a33172276aa08a9d4229 | drake/systems/framework/named_value_vector.cc | drake/systems/framework/named_value_vector.cc | // For now, this is an empty .cc file that only serves to confirm
// named_value_vector.h is
// a stand-alone header.
#include "drake/systems/framework/named_value_vector.h" | // For now, this is an empty .cc file that only serves to confirm
// named_value_vector.h is
// a stand-alone header.
#include "drake/systems/framework/named_value_vector.h"
| Add newline at end of file. | Add newline at end of file.
| C++ | bsd-3-clause | sheim/drake,sheim/drake,billhoffman/drake,billhoffman/drake,billhoffman/drake,sheim/drake,sheim/drake,billhoffman/drake,sheim/drake,billhoffman/drake,billhoffman/drake,sheim/drake,sheim/drake,billhoffman/drake,billhoffman/drake,sheim/drake |
d99a1c8bc485acf06590b07d174b6a7db092770b | content/browser/renderer_host/render_view_host_observer.cc | content/browser/renderer_host/render_view_host_observer.cc | // 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.
#include "content/browser/renderer_host/render_view_host_observer.h"
#include "content/browser/renderer_host/render_view_host.h"
RenderViewHostObser... | // 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.
#include "content/browser/renderer_host/render_view_host_observer.h"
#include "content/browser/renderer_host/render_view_host.h"
RenderViewHostObser... | Fix heap corruption that occurs when RenderViewHostObserver calls RenderViewHost to unregister when the latter is in its destructor. | Fix heap corruption that occurs when RenderViewHostObserver calls RenderViewHost to unregister when the latter is in its destructor.
TBR=dmichael
Review URL: http://codereview.chromium.org/6813043
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@80946 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | gavinp/chromium,ropik/chromium,adobe/chromium,yitian134/chromium,yitian134/chromium,adobe/chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,Crystalnix/house-of-life-chromium,adobe/chromium,ropik/chromium,gavinp/chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,yitian134/chromium,adobe/chromium,ropik/c... |
43229abc2ea672e6c3cf9abf0d8835954a697040 | 3RVX/MeterWnd/Meters/VerticalBar.cpp | 3RVX/MeterWnd/Meters/VerticalBar.cpp | // Copyright (c) 2015, Matthew Malensek.
// Distributed under the BSD 2-Clause License (see LICENSE.txt for details)
#include "VerticalBar.h"
VerticalBar::VerticalBar(std::wstring bitmapName, int x, int y,
int units, bool reversed) :
Meter(bitmapName, x, y, units),
_pixelsPerUnit(_rect.Height / _units),
_reversed... | // Copyright (c) 2015, Matthew Malensek.
// Distributed under the BSD 2-Clause License (see LICENSE.txt for details)
#include "VerticalBar.h"
VerticalBar::VerticalBar(std::wstring bitmapName, int x, int y,
int units, bool reversed) :
Meter(bitmapName, x, y, units),
_pixelsPerUnit(_rect.Height / _units),
_reversed... | Remove color transformation test code | Remove color transformation test code
| C++ | bsd-2-clause | malensek/3RVX,malensek/3RVX,malensek/3RVX |
b8a50c7614426c611143eb846839b56ec6c50c0d | ReactCommon/fabric/uimanager/ComponentDescriptorRegistry.cpp | ReactCommon/fabric/uimanager/ComponentDescriptorRegistry.cpp | // Copyright (c) 2004-present, Facebook, Inc.
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
#include "ComponentDescriptorRegistry.h"
namespace facebook {
namespace react {
void ComponentDescriptorRegistry::registerComponentDescriptor(Sh... | // Copyright (c) 2004-present, Facebook, Inc.
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
#include "ComponentDescriptorRegistry.h"
namespace facebook {
namespace react {
void ComponentDescriptorRegistry::registerComponentDescriptor(Sh... | Improve error message when a component descriptor is not implemented | Improve error message when a component descriptor is not implemented
Summary: This diff improves the error message that is displayed when a component descriptor is not implemented in C++
Reviewed By: shergin
Differential Revision: D9093562
fbshipit-source-id: 930b381bc66c20af6fa160b09e7484bad4666e28
| C++ | bsd-3-clause | hoangpham95/react-native,myntra/react-native,exponentjs/react-native,exponentjs/react-native,facebook/react-native,janicduplessis/react-native,exponentjs/react-native,javache/react-native,javache/react-native,exponentjs/react-native,javache/react-native,myntra/react-native,exponentjs/react-native,javache/react-native,m... |
696f2ae0234f4c54ef16bcc1169b4a321727f7b4 | Demo04-Scene/DemoScene.cpp | Demo04-Scene/DemoScene.cpp |
#include <ionWindow.h>
#include <ionGraphics.h>
#include <ionGraphicsGL.h>
#include <ionScene.h>
using namespace ion;
using namespace Scene;
using namespace Graphics;
int main()
{
////////////////////
// ionEngine Init //
////////////////////
Log::AddDefaultOutputs();
SingletonPointer<CWin... |
#include <ionWindow.h>
#include <ionGraphics.h>
#include <ionGraphicsGL.h>
#include <ionScene.h>
using namespace ion;
using namespace Scene;
using namespace Graphics;
int main()
{
////////////////////
// ionEngine Init //
////////////////////
Log::AddDefaultOutputs();
SingletonPointer<CWin... | Comment out broken parts of Demo04 to fix build | Comment out broken parts of Demo04 to fix build
| C++ | mit | iondune/ionEngine,iondune/ionEngine |
e9e55131e8aed0b9f6ef9c4f4caf5f0e3f9bb844 | lib/Transforms/Instrumentation/EmitFunctions.cpp | lib/Transforms/Instrumentation/EmitFunctions.cpp | //===-- EmitFunctions.cpp - interface to insert instrumentation --*- C++ -*--=//
//
// This inserts a global constant table with function pointers all along
//
//===----------------------------------------------------------------------===//
#include "llvm/Transforms/Instrumentation/EmitFunctions.h"
#include "llvm/Cons... | //===-- EmitFunctions.cpp - interface to insert instrumentation --*- C++ -*--=//
//
// This inserts a global constant table with function pointers all along
//
//===----------------------------------------------------------------------===//
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Cons... | Remove unused header and function | Remove unused header and function
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@5277 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | bsd-2-clause | dslab-epfl/asap,apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,dslab-epfl/asap,llvm-mirror/llvm,GPUOpen-Drivers/llvm,chubbymaggie/asap,apple/swift-llvm,chubbymaggie/asap,dslab-epfl/asap,dslab-epfl/asap,chubbymaggie/asap,llvm-mirror/llvm,dslab-epfl/asap,llvm-mirror/llvm,chubbymaggie/asap,apple/s... |
678119abd43401c8dc5480f8315b37fa093a4d21 | test/SemaTemplate/extern-templates.cpp | test/SemaTemplate/extern-templates.cpp | // RUN: clang-cc -fsyntax-only %s
template<typename T>
class X0 {
public:
void f(T t);
};
template<typename T>
void X0<T>::f(T t) {
t = 17;
}
// FIXME: Later, we'll want to write an explicit template
// declaration (extern template) for X0<int*>, then try to
// call X0<int*>::f. The translation unit should succe... | // RUN: clang-cc -fsyntax-only %s
template<typename T>
class X0 {
public:
void f(T t);
struct Inner {
void g(T t);
};
};
template<typename T>
void X0<T>::f(T t) {
t = 17;
}
extern template class X0<int>;
extern template class X0<int*>;
template<typename T>
void X0<T>::Inner::g(T t) {
t = 17;
}
vo... | Improve testing for extern temp templates, slightly. We are (properly) suppressing the implicit instantiation of members of extern templates | Improve testing for extern temp templates, slightly. We are (properly) suppressing the implicit instantiation of members of extern templates
git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@81567 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/cl... |
efd0593f683c70d59836d4dfe8832c9461eb5e58 | src/DeviceInterface.cpp | src/DeviceInterface.cpp | /*
* Copyright 2014 The Imaging Source Europe GmbH
*
* 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 la... | /*
* Copyright 2014 The Imaging Source Europe GmbH
*
* 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 la... | Add exception description string to log for runtime_error | Add exception description string to log for runtime_error
| C++ | apache-2.0 | TheImagingSource/tiscamera,TheImagingSource/tiscamera,TheImagingSource/tiscamera,TheImagingSource/tiscamera |
b0b72da53a3f5e8d909d016533ff343bf6aac143 | src/PlaceJumps/SdkModel/PlaceJumpController.cpp | src/PlaceJumps/SdkModel/PlaceJumpController.cpp | // Copyright eeGeo Ltd (2012-2015), All Rights Reserved
#include "PlaceJumpController.h"
#include "IPlaceJumpsModel.h"
#include "LatLongAltitude.h"
#include "Types.h"
#include "ICameraTransitionController.h"
namespace ExampleApp
{
namespace PlaceJumps
{
namespace SdkModel
{
PlaceJu... | // Copyright eeGeo Ltd (2012-2015), All Rights Reserved
#include "PlaceJumpController.h"
#include "IPlaceJumpsModel.h"
#include "LatLongAltitude.h"
#include "Types.h"
#include "ICameraTransitionController.h"
namespace ExampleApp
{
namespace PlaceJumps
{
namespace SdkModel
{
PlaceJu... | Fix for MPLY-6024. PLacejump system now correctly converts degrees to radians for target headings. Buddy: Vimarsh | Fix for MPLY-6024. PLacejump system now correctly converts degrees to radians for target headings. Buddy: Vimarsh
| C++ | bsd-2-clause | wrld3d/wrld-example-app,wrld3d/wrld-example-app,wrld3d/wrld-example-app,wrld3d/wrld-example-app,wrld3d/wrld-example-app,eegeo/eegeo-example-app,eegeo/eegeo-example-app,eegeo/eegeo-example-app,wrld3d/wrld-example-app,eegeo/eegeo-example-app,wrld3d/wrld-example-app,wrld3d/wrld-example-app,eegeo/eegeo-example-app,eegeo/ee... |
cfe562a7adba0d35502f7b4586b8c73f65c1f28f | src/Item_WrapInstance.cc | src/Item_WrapInstance.cc | #include "Item.h"
using namespace node;
using namespace v8;
namespace node_iTunes {
// Convenience function that takes an iTunesItem instance (or any subclass)
// and wraps it up into the proper JS class type, and returns it.
// TODO: Implement some kind of Object Cache, so if the same instance is
// attemptin... | #include "Item.h"
using namespace node;
using namespace v8;
namespace node_iTunes {
// Convenience function that takes an iTunesItem instance (or any subclass)
// and wraps it up into the proper JS class type, and returns it.
// TODO: Implement some kind of Object Cache, so if the same instance is
// attemptin... | Remove NSLog statements. Add WrapInstance support for FileTrack. | Remove NSLog statements. Add WrapInstance support for FileTrack.
| C++ | mit | TooTallNate/node-iTunes,TooTallNate/node-iTunes,TooTallNate/node-iTunes |
104fbc82051158607599fb0a99db3fe9fad93d44 | src/main.cpp | src/main.cpp | // This is the starting point
//
#include <iostream>
#include <fstream>
#include <sstream>
int main() {
std::string first_input;
std::string second_input;
std::cout << "Enter the first string" << std::endl;
std::cin >> first_input;
std::cout << "Enter the second string" << std::endl;
std::cin ... | // This is the starting point
//
#include <iostream>
#include <fstream>
#include <sstream>
int main(int argc, char * argv[]) {
std::cout << "You supplied " << argc << " arguments, which were: " << std::endl;
for (size_t i = 0; i < argc; ++i) {
std::cout << argv[i] << std::endl;
}
std::string fi... | Add ability to read arguments from the command line | Add ability to read arguments from the command line
| C++ | bsd-2-clause | ambidextrousTx/RGrep-CPP |
1f4fd55178a28c779eaad0444be9fde6132592c5 | src/Game/Game_Result.cpp | src/Game/Game_Result.cpp | #include "Game/Game_Result.h"
#include <string>
#include "Game/Color.h"
#include "Utility.h"
Game_Result::Game_Result() : victor(NONE), cause()
{
}
Game_Result::Game_Result(Color winner,
const std::string& reason) :
victor(winner),
c... | #include "Game/Game_Result.h"
#include <string>
#include "Game/Color.h"
#include "Utility.h"
Game_Result::Game_Result() : victor(NONE), cause()
{
}
Game_Result::Game_Result(Color winner,
const std::string& reason) :
victor(winner),
c... | Replace tab with space to separate game result | Replace tab with space to separate game result
| C++ | mit | MarkZH/Genetic_Chess,MarkZH/Genetic_Chess,MarkZH/Genetic_Chess,MarkZH/Genetic_Chess,MarkZH/Genetic_Chess |
237af3f0d84dc45ef038b557269c0cb5b8619393 | tests/src/JIT/Directed/pinning/object-pin/mirror.cpp | tests/src/JIT/Directed/pinning/object-pin/mirror.cpp | unsigned __int32 Ret_Int(unsigned __int32 argVal){
unsigned __int32 retVal = (unsigned __int32)argVal;
return retVal;
}
unsigned __int32 Ret_Ptr(void *argVal){
unsigned __int32 retVal = (unsigned __int32)argVal;
return retVal;
}
void Set_Val(__int32 *argVal, __int32 val){
*argVal = val;;
}
void Mul_Val(__int32... | #if defined(_MSC_VER)
#define EXPORT_API extern "C" __declspec(dllexport)
#else
#define EXPORT_API extern "C" __attribute__((visibility("default")))
#endif
EXPORT_API unsigned __int32 Ret_Int(unsigned __int32 argVal){
unsigned __int32 retVal = (unsigned __int32)argVal;
return retVal;
}
EXPORT_API unsigned __int32 ... | Fix a test bug where dllexport qualifier was missing. | Fix a test bug where dllexport qualifier was missing.
| C++ | mit | poizan42/coreclr,ZhichengZhu/coreclr,wateret/coreclr,josteink/coreclr,cshung/coreclr,jamesqo/coreclr,swgillespie/coreclr,bartonjs/coreclr,yizhang82/coreclr,sperling/coreclr,pgavlin/coreclr,vinnyrom/coreclr,cmckinsey/coreclr,bartonjs/coreclr,chuck-mitchell/coreclr,bartonjs/coreclr,benpye/coreclr,alexperovich/coreclr,par... |
25e98e8a3e75a63761ea270fef0a568831866d13 | tools/clang-fuzzer/ExampleClangProtoFuzzer.cpp | tools/clang-fuzzer/ExampleClangProtoFuzzer.cpp | //===-- ExampleClangProtoFuzzer.cpp - Fuzz Clang --------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | //===-- ExampleClangProtoFuzzer.cpp - Fuzz Clang --------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | Update proto fuzzer example for r375453. | [clang-fuzzer] Update proto fuzzer example for r375453.
git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@375487 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang |
bcfdaaaa4452ff78209c672e941b6d8c7eb35137 | tests/testPathfinder.cpp | tests/testPathfinder.cpp | #include "gtest/gtest.h"
#include "maze.h"
#include "mazereader.h"
#include "mazeflooder.h"
#include "mazepathfinder.h"
#include "mazeprinter.h"
TEST(PathFinder,test){
MazeResetData();
ReadMAZFile("mazefiles/empty.maz");
FloodMazeClassic(DefaultGoal());
ASSERT_EQ(0xFE,MazeGetWalls(Home()));
int pat... | #include "gtest/gtest.h"
#include "maze.h"
#include "mazereader.h"
#include "mazeflooder.h"
#include "mazepathfinder.h"
#include "mazeprinter.h"
TEST(PathFinder,test){
MazeResetData();
ReadMAZFile("mazefiles/empty.maz");
FloodMazeClassic(DefaultGoal());
ASSERT_EQ(0xFE,MazeGetWalls(Home()));
// int p... | Disable testPathFinder. Does not terminate! | Disable testPathFinder. Does not terminate!
| C++ | mit | micromouseonline/micromouse-maze,micromouseonline/micromouse-maze,micromouseonline/micromouse-maze,micromouseonline/micromouse-maze |
ea3bfb5d4cf2731de25c2e8ac6eb3e872cfd6e76 | mert/TimerTest.cpp | mert/TimerTest.cpp | #include "Timer.h"
#define BOOST_TEST_MODULE TimerTest
#include <boost/test/unit_test.hpp>
#include <string>
#include <iostream>
#include <unistd.h>
BOOST_AUTO_TEST_CASE(timer_basic_test) {
Timer timer;
const int sleep_time_microsec = 40; // ad-hoc microseconds to pass unit tests.
timer.start();
BOOST_REQUI... | #include "Timer.h"
#define BOOST_TEST_MODULE TimerTest
#include <boost/test/unit_test.hpp>
#include <string>
#include <unistd.h>
BOOST_AUTO_TEST_CASE(timer_basic_test) {
Timer timer;
const int sleep_time_microsec = 40; // ad-hoc microseconds to pass unit tests.
timer.start();
BOOST_REQUIRE(timer.is_running(... | Delete assertions to check elapsed CPU time. | Delete assertions to check elapsed CPU time.
The accuracy of getrusage() is limited by the resolution
of software clock as described in
http://www.kernel.org/doc/man-pages/online/pages/man7/time.7.html
The assertions required a timer with microsecond accuracy.
However, we don't necessarily want the timer, and we don'... | C++ | lgpl-2.1 | hychyc07/mosesdecoder,moses-smt/mosesdecoder,alvations/mosesdecoder,emjotde/mosesdecoder_nmt,alvations/mosesdecoder,pjwilliams/mosesdecoder,hychyc07/mosesdecoder,moses-smt/mosesdecoder,moses-smt/mosesdecoder,pjwilliams/mosesdecoder,pjwilliams/mosesdecoder,emjotde/mosesdecoder_nmt,moses-smt/mosesdecoder,alvations/mosesd... |
56398e39d70b88cea71faf575166ed2fbca6e2a6 | test/C++Frontend/2005-01-03-StaticInitializers.cpp | test/C++Frontend/2005-01-03-StaticInitializers.cpp | // RUN: %llvmgxx %s -S -o - | not grep llvm.global_ctor
struct S {
int A[2];
};
int XX = (int)&(((struct S*)0)->A[1]);
| // RUN: %llvmgxx %s -S -o - | not grep llvm.global_ctor
struct S {
int A[2];
};
int XX = (int)(long)&(((struct S*)0)->A[1]);
| Make it work on 64-bit systems. | Make it work on 64-bit systems.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@36194 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | apple/swift-llvm,dslab-epfl/asap,chubbymaggie/asap,chubbymaggie/asap,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,chubbymaggie/asap,dslab-epfl/asap,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,chubbymaggie/asap,apple/swift-llvm,... |
69ee1e8219b57f66abd1f97dcc9bacc6a36fd79f | C++/pure_desctructors.cpp | C++/pure_desctructors.cpp | // http://www.geeksforgeeks.org/pure-virtual-destructor-c/
// 1) C++ Accepts pure virtual destructors, a Base class needs to provide definition for pure
// virtual destructor as well because it is being called in reverse order and compiler
// looks for its definition
// 2) class contains abstract class if it contains a... | // http://www.geeksforgeeks.org/pure-virtual-destructor-c/
// 1) C++ Accepts pure virtual destructors, a Base class needs to provide definition for pure
// virtual destructor as well because it is being called in reverse order and compiler
// looks for its definition
// 2) class contains abstract class if it contains a... | Add explaination to why virtual destructors are needed | Add explaination to why virtual destructors are needed
Signed-off-by: WajahatSiddiqui <3c3ea4adfdf19decee174766aef6add34b32b7f0@gmail.com>
| C++ | apache-2.0 | WajahatSiddiqui/Workspace,WajahatSiddiqui/Workspace,WajahatSiddiqui/Workspace |
82e2b4ceb026e347a40e803bf32d08d8ac5f298b | test_all/src/main.cpp | test_all/src/main.cpp | #include "ofMain.h"
#include "ofApp.h"
#include "ofAppGLFWWindow.h"
int main() {
ofGLFWWindowSettings settings;
settings.width = 1280;
settings.height = 720;
settings.setPosition(ofVec2f(300,0));
settings.resizable = true;
shared_ptr<ofAppBaseWindow> mainWindow = ofCreateWindow(settings);
... | #include "ofMain.h"
#include "ofApp.h"
#include "ofAppGLFWWindow.h"
int main() {
ofGLFWWindowSettings settings;
settings.width = 1280;
settings.height = 720;
settings.setPosition(ofVec2f(300,0));
settings.resizable = true;
shared_ptr<ofAppBaseWindow> mainWindow = ofCreateWindow(settings);
... | Make GUI window a bit taller | Make GUI window a bit taller
| C++ | mit | HellicarAndLewis/LectureVisualisation |
d5d2bf3e857145eb238d6f3f639aa15861c59e3f | test/Parser/cxx0x-override-control-keywords.cpp | test/Parser/cxx0x-override-control-keywords.cpp | // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
// expected-no-diagnostics
struct Base {
virtual void override();
};
struct S : Base {
virtual void final() final;
virtual void override() override;
};
struct T {
// virt-specifier-seq is only valid in member-declarators, and a function definition is not... | // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
// expected-no-diagnostics
struct Base {
virtual void override();
};
struct S : Base {
virtual void final() final;
virtual void override() override;
};
struct T : Base {
virtual void override() override { }
};
struct override;
struct Base2 {
virtual ... | Remove obsolete FIXME. override on definitions is fine. | Remove obsolete FIXME. override on definitions is fine.
git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@231053 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/cl... |
e54dfb4fa6342ec9e472189e74e78f8a6d3c435b | tasks/week3-t13/main.cpp | tasks/week3-t13/main.cpp | /*
Author: vpetrigo
Task:
,
.
.
, 0.
.
,
0 ( 0 ,
).
.
Sample Input:
1
2
1
2
1
0
Sample Output:
2
*/
#include <iostream>
using namespace std;
int main() {
int prev = -1;
int cur = -1;
bool prev_gr = false;
int cnt = 0;
while (cin >>... | /*
Author: vpetrigo
Task:
,
.
.
, 0.
.
,
0 ( 0 ,
).
.
Sample Input:
1
2
1
2
1
0
Sample Output:
2
*/
#include <iostream>
using namespace std;
int main() {
int prev = -1;
int cur = -1;
bool prev_gr = false;
int cnt = 0;
// Option 1
... | Add another solution for week 3, task 13 | Add another solution for week 3, task 13
| C++ | mit | vpetrigo/yandex-course |
d601c62ad49ddc2593dfeb3d777ad8baf4ab6acb | test/SemaCXX/invalid-member-expr.cpp | test/SemaCXX/invalid-member-expr.cpp | // RUN: %clang_cc1 -fsyntax-only -verify %s
class X {};
void test() {
X x;
x.int; // expected-error{{expected unqualified-id}}
x.~int(); // expected-error{{expected a class name}}
x.operator; // expected-error{{expected a type}}
x.operator typedef; // expected-error{{expected a type}} expected-error{{type ... | // RUN: %clang_cc1 -fsyntax-only -verify %s
class X {};
void test() {
X x;
x.int; // expected-error{{expected unqualified-id}}
x.~int(); // expected-error{{expected a class name}}
x.operator; // expected-error{{expected a type}}
x.operator typedef; // expected-error{{expected a type}} expected-error{{type ... | Add test case for rdar://11293995 | Add test case for rdar://11293995
git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@155690 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/cl... |
6c8930fe82ed413d6546861ef7f47d1001959d77 | ui/aura/toplevel_window_container.cc | ui/aura/toplevel_window_container.cc | // 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.
#include "ui/aura/toplevel_window_container.h"
#include "base/utf_string_conversions.h"
#include "ui/aura/toplevel_window_event_filter.h"
namespace ... | // 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.
#include "ui/aura/toplevel_window_container.h"
#include "base/utf_string_conversions.h"
#include "ui/aura/toplevel_window_event_filter.h"
namespace ... | Fix aura bustage on linux. | Fix aura bustage on linux.
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@104575 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | markYoungH/chromium.src,jaruba/chromium.src,littlstar/chromium.src,pozdnyakov/chromium-crosswalk,Fireblend/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,Jonekee/chromium.src,Just-D/chromium-1,jaruba/chromium.src,dushu1203/chromium.src,mogoweb/chromium-crosswalk,hgl888/chr... |
734345f9ad2f311e6ea3459b23bf98d25da95eb0 | Xcode/ESP/src/main.cpp | Xcode/ESP/src/main.cpp | #include "ofMain.h"
#include "ofApp.h"
int main( ){
ofSetupOpenGL(1024, 768, OF_WINDOW);
ofxDatGui::setAssetPath("./");
// this kicks off the running of my app
// can be OF_WINDOW or OF_FULLSCREEN
// pass in width and height too:
ofRunApp(new ofApp());
}
| #include "ofMain.h"
#include "ofApp.h"
int main( ){
ofSetupOpenGL(1024, 768, OF_WINDOW);
ofSetDataPathRoot("../Resources/data/");
ofxDatGui::setAssetPath("./");
// this kicks off the running of my app
// can be OF_WINDOW or OF_FULLSCREEN
// pass in width and height too:
ofRunApp(new ofApp... | Use the data/ directory in the Mac app bundle. | Use the data/ directory in the Mac app bundle.
So that we don’t need to distribute a data/ directory alongside the
app. It seems that the data/ director was already being copied in the
app bundle.
| C++ | bsd-3-clause | damellis/ESP,damellis/ESP |
0812b5431df465e65d4dddfaf1c5485be0d8705e | Lib/Source/Calculator.cpp | Lib/Source/Calculator.cpp | #include "Config.hpp"
#include "Calculator.hpp"
Calculator::Calculator()
{
ready = false;
}
Calculator::Calculator(int a, int b)
{
ready = false;
create(a, b);
}
Calculator::~Calculator()
{
if (valid())
{
destroy();
}
}
bool Calculator::create(int a, int b)
{
if (valid())
{... | #include "Config.hpp"
#include "Calculator.hpp"
Calculator::Calculator()
{
ready = false;
}
Calculator::Calculator(int a, int b)
{
ready = false;
create(a, b);
}
Calculator::~Calculator()
{
if (valid())
{
destroy();
}
}
bool Calculator::create(int a, int b)
{
if (valid())
{... | Fix excepion name for linux platform. | Fix excepion name for linux platform.
| C++ | mit | cristian-szabo/cmake-seed |
6817dcf228472f587017589287fcf0a84341de2c | src/announce.cc | src/announce.cc | #include <iostream>
#include <dns_sd.h>
#include <ev++.h>
#include "build_version.h"
int main(int argc, char *argv[]) {
if (2 != argc) {
std::cerr << argv[0] << " <announce file>" << std::endl;
std::cerr << "Version: " << VERSION << std::endl;
return -1;
}
return 0;
}
| #include <iostream>
#include <dns_sd.h>
#include <ev++.h>
#include "build_version.h"
inline void check_dnsservice_errors(DNSServiceErrorType& e, const std::string& func_name) {
std::string error(func_name);
error += ": ";
switch (e) {
case kDNSServiceErr_NoError:
return;
case... | Add utilty function for checking errors | Add utilty function for checking errors
If we have an error, we simply throw a runtime_error.
| C++ | isc | bertjwregeer/mdns-announce,bertjwregeer/mdns-announce |
96663e011f471c07f824466819484aa95de8f8c7 | src/CanvasView.cpp | src/CanvasView.cpp | #include "CanvasView.h"
#include <QMouseEvent>
CanvasView::CanvasView(QWidget* parent)
: QGraphicsView(parent)
{
}
CanvasView::~CanvasView()
{
}
void CanvasView::mouseReleaseEvent(QMouseEvent *event)
{
QPointF localPos = QGraphicsView::mapToScene(event->pos());
emit signalMouseReleaseEvent(localPos);
... | #include "CanvasView.h"
#include <QMouseEvent>
CanvasView::CanvasView(QWidget* parent)
: QGraphicsView(parent)
{
}
CanvasView::~CanvasView()
{
}
void CanvasView::mouseReleaseEvent(QMouseEvent *event)
{
QGraphicsView::mouseReleaseEvent(event);
QPointF localPos = QGraphicsView::mapToScene(event->pos())... | Fix mouse move item bug | Fix mouse move item bug
Close #19
| C++ | apache-2.0 | neuronalmotion/blueprint |
16f941c073a05a4682a286d42ea62d1ea96d1ab6 | chrome/browser/extensions/extension_storage_apitest.cc | chrome/browser/extensions/extension_storage_apitest.cc | // Copyright (c) 2009 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.
#include "chrome/browser/extensions/extension_apitest.h"
IN_PROC_BROWSER_TEST_F(ExtensionApiTest, Storage) {
ASSERT_TRUE(RunExtensionTest("storage"... | // Copyright (c) 2009 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.
#include "chrome/browser/extensions/extension_apitest.h"
// Started failing with r29947. WebKit merge 49961:49992.
IN_PROC_BROWSER_TEST_F(DISABLED_Ex... | Disable test failing since r29947. | Disable test failing since r29947.
TBR=tony@chromium.org
Review URL: http://codereview.chromium.org/338006
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@29966 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | adobe/chromium,ropik/chromium,adobe/chromium,ropik/chromium,gavinp/chromium,ropik/chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,yitian134/chromium,adobe/chromium,gavinp/chromium,yitian134/chromium,ropik/chromium,Crystalnix/house-of-life-chromium,yitian134/chromium,ropik/chromium,yitian134/chromium,ropik... |
4c7a504b4dc8161f7d22c3639a07345fd5567066 | deal.II/lac/source/sparse_vanka.cc | deal.II/lac/source/sparse_vanka.cc | /* $Id$ */
#include <lac/sparse_vanka.templates.h>
// explicit instantiations
template class SparseVanka<float>;
template class SparseVanka<double>;
template void SparseVanka<double>::operator () (Vector<float> &dst,
const Vector<float> &src) const;
template void SparseVanka<double>::operator () (Vector... | /* $Id$ */
#include <lac/sparse_vanka.templates.h>
// explicit instantiations
template class SparseVanka<float>;
template class SparseVanka<double>;
template void SparseVanka<double>::operator () (Vector<float> &dst,
const Vector<float> &src) const;
template void SparseVanka<double>::operator () (Vector... | Implement the block version of the Vanka smoother. | Implement the block version of the Vanka smoother.
git-svn-id: 31d9d2f6432a47c86a3640814024c107794ea77c@2306 0785d39b-7218-0410-832d-ea1e28bc413d
| C++ | lgpl-2.1 | EGP-CIG-REU/dealii,lue/dealii,andreamola/dealii,johntfoster/dealii,YongYang86/dealii,flow123d/dealii,kalj/dealii,johntfoster/dealii,rrgrove6/dealii,mtezzele/dealii,sriharisundar/dealii,lpolster/dealii,lue/dealii,adamkosik/dealii,angelrca/dealii,EGP-CIG-REU/dealii,natashasharma/dealii,JaeryunYim/dealii,jperryhouts/deali... |
8be98d780ee6d6897f220d5c787dceb0b75e5a2f | data-structures/trees/binary/main.cpp | data-structures/trees/binary/main.cpp | #include "binarytree.h"
#include <iostream>
using namespace std;
template <class T>
void dotPrint(ostream& out, typename BinaryTree<T>::Inspector treeInspector, size_t id)
{
out << id << "[label=\"" << treeInspector.getData() << "\"];" << endl;
if (treeInspector.hasLeft())
{
out << id << " -> " << id + 1 << ";"... | #include "binarytree.h"
#include <iostream>
using namespace std;
template <class T>
void dotPrint(ostream& out, typename BinaryTree<T>::Inspector treeInspector, size_t id)
{
if (treeInspector.isEmpty())
{
out << id << "[label=\"NULL\" shape=point];" << endl;
return;
}
out << id << "[label=\"" << treeInspecto... | Fix Binary Tree DOT print | Fix Binary Tree DOT print
| C++ | mit | stoimenoff/uni-cpp-samples,stoimenoff/uni-cpp-samples |
69a0eb1508bc28596af7f2b4c7646e44766eca7f | test/TestData/TestData.cpp | test/TestData/TestData.cpp | #include "TestData.h"
TEST(DataObjectTests, ScalarDataObjectHasCorrectProperties) {
float scalarValue = 5.0;
DataObject five(scalarValue);
EXPECT_EQ(five.Dim(), 0);
std::vector<int64_t> expectedShape;
EXPECT_EQ(five.Shape(), expectedShape);
EXPECT_EQ(five.GetKind(), DataKind::SCALAR);
}
TEST(D... | #include "TestData.h"
TEST(DataObjectTests, ScalarDataObjectHasCorrectProperties) {
float scalarValue = 5.0;
DataObject five(scalarValue);
EXPECT_EQ(five.Dim(), 0);
std::vector<int64_t> expectedShape;
EXPECT_EQ(five.Shape(), expectedShape);
EXPECT_EQ(five.GetKind(), DataKind::SCALAR);
}
TEST(D... | Fix hidden broken floating-point test | Fix hidden broken floating-point test
| C++ | mit | alexweav/BackpropFramework,alexweav/BackpropFramework |
54db7f2b76fc80dff0e2758cda2744d5701f890b | examples/modulus_match.cc | examples/modulus_match.cc | // Copyright (c) 2014-2015 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/ColinH/PEGTL/
#include <pegtl.hh>
namespace modulus
{
template< unsigned M, unsigned R = 0 >
struct my_rule
{
static_assert( M > 1, "Modulus must be greater than 1" );
static_... | // Copyright (c) 2014-2015 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/ColinH/PEGTL/
#include <pegtl.hh>
namespace modulus
{
template< unsigned M, unsigned R = 0 >
struct my_rule
{
using analyze_t = pegtl::analysis::generic< pegtl::analysis::rule_type:... | Use must<>, added required analyze_t for custom rule | Use must<>, added required analyze_t for custom rule
| C++ | mit | kneth/PEGTL,abduld/PEGTL,nlyan/PEGTL,ColinH/PEGTL,kneth/PEGTL,ColinH/PEGTL |
1481236ee1e90111d311d94378589eee70a4c1ad | tests/GeometryTestMain.cpp | tests/GeometryTestMain.cpp | /*
This file is part of the Geometry library.
Copyright (C) 2010-2013 Benjamin Eikel <benjamin@eikel.org>
This library is subject to the terms of the Mozilla Public License, v. 2.0.
You should have received a copy of the MPL along with this library; see the
file LICENSE. If not, you can obtain one at http://moz... | /*
This file is part of the Geometry library.
Copyright (C) 2010-2013 Benjamin Eikel <benjamin@eikel.org>
This library is subject to the terms of the Mozilla Public License, v. 2.0.
You should have received a copy of the MPL along with this library; see the
file LICENSE. If not, you can obtain one at http://moz... | Return value based on test run status | CppUnit: Return value based on test run status
| C++ | mpl-2.0 | PADrend/Geometry |
d09aac3c8701b8c0e7bd44849985f1c988160e3d | excercise04/make_random_data/make_random_data.cpp | excercise04/make_random_data/make_random_data.cpp | #include <stdlib.h>
#include <time.h>
#include "make_random_data.hpp"
int *make_data(const int size)
{
return make_data(size, RAND_MAX);
}
int *make_data(const int size, const int max)
{
srand(time(NULL)); /* Set a seed */
int *data = (int *)malloc(sizeof(int) * size);
for(int i = 0; i < size; i++)
... | #include <stdlib.h>
#include <time.h>
#include "make_random_data.hpp"
int *make_random_data(const int size)
{
return make_random_data(size, RAND_MAX);
}
int *make_random_data(const int size, const int max)
{
srand(time(NULL)); /* Set a seed */
int *data = (int *)malloc(sizeof(int) * size);
for(int i... | Fix function name which does not match with header file | Fix function name which does not match with header file
| C++ | mit | kdzlvaids/algorithm_and_practice-pknu-2016,kdzlvaids/algorithm_and_practice-pknu-2016 |
fce204c6fbe9a025e2e2c1c818acb3a44967b6ba | test/asan/TestCases/interception_failure_test.cc | test/asan/TestCases/interception_failure_test.cc | // If user provides his own libc functions, ASan doesn't
// intercept these functions.
// RUN: %clangxx_asan -O0 %s -o %t && %run %t 2>&1 | FileCheck %s
// RUN: %clangxx_asan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
// RUN: %clangxx_asan -O2 %s -o %t && %run %t 2>&1 | FileCheck %s
// RUN: %clangxx_asan -O3 %s -o %t... | // If user provides his own libc functions, ASan doesn't
// intercept these functions.
// RUN: %clangxx_asan -O0 %s -o %t && %run %t 2>&1 | FileCheck %s
// RUN: %clangxx_asan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
// RUN: %clangxx_asan -O2 %s -o %t && %run %t 2>&1 | FileCheck %s
// RUN: %clangxx_asan -O3 %s -o %t... | Fix one test on Android N. | [asan] Fix one test on Android N.
A fake strtol interceptor should at least make forward progress.
git-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@286187 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt |
8c9c9b2284b4bbd79163a303548e2462e97e82b6 | tests/test-getusername.cpp | tests/test-getusername.cpp | //! @file test-getusername.cpp
//! @author Andrew Schwartzmeyer <andschwa@microsoft.com>
//! @brief Unit tests for GetUserName
#include <string>
#include <vector>
#include <unistd.h>
#include <gtest/gtest.h>
#include <unicode/unistr.h>
#include <pwd.h>
#include "getusername.h"
//! Test fixture for GetUserName
class G... | //! @file test-getusername.cpp
//! @author Andrew Schwartzmeyer <andschwa@microsoft.com>
//! @brief Unit tests for GetUserName
#include <string>
#include <vector>
#include <unistd.h>
#include <gtest/gtest.h>
#include <unicode/unistr.h>
#include <pwd.h>
#include "getusername.h"
TEST(GetUserName, Success)
{
char* e... | Fix username tests by checking for null | Fix username tests by checking for null
| C++ | mit | jsoref/PowerShell,jsoref/PowerShell,PaulHigin/PowerShell,bmanikm/PowerShell,bingbing8/PowerShell,jsoref/PowerShell,KarolKaczmarek/PowerShell,bmanikm/PowerShell,bingbing8/PowerShell,JamesWTruher/PowerShell-1,daxian-dbw/PowerShell,bingbing8/PowerShell,bmanikm/PowerShell,JamesWTruher/PowerShell-1,TravisEz13/PowerShell,jso... |
0eb7f081ea37be5836440f9f89c02133e89ac494 | src/test/test_bitcoin.cpp | src/test/test_bitcoin.cpp | #define BOOST_TEST_MODULE Bitcoin Test Suite
#include <boost/test/unit_test.hpp>
#include "db.h"
#include "txdb.h"
#include "main.h"
#include "wallet.h"
CWallet* pwalletMain;
CClientUIInterface uiInterface;
extern bool fPrintToConsole;
extern void noui_connect();
struct TestingSetup {
CCoinsViewDB *pcoinsdbview... | #define BOOST_TEST_MODULE Bitcoin Test Suite
#include <boost/test/unit_test.hpp>
#include "db.h"
#include "txdb.h"
#include "main.h"
#include "wallet.h"
CWallet* pwalletMain;
CClientUIInterface uiInterface;
extern bool fPrintToConsole;
extern void noui_connect();
struct TestingSetup {
CCoinsViewDB *pcoinsdbview... | Fix tests after cache tweaks | Fix tests after cache tweaks
| C++ | mit | MidasPaymentLTD/midascoin,MidasPaymentLTD/midascoin,MidasPaymentLTD/midascoin,MidasPaymentLTD/midascoin,MidasPaymentLTD/midascoin |
b98df952e70266e6bcfe1a0d0f90466f105a6cc8 | ScopeReaderExample/main.cpp | ScopeReaderExample/main.cpp | #include <TString.h>
#include <DBHandler/HeaderFiles/DBHandler.h>
#include <JPetManager/JPetManager.h>
using namespace std;
int main(int argc, char* argv[])
{
DB::SERVICES::DBHandler::createDBConnection("../DBConfig/configDB.cfg");
JPetManager& manager = JPetManager::getManager();
manager.parseCmdLine(argc, argv)... | /**
* @copyright Copyright 2016 The J-PET Framework 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 find a copy of the License in the LICENCE file.
*
* Unless required by applicable law... | Add licence header to ScopeReaderExample | Add licence header to ScopeReaderExample
| C++ | apache-2.0 | JPETTomography/j-pet-framework-examples,wkrzemien/j-pet-framework-examples,wkrzemien/j-pet-framework-examples,JPETTomography/j-pet-framework-examples,JPETTomography/j-pet-framework-examples,wkrzemien/j-pet-framework-examples,JPETTomography/j-pet-framework-examples |
04cce6d2991ad91075838163f9b2b2d7ae790ea3 | programs/wanproxy/wanproxy_config_class_interface.cc | programs/wanproxy/wanproxy_config_class_interface.cc | #include <config/config_class.h>
#include <config/config_object.h>
#include <config/config_value.h>
#include "wanproxy_config_class_interface.h"
WANProxyConfigClassInterface wanproxy_config_class_interface;
bool
WANProxyConfigClassInterface::activate(ConfigObject *)
{
/* Eventually would like to do something more u... | #include <config/config_class.h>
#include <config/config_object.h>
#include <config/config_value.h>
#include "wanproxy_config_class_interface.h"
WANProxyConfigClassInterface wanproxy_config_class_interface;
bool
WANProxyConfigClassInterface::activate(ConfigObject *co)
{
if (!ConfigClassAddress::activate(co))
retu... | Call base class activation routine. | Call base class activation routine.
| C++ | bsd-2-clause | wanproxy/wanproxy,wanproxy/wanproxy,wanproxy/wanproxy |
aa14e85c70b09471b7a1ca14123ab29fb7845170 | chrome/browser/extensions/extension_bookmarks_apitest.cc | chrome/browser/extensions/extension_bookmarks_apitest.cc | // Copyright (c) 2009 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.
#include "chrome/browser/extensions/extension_apitest.h"
// Flaky, http://crbug.com/19866. Please consult phajdan.jr before re-enabling.
IN_PROC_BROW... | // Copyright (c) 2009 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.
#include "chrome/browser/extensions/extension_apitest.h"
// Flaky, http://crbug.com/19866. Please consult phajdan.jr before re-enabling.
IN_PROC_BROW... | Move ExtensionApiTest.Bookmarks from DISABLED to FLAKY since it doesn't crash. | Move ExtensionApiTest.Bookmarks from DISABLED to FLAKY since it doesn't
crash.
BUG=19866
TEST=ExtensionApiTest.Bookmarks
Review URL: http://codereview.chromium.org/465034
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@33822 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | ropik/chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,Crystalnix/house-of-life-chromium,Crystalnix/house-of-life-chromium,ropik/chromium,yitian134/chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,yitian134/chromium,Crystalnix/house-of-life-chromi... |
9acbae7c2ecc120d8c82352d583ae99f397ac16f | src/Article.cpp | src/Article.cpp | //! \file Article.cpp
#include "Article.h"
#include <algorithm>
#include "WalkerException.h"
namespace WikiWalker
{
size_t Article::countLinks() const
{
if(!analyzed_ && links_.empty()) {
throw WalkerException("Article not analyzed yet!");
}
return links_.size();
}
Article::ArticleLinkCo... | //! \file Article.cpp
#include "Article.h"
#include <algorithm>
#include "WalkerException.h"
namespace WikiWalker
{
size_t Article::countLinks() const
{
if(!analyzed_ && links_.empty()) {
throw WalkerException("Article not analyzed yet!");
}
return links_.size();
}
Article::ArticleLinkCo... | Fix nullptr access in article class | Fix nullptr access in article class
when adding a new link
| C++ | mit | dueringa/WikiWalker |
899381fb4d7e60747b2de2c36b16f1a1a1bdff82 | src/Saba/Base/Log.cpp | src/Saba/Base/Log.cpp | //
// Copyright(c) 2016-2017 benikabocha.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#include "Log.h"
#include "UnicodeUtil.h"
#include <iostream>
#if _WIN32
#include <Windows.h>
#endif // _WIN32
namespace saba
{
DefaultSink::DefaultSink()
{
m_defaultLogger = spdlog::stdout_... | //
// Copyright(c) 2016-2017 benikabocha.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#include "Log.h"
#include "UnicodeUtil.h"
#include <iostream>
#if _WIN32
#include <Windows.h>
#endif // _WIN32
namespace saba
{
DefaultSink::DefaultSink()
{
m_defaultLogger = spdlog::stdout_... | Set the output code page UTF-8.(Windows) | Set the output code page UTF-8.(Windows)
| C++ | mit | benikabocha/saba,benikabocha/saba,benikabocha/saba,benikabocha/saba |
5782964a4c3fa6447eb2f9394b3bf4ab3fff7788 | linux/main.cpp | linux/main.cpp | /**
* @file main.cpp
* @author Volodymyr Shymanskyy
* @license This project is released under the MIT License (MIT)
* @copyright Copyright (c) 2015 Volodymyr Shymanskyy
* @date Mar 2015
* @brief
*/
//#define BLYNK_DEBUG
#define BLYNK_PRINT stdout
#ifdef RASPBERRY
#include <BlynkApiWiringPi... | /**
* @file main.cpp
* @author Volodymyr Shymanskyy
* @license This project is released under the MIT License (MIT)
* @copyright Copyright (c) 2015 Volodymyr Shymanskyy
* @date Mar 2015
* @brief
*/
//#define BLYNK_DEBUG
#define BLYNK_PRINT stdout
#ifdef RASPBERRY
#include <BlynkApiWiringPi... | Fix linux build and update example | Fix linux build and update example
| C++ | mit | ivankravets/blynk-library,ivankravets/blynk-library,blynkkk/blynk-library,ivankravets/blynk-library,blynkkk/blynk-library,ivankravets/blynk-library,blynkkk/blynk-library,blynkkk/blynk-library,blynkkk/blynk-library,ivankravets/blynk-library |
a5c0feee868866bf8d33bdf7e664822246610295 | test/main.cc | test/main.cc | /*
* main.cc
*
* Copyright (c) 2015 Masatoshi Hanai
*
* This software is released under MIT License.
* See LICENSE.
*
*/
#include "glog/logging.h"
#include "gflags/gflags.h"
#include "gtest/gtest.h"
#include "leveldb/db.h"
#include "leveldb/options.h"
/* test files */
#include "medium/com_test.cc"
#include ... | /*
* main.cc
*
* Copyright (c) 2015 Masatoshi Hanai
*
* This software is released under MIT License.
* See LICENSE.
*
*/
#include "glog/logging.h"
#include "gflags/gflags.h"
#include "gtest/gtest.h"
#include "leveldb/db.h"
#include "leveldb/options.h"
/* test files */
#include "medium/com_test.cc"
#include ... | Fix bug for parsing google test flags | Fix bug for parsing google test flags
| C++ | mit | masatoshihanai/ScaleSim |
0872f9c292f9566bf8871a76d4d7b5baedb50f17 | searchcore/src/vespa/searchcore/proton/matching/search_session.cpp | searchcore/src/vespa/searchcore/proton/matching/search_session.cpp | // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "search_session.h"
#include "match_tools.h"
#include "match_context.h"
namespace proton::matching {
SearchSession::SearchSession(const SessionId &id, fastos::TimeStamp time_of_doom,
... | // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "search_session.h"
#include "match_tools.h"
#include "match_context.h"
namespace proton::matching {
SearchSession::SearchSession(const SessionId &id, fastos::TimeStamp time_of_doom,
... | Use = default for default constructor. | Use = default for default constructor.
| C++ | apache-2.0 | vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa |
bda80f1050afd46b8bf0993da664478c5693c733 | runtime/cpp/BaseString.cpp | runtime/cpp/BaseString.cpp | #include "BaseString.hpp"
// Apparently, strdup isn't a standard function, and isn't in <cstring>
char* strdup(const char *s) throw () {
auto n = strlen(s);
auto d = new char[n + 1];
return static_cast<char*>(memcpy(d, s, n + 1));
}
namespace K3 {
template<>
std::size_t hash_value<K3::base_string>(const K3:... | #include "BaseString.hpp"
// Apparently, strdup isn't a standard function, and isn't in <cstring>
char* strdup(const char *s) throw () {
if (!s) {
return nullptr;
}
auto n = strlen(s);
auto d = new char[n + 1];
return static_cast<char*>(memcpy(d, s, n + 1));
}
namespace K3 {
template<>
std::size_t ... | Fix strdup behavior on nullptr. | Fix strdup behavior on nullptr.
| C++ | apache-2.0 | yliu120/K3,DaMSL/K3,DaMSL/K3 |
4e6327fdb2a5d0d2a52ddabb6e1c4fc3e0b381ac | index_queue.cc | index_queue.cc | // index_queue.cc
// Copyright (c) 2014 Jinglei Ren <jinglei@ren.systems>
#include "index_queue.h"
void IndexQueue::Remove(int i) {
assert(i >= 0);
const int prev = array_[i].first;
const int next = array_[i].second;
if (prev == -EINVAL) {
assert(Front() == i);
SetFront(next);
} else {
array_[p... | // index_queue.cc
// Copyright (c) 2014 Jinglei Ren <jinglei@ren.systems>
#include "index_queue.h"
using namespace std;
void IndexQueue::Remove(int i) {
assert(i >= 0);
const int prev = array_[i].first;
const int next = array_[i].second;
if (prev == -EINVAL) {
assert(Front() == i);
SetFront(next);
... | Fix bug: visitor to IndexQueue may have side effects on first/second. | Fix bug: visitor to IndexQueue may have side effects on first/second.
| C++ | apache-2.0 | basicthinker/Sexain-MemController,basicthinker/Sexain-MemController,basicthinker/Sexain-MemController,basicthinker/Sexain-MemController,basicthinker/Sexain-MemController,basicthinker/Sexain-MemController,basicthinker/Sexain-MemController,basicthinker/Sexain-MemController |
77434aed662b9b361d1db6169e042f904576c26a | test/direct_tree_test.cpp | test/direct_tree_test.cpp | #include "gtest/gtest.h"
#include "test/support.hpp"
namespace fgt {
TEST(DirectTree, MatchesDirect) {
auto source = load_ascii_test_matrix("X.txt");
auto target = load_ascii_test_matrix("Y.txt");
auto expected = direct(source, target, 0.5);
auto actual = direct_tree(source, target, 0.5, 1e-4);
E... | #include "gtest/gtest.h"
#include "test/support.hpp"
namespace fgt {
TEST(DirectTree, MatchesDirect) {
auto source = load_ascii_test_matrix("X.txt");
auto target = load_ascii_test_matrix("Y.txt");
double bandwidth = 0.5;
auto expected = direct(source, target, bandwidth);
double epsilon = 1e-4;
... | Test epsilon in direct tree | Test epsilon in direct tree
| C++ | lgpl-2.1 | gadomski/fgt,gadomski/fgt,gadomski/fgt |
36aa39f4e1cd47b2019d43fcb89cc84da0ba380f | src/test/TestAnt.cpp | src/test/TestAnt.cpp | #include "gtest/gtest.h"
#include "Ant.h"
TEST(AntTest, NewAntIsAlive)
{
Ant a1;
EXPECT_EQ(true, a1.isAlive());
}
TEST(AntTest, NewAntIsAgeZero)
{
Ant a1;
EXPECT_EQ(0, a1.getAge());
}
TEST(AntTest, AntAgesAfterUpdate)
{
Ant a1;
a1.update();
EXPECT_EQ(1, a1.getAge());
}
TEST(AntTest, AntDiesAfterMaxAge)
{
An... | #include "gtest/gtest.h"
#include "Ant.h"
TEST(AntTest, NewAntIsAlive)
{
Ant a1;
EXPECT_TRUE(a1.isAlive());
}
TEST(AntTest, NewAntIsAgeZero)
{
Ant a1;
EXPECT_EQ(0, a1.getAge());
}
TEST(AntTest, AntAgesAfterUpdate)
{
Ant a1;
a1.update();
EXPECT_EQ(1, a1.getAge());
}
TEST(AntTest, AntDiesAfterMaxAge)
{
Ant a1... | Switch to using EXPECT_TRUE instead of EXPECT_EQ | Switch to using EXPECT_TRUE instead of EXPECT_EQ
| C++ | mit | Kromey/antlife,Kromey/antlife,Kromey/antlife,Kromey/antlife |
5b44ca3da77532a29def25d8db8a7398ab2affdd | bin/data/scenes/mgsVeraMolnarLineStudy/exampleCode.cpp | bin/data/scenes/mgsVeraMolnarLineStudy/exampleCode.cpp | // An Homage to Vera Molnar's "An Homange to Durer"
SquareSize = [[Square Size]]
gridHeight = [[Grid Height]]
gridWidth = [[Grid Width]]
columnCounter = [[shiftCounter]]
rowCounter = [[rowCounter]]
if(columnCounter < [[gridWidth]]) {
drawVeraLines([[columnCounter]], [[rowCounter]])
columnCounter++;
} else if ([[r... | // An homage to Vera Molnar's "Hommage a Durer"
SquareSize = [[Square Size]]
gridHeight = [[Grid Height]]
gridWidth = [[Grid Width]]
columnCounter = [[shiftCounter]]
rowCounter = [[rowCounter]]
if(columnCounter < [[gridWidth]]) {
drawVeraLines([[columnCounter]], [[rowCounter]])
columnCounter++;
} else if ([[rowCo... | Fix typo in pseudocode comment | Fix typo in pseudocode comment
| C++ | mit | sh0w/recoded,sh0w/recoded,sh0w/recoded,ofZach/dayForNightSFPC,ofZach/dayForNightSFPC,ofZach/dayForNightSFPC,sh0w/recoded,ofZach/dayForNightSFPC |
df60e10ead7028b7b7d87d4c4c4d42dd8e8e398c | Source/Texture/TextureAtlas.cpp | Source/Texture/TextureAtlas.cpp | #include "TextureAtlas.h"
TextureAtlas::TextureAtlas(const std::string& textureFileName)
{
sf::Image i;
if (!i.loadFromFile("Res/Textures/" + textureFileName + ".png"))
{
throw std::runtime_error("Unable to open image: " + textureFileName);
}
loadFromImage(i);
m_imageSize =... | #include "TextureAtlas.h"
#include <array>
TextureAtlas::TextureAtlas(const std::string& textureFileName)
{
sf::Image i;
if (!i.loadFromFile("Res/Textures/" + textureFileName + ".png"))
{
throw std::runtime_error("Unable to open image: " + textureFileName);
}
loadFromImage(i);
m_imageS... | Fix to compile on MacOSX | Fix to compile on MacOSX
Include <array> to compile on MacOSX | C++ | mit | Hopson97/MineCraft-One-Week-Challenge,Hopson97/MineCraft-One-Week-Challenge,Hopson97/MineCraft-One-Week-Challenge |
0e527c1f974666ecf6f894f6b7eedb0d91222552 | luna/main.cpp | luna/main.cpp | #include <QApplication>
#include <QDeclarativeView>
#include <QUrl>
#include <qplatformdefs.h>
#include <LunaWebView.h>
#if defined(MEEGO_EDITION_HARMATTAN)
#include <MDeclarativeCache>
#define NEW_QAPPLICATION(x, y) MDeclarativeCache::qApplication((x), (y))
Q_DECL_EXPORT
#else
#define NEW_QAPPLICATIO... | #include <QApplication>
#include <QDeclarativeView>
#include <QUrl>
#include <QScopedPointer>
#include <qplatformdefs.h>
#include <LunaWebView.h>
#if defined(MEEGO_EDITION_HARMATTAN)
#include <MDeclarativeCache>
#define NEW_QAPPLICATION(x, y) MDeclarativeCache::qApplication((x), (y))
Q_DECL_EXPORT
#else
... | Delete qApp instance on exit. | Delete qApp instance on exit.
| C++ | lgpl-2.1 | qtproject/qt-apps-snowshoe,snowshoe/snowshoe,snowshoe/snowshoe,snowshoe/snowshoe,qtproject/qt-apps-snowshoe,qtproject/qt-apps-snowshoe |
bbe9665ee0c9eeef027945c5d1751cc47cfcecaf | bullet_cpp/src/btBoost/btBoostWrapper.cpp | bullet_cpp/src/btBoost/btBoostWrapper.cpp | // File: btBoostWrapper.cpp
#ifndef _btBoostWrapper_cpp
#define _btBoostWrapper_cpp
#pragma GCC diagnostic ignored "-Wunused-variable"
#pragma GCC diagnostic ignored "-Wreorder"
#include <boost/python.hpp>
#include <btBoost/btBoostLinearMath.hpp>
#include <btBoost/btBoostDynamics.hpp>
using namespace boost::python;
... | // File: btBoostWrapper.cpp
#ifndef _btBoostWrapper_cpp
#define _btBoostWrapper_cpp
#pragma GCC diagnostic ignored "-Wunused-variable"
#pragma GCC diagnostic ignored "-Wreorder"
#include <boost/python.hpp>
#include <btBoost/btBoostLinearMath.hpp>
#include <btBoost/btBoostDynamics.hpp>
#include <btBoost/btBoostHello.h... | Define a simple hello method for scratch testing | Define a simple hello method for scratch testing
| C++ | mit | Klumhru/boost-python-bullet,Klumhru/boost-python-bullet,Klumhru/boost-python-bullet |
d131377b3f9adccd09b49d9c6c6e6906689ae381 | test/SemaCXX/attr-deprecated-replacement-error.cpp | test/SemaCXX/attr-deprecated-replacement-error.cpp | // RUN: %clang_cc1 -triple x86_64-apple-darwin9 -verify -fsyntax-only -std=c++11 -fms-extensions %s
#if !__has_feature(attribute_deprecated_with_replacement)
#error "Missing __has_feature"
#endif
int a1 [[deprecated("warning", "fixit")]]; // expected-error{{'deprecated' attribute takes no more than 1 argument}}
int a... | // RUN: %clang_cc1 -triple x86_64-apple-darwin9 -verify -fsyntax-only -std=c++11 -fms-extensions %s
#if !__has_feature(attribute_deprecated_with_replacement)
#error "Missing __has_feature"
#endif
int a1 [[deprecated("warning", "fixit")]]; // expected-warning{{use of the 'deprecated' attribute is a C++14 extension}} e... | Update testing case on swift-3.0 branch. | Update testing case on swift-3.0 branch.
| C++ | apache-2.0 | apple/swift-clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,apple/swift-clang |
f40de19180b792591af0639eeb19c00a3951ee74 | chrome/test/perf/perftests.cc | chrome/test/perf/perftests.cc | // Copyright (c) 2006-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.
#include "base/message_loop.h"
#include "base/perf_test_suite.h"
#include "chrome/common/chrome_paths.cc"
int main(int argc, char **argv) {
ch... | // Copyright (c) 2006-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.
#include "base/message_loop.h"
#include "base/perf_test_suite.h"
#include "chrome/common/chrome_paths.cc"
int main(int argc, char **argv) {
Pe... | Fix error [FATAL:at_exit.cc(40)] Check failed: false. Tried to RegisterCallback without an AtExitManager in (possibly unused) binary perf_tests | Fix error
[FATAL:at_exit.cc(40)] Check failed: false. Tried to RegisterCallback without an AtExitManager
in (possibly unused) binary perf_tests
Review URL: http://codereview.chromium.org/60103
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@13899 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | PeterWangIntel/chromium-crosswalk,hujiajie/pa-chromium,ondra-novak/chromium.src,ondra-novak/chromium.src,Pluto-tv/chromium-crosswalk,krieger-od/nwjs_chromium.src,timopulkkinen/BubbleFish,Fireblend/chromium-crosswalk,hgl888/chromium-crosswalk,ondra-novak/chromium.src,Pluto-tv/chromium-crosswalk,nacl-webkit/chrome_deps,c... |
c8bf41256348b38ead02bce371bf4e03df7cd274 | wrappers/src/object-store/src/impl/generic/external_commit_helper.cpp | wrappers/src/object-store/src/impl/generic/external_commit_helper.cpp | ////////////////////////////////////////////////////////////////////////////
//
// Copyright 2015 Realm Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/li... | ////////////////////////////////////////////////////////////////////////////
//
// Copyright 2015 Realm Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/li... | Change generic external commit helper to just be commented out for now | Change generic external commit helper to just be commented out for now
| C++ | apache-2.0 | Shaddix/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet,realm/realm-dotnet,Shaddix/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet |
a29294310cd1185259166607ce5fccbd2c54de86 | src/Thread/Win/MutexImpl.cpp | src/Thread/Win/MutexImpl.cpp | #include "Thread/Win/MutexImpl.hh"
#include "Thread/ThreadException.hh"
namespace LilWrapper
{
MutexImpl::MutexImpl()
{
InitializeCriticalSection(&this->_mutex);
}
MutexImpl::~MutexImpl()
{
DeleteCriticalSection(&this->_mutex);
}
void MutexImpl::lock()
{
EnterCriticalSection(&this->_mutex... | #include "Thread/Win/MutexImpl.hh"
#include "Thread/ThreadException.hh"
namespace LilWrapper
{
MutexImpl::MutexImpl()
{
InitializeCriticalSection(&this->_mutex);
}
MutexImpl::~MutexImpl()
{
DeleteCriticalSection(&this->_mutex);
}
void MutexImpl::lock()
{
EnterCriticalSection(&this->_mutex... | Add trylock in Windows implementation of mutex. | Add trylock in Windows implementation of mutex.
| C++ | mit | aliou/lilwrapper |
00b4a1b4b87ba3177230f64998343d95dfafdff3 | chrome/browser/extensions/extension_storage_apitest.cc | chrome/browser/extensions/extension_storage_apitest.cc | // Copyright (c) 2009 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.
#include "chrome/browser/extensions/extension_apitest.h"
IN_PROC_BROWSER_TEST_F(ExtensionApiTest, Storage) {
ASSERT_TRUE(RunExtensionTest("storage"... | // Copyright (c) 2009 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.
#include "chrome/browser/extensions/extension_apitest.h"
// Started failing with r29947. WebKit merge 49961:49992.
IN_PROC_BROWSER_TEST_F(DISABLED_Ex... | Disable test failing since r29947. | Disable test failing since r29947.
TBR=tony@chromium.org
Review URL: http://codereview.chromium.org/338006
git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@29966 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
| 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 |
6e19c7252f2a73f2e497ba6ee90284437261f3bf | src/searchclient/histogram.cpp | src/searchclient/histogram.cpp | #include "histogram.h"
#include <QPainter>
#include <QDebug>
Histogram::Histogram(QWidget* p) :QWidget(p) {
}
void
Histogram::setData(const QList<QPair<QString,quint32> >& d) {
data = d;
update();
}
typedef QPair<QString, quint32> StringUIntPair;
void
Histogram::paintEvent(QPaintEvent *) {
if (data.size() ... | #include "histogram.h"
#include <QPainter>
#include <QDebug>
Histogram::Histogram(QWidget* p) :QWidget(p) {
}
void
Histogram::setData(const QList<QPair<QString,quint32> >& d) {
data = d;
update();
}
typedef QPair<QString, quint32> StringUIntPair;
void
Histogram::paintEvent(QPaintEvent *) {
if (data.size() ... | Use qreal instead of int for painting. | Use qreal instead of int for painting.
svn path=/trunk/playground/base/strigi/; revision=610163
| C++ | lgpl-2.1 | KDE/strigi |
fe7d400c8883fe065bf368767b32cc72c20da039 | src/transportserverdummy_p.cpp | src/transportserverdummy_p.cpp | /*
** Copyright (C) 2012 Aldebaran Robotics
** See COPYING for the license
*/
#include <iostream>
#include <qi/log.hpp>
#include <qimessaging/session.hpp>
#include <qimessaging/url.hpp>
#include "transportserver_p.hpp"
#include "transportserverdummy_p.hpp"
namespace qi
{
bool TransportServerDummyPrivate::listen()... | /*
** Copyright (C) 2012 Aldebaran Robotics
** See COPYING for the license
*/
#include <iostream>
#include <qi/log.hpp>
#include <qimessaging/session.hpp>
#include <qimessaging/url.hpp>
#include "transportserver_p.hpp"
#include "transportserverdummy_p.hpp"
namespace qi
{
bool TransportServerDummyPrivate::listen()... | Revert "TransportServerDummy: no log on close" | Revert "TransportServerDummy: no log on close"
This reverts commit 77896788c168ab6b031037be96f28486da97c557.
| C++ | bsd-3-clause | vbarbaresi/libqi,aldebaran/libqi-java,aldebaran/libqi,aldebaran/libqi,aldebaran/libqi-java,bsautron/libqi,aldebaran/libqi-java,aldebaran/libqi |
1e706a3e98be9dfac2b187afb59ade7405977646 | test/asan/TestCases/Posix/new_array_cookie_with_new_from_class.cc | test/asan/TestCases/Posix/new_array_cookie_with_new_from_class.cc | // Test that we do not poison the array cookie if the operator new is defined
// inside the class.
// RUN: %clangxx_asan %s -o %t && %run %t
//
// XFAIL: android
// XFAIL: armv7l-unknown-linux-gnueabihf
#include <new>
#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include <assert.h>
struct Foo {
void *o... | // Test that we do not poison the array cookie if the operator new is defined
// inside the class.
// RUN: %clangxx_asan %s -o %t && %run %t
//
// XFAIL: arm
#include <new>
#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include <assert.h>
struct Foo {
void *operator new(size_t s) { return Allocate(s); }... | Disable array cookie test on ARM, enable on Android/x86. | [asan] Disable array cookie test on ARM, enable on Android/x86.
The failure is caused by the missing implementation of array cookie
poisoning in Clang for ARMCXXABI and has nothing to do with Android
(and the test passes on Android/x86).
git-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@246832 91177308-0d34-0410-b... | C++ | apache-2.0 | llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt |
e6a00522a394bec0866381e8241deced4ddb6191 | test/matcherexception.cpp | test/matcherexception.cpp | #include "matcherexception.h"
#include "3rd-party/catch.hpp"
using namespace newsboat;
extern "C" {
MatcherErrorFfi rs_get_test_attr_unavail_error();
MatcherErrorFfi rs_get_test_invalid_regex_error();
}
TEST_CASE("Can be constructed from Rust error returned over FFI",
"[MatcherException]")
{
SECTION("Attribute ... | #include "matcherexception.h"
#include "3rd-party/catch.hpp"
#include <cstring>
using namespace newsboat;
extern "C" {
MatcherErrorFfi rs_get_test_attr_unavail_error();
MatcherErrorFfi rs_get_test_invalid_regex_error();
}
TEST_CASE("Can be constructed from Rust error returned over FFI",
"[MatcherException]")
{
... | Test that MatcherException::what() returns non-empty string | Test that MatcherException::what() returns non-empty string
| C++ | mit | der-lyse/newsboat,newsboat/newsboat,der-lyse/newsboat,newsboat/newsboat,der-lyse/newsboat,der-lyse/newsboat,der-lyse/newsboat,newsboat/newsboat,newsboat/newsboat,der-lyse/newsboat,newsboat/newsboat,newsboat/newsboat,der-lyse/newsboat,newsboat/newsboat,der-lyse/newsboat,newsboat/newsboat |
83d3aad50e64704109d9fd745b799f3c5bf0f412 | lib/System/Darwin/MappedFile.cpp | lib/System/Darwin/MappedFile.cpp | //===- Darwin/MappedFile.cpp - Darwin MappedFile Implementation -*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by Reid Spencer and is distributed under the
// University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===------------------... | //===- Darwin/MappedFile.cpp - Darwin MappedFile Implementation -*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by Reid Spencer and is distributed under the
// University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===------------------... | Allow this file to compile on Darwin. | Allow this file to compile on Darwin.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@16971 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | GPUOpen-Drivers/llvm,llvm-mirror/llvm,dslab-epfl/asap,dslab-epfl/asap,GPUOpen-Drivers/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,chubbymaggie/asap,apple/swift-llvm,dslab-epfl/asap,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,GPUOpen-Driver... |
ea56e917ec8ce2c457841366f32c112254db7ddc | src/trailing-return-type.cpp | src/trailing-return-type.cpp | // Check if trailing return types are supported
#include <algorithm>
#include <vector>
void fun() {
int val = 0;
std::vector<int> v{0, 1, 2, 4, 8};
std::sort(v.begin(), v.end(),
[&](int i, int j)->bool{ val++; return i < j && val++ < i; });
}
| // Check if trailing return types are supported
#include <algorithm>
#include <vector>
void fun() {
int val = 0;
std::vector<int> v(5);
std::sort(v.begin(), v.end(),
[&](int i, int j)->bool{ val++; return i < j && val++ < i; });
}
| Make independent of initializer list support. | Make independent of initializer list support.
| C++ | mit | sloede/cxx11tests,sloede/cxx11tests,sloede/cxx11tests |
b0d39ce6ddccf0a72414b3b2d31f2b213dd14a5b | src/el_li.cpp | src/el_li.cpp | #include "html.h"
#include "el_li.h"
#include "document.h"
litehtml::el_li::el_li(const std::shared_ptr<litehtml::document>& doc) : litehtml::html_tag(doc)
{
}
int litehtml::el_li::render(int x, int y, int max_width, bool second_pass)
{
if (m_list_style_type >= list_style_type_armenian && !m_index_initialized)
{
... | #include "html.h"
#include "el_li.h"
#include "document.h"
litehtml::el_li::el_li(const std::shared_ptr<litehtml::document>& doc) : litehtml::html_tag(doc)
{
}
int litehtml::el_li::render(int x, int y, int max_width, bool second_pass)
{
if (m_list_style_type >= list_style_type_armenian && !m_index_initialized)
{
... | Handle start attribute in ordered lists | Handle start attribute in ordered lists
Handles the start attribute in:
```html
<ol start=2>
<li>xyz</li>
</ol>
```
| C++ | bsd-3-clause | litehtml/litehtml,litehtml/litehtml |
a9ca98651caf3ec4075c415877351e76b2e5fde3 | test/CodeGenCXX/debug-info-pubtypes.cpp | test/CodeGenCXX/debug-info-pubtypes.cpp | // REQUIRES: x86-registered-target
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -g -fstandalone-debug -S -mllvm -generate-dwarf-pub-sections=Enable %s -o - | FileCheck %s
// FIXME: This testcase shouldn't rely on assembly emission.
//CHECK: Lpubtypes_begin[[SECNUM:[0-9]:]]
//CHECK: .asciz "G"
//CHECK-NE... | // REQUIRES: x86-registered-target
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -g -fstandalone-debug -S -mllvm -generate-dwarf-pub-sections=Enable %s -o - | FileCheck %s
// FIXME: This testcase shouldn't rely on assembly emission.
//CHECK: LpubTypes_begin[[SECNUM:[0-9]:]]
//CHECK: .asciz "G"
//CHECK-NE... | Fix test for LLVM change r203619 | DebugInfo: Fix test for LLVM change r203619
I'll fix this to not test assembly in a moment.
git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@203623 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/cl... |
9d7b9dbd45c0ae347200d58ebf8bba071dbbf283 | tools/mugen-converter/src/test/main.cpp | tools/mugen-converter/src/test/main.cpp | #include <iostream>
#include <Python.h>
#include "character.h"
using namespace std;
static int error(const std::string & message){
std::cout << message << std::endl;
//PyErr_Print();
return -1;
}
int main(int argc, char ** argv){
if (argc > 1){
Py_Initialize();
/* NOTE need... | #include <iostream>
#include <Python.h>
#include "character.h"
using namespace std;
static int error(const std::string & message){
std::cout << message << std::endl;
//PyErr_Print();
return -1;
}
int main(int argc, char ** argv){
if (argc > 1){
Py_Initialize();
/* NOTE need... | Correct usage line, no need to include .py in module name. | Correct usage line, no need to include .py in module name.
| C++ | bsd-3-clause | scristopher/paintown,scristopher/paintown,scristopher/paintown,scristopher/paintown,scristopher/paintown,scristopher/paintown,scristopher/paintown,scristopher/paintown |
c19933883c8c5d529600003fb21c97dac68b619b | test/main.cpp | test/main.cpp | /*************************************************************************
*
* Copyright 2016 Realm Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/lice... | /*************************************************************************
*
* Copyright 2016 Realm Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/lice... | Make realm-tests switch to test directory upon start | Make realm-tests switch to test directory upon start
Change-Id: If5c972c79fc999c85c3dd7094fd5b64ec1c74446
| C++ | apache-2.0 | realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core |
a03c5b183b850751fbd36e58ababf9564106e5fb | chrome/browser/sync/glue/chrome_report_unrecoverable_error.cc | chrome/browser/sync/glue/chrome_report_unrecoverable_error.cc | // 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.
#include "chrome/browser/sync/glue/chrome_report_unrecoverable_error.h"
#include "base/rand_util.h"
#include "build/build_config.h"
#if defined(OS_W... | // 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.
#include "chrome/browser/sync/glue/chrome_report_unrecoverable_error.h"
#include "base/rand_util.h"
#include "build/build_config.h"
#if defined(OS_W... | Stop uploading unrecoverable errors to breakpad in preparation for beta. | Stop uploading unrecoverable errors to breakpad in preparation for beta.
BUG=
TEST=
Review URL: http://codereview.chromium.org/10384015
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@135472 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | mogoweb/chromium-crosswalk,ondra-novak/chromium.src,TheTypoMaster/chromium-crosswalk,dushu1203/chromium.src,junmin-zhu/chromium-rivertrail,anirudhSK/chromium,mogoweb/chromium-crosswalk,pozdnyakov/chromium-crosswalk,markYoungH/chromium.src,ltilve/chromium,hgl888/chromium-crosswalk-efl,patrickm/chromium.src,pozdnyakov/ch... |
9fa19db0eb2fffd24a1ed62e2cce546250555f97 | test/asan/TestCases/Posix/coverage-maybe-open-file.cc | test/asan/TestCases/Posix/coverage-maybe-open-file.cc | // FIXME: https://code.google.com/p/address-sanitizer/issues/detail?id=316
// XFAIL: android
//
// RUN: %clangxx_asan -fsanitize-coverage=func %s -o %t
// RUN: rm -rf %T/coverage-maybe-open-file
// RUN: mkdir -p %T/coverage-maybe-open-file && cd %T/coverage-maybe-open-file
// RUN: %env_asan_opts=coverage=1 %run %t | Fi... | // FIXME: https://code.google.com/p/address-sanitizer/issues/detail?id=316
// XFAIL: android
//
// RUN: %clangxx_asan -fsanitize-coverage=func %s -o %t
// RUN: rm -rf %T/coverage-maybe-open-file
// RUN: mkdir -p %T/coverage-maybe-open-file && cd %T/coverage-maybe-open-file
// RUN: %env_asan_opts=coverage=1 %run %t | Fi... | Use FileCheck instead of [. | Use FileCheck instead of [.
git-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@299081 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt |
63fd4c81681931d63207b076feb7d60c6c45f43d | test/asan/TestCases/Windows/shadow_mapping_failure.cc | test/asan/TestCases/Windows/shadow_mapping_failure.cc | // RUN: %clang_cl_asan -O0 %s -Fe%t
// RUN: not %run %t 2>&1 | FileCheck %s
#include <stdio.h>
char bigchunk[1 << 30];
int main() {
printf("Hello, world!\n");
scanf("%s", bigchunk);
// CHECK-NOT: Hello, world!
// CHECK: Shadow memory range interleaves with an existing memory mapping.
// CHECK: ASan shadow was su... | // RUN: %clang_cl_asan -O0 %s -Fe%t
// RUN: not %run %t 2>&1 | FileCheck %s
#include <stdio.h>
char bigchunk[1 << 30];
int main() {
printf("Hello, world!\n");
scanf("%s", bigchunk);
// CHECK-NOT: Hello, world!
// CHECK: Shadow memory range interleaves with an existing memory mapping.
// CHECK: ASan shadow was su... | Remove CHECK line for kernel32.dll | [asan] Remove CHECK line for kernel32.dll
Windows 8 users report that it isn't present in the address space by
default anymore.
Fixes PR23773.
git-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@242958 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt |
610ac5b045e03bd666d054d7aca01b34a421c8fc | browser/atom_javascript_dialog_manager.cc | browser/atom_javascript_dialog_manager.cc | // Copyright (c) 2013 GitHub, Inc. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "browser/atom_javascript_dialog_manager.h"
#include "base/utf_string_conversions.h"
namespace atom {
void AtomJavaScriptDialogManager::RunBeforeUnl... | // Copyright (c) 2013 GitHub, Inc. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "browser/atom_javascript_dialog_manager.h"
#include "base/utf_string_conversions.h"
namespace atom {
void AtomJavaScriptDialogManager::RunBeforeUnl... | Revert ":lipstick: for the beforeunload handler." | Revert ":lipstick: for the beforeunload handler."
Restore the previous behavior of beforeunload handler.
This reverts commit b1f30c1eb609c8abab2db791cbbf0b01373564b1.
| C++ | mit | jhen0409/electron,shaundunne/electron,minggo/electron,dahal/electron,posix4e/electron,aichingm/electron,vipulroxx/electron,tylergibson/electron,takashi/electron,kostia/electron,IonicaBizauKitchen/electron,fireball-x/atom-shell,sky7sea/electron,arturts/electron,bbondy/electron,renaesop/electron,mirrh/electron,seanchas11... |
60b90ce4058c6a324898b212e90e398fe4094ff2 | src/game.cpp | src/game.cpp | #include "game.hpp"
#include "window.hpp"
#include "clock.hpp"
#include "events.hpp"
#include <iostream>
// "Game" specific data
namespace {
bool gIsRunning = false;
class GameEventEar : public EventEar {
public:
void onWindowClose()
{
Game::stop();
}
};
GameEventEar gEar;
}
void Game::run()
{
// D... | #include "game.hpp"
#include "window.hpp"
#include "clock.hpp"
#include "events.hpp"
#include <iostream>
// "Game" specific data
namespace {
bool gIsRunning = false;
class GameEventEar : public EventEar {
public:
void onWindowClose()
{
Game::stop();
}
};
GameEventEar gEar;
}
void Game::run()
{
// D... | Fix mistaken local variable name. | Fix mistaken local variable name.
| C++ | unlicense | jamiesyme/CozyCape |
f3571bbd82768edb86ab4ae16efee7a2a706621f | src/midi.cpp | src/midi.cpp | #include <nan.h>
#include "input.h"
#include "output.h"
Nan::Persistent<v8::FunctionTemplate> NodeMidiInput::s_ct;
Nan::Persistent<v8::FunctionTemplate> NodeMidiOutput::s_ct;
extern "C" {
void init (v8::Local<v8::Object> target)
{
NodeMidiOutput::Init(target);
NodeMidiInput::Init(target);
... | #include <nan.h>
#include "input.h"
#include "output.h"
Nan::Persistent<v8::FunctionTemplate> NodeMidiInput::s_ct;
Nan::Persistent<v8::FunctionTemplate> NodeMidiOutput::s_ct;
NAN_MODULE_INIT(InitAll) {
NodeMidiOutput::Init(target);
NodeMidiInput::Init(target);
}
NODE_MODULE(midi, InitAll)
| Use the NAN module init. | Use the NAN module init.
| C++ | mit | justinlatimer/node-midi,justinlatimer/node-midi,justinlatimer/node-midi |
64022261e3b5f8c98b0753c09588429bfb12a040 | src/main.cpp | src/main.cpp | #include <iostream>
#include <vector>
#include "MuMaterial.h"
#include "rhythm.hpp"
using namespace std;
void PrintVector (vector<float> v, string message);
int main ()
{
MuInit();
Rhythm rhythm(4, 4, 60);
rhythm.GenerateBaseRhythm(2);
vector<float> base_rhythm = rhythm.base_rhythm;
PrintVect... | #include <iostream>
#include <vector>
#include "MuMaterial.h"
#include "rhythm.hpp"
using namespace std;
void PrintVector (auto const v, string message);
int main ()
{
MuInit();
Rhythm rhythm(4, 4, 60);
rhythm.GenerateBaseRhythm(2);
vector<float> base_rhythm = rhythm.base_rhythm;
PrintVector(... | Make print vector as auto function | Make print vector as auto function
| C++ | mit | LucianoPC/music_generator,LucianoPC/music_generator |
733975b7c86ee1398ca7b1266548e73cd0ea4047 | chapter16/chapter16_ex10.cpp | chapter16/chapter16_ex10.cpp | // Function grapher: user can choose among a set of functions (e.g., sin() and
// log(), provide parameters for those functions and then graph them
#include "Simple_window.h"
#include "Graph.h"
int main()
try {
Point tl(400,150);
Fgraph_window fwin(tl,800,605,"Function Grapher");
return gui_main();
}
catc... | // Chapter 16, exercise 10: function grapher: user can choose among a set of
// functions (e.g., sin() and log(), provide parameters for those functions and
// then graph them
#include "Simple_window.h"
#include "Graph.h"
int main()
try {
Point tl(400,150);
Fgraph_window fwin(tl,800,605,"Function Grapher");
... | Complete header comment of Chapter 16, exercise 10 | Complete header comment of Chapter 16, exercise 10
| C++ | mit | bewuethr/stroustrup_ppp,bewuethr/stroustrup_ppp |
b783f8f9d03436fc349269a68008450b9539a2b0 | src/Parser.cc | src/Parser.cc | //
// Parser.cpp
// snowcrash
//
// Created by Zdenek Nemec on 4/8/13.
// Copyright (c) 2013 Apiary.io. All rights reserved.
//
#include <exception>
#include <sstream>
#include "Parser.h"
#include "MarkdownParser.h"
#include "BlueprintParser.h"
using namespace snowcrash;
const int SourceAnnotation::OK;
void Par... | //
// Parser.cpp
// snowcrash
//
// Created by Zdenek Nemec on 4/8/13.
// Copyright (c) 2013 Apiary.io. All rights reserved.
//
#include <exception>
#include <sstream>
#include "Parser.h"
#include "MarkdownParser.h"
#include "BlueprintParser.h"
using namespace snowcrash;
const int SourceAnnotation::OK;
// Check... | Add tabs & CR sanity check | Add tabs & CR sanity check
| C++ | mit | obihann/snowcrash,apiaryio/drafter,apiaryio/drafter,apiaryio/drafter,apiaryio/snowcrash,apiaryio/drafter,obihann/snowcrash,obihann/snowcrash,apiaryio/drafter,apiaryio/snowcrash |
0b916f30d3f31704a3389a20a5ed6bde315855c3 | QKeyMapper/main.cpp | QKeyMapper/main.cpp | #include <QApplication>
#include "qkeymapper.h"
#ifdef DEBUG_LOGOUT_ON
//#include "vld.h"
#endif
int main(int argc, char *argv[])
{
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
QApplication a(argc, argv);
QApplication::setStyle(QStyleFa... | #include <QApplication>
#include "qkeymapper.h"
#ifdef DEBUG_LOGOUT_ON
//#include "vld.h"
#endif
int main(int argc, char *argv[])
{
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
QApplication a(argc, argv);
QApplication::setStyle(QStyleFac... | Add debug timestamp for log output. | Add debug timestamp for log output.
Signed-off-by: Melvin Li <21e464081832cc5b8e69fa429d4ddc6cfa697617@163.com>
| C++ | mit | Zalafina/QKeyMapper,Zalafina/QKeyMapper |
9869ddcf59c9523f81bd59920dc03e143397b33f | SuffixTree/main.cpp | SuffixTree/main.cpp | #include "SuffixTree\SuffixTreeBuilder.h"
#include <iostream>
#include <string>
#include <cassert>
#include <ctime>
using namespace std;
int main()
{
unsigned int length = 100000;
char* source = new char[length + 1];
for (unsigned int i = 0; i < length; i++)
{
source[i] = rand() % 26 + 'A';
... | #include "SuffixTree/SuffixTreeBuilder.h"
#include <iostream>
#include <string>
#include <cassert>
#include <ctime>
using namespace std;
int main()
{
unsigned int length = 100000;
char* source = new char[length + 1];
for (unsigned int i = 0; i < length; i++)
{
source[i] = rand() % 26 + 'A';
... | Fix build error on OSX | Fix build error on OSX
| C++ | mit | cshung/MiscLab,cshung/MiscLab,cshung/MiscLab,cshung/MiscLab,cshung/MiscLab,cshung/MiscLab,cshung/MiscLab,cshung/MiscLab,cshung/MiscLab,cshung/MiscLab |
af93a6993f2ff52980b45cbdb6cbe45379f42f88 | Source/glTFForUE4Ed/Private/glTF/glTFImportOptions.cpp | Source/glTFForUE4Ed/Private/glTF/glTFImportOptions.cpp | #include "glTFForUE4EdPrivatePCH.h"
#include "glTFImportOptions.h"
FglTFImportOptions::FglTFImportOptions()
: FilePathInOS(TEXT(""))
, FilePathInEngine(TEXT(""))
, MeshScaleRatio(1.0f)
, bInvertNormal(false)
, bImportMaterial(true)
, bRecomputeNormals(true)
, bRecomputeTangents(true)
{
... | #include "glTFForUE4EdPrivatePCH.h"
#include "glTFImportOptions.h"
FglTFImportOptions::FglTFImportOptions()
: FilePathInOS(TEXT(""))
, FilePathInEngine(TEXT(""))
, MeshScaleRatio(100.0f)
, bInvertNormal(false)
, bImportMaterial(true)
, bRecomputeNormals(true)
, bRecomputeTangents(true)
{
... | Set the default scale to 100 | Set the default scale to 100
| C++ | mit | code4game/glTFForUE4,code4game/glTFForUE4,code4game/glTFForUE4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.