commit
stringlengths
40
40
old_file
stringlengths
2
205
new_file
stringlengths
2
205
old_contents
stringlengths
0
32.9k
new_contents
stringlengths
1
38.9k
subject
stringlengths
3
9.4k
message
stringlengths
6
9.84k
lang
stringlengths
3
13
license
stringclasses
13 values
repos
stringlengths
6
115k
948ba7e8f22b20fc9bd6af96d4f019c98ebc42b6
hash.cpp
hash.cpp
/****************************************************************************** Copyright 2016 Allied Telesis Labs Ltd. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source...
/****************************************************************************** Copyright 2016 Allied Telesis Labs Ltd. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source...
Fix return value for hash_file function
hash: Fix return value for hash_file function Returning NULL causes a crash (as there is no valid conversion to a string). Simply return an empty string instead. The rest of the code is already comparing against an empty string. Change-Id: I916cf8ac96dd514b8fd59b49c2292afc28b0393b Reviewed-by: Scott Parlane <85029adc...
C++
bsd-2-clause
ATL-NZ/buildsyspp,alliedtelesis/buildsyspp
2dd9577ab35819a8e3fc4c2bb7565aa5bc00c2e7
example/TableModel.cpp
example/TableModel.cpp
#include "TableModel.h" static const char *header[] = {"REVIEW_DATE","AUTHOR","ISBN","DISCOUNTED_PRICE"}; typedef struct { QString date; QString author; int isbn; float price; } Row; static Row rows[] = { {"1985/01/21","Douglas Adams",345391802,5.95f}, {"1990/01/12","Douglas Hofstadter",465026567,9.9...
#include "TableModel.h" static const char *header[] = {"REVIEW_DATE","AUTHOR","ISBN","DISCOUNTED_PRICE"}; typedef struct { QString date; QString author; int isbn; float price; } Row; static Row rows[] = { {"1985/01/21","Douglas Adams",345391802,5.95f}, {"1990/01/12","Douglas Hofstadter",465026567,9.9...
add row numbers
example: add row numbers
C++
mit
mojocorp/QSpreadsheetHeaderView
c85b2de13dfcd70b4335fac42d1f078b0968ed8b
libsrc/grabber/dispmanx/DispmanxWrapper.cpp
libsrc/grabber/dispmanx/DispmanxWrapper.cpp
// QT includes #include <QDateTime> // Hyperion includes #include <hyperion/Hyperion.h> #include <hyperion/ImageProcessorFactory.h> #include <hyperion/ImageProcessor.h> // Dispmanx grabber includes #include <grabber/DispmanxWrapper.h> #include <grabber/DispmanxFrameGrabber.h> DispmanxWrapper::DispmanxWrapper(const ...
// QT includes #include <QDateTime> // Hyperion includes #include <hyperion/Hyperion.h> #include <hyperion/ImageProcessorFactory.h> #include <hyperion/ImageProcessor.h> // Dispmanx grabber includes #include <grabber/DispmanxWrapper.h> #include <grabber/DispmanxFrameGrabber.h> DispmanxWrapper::DispmanxWrapper(const ...
Update DispmanxWrapper.cpp
Update DispmanxWrapper.cpp
C++
mit
redPanther/hyperion.ng,penfold42/hyperion.ng,hyperion-project/hyperion.ng,redPanther/hyperion.ng,hyperion-project/hyperion.ng,redPanther/hyperion.ng,redPanther/hyperion.ng,penfold42/hyperion.ng,hyperion-project/hyperion.ng,redPanther/hyperion.ng,penfold42/hyperion.ng,hyperion-project/hyperion.ng,penfold42/hyperion.ng,p...
7aa363951edd852c67bf7fb89492aefe14a5003e
src/sdp2blocks/main.cxx
src/sdp2blocks/main.cxx
#include "Boost_Float.hxx" #include "Positive_Matrix_With_Prefactor.hxx" #include <boost/program_options.hpp> #include <boost/filesystem.hpp> namespace po = boost::program_options; void read_input(const boost::filesystem::path &input_file, std::vector<El::BigFloat> &objectives, std::v...
#include "Boost_Float.hxx" #include "Positive_Matrix_With_Prefactor.hxx" #include "../Timers.hxx" #include <boost/program_options.hpp> #include <boost/filesystem.hpp> namespace po = boost::program_options; void read_input(const boost::filesystem::path &input_file, std::vector<El::BigFloat> &objective...
Add timers to sdp2blocks
Add timers to sdp2blocks
C++
mit
davidsd/sdpb,davidsd/sdpb,davidsd/sdpb
f5c4d0a08857e59912c7a12fc082bbf2e3aeaaf6
test/fs/TestFileFS.hpp
test/fs/TestFileFS.hpp
// // Created by jan on 11/29/15. // #ifndef NIX_TESTFILEFS_HPP #define NIX_TESTFILEFS_HPP #include "BaseTestFile.hpp" #include <boost/filesystem.hpp> namespace bfs = boost::filesystem; class TestFileFS: public BaseTestFile { CPPUNIT_TEST_SUITE(TestFileFS); CPPUNIT_TEST(testOpen); CPPUNIT_TEST(testVali...
// // Created by jan on 11/29/15. // #ifndef NIX_TESTFILEFS_HPP #define NIX_TESTFILEFS_HPP #include "BaseTestFile.hpp" #include <boost/filesystem.hpp> namespace bfs = boost::filesystem; class TestFileFS: public BaseTestFile { CPPUNIT_TEST_SUITE(TestFileFS); CPPUNIT_TEST(testOpen); CPPUNIT_TEST(testVali...
add test for checking of non-nix folders
add test for checking of non-nix folders
C++
bsd-3-clause
stoewer/nix
ab7d6a5a75a64736653d535cb04f90ffedc422c9
tensorflow/core/kernels/data_format_ops.cc
tensorflow/core/kernels/data_format_ops.cc
/* Copyright 2015 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 2015 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...
Revert change to the includes order
Revert change to the includes order
C++
apache-2.0
Intel-tensorflow/tensorflow,gautam1858/tensorflow,karllessard/tensorflow,yongtang/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow,Intel-tensorflow/tensorflow,Intel-tensorflow/tensorflow,karllessard/tensorflow,yongtang/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow,yongtang/tensorflow,tensorfl...
540266762787503b9fd166c1a5db6be00c2a0e1d
tools/gn/command_gen.cc
tools/gn/command_gen.cc
// Copyright (c) 2013 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/atomicops.h" #include "base/bind.h" #include "base/command_line.h" #include "base/strings/string_number_conversions.h" #include "base/t...
// Copyright (c) 2013 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/atomicops.h" #include "base/bind.h" #include "base/command_line.h" #include "base/strings/string_number_conversions.h" #include "base/t...
Remove obsolete comment about gyp command.
gn: Remove obsolete comment about gyp command. BUG=None TEST=None R=scottmg@chromium.org Review URL: https://codereview.chromium.org/296153002 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@271968 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
Just-D/chromium-1,ondra-novak/chromium.src,Pluto-tv/chromium-crosswalk,axinging/chromium-crosswalk,fujunwei/chromium-crosswalk,ltilve/chromium,mohamed--abdel-maksoud/chromium.src,littlstar/chromium.src,Just-D/chromium-1,M4sse/chromium.src,Chilledheart/chromium,TheTypoMaster/chromium-crosswalk,krieger-od/nwjs_chromium.s...
17259f777593b547329f181e3dd02078c00e96c9
tests/tickets/ticket4/main.cpp
tests/tickets/ticket4/main.cpp
#include <Step/SPFFunctions.h> #include <Step/String.h> #include <Step/SimpleTypes.h> #include "../../tests.h" #include <sstream> /// tests for ticket4 /** All references to atof are now using the program's locale. So for french the decimal separator is a , (comma) not a point leading to wrong string to real conver...
#include <Step/SPFFunctions.h> #include <Step/String.h> #include <Step/SimpleTypes.h> #include "../../tests.h" #include <sstream> /// tests for ticket4 /** All references to atof are now using the program's locale. So for french the decimal separator is a , (comma) not a point leading to wrong string to real conver...
make test compare precision instead of equality
make test compare precision instead of equality
C++
lgpl-2.1
cstb/ifc2x3-SDK,cstb/ifc2x3-SDK
7757bbc2f683d669c8beb52b1449ba2b76ad2e3d
tests/time-parameterization.cc
tests/time-parameterization.cc
// Copyright (c) 2017, Joseph Mirabel // Authors: Joseph Mirabel (joseph.mirabel@laas.fr) // // This file is part of hpp-core. // hpp-core is free software: you can redistribute it // and/or modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation, either versio...
// Copyright (c) 2017, Joseph Mirabel // Authors: Joseph Mirabel (joseph.mirabel@laas.fr) // // This file is part of hpp-core. // hpp-core is free software: you can redistribute it // and/or modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation, either versio...
Add unit test for time-parameterization
Add unit test for time-parameterization
C++
bsd-2-clause
humanoid-path-planner/hpp-core
ff4496a1c4f11f40a21c4875328399c186e4b406
src/allocator/allocator.cpp
src/allocator/allocator.cpp
#include "ros/ros.h" #include "lagrange_allocator.h" int main(int argc, char **argv) { ros::init(argc, argv, "allocator"); ROS_INFO("Launching node allocator.\n"); LagrangeAllocator allocator; allocator.setWeights(Eigen::MatrixXd::Identity(6,6)); ros::spin(); return 0; }
#include "ros/ros.h" #include "lagrange_allocator.h" int main(int argc, char **argv) { ros::init(argc, argv, "allocator"); ROS_INFO("Launching node allocator."); LagrangeAllocator allocator; allocator.setWeights(Eigen::MatrixXd::Identity(6,6)); ros::spin(); return 0; }
Remove newline
Remove newline
C++
mit
vortexntnu/rov-control,vortexntnu/rov-control,vortexntnu/rov-control
098dcf28858f244bae53d63f9d58f1d00d100808
tests/unit_tests/mnemonics.cpp
tests/unit_tests/mnemonics.cpp
// Copyright (c) 2014-2016, The Monero Project // // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, this list o...
// Copyright (c) 2014-2016, The Monero Project // // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, this list o...
fix mnemonics unit test testing invalid seeds
unit_tests: fix mnemonics unit test testing invalid seeds Some word triplets, such as "mugged names nail", are not valid results from any 32 bit value. If used to decode a 32 bit value, the result will therefore encode to a different word triplet. Fix this by using random words converted from an actual random bitstri...
C++
bsd-3-clause
eiabea/bitmonero,eiabea/bitmonero,ranok/bitmonero,ranok/bitmonero,eiabea/bitmonero,eiabea/bitmonero,eiabea/bitmonero,ranok/bitmonero,eiabea/bitmonero,ranok/bitmonero,ranok/bitmonero,ranok/bitmonero
887c80ec10c0f64df9769ac09201889125cde18d
test/libcxx/modules/clocale_exports.sh.cpp
test/libcxx/modules/clocale_exports.sh.cpp
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
Mark test as unsupported in C++03
Mark test as unsupported in C++03 git-svn-id: 756ef344af921d95d562d9e9f9389127a89a6314@287417 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
llvm-mirror/libcxx,llvm-mirror/libcxx,llvm-mirror/libcxx,llvm-mirror/libcxx,llvm-mirror/libcxx
dcc85e38eab286f5167dbea44fde59bc89ea74c1
src/athena/MemoryReader.cpp
src/athena/MemoryReader.cpp
#include "athena/MemoryReader.hpp" #include <algorithm> #include <cstdio> #include <cstring> #ifdef HW_RVL #include <malloc.h> #endif // HW_RVL namespace athena::io { MemoryReader::MemoryReader(const void* data, atUint64 length, bool takeOwnership, bool globalErr) : m_data(data), m_length(length), m_position(0), m_o...
#include "athena/MemoryReader.hpp" #include <algorithm> #include <cstdio> #include <cstring> #ifdef HW_RVL #include <malloc.h> #endif // HW_RVL namespace athena::io { MemoryReader::MemoryReader(const void* data, atUint64 length, bool takeOwnership, bool globalErr) : m_data(data), m_length(length), m_position(0), m_o...
Fix build error in MemoryReader.cpp
Fix build error in MemoryReader.cpp
C++
mit
libAthena/Athena,libAthena/Athena
72a53cd945756a6d193426eee8c56208cd166a9b
utils.cpp
utils.cpp
#include "mpdas.h" #define RED "\x1b[31;01m" #define RESET "\x1b[0m" #define GREEN "\x1b[32;01m" #define YELLOW "\x1b[33;01m" std::string md5sum(const char* fmt, ...) { va_list ap; char* abuf; md5_state_t state; unsigned char md5buf[16]; va_start(ap, fmt); vasprintf(&abuf, fmt, ap); va_end(ap); std::string ...
#include "mpdas.h" #define RED "\x1b[31;01m" #define RESET "\x1b[0m" #define GREEN "\x1b[32;01m" #define YELLOW "\x1b[33;01m" bool fileexists(const char* file) { if (access(file, F_OK) == 0) return true; else return false; } std::string md5sum(const char* fmt, ...) { va_list ap; char* abuf; md5_state_t stat...
add fileexists() util function
add fileexists() util function
C++
bsd-3-clause
chrisf1337/mpdas,chrisf1337/mpdas,riggs-/mpdas,riggs-/mpdas
3271ee423bcc428b523603216ee1b155d004789d
tokenize_command_line_gtest.cc
tokenize_command_line_gtest.cc
/* -*- mode: C++; c-basic-offset: 4; tab-width: 8; -*- * vi: set shiftwidth=4 tabstop=8: * :indentSize=4:tabSize=8: */ #include "gtest/gtest.h" #include "tokenize_command_line.h" #if defined(_WIN32) void setenv(const char *key, const char* val, int); #endif TEST(tokenize_command_line, handles_empty_string) { int ...
/* -*- mode: C++; c-basic-offset: 4; tab-width: 8; -*- * vi: set shiftwidth=4 tabstop=8: * :indentSize=4:tabSize=8: */ #include "gtest/gtest.h" #include "tokenize_command_line.h" #if defined(_WIN32) void setenv(const char *key, const char* val, int); #endif TEST(tokenize_command_line, handles_empty_string) { int ...
add recursive variable test
add recursive variable test
C++
mit
doj/few,doj/few
6baa3884086d0024ddd304464709f70746b29361
test/src/CSVParser.cpp
test/src/CSVParser.cpp
#include "CSVParser.hpp" #include <bandit/bandit.h> using namespace bandit; go_bandit([]() { describe("CSVParser Test", []() { CSVParser<1> csv(R"(column1 ,column2\ncell1,cell2\n)"); it("should trim white spaces from column and header", [&]() { AssertThat(3, Equals(3)); }); ...
#include "CSVParser.hpp" #include <bandit/bandit.h> using namespace bandit; go_bandit([]() { describe("CSVParser Test", []() { it("should trim tab character from header column", [&]() { CSVParser<2> csv("column1\t,column2\t\n"); csv.readHeader("column1", "column2"); }); ...
Add CSVParser tests.
Add CSVParser tests.
C++
mit
cristian-szabo/bt-code-test
23d31c4fea61962e156f992889c6b041ad757d12
tools/mac/run_with_crashpad.cc
tools/mac/run_with_crashpad.cc
// Copyright 2014 The Crashpad 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 ...
// Copyright 2014 The Crashpad 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 ...
Fix Mac build after 27aeb2c9
Fix Mac build after 27aeb2c9 Oh yeah, that other platform. R=f1b5a91d4d6ad523f2610114591c007e75d15084@chromium.org BUG=crashpad:100 Change-Id: Iaacd9a2a4a9754a26af9dd78f5b12cb1523ea19b Reviewed-on: https://chromium-review.googlesource.com/386785 Reviewed-by: Mark Mentovai <f1b5a91d4d6ad523f2610114591c007e75d15084@ch...
C++
apache-2.0
chromium/crashpad,atom/crashpad,chromium/crashpad,atom/crashpad,chromium/crashpad,atom/crashpad
1be44a1b8e3c0e49b81c1ae386555dc5516e931d
examples/hello_spider/hello_spider.cpp
examples/hello_spider/hello_spider.cpp
/* Copyright (c) 2014 Mutantspider authors, see AUTHORS file. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modif...
/* Copyright (c) 2014 Mutantspider authors, see AUTHORS file. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modif...
comment editing
comment editing
C++
mit
pkholland/mutantspider,pkholland/mutantspider
0932e38ad73d8e7214adda5103ced38c7b2754d0
testing/rtkfdktest.cxx
testing/rtkfdktest.cxx
#include <itkImageRegionConstIterator.h> #include "rtkSheppLoganPhantomFilter.h" #include "rtkDrawSheppLoganFilter.h" #include "rtkConstantImageSource.h" #include "rtkFieldOfViewImageFilter.h" #ifdef USE_CUDA # include "rtkCudaFDKConeBeamReconstructionFilter.h" #elif USE_OPENCL # include "rtkOpenCLFDKConeBeamRecons...
#include <itkImageRegionConstIterator.h> #include <itkStreamingImageFilter.h> #include "rtkSheppLoganPhantomFilter.h" #include "rtkDrawSheppLoganFilter.h" #include "rtkConstantImageSource.h" #include "rtkFieldOfViewImageFilter.h" #ifdef USE_CUDA # include "rtkCudaFDKConeBeamReconstructionFilter.h" #elif USE_OPENCL #...
Include streaming test
Include streaming test
C++
apache-2.0
ldqcarbon/RTK,dsarrut/RTK,fabienmomey/RTK,ldqcarbon/RTK,SimonRit/RTK,fabienmomey/RTK,ldqcarbon/RTK,dsarrut/RTK,fabienmomey/RTK,dsarrut/RTK,ipsusila/RTK,ipsusila/RTK,ldqcarbon/RTK,ipsusila/RTK,ipsusila/RTK,ipsusila/RTK,ipsusila/RTK,dsarrut/RTK,SimonRit/RTK,ldqcarbon/RTK,dsarrut/RTK,SimonRit/RTK,fabienmomey/RTK,ldqcarbon...
b8de8ec3f5eb987cf37ef13026e4c4c5c8b961c5
tests/LEQuad/tasks.cpp
tests/LEQuad/tasks.cpp
/******************************************************************************* * Copyright (c) 2009-2014, MAV'RIC Development Team * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. ...
/******************************************************************************* * Copyright (c) 2009-2014, MAV'RIC Development Team * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. ...
Change ID of data_logging task
Change ID of data_logging task
C++
bsd-3-clause
lis-epfl/MAVRIC_Library,lis-epfl/MAVRIC_Library,lis-epfl/MAVRIC_Library
ac4737e4d959e7a2bc71a2e9b3db0fd23e780361
tests/TestTimeSpan.cpp
tests/TestTimeSpan.cpp
// // This file is part of the Marble Virtual Globe. // // This program is free software licensed under the GNU LGPL. You can // find a copy of this license in LICENSE.txt in the top directory of // the source code. // // Copyright 2013 Dennis Nienhüser <earthwings@gentoo.org> // #include <QtCore/QObject> #inclu...
// // This file is part of the Marble Virtual Globe. // // This program is free software licensed under the GNU LGPL. You can // find a copy of this license in LICENSE.txt in the top directory of // the source code. // // Copyright 2013 Dennis Nienhüser <earthwings@gentoo.org> // #include <QtCore/QObject> #inclu...
Fix moc inclusion
Fix moc inclusion
C++
lgpl-2.1
probonopd/marble,utkuaydin/marble,tzapzoor/marble,probonopd/marble,tucnak/marble,adraghici/marble,quannt24/marble,AndreiDuma/marble,quannt24/marble,probonopd/marble,probonopd/marble,tucnak/marble,tzapzoor/marble,utkuaydin/marble,quannt24/marble,AndreiDuma/marble,adraghici/marble,David-Gil/marble-dev,probonopd/marble,tz...
706019b42e4029f62ea09c7d20abd48b6da76dab
tests/farm_example.cpp
tests/farm_example.cpp
/** * @version GrPPI v0.1 * @copyright Copyright (C) 2017 Universidad Carlos III de Madrid. All rights reserved. * @license GNU/GPL, see LICENSE.txt * 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 Founda...
/** * @version GrPPI v0.1 * @copyright Copyright (C) 2017 Universidad Carlos III de Madrid. All rights reserved. * @license GNU/GPL, see LICENSE.txt * 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 Founda...
Revert farm_example
Revert farm_example
C++
apache-2.0
arcosuc3m/grppi,arcosuc3m/grppi
fb2d333a6fcf6b04acc0eee712dafacae850c919
agency/flattened_executor.hpp
agency/flattened_executor.hpp
#pragma once #include <type_traits> #include <agency/detail/tuple.hpp> #include <agency/executor_traits.hpp> #include <agency/execution_categories.hpp> #include <agency/nested_executor.hpp> #include <agency/detail/factory.hpp> namespace agency { template<class Executor> class flattened_executor { // probably shou...
#pragma once #include <type_traits> #include <agency/detail/tuple.hpp> #include <agency/executor_traits.hpp> #include <agency/execution_categories.hpp> #include <agency/nested_executor.hpp> #include <agency/detail/factory.hpp> namespace agency { template<class Executor> class flattened_executor { // probably shou...
Fix typo in outer_subscription_ calculation
Fix typo in outer_subscription_ calculation
C++
bsd-3-clause
egaburov/agency,egaburov/agency
e5c4379fbf8933860392a3b324c60b81fa55328b
content/browser/speech/speech_input_browsertest.cc
content/browser/speech/speech_input_browsertest.cc
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/command_line.h" #include "base/file_path.h" #include "base/string_number_conversions.h" #include "base/utf_string_conversions.h" #inclu...
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/command_line.h" #include "base/file_path.h" #include "base/string_number_conversions.h" #include "base/utf_string_conversions.h" #inclu...
Disable the newly added SpeechInputBrowserTest.TestCancelAll in official release builds. This is done because the test times out in the official builders, just like the other SpeechInputBrowserTest.* tests.
Disable the newly added SpeechInputBrowserTest.TestCancelAll in official release builds. This is done because the test times out in the official builders, just like the other SpeechInputBrowserTest.* tests. BUG=71227 TEST=TestCancelAll should not be run in official builders. TBR=bulach@chromium.org git-svn-id: dd9061...
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
cdf0e6219c58331d99c634bf54f774fb5088ce8b
ui/src/virtualconsole/vcproperties.cpp
ui/src/virtualconsole/vcproperties.cpp
/* Q Light Controller Plus vcproperties.cpp Copyright (c) Heikki Junnila Massimo Callegari 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/l...
/* Q Light Controller Plus vcproperties.cpp Copyright (c) Heikki Junnila Massimo Callegari 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/l...
improve the previous commit
ui: improve the previous commit
C++
apache-2.0
kripton/qlcplus,plugz/qlcplus,kripton/qlcplus,sbenejam/qlcplus,mcallegari/qlcplus,sbenejam/qlcplus,kripton/qlcplus,sbenejam/qlcplus,mcallegari/qlcplus,plugz/qlcplus,plugz/qlcplus,mcallegari/qlcplus,sbenejam/qlcplus,kripton/qlcplus,mcallegari/qlcplus,plugz/qlcplus,kripton/qlcplus,sbenejam/qlcplus,mcallegari/qlcplus,mcal...
33df9715c43163344c3f171c627cbe0ba6e941eb
src/import/generic/memory/lib/utils/mss_field.H
src/import/generic/memory/lib/utils/mss_field.H
/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/generic/memory/lib/utils/mss_field.H $ */ /* ...
/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/generic/memory/lib/utils/mss_field.H $ */ /* ...
Exclude a FAPI_DBG statement invalid on PPE
Exclude a FAPI_DBG statement invalid on PPE The PPE plat implementation of FAPI_DBG has more limitations than the x86 implementation. This particular FAPI_DBG statement has more arguments than are supported on PPE and for that reason, will not compile for PPE if FAPI tracing is enabled. By excluding this statement for...
C++
apache-2.0
open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot
98589f255fb46bc4a54b1922a63cd8849f30d06d
chrome/browser/gtk/about_chrome_dialog.cc
chrome/browser/gtk/about_chrome_dialog.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/gtk/about_chrome_dialog.h" #include <gtk/gtk.h> #include "app/l10n_util.h" #include "app/resource_bundle.h" #include "base/...
// 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/gtk/about_chrome_dialog.h" #include <gtk/gtk.h> #include "app/l10n_util.h" #include "app/resource_bundle.h" #include "base/...
Make chrome version legible in about:chrome dialog for dark themes.
Make chrome version legible in about:chrome dialog for dark themes. Add Terms of Service link for google chrome (not chromium). BUG=16544 TEST=use dark theme, look at version in about:chrome Review URL: http://codereview.chromium.org/155454 git-svn-id: http://src.chromium.org/svn/trunk/src@20570 4ff67af0-8c30-449e-...
C++
bsd-3-clause
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-u...
c1301f68c20aa44ca575298c94c1d32d751a3227
obj2vector.hh
obj2vector.hh
#if !defined(_OBJ2VECTOR_) #include <iostream> #include <fstream> #include <sstream> #include <vector> using std::cerr; using std::cout; using std::endl; using std::string; using std::ifstream; using std::ofstream; using std::getline; using std::istringstream; using std::stringstream; using std::vector; using std::pa...
#if !defined(_OBJ2VECTOR_) #include <iostream> #include <fstream> #include <sstream> #include <vector> using std::cerr; using std::cout; using std::endl; using std::string; using std::ifstream; using std::ofstream; using std::getline; using std::istringstream; using std::stringstream; using std::vector; using std::pa...
Fix ceil to floor, clockwise function.
Fix ceil to floor, clockwise function.
C++
bsd-3-clause
bitsofcotton/goki_check_cc,bitsofcotton/goki_check_cc
4a17e91b8cc4cc324af747bbcf0703971679e124
iree/compiler/Dialect/Flow/Transforms/PrePostPartitioningConversion.cpp
iree/compiler/Dialect/Flow/Transforms/PrePostPartitioningConversion.cpp
// Copyright 2019 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
// Copyright 2019 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
Rename xla_hlo.conditional to xla_hlo.if.
Rename xla_hlo.conditional to xla_hlo.if. This is part of separating xla_hlo.conditional op into two separate ops: xla_hlo.if to handle predicated conditional and xla_hlo.case to handle indexed conditional. A follow up CL would add xla_hlo.case op PiperOrigin-RevId: 312307608
C++
apache-2.0
google/iree,iree-org/iree,google/iree,iree-org/iree,iree-org/iree,iree-org/iree,google/iree,google/iree,google/iree,google/iree,iree-org/iree,google/iree,iree-org/iree,iree-org/iree
16b7ba1d2d78709ab9d362520c338c1a096135d3
C++/flip-game-ii.cpp
C++/flip-game-ii.cpp
// Time: O(n^(c+1)), n is length of string, c is count of "++" // Space: O(c), recursion would be called at most c in depth. class Solution { public: bool canWin(string s) { int n = s.length(); bool other_win = true; for (int i = 0; other_win && i < n - 1; ++i) { // O(n) time ...
// Time: O(n^(c+1)), n is length of string, c is count of "++" // Space: O(c), recursion would be called at most c in depth. class Solution { public: bool canWin(string s) { int n = s.length(); bool is_win = false; for (int i = 0; !is_win && i < n - 1; ++i) { // O(n) time ...
Update flip-game-ii.cpp
Update flip-game-ii.cpp
C++
mit
kamyu104/LeetCode,githubutilities/LeetCode,tudennis/LeetCode---kamyu104-11-24-2015,yiwen-luo/LeetCode,tudennis/LeetCode---kamyu104-11-24-2015,tudennis/LeetCode---kamyu104-11-24-2015,githubutilities/LeetCode,githubutilities/LeetCode,yiwen-luo/LeetCode,kamyu104/LeetCode,jaredkoontz/leetcode,githubutilities/LeetCode,kamyu...
33c5e0d7b7088b369c39542a6b3cddd352d0a549
Source/modules/indexeddb/IDBTransactionTest.cpp
Source/modules/indexeddb/IDBTransactionTest.cpp
/* * Copyright (C) 2013 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
/* * Copyright (C) 2013 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
Disable IDBTransactionTest.EnsureLifetime if ENABLE(OILPAN).
Disable IDBTransactionTest.EnsureLifetime if ENABLE(OILPAN). BUG=379616 TBR=oilpan-reviews@chromium.org Review URL: https://codereview.chromium.org/308963003 git-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@175249 bbb929c8-8fbe-4397-9dbb-9b2b20218538
C++
bsd-3-clause
Pluto-tv/blink-crosswalk,kurli/blink-crosswalk,XiaosongWei/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,jtg-gg/blink,PeterWangIntel/blink-crosswalk,kurli/blink-crosswalk,hgl888/blink-crosswalk-efl,Bysmyyr/blink-crosswalk,XiaosongWei/blink-crosswalk,XiaosongWei/blink-crosswalk,hgl888/blink-crosswalk-efl,hgl888/...
4e7dee38f6ca2b62c362333e068623d65d6e43cd
tools/tfserver/main.cpp
tools/tfserver/main.cpp
/* Copyright (c) 2010-2013, AOYAMA Kazuharu * All rights reserved. * * This software may be used and distributed according to the terms of * the New BSD License, which is incorporated herein by reference. */ #include <QTextCodec> #include <QStringList> #include <QMap> #include <TWebApplication> #include <TThreadA...
/* Copyright (c) 2010-2013, AOYAMA Kazuharu * All rights reserved. * * This software may be used and distributed according to the terms of * the New BSD License, which is incorporated herein by reference. */ #include <QTextCodec> #include <QStringList> #include <QMap> #include <TWebApplication> #include <TThreadA...
add stopping app server after exec().
add stopping app server after exec().
C++
bsd-3-clause
seem-sky/treefrog-framework,Akhilesh05/treefrog-framework,skipbit/treefrog-framework,treefrogframework/treefrog-framework,ThomasGueldner/treefrog-framework,Akhilesh05/treefrog-framework,froglogic/treefrog-framework,gonboy/treefrog-framework,AmiArt/treefrog-framework,gonboy/treefrog-framework,Akhilesh05/treefrog-framewo...
7708627144f5bb8c6524be96e7854039a6502e86
core/deleter.hh
core/deleter.hh
/* * Copyright (C) 2014 Cloudius Systems, Ltd. */ #ifndef DELETER_HH_ #define DELETER_HH_ #include <memory> #include <cstdlib> #include <assert.h> #include <type_traits> class deleter final { public: struct impl; struct raw_object_tag {}; private: // if bit 0 set, point to object to be freed directly. ...
/* * Copyright (C) 2014 Cloudius Systems, Ltd. */ #ifndef DELETER_HH_ #define DELETER_HH_ #include <memory> #include <cstdlib> #include <assert.h> #include <type_traits> class deleter final { public: struct impl; struct raw_object_tag {}; private: // if bit 0 set, point to object to be freed directly. ...
improve make_free_deleter() with null input
deleter: improve make_free_deleter() with null input While make_free_deleter(nullptr) will function correctly, deleter::operator bool() on the result will not. Fix by checking for null, and avoiding the free deleter optimization in that case -- it doesn't help anyway.
C++
agpl-3.0
raphaelsc/scylla,bowlofstew/seastar,avikivity/seastar,acbellini/scylla,glommer/scylla,respu/scylla,phonkee/scylla,wildinto/seastar,dwdm/scylla,eklitzke/scylla,raphaelsc/seastar,wildinto/seastar,avikivity/scylla,hongliangzhao/seastar,dwdm/scylla,mixja/seastar,flashbuckets/seastar,chunshengster/seastar,sjperkins/seastar,...
e744d0bc8ce11125065f228fa9b74904285e8485
tree/treeplayer/test/leafs.cxx
tree/treeplayer/test/leafs.cxx
#include "ROOT/RMakeUnique.hxx" #include "TInterpreter.h" #include "TTree.h" #include "TTreeReader.h" #include "TTreeReaderValue.h" #include "TTreeReaderArray.h" #include "gtest/gtest.h" #include "data.h" #include "RErrorIgnoreRAII.hxx" TEST(TTreeReaderLeafs, LeafListCaseA) { // From "Case A" of the TTree class ...
#include "ROOT/RMakeUnique.hxx" #include "TInterpreter.h" #include "TTree.h" #include "TTreeReader.h" #include "TTreeReaderValue.h" #include "TTreeReaderArray.h" #include "gtest/gtest.h" #include "data.h" #include "RErrorIgnoreRAII.hxx" TEST(TTreeReaderLeafs, LeafListCaseA) { // From "Case A" of the TTree class ...
Add test for #6881 (different leaf/branch names)
[treereader] Add test for #6881 (different leaf/branch names)
C++
lgpl-2.1
olifre/root,olifre/root,olifre/root,olifre/root,olifre/root,olifre/root,olifre/root,olifre/root,olifre/root,olifre/root,olifre/root
1e639b28dc8d4379c397e14fdf5e9268975f8d65
lib/xray/xray_init.cc
lib/xray/xray_init.cc
//===-- xray_init.cc --------------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===-- xray_init.cc --------------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Use dynamic initialisation as an alternative
[XRay][compiler-rt][Darwin] Use dynamic initialisation as an alternative Summary: In cases where we can't use the .preinit_array section (as in Darwin for example) we instead use dynamic initialisation. We know that this alternative approach will race with the initializers of other objects at global scope, but this is...
C++
apache-2.0
llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt
a57c0dd9c0618eceffeabc2891aa3b1be4096cdb
tests/src/tags/tag-database-test-suite.cpp
tests/src/tags/tag-database-test-suite.cpp
#include "tag-database-test-suite.h" #include <QtTest> #include "tags/tag.h" TagDatabaseTestSuite::TagDatabaseTestSuite(TagDatabase *database) : m_database(database) {} void TagDatabaseTestSuite::initTestCase() { m_database->load(); m_database->setTags(QList<Tag>()); } void TagDatabaseTestSuite::testTypesPrope...
#include "tag-database-test-suite.h" #include <QtTest> #include "tags/tag.h" TagDatabaseTestSuite::TagDatabaseTestSuite(TagDatabase *database) : m_database(database) {} void TagDatabaseTestSuite::initTestCase() { m_database->load(); m_database->setTags(QList<Tag>()); } void TagDatabaseTestSuite::testTypesPrope...
Add tests for TagDatabase::count
Add tests for TagDatabase::count
C++
apache-2.0
Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber
afbe3ea870ca40cfc1fff67ff80533b0bd3b4bd2
sd/source/ui/inc/fuediglu.hxx
sd/source/ui/inc/fuediglu.hxx
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform ...
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform ...
Remove SD_DLLPUBLIC, it breaks Windows build.
Remove SD_DLLPUBLIC, it breaks Windows build. If there is a method that needs to be public, better SD_DLLPUBLIC just that one.
C++
mpl-2.0
JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core
0bb18b98553179fc20bdfb022d86b737c70f51b2
cpp/src/toppra/solver/qpOASES-wrapper.cpp
cpp/src/toppra/solver/qpOASES-wrapper.cpp
#include <toppra/solver/qpOASES-wrapper.hpp> #include <qpOASES.hpp> #include <toppra/toppra.hpp> namespace toppra { namespace solver { struct qpOASESWrapper::Impl { qpOASES::SQProblem qp; Impl(Eigen::Index nV, Eigen::Index nC) : qp (nV, nC) { qpOASES::Options options; options.printLevel = qpOASES::...
#include <toppra/solver/qpOASES-wrapper.hpp> #include <qpOASES.hpp> #include <toppra/toppra.hpp> namespace toppra { namespace solver { struct qpOASESWrapper::Impl { qpOASES::SQProblem qp; Impl(Eigen::Index nV, Eigen::Index nC) : qp (nV, nC) { qpOASES::Options options; options.printLevel = qpOASES::...
Fix debug output.
[C++][Minor] Fix debug output.
C++
mit
hungpham2511/toppra,hungpham2511/toppra,hungpham2511/toppra
b7da9b3f3bce2700581a956422702393e8afa3f6
tools/seec-trace-view/StateGraphViewer.cpp
tools/seec-trace-view/StateGraphViewer.cpp
//===- tools/seec-trace-view/StateGraphViewer.cpp -------------------------===// // // SeeC // // This file is distributed under The MIT License (MIT). See LICENSE.TXT for // details. // //===----------------------------------------------------------------------===// /// /// \file ///...
//===- tools/seec-trace-view/StateGraphViewer.cpp -------------------------===// // // SeeC // // This file is distributed under The MIT License (MIT). See LICENSE.TXT for // details. // //===----------------------------------------------------------------------===// /// /// \file ///...
Fix typo.
Fix typo.
C++
mit
mheinsen/seec,seec-team/seec,mheinsen/seec,seec-team/seec,seec-team/seec,mheinsen/seec,mheinsen/seec,seec-team/seec,seec-team/seec,mheinsen/seec
3cc47418a8cc2bc1d0f3800766c541e8cf429c7a
modules/cutehmi_stupid_1/src/cutehmi/stupid/internal/DatabaseThread.cpp
modules/cutehmi_stupid_1/src/cutehmi/stupid/internal/DatabaseThread.cpp
#include "../../../../include/cutehmi/stupid/internal/DatabaseThread.hpp" #include <QSqlDatabase> #include <QCoreApplication> #include <QAbstractEventDispatcher> namespace cutehmi { namespace stupid { namespace internal { DatabaseThread::DatabaseThread(): m(new Members) { } QString DatabaseThread::Error::str() con...
#include "../../../../include/cutehmi/stupid/internal/DatabaseThread.hpp" #include <QSqlDatabase> #include <QCoreApplication> #include <QAbstractEventDispatcher> namespace cutehmi { namespace stupid { namespace internal { DatabaseThread::DatabaseThread(): m(new Members) { } QString DatabaseThread::Error::str() con...
Remove 'TODO' reminder
Remove 'TODO' reminder
C++
mit
michpolicht/CuteHMI,michpolicht/CuteHMI,michpolicht/CuteHMI,michpolicht/CuteHMI,michpolicht/CuteHMI
58104b02e328d823c4e4075b0ef411ab47c6f790
firmware/src/fork_motor_controller.cpp
firmware/src/fork_motor_controller.cpp
#include <cmath> #include <cstdint> #include <cstdlib> #include "control_loop.h" #include "constants.h" #include "fork_motor_controller.h" #include "MPU6050.h" #include "SystemState.h" namespace hardware { const uint8_t ccr_channel = 2; // PWM Channel 2 const float max_current = 6.0f; /...
#include <cmath> #include <cstdint> #include <cstdlib> #include "control_loop.h" #include "constants.h" #include "fork_motor_controller.h" #include "MPU6050.h" #include "SystemState.h" namespace hardware { const uint8_t ccr_channel = 2; // PWM Channel 2 const float max_current = 6.0f; /...
Enable disturbance after reaching speed setpoint.
Enable disturbance after reaching speed setpoint.
C++
bsd-2-clause
hazelnusse/robot.bicycle,hazelnusse/robot.bicycle,hazelnusse/robot.bicycle,hazelnusse/robot.bicycle,hazelnusse/robot.bicycle
15a60f086b17c7a5ba527b3e037f065592e36182
src/lib/src/commands/commands.cpp
src/lib/src/commands/commands.cpp
#include "commands/commands.h" #include <QDir> #include <QProcess> #include <QSettings> #include "commands/sql-worker.h" #include "logger.h" #include "models/filename.h" #include "models/profile.h" #include "tags/tag.h" Commands::Commands(Profile *profile) : m_profile(profile) { QSettings *settings = profile->getS...
#include "commands/commands.h" #include <QDir> #include <QProcess> #include <QSettings> #include "commands/sql-worker.h" #include "logger.h" #include "models/filename.h" #include "models/profile.h" #include "tags/tag.h" Commands::Commands(Profile *profile) : m_profile(profile) { QSettings *settings = profile->getS...
Fix commands fallback for old tag syntax not working
Fix commands fallback for old tag syntax not working
C++
apache-2.0
Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber
ff92cacdb6ef707fc34f3f5e35a60320544d9272
soccer/radio/NetworkRadio.cpp
soccer/radio/NetworkRadio.cpp
#include "NetworkRadio.hpp" #include <Utils.hpp> #include "Geometry2d/Util.hpp" #include "PacketConvert.hpp" #include "status.h" using namespace boost::asio; using ip::udp; NetworkRadio::NetworkRadio(int server_port) : _socket(_context, udp::endpoint(udp::v4(), server_port)), _send_buffers(Robots_Per_Team) ...
#include "NetworkRadio.hpp" #include <Utils.hpp> #include "Geometry2d/Util.hpp" #include "PacketConvert.hpp" #include "status.h" using namespace boost::asio; using ip::udp; NetworkRadio::NetworkRadio(int server_port) : _socket(_context, udp::endpoint(udp::v4(), server_port)), _send_buffers(Num_Shells) { ...
Use Num_Shells robots in network radio
Use Num_Shells robots in network radio - This fixes a crash in the rewrite code, and a bit of UB in the old code.
C++
apache-2.0
RoboJackets/robocup-software,RoboJackets/robocup-software,RoboJackets/robocup-software,RoboJackets/robocup-software
4a6454de94d8940de71cf270ef9169d0fb1eb96a
chrome/common/child_process.cc
chrome/common/child_process.cc
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/common/child_process.h" #if defined(OS_POSIX) #include <signal.h> // For SigUSR1Handler below. #endif #include "app/l10n_util.h" #...
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/common/child_process.h" #if defined(OS_POSIX) #include <signal.h> // For SigUSR1Handler below. #endif #include "base/message_loop....
Set the title for wait-for-debugger dialog to be "Chromium". We were fetching the product name from resource bundle, which is not available for child processes that do not need it. Review URL: http://codereview.chromium.org/3176008
Set the title for wait-for-debugger dialog to be "Chromium". We were fetching the product name from resource bundle, which is not available for child processes that do not need it. Review URL: http://codereview.chromium.org/3176008 git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@56416 4ff67af0-8c30-449e-8e8b-ad33...
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
3c24ded6967c34738b137024bc58d5c439165591
chrome/test/ui/ppapi_uitest.cc
chrome/test/ui/ppapi_uitest.cc
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/file_util.h" #include "base/path_service.h" #include "build/build_config.h" #include "chrome/common/chrome_switches.h" #include "chrome...
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/file_util.h" #include "base/path_service.h" #include "build/build_config.h" #include "chrome/common/chrome_switches.h" #include "chrome...
Disable PPAPITest.Graphics2D on linux while I investigate. It's failing after a webkit roll.
Disable PPAPITest.Graphics2D on linux while I investigate. It's failing after a webkit roll. BUG=54150 TBR=akalin Review URL: http://codereview.chromium.org/3334003 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@58245 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
ondra-novak/chromium.src,dednal/chromium.src,M4sse/chromium.src,littlstar/chromium.src,markYoungH/chromium.src,patrickm/chromium.src,mogoweb/chromium-crosswalk,Pluto-tv/chromium-crosswalk,mogoweb/chromium-crosswalk,dednal/chromium.src,rogerwang/chromium,hujiajie/pa-chromium,anirudhSK/chromium,nacl-webkit/chrome_deps,cr...
2aab40207ab12a7ca62b12c6aa93229192c96e72
chrome/test/ui/ppapi_uitest.cc
chrome/test/ui/ppapi_uitest.cc
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/file_util.h" #include "base/path_service.h" #include "build/build_config.h" #include "chrome/common/chrome_switches.h" #include "chrome...
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/file_util.h" #include "base/path_service.h" #include "build/build_config.h" #include "chrome/common/chrome_switches.h" #include "chrome...
Mark PPAPITest.PaintAggregator flaky BUG=51012 TEST=ui_tests
Mark PPAPITest.PaintAggregator flaky BUG=51012 TEST=ui_tests Review URL: http://codereview.chromium.org/3064031 git-svn-id: http://src.chromium.org/svn/trunk/src@54639 4ff67af0-8c30-449e-8e8b-ad334ec8d88c Former-commit-id: 7eaf5c224b44adf4b09fbba8798912dd197a4e12
C++
bsd-3-clause
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-u...
8e741f3da4dd693f4e7933e87b99df9f2b4337e0
src/codeformation/Stack.cpp
src/codeformation/Stack.cpp
#include "codeformation/Stack.h" #include <cassert> namespace codeformation { Stack::~Stack() { destroy(); } stdts::optional<Error> Stack::build(const std::string& json) { try { std::string error; auto root = json11::Json::parse(json, error); if (!error.empty()) { return ...
/** * Copyright 2016 BitTorrent Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
Add missing license header
Add missing license header
C++
apache-2.0
bittorrent/scraps,bittorrent/scraps,bittorrent/scraps,bittorrent/scraps
f4a02d5258a82d7855deef74bc744d8175695561
PoissonEditingWrappers.hpp
PoissonEditingWrappers.hpp
/*========================================================================= * * Copyright David Doria 2012 daviddoria@gmail.com * * 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 * *...
/*========================================================================= * * Copyright David Doria 2012 daviddoria@gmail.com * * 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 * *...
Add an explanation of some terminology.
Add an explanation of some terminology.
C++
apache-2.0
daviddoria/PoissonEditing
41e3268ccde9b97f15514a55af1a06f49ebbb049
arangod/Scheduler/JobQueue.cpp
arangod/Scheduler/JobQueue.cpp
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2016 ArangoDB GmbH, Cologne, Germany /// /// 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...
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2016 ArangoDB GmbH, Cologne, Germany /// /// 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...
clean up job queues on shutdown
clean up job queues on shutdown
C++
apache-2.0
baslr/ArangoDB,hkernbach/arangodb,Simran-B/arangodb,baslr/ArangoDB,wiltonlazary/arangodb,Simran-B/arangodb,joerg84/arangodb,joerg84/arangodb,graetzer/arangodb,hkernbach/arangodb,graetzer/arangodb,hkernbach/arangodb,baslr/ArangoDB,baslr/ArangoDB,baslr/ArangoDB,wiltonlazary/arangodb,joerg84/arangodb,Simran-B/arangodb,gra...
719ff68fdd6cbcfab612cb8efe3dda3536e81a95
platform/javascript/api/javascript_tools_editor_plugin.cpp
platform/javascript/api/javascript_tools_editor_plugin.cpp
/*************************************************************************/ /* javascript_tools_editor_plugin.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
/*************************************************************************/ /* javascript_tools_editor_plugin.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
Improve the generated ZIP archive name when using Download Project Source
Improve the generated ZIP archive name when using Download Project Source This makes for easier organization since downloading a project several times (or several different projects) will result in more meaningful file names.
C++
mit
Faless/godot,pkowal1982/godot,akien-mga/godot,sanikoyes/godot,vkbsb/godot,josempans/godot,Valentactive/godot,vnen/godot,pkowal1982/godot,guilhermefelipecgs/godot,sanikoyes/godot,vkbsb/godot,ZuBsPaCe/godot,Shockblast/godot,pkowal1982/godot,firefly2442/godot,Zylann/godot,akien-mga/godot,Zylann/godot,vkbsb/godot,akien-mga...
a1039e1e29ce6dd3822c1953f7311b83ca8478b7
src/commands/AveCommand.hpp
src/commands/AveCommand.hpp
// cfiles, an analysis frontend for the Chemfiles library // Copyright (C) Guillaume Fraux and contributors -- BSD license #ifndef CFILES_AVERAGE_COMMAND_HPP #define CFILES_AVERAGE_COMMAND_HPP #include <map> #include <chemfiles.hpp> #include "Averager.hpp" #include "Command.hpp" #include "utils.hpp" namespace docop...
// cfiles, an analysis frontend for the Chemfiles library // Copyright (C) Guillaume Fraux and contributors -- BSD license #ifndef CFILES_AVERAGE_COMMAND_HPP #define CFILES_AVERAGE_COMMAND_HPP #include <map> #include <chemfiles.hpp> #include "Averager.hpp" #include "Command.hpp" #include "utils.hpp" namespace docop...
Fix initialisation of custom_cell
Fix initialisation of custom_cell
C++
mpl-2.0
chemfiles/chrp,Luthaf/chrp
d409a117a204ef4c58caf5c7bd51c9f5647883b4
RawSpeed/Camera.cpp
RawSpeed/Camera.cpp
#include "StdAfx.h" #include "Camera.h" #include <iostream> /* RawSpeed - RAW file decoder. Copyright (C) 2009-2014 Klaus Post This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundati...
#include "StdAfx.h" #include "Camera.h" #include <iostream> /* RawSpeed - RAW file decoder. Copyright (C) 2009-2014 Klaus Post This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundati...
Throw CME if no <Sensor> entries.
Camera::getSensorInfo(): Throw CME if no <Sensor> entries. Fixes a crash on canon powershot pro70, which is disabled.
C++
lgpl-2.1
LebedevRI/rawspeed,LebedevRI/rawspeed,darktable-org/rawspeed,LebedevRI/rawspeed,anarsoul/rawspeed,darktable-org/rawspeed,LebedevRI/rawspeed,LebedevRI/rawspeed,anarsoul/rawspeed,darktable-org/rawspeed,darktable-org/rawspeed,darktable-org/rawspeed,anarsoul/rawspeed
ef22366455c312b8306d9d05da4c5fab95937d00
src/common/DoutStreambuf.cc
src/common/DoutStreambuf.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2010 Dreamhost * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version ...
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2010 Dreamhost * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version ...
fix normalize_relative
logging: fix normalize_relative Signed-off-by: Colin McCabe <c0eabe2887ac1e91c280795b9fca010e21066283@hq.newdream.net>
C++
lgpl-2.1
ajnelson/ceph,ajnelson/ceph,ajnelson/ceph,ajnelson/ceph,ajnelson/ceph,ajnelson/ceph
e9df46bfa039c0e0f14514f0023d1a00f2f68df3
trunk/libmesh/src/solvers/exact_solution.C
trunk/libmesh/src/solvers/exact_solution.C
// $Id: exact_solution.C,v 1.25 2006-04-05 16:14:27 roystgnr Exp $ // The libMesh Finite Element Library. // Copyright (C) 2002-2005 Benjamin S. Kirk, John W. Peterson // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as publis...
// $Id: exact_solution.C,v 1.26 2007-01-31 21:35:21 roystgnr Exp $ // The libMesh Finite Element Library. // Copyright (C) 2002-2005 Benjamin S. Kirk, John W. Peterson // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as publis...
Use zero exact solution by default
Use zero exact solution by default git-svn-id: e88a1e38e13faf406e05cc89eca8dd613216f6c4@1824 434f946d-2f3d-0410-ba4c-cb9f52fb0dbf
C++
lgpl-2.1
90jrong/libmesh,cahaynes/libmesh,capitalaslash/libmesh,aeslaughter/libmesh,90jrong/libmesh,aeslaughter/libmesh,jwpeterson/libmesh,jwpeterson/libmesh,dschwen/libmesh,friedmud/libmesh,balborian/libmesh,libMesh/libmesh,pbauman/libmesh,aeslaughter/libmesh,cahaynes/libmesh,BalticPinguin/libmesh,libMesh/libmesh,pbauman/libme...
2417a31bddec762267691ea7ff02344949d42557
source/architecture/Stack.cpp
source/architecture/Stack.cpp
/** * \file * \brief Stack class implementation * * \author Copyright (C) 2014-2016 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info * * \par License * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not * distributed with this ...
/** * \file * \brief Stack class implementation * * \author Copyright (C) 2014-2016 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info * * \par License * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not * distributed with this ...
Simplify the code in local adjustStorage() from Stack class
Simplify the code in local adjustStorage() from Stack class Simply round up the address to next multiple of alignment.
C++
mpl-2.0
DISTORTEC/distortos,jasmin-j/distortos,CezaryGapinski/distortos,CezaryGapinski/distortos,DISTORTEC/distortos,CezaryGapinski/distortos,DISTORTEC/distortos,jasmin-j/distortos,CezaryGapinski/distortos,DISTORTEC/distortos,jasmin-j/distortos,jasmin-j/distortos,CezaryGapinski/distortos,jasmin-j/distortos
842eca411c907bdffd69e61edf265c93074947db
src/CharacterContainer.cpp
src/CharacterContainer.cpp
// illarionserver - server for the game Illarion // Copyright 2011 Illarion e.V. // // This file is part of illarionserver. // // illarionserver is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free Software Foundation, e...
// illarionserver - server for the game Illarion // Copyright 2011 Illarion e.V. // // This file is part of illarionserver. // // illarionserver is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free Software Foundation, e...
Use maximum norm for range checks
Use maximum norm for range checks Characters can move diagonally now, so it makes more sense to use the maximum norm for e.g. fighting.
C++
agpl-3.0
Illarion-eV/Illarion-Server,Illarion-eV/Illarion-Server,Illarion-eV/Illarion-Server
349c93e9ad1d4152417f7fadfad89b3c78e9ee30
worker/src/RTC/RTCP/CompoundPacket.cpp
worker/src/RTC/RTCP/CompoundPacket.cpp
#define MS_CLASS "RTC::RTCP::CompoundPacket" // #define MS_LOG_DEV #include "RTC/RTCP/CompoundPacket.hpp" #include "Logger.hpp" namespace RTC { namespace RTCP { /* Instance methods. */ void CompoundPacket::Serialize(uint8_t* data) { MS_TRACE(); this->header = data; // Calculate the total required ...
#define MS_CLASS "RTC::RTCP::CompoundPacket" // #define MS_LOG_DEV #include "RTC/RTCP/CompoundPacket.hpp" #include "Logger.hpp" namespace RTC { namespace RTCP { /* Instance methods. */ void CompoundPacket::Serialize(uint8_t* data) { MS_TRACE(); this->header = data; // Calculate the total required ...
Make clang-tidy happy
Make clang-tidy happy
C++
isc
ibc/MediaSoup,versatica/mediasoup,versatica/mediasoup,ibc/MediaSoup,versatica/mediasoup,versatica/mediasoup,versatica/mediasoup,versatica/mediasoup,versatica/mediasoup,versatica/mediasoup,ibc/MediaSoup,versatica/mediasoup
facc95a87b4247c53eeb7838dff9b02d60f29fa2
gm/imagefiltersgraph.cpp
gm/imagefiltersgraph.cpp
/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "gm.h" #include "SkBitmapSource.h" #include "SkBlurImageFilter.h" #include "SkMorphologyImageFilter.h" #include "SkTestImageFilters.h" ////////////////////////////...
/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "gm.h" #include "SkBitmapSource.h" #include "SkBlurImageFilter.h" #include "SkMorphologyImageFilter.h" #include "SkTestImageFilters.h" ////////////////////////////...
Disable imagefiltersgraph from running through pipe on android
Disable imagefiltersgraph from running through pipe on android While we figure out what the problem is. Review URL: https://codereview.appspot.com/6441164 git-svn-id: e8541e15acce502a64c929015570ad1648e548cd@5193 2bbb7eff-a529-9590-31e7-b0007b416f81
C++
bsd-3-clause
mydongistiny/android_external_skia,mozilla-b2g/external_skia,Igalia/skia,ominux/skia,wildermason/external_skia,MinimalOS/external_chromium_org_third_party_skia,Hybrid-Rom/external_skia,MyAOSP/external_chromium_org_third_party_skia,AOSPU/external_chromium_org_third_party_skia,Hybrid-Rom/external_skia,geekboxzone/lollipo...
34f5686c1064618eee8aaec092660d0240bd29c9
code/permuter/RandomPermuter.cpp
code/permuter/RandomPermuter.cpp
#include <iterator> #include <list> #include <numeric> #include <vector> #include <cassert> #include "Permuter.h" #include "RandomPermuter.h" namespace fs_testing { namespace permuter { using std::advance; using std::iota; using std::list; using std::mt19937; using std::uniform_int_distribution; using std::vector; ...
#include <iterator> #include <list> #include <numeric> #include <vector> #include <cassert> #include "Permuter.h" #include "RandomPermuter.h" namespace fs_testing { namespace permuter { using std::advance; using std::iota; using std::list; using std::mt19937; using std::uniform_int_distribution; using std::vector; ...
Update RandomPermuter.cpp
Update RandomPermuter.cpp
C++
apache-2.0
utsaslab/crashmonkey,utsaslab/crashmonkey,utsaslab/crashmonkey,utsaslab/crashmonkey
915118e995d2672cea5c1f208588f221ccc57af2
STEER/AliESDRun.cxx
STEER/AliESDRun.cxx
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
Fix for bug #56473: Segmentation fault in AliESDRun::Print (Matthias)
Fix for bug #56473: Segmentation fault in AliESDRun::Print (Matthias)
C++
bsd-3-clause
alisw/AliRoot,shahor02/AliRoot,shahor02/AliRoot,coppedis/AliRoot,sebaleh/AliRoot,ALICEHLT/AliRoot,ecalvovi/AliRoot,ALICEHLT/AliRoot,shahor02/AliRoot,ecalvovi/AliRoot,jgrosseo/AliRoot,ecalvovi/AliRoot,miranov25/AliRoot,miranov25/AliRoot,ALICEHLT/AliRoot,mkrzewic/AliRoot,shahor02/AliRoot,miranov25/AliRoot,ALICEHLT/AliRoo...
2774a57df681a89143bbc5a55bfbd6d25b3ceab8
STEER/AliPoints.cxx
STEER/AliPoints.cxx
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
Change to satisfy gcc 2.95.4)
Change to satisfy gcc 2.95.4)
C++
bsd-3-clause
mkrzewic/AliRoot,mkrzewic/AliRoot,ALICEHLT/AliRoot,alisw/AliRoot,coppedis/AliRoot,coppedis/AliRoot,mkrzewic/AliRoot,jgrosseo/AliRoot,ecalvovi/AliRoot,coppedis/AliRoot,ecalvovi/AliRoot,jgrosseo/AliRoot,sebaleh/AliRoot,miranov25/AliRoot,shahor02/AliRoot,mkrzewic/AliRoot,alisw/AliRoot,mkrzewic/AliRoot,coppedis/AliRoot,ALI...
5ac9a1dfdb551d9eb16bca9a817cb0cd6ac1119f
mainwindow.cpp
mainwindow.cpp
#include "mainwindow.h" #include "ui_mainwindow.h" #include "connectwidget.h" #include "summarywidget.h" #include <QStackedWidget> #include <QtDebug> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); QStackedWidget *stackWidget = new QStackedWidget(this...
#include "mainwindow.h" #include "ui_mainwindow.h" #include "connectwidget.h" #include "summarywidget.h" #include <QStackedWidget> #include <QtDebug> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); setMinimumSize(809, 500); QStackedWidget *stackWidg...
Make window bigger
Make window bigger
C++
bsd-2-clause
port-42/client
8084e25977f3749720362513d68bc02770b91fe4
mainwindow.cpp
mainwindow.cpp
#include <QGraphicsItem> #include <QGraphicsScene> #include <QGraphicsView> #include <QKeyEvent> #include <QDebug> #include <QMessageBox> #include <QFileDialog> #include <cassert> #include <cmath> #include <vector> #include <unordered_map> #include <fstream> #include <string> #include "mainwindow.h" #include "ui_main...
#include <QGraphicsItem> #include <QGraphicsScene> #include <QGraphicsView> #include <QKeyEvent> #include <QDebug> #include <QMessageBox> #include <QFileDialog> #include <cassert> #include <cmath> #include <vector> #include <unordered_map> #include <fstream> #include <string> #include "mainwindow.h" #include "ui_main...
Handle when save graph dialog is canceled
Handle when save graph dialog is canceled
C++
mit
darthdeus/graphite-gui
cbb358ae76af52381ed1199d54088e2a4592e15b
physics/discrete_trajectory_segment_iterator_body.hpp
physics/discrete_trajectory_segment_iterator_body.hpp
#include "physics/discrete_trajectory_segment_iterator.hpp" namespace principia { namespace physics { namespace internal_discrete_trajectory_segment_iterator { template<typename Frame> DiscreteTrajectorySegmentIterator<Frame>& DiscreteTrajectorySegmentIterator<Frame>::operator++() { ++iterator_; return *this; } ...
#pragma once #include "physics/discrete_trajectory_segment_iterator.hpp" namespace principia { namespace physics { namespace internal_discrete_trajectory_segment_iterator { template<typename Frame> DiscreteTrajectorySegmentIterator<Frame>& DiscreteTrajectorySegmentIterator<Frame>::operator++() { CHECK_NOTNULL(segm...
Check for uninitialized segment iterator.
Check for uninitialized segment iterator.
C++
mit
pleroy/Principia,mockingbirdnest/Principia,pleroy/Principia,pleroy/Principia,mockingbirdnest/Principia,pleroy/Principia,mockingbirdnest/Principia,mockingbirdnest/Principia
2274971efab47cd64d69db75110ff53ff0a7ba4b
libtbag/time/Time.cpp
libtbag/time/Time.cpp
/** * @file Time.cpp * @brief Time class implementation. * @author zer0 * @date 2016-07-17 */ #include <libtbag/time/Time.hpp> #include <libtbag/debug/Assert.hpp> #include <libtbag/pattern/Singleton2.hpp> #include <libtbag/string/StringUtils.hpp> #include <libtbag/3rd/date/date.h> #include <cassert> #inclu...
/** * @file Time.cpp * @brief Time class implementation. * @author zer0 * @date 2016-07-17 */ #include <libtbag/time/Time.hpp> #include <libtbag/debug/Assert.hpp> #include <libtbag/pattern/Singleton2.hpp> #include <libtbag/string/StringUtils.hpp> #include <libtbag/3rd/date/date.h> #include <cassert> #inclu...
Remove timeval in MSVC.
Remove timeval in MSVC.
C++
mit
osom8979/tbag,osom8979/tbag,osom8979/tbag,osom8979/tbag,osom8979/tbag
5d061749f9be5c7a786be892ca5229b60e9eb42c
mainwindow.cpp
mainwindow.cpp
/* This file is part of Zanshin Todo. Copyright 2008 Kevin Ottens <ervin@kde.org> Copyright 2008, 2009 Mario Bensi <nef@ipsquad.net> 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; ei...
/* This file is part of Zanshin Todo. Copyright 2008 Kevin Ottens <ervin@kde.org> Copyright 2008, 2009 Mario Bensi <nef@ipsquad.net> 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; ei...
Make sure the collection is valid before trying a fetch.
Make sure the collection is valid before trying a fetch.
C++
lgpl-2.1
sandsmark/zanshin,kolab-groupware/zanshin,sandsmark/zanshin,kolab-groupware/zanshin,kolab-groupware/zanshin,sandsmark/zanshin
2bc5c81a5a0915731bba60495c8a404cb6a0a025
src/plugins/debugger/qml/qmljsscriptconsole.cpp
src/plugins/debugger/qml/qmljsscriptconsole.cpp
/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** ** GNU Lesser General Public License Usage ** ** This file may be used unde...
/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** ** GNU Lesser General Public License Usage ** ** This file may be used unde...
Refactor extra selections code
ScriptConsole: Refactor extra selections code Change-Id: I251dc5646bfcf1da386939bb8309b8db6cd2eeaa Reviewed-by: Kai Koehne <077bc265216106fb22408e62f2d97925ede69d10@nokia.com>
C++
lgpl-2.1
amyvmiwei/qt-creator,colede/qtcreator,amyvmiwei/qt-creator,malikcjm/qtcreator,omniacreator/qtcreator,jonnor/qt-creator,farseerri/git_code,amyvmiwei/qt-creator,jonnor/qt-creator,ostash/qt-creator-i18n-uk,AltarBeastiful/qt-creator,azat/qtcreator,danimo/qt-creator,maui-packages/qt-creator,darksylinc/qt-creator,Distrotech/...
1d102e916401e74f900ac8ef8a4479ee644823ab
libvast/test/time.cpp
libvast/test/time.cpp
/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across * ...
/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across * ...
Add unit tests for interesting corner cases
Add unit tests for interesting corner cases Co-Authored-By: mavam <e388d34fd3c0456122779e95f262c0d70198a168@berkeley.edu>
C++
bsd-3-clause
mavam/vast,mavam/vast,vast-io/vast,mavam/vast,vast-io/vast,vast-io/vast,vast-io/vast,mavam/vast,vast-io/vast
9cf0991cf5f4789c79f9180702753e296ebd609b
sources/runtime_extension.hpp
sources/runtime_extension.hpp
#pragma once #include "./arglist.hpp" static cov_basic::extension runtime_ext; namespace runtime_cbs_ext { using namespace cov_basic; cov::any info(array&) { std::cout<<"Covariant Basic Parser\nVersion:2.1.1.1\nCopyright (C) 2017 Michael Lee"<<std::endl; return number(0); } cov::any time(array&) { return nu...
#pragma once #include "./arglist.hpp" static cov_basic::extension runtime_ext; namespace runtime_cbs_ext { using namespace cov_basic; cov::any info(array&) { std::cout<<"Covariant Basic Parser\nVersion:2.1.1.2\nCopyright (C) 2017 Michael Lee"<<std::endl; return number(0); } cov::any time(array&) { return nu...
更新版本号(2.1.1.2)
更新版本号(2.1.1.2)
C++
apache-2.0
covscript/covscript,covscript/covscript,covscript/covscript
78523bf98fd3ab97a77c0e07f5c57ede82af8c3e
test/output/test_type_name.cpp
test/output/test_type_name.cpp
#include <mettle.hpp> using namespace mettle; struct my_type {}; namespace my_namespace { struct another_type {}; } suite<> test_type_name("type_name()", [](auto &_) { _.test("primitives", []() { expect(type_name<int>(), equal_to("int")); expect(type_name<int &>(), equal_to("int &")); expect(type_nam...
#include <mettle.hpp> using namespace mettle; struct my_type {}; namespace my_namespace { struct another_type {}; } suite<> test_type_name("type_name()", [](auto &_) { _.test("primitives", []() { expect(type_name<int>(), equal_to("int")); expect(type_name<int &>(), regex_match("int\\s*&")); expect(ty...
Use regex_match to be more flexible with checking type_name's result
Use regex_match to be more flexible with checking type_name's result
C++
bsd-3-clause
jimporter/mettle,jimporter/mettle
8cbb1853fece9aca3a85a88ef85616fd707956eb
test/resource_locator_test.cpp
test/resource_locator_test.cpp
#include <gmock/gmock.h> #include <set> #include "oddlib/stream.hpp" #include <jsonxx/jsonxx.h> #include "logger.hpp" using namespace ::testing; std::vector<Uint8> StringToVector(const std::string& str) { return std::vector<Uint8>(str.begin(), str.end()); } class IFileSystem { public: virtual ~IFileSystem() ...
#include <gmock/gmock.h> #include <set> #include "oddlib/stream.hpp" #include <jsonxx/jsonxx.h> #include "logger.hpp" using namespace ::testing; std::vector<Uint8> StringToVector(const std::string& str) { return std::vector<Uint8>(str.begin(), str.end()); } class IFileSystem { public: virtual ~IFileSystem() ...
fix test mock
fix test mock
C++
mit
paulsapps/alive,mlgthatsme/alive,mlgthatsme/alive,paulsapps/alive,paulsapps/alive,mlgthatsme/alive
17b169b3c8d97003334ebd214b92d46cb06ac9e2
concurrency_control/row_lock.cpp
concurrency_control/row_lock.cpp
#include "row.h" #include "txn.h" #include "row_lock.h" #include "mem_alloc.h" #include "manager.h" void Row_lock::init(row_t * row) { _row = row; owners = NULL; waiters_head = NULL; waiters_tail = NULL; owner_cnt = 0; waiter_cnt = 0; latch = new pthread_mutex_t; pthread_mutex_init(latch, NULL); lock_type ...
#include "row.h" #include "txn.h" #include "row_lock.h" #include "mem_alloc.h" #include "manager.h" void Row_lock::init(row_t * row) { _row = row; owners = NULL; waiters_head = NULL; waiters_tail = NULL; owner_cnt = 0; waiter_cnt = 0; latch = new pthread_mutex_t; pthread_mutex_init(latch, NULL); lock_type ...
Update row_lock.cpp
Update row_lock.cpp Fixed a typo in comment
C++
isc
yxymit/DBx1000,yxymit/DBx1000,yxymit/DBx1000
102f7833c77e71af8f7471c304fce7df61286ffd
mesh/pmesh.hpp
mesh/pmesh.hpp
// Copyright (c) 2010, Lawrence Livermore National Security, LLC. Produced at // the Lawrence Livermore National Laboratory. LLNL-CODE-443211. All Rights // reserved. See file COPYRIGHT for details. // // This file is part of the MFEM library. For more information and source code // availability see http://mfem.org. //...
// Copyright (c) 2010, Lawrence Livermore National Security, LLC. Produced at // the Lawrence Livermore National Laboratory. LLNL-CODE-443211. All Rights // reserved. See file COPYRIGHT for details. // // This file is part of the MFEM library. For more information and source code // availability see http://mfem.org. //...
Make the method ParMesh::ExchangeFaceNbrData(Table*, int*) protected.
Make the method ParMesh::ExchangeFaceNbrData(Table*, int*) protected.
C++
bsd-3-clause
mfem/mfem,mfem/mfem,mfem/mfem,mfem/mfem,mfem/mfem
8955b2670d1330738d7499b80c2a4f25382e3132
uart.cpp
uart.cpp
#include <stdio.h> #include <unistd.h> #include <fcntl.h> #include <termios.h> #include "horizonTracker.h" #define START_BYTE 0x12 const int DOUBLE_SIZE = sizeof(double); int uart0filestream = -1; void UARTInit(); int writeStartByte(); int writeAngleData(double&); int readAngleData(double&); int readStartByte(); vo...
#include <stdio.h> #include <unistd.h> #include <fcntl.h> #include <termios.h> #include "horizonTracker.h" #define START_BYTE 0x12 const int DOUBLE_SIZE = sizeof(double); int uart0filestream = -1; void UARTInit(); int writeStartByte(); int writeAngleData(double&); int readAngleData(double&); int readStartByte(); vo...
align bytes to a null identifier
align bytes to a null identifier
C++
mit
LetsBuildRockets/Horizon-Tracker
88f8eb2cb5701a2c5ff239087845838a573feb33
src/servers/sapphire_zone/Zone/TerritoryMgr.cpp
src/servers/sapphire_zone/Zone/TerritoryMgr.cpp
#include "TerritoryMgr.h" #include <common/Logging/Logger.h> #include <common/Database/DatabaseDef.h> #include <common/Exd/ExdDataGenerated.h> #include "Actor/Player.h" #include "Zone.h" #include "ZonePosition.h" #include "InstanceContent.h" extern Core::Logger g_log; extern Core::Data::ExdData g_exdData; extern Co...
#include "TerritoryMgr.h" #include <common/Logging/Logger.h> #include <common/Database/DatabaseDef.h> #include <common/Exd/ExdDataGenerated.h> #include "Actor/Player.h" #include "Zone.h" #include "ZonePosition.h" #include "InstanceContent.h" extern Core::Logger g_log; extern Core::Data::ExdData g_exdData; extern Co...
Use InstanceContent name instead of placeName for InstanceContent
Use InstanceContent name instead of placeName for InstanceContent
C++
agpl-3.0
SapphireMordred/Sapphire,SapphireMordred/Sapphire,SapphireMordred/Sapphire,SapphireMordred/Sapphire,SapphireMordred/Sapphire
0063ba960318c1f53025f3871422637cdc20fb12
source/PersistentStorageHelper/ConfigParamsPersistence.cpp
source/PersistentStorageHelper/ConfigParamsPersistence.cpp
/* mbed Microcontroller Library * Copyright (c) 2006-2015 ARM Limited * * 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 re...
/* mbed Microcontroller Library * Copyright (c) 2006-2015 ARM Limited * * 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 re...
Add persistence support for NRF52
Add persistence support for NRF52
C++
apache-2.0
roywant/EddystoneBeacon,roywant/EddystoneBeacon
0adc6c7c9d2e976105ff2c60cebf2304accdae89
main.cpp
main.cpp
/* SpiCar mbed platform * Copyright (c) 2017 Spiri Mobility Solutions * * 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 re...
/* SpiCar mbed platform * Copyright (c) 2017 Spiri Mobility Solutions * * 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 re...
Increase stack sizes
Increase stack sizes
C++
apache-2.0
osterbye/spicar-mbed,osterbye/spicar-mbed
8f2facaacadcb766d62f8f91d091785b933bc280
main.cpp
main.cpp
#include <QCoreApplication> #include <QTextStream> #include <QStringList> #include "httpserver.h" int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); //TODO: boost::program_args QStringList args(a.arguments()); int pos = args.indexOf("--docroot"); QString docRoot = "/tmp"; if...
#include <QCoreApplication> #include <QTextStream> #include <QStringList> #include <QFileInfo> #include "httpserver.h" int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); //TODO: boost::program_args QStringList args(a.arguments()); int pos = args.indexOf("--docroot"); QString docR...
check to ensure the docroot is readable
check to ensure the docroot is readable
C++
apache-2.0
paulbarbu/http-daemon,paulbarbu/http-daemon
0a1e697c2facc1ad0b0557ef0acda279c6604da9
tutorials/hist/rebin.C
tutorials/hist/rebin.C
//this tutorial illustrates how to: // -create a variable binwidth histogram with a binning such // that the population per bin is about the same. // -rebin a variable binwidth histogram into another one. //Author: Rene Brun #include "TH1.h" #include "TCanvas.h" void rebin() { //create a fix bin histogram ...
//this tutorial illustrates how to: // -create a variable binwidth histogram with a binning such // that the population per bin is about the same. // -rebin a variable binwidth histogram into another one. //Author: Rene Brun #include "TH1.h" #include "TCanvas.h" void rebin() { //create a fix bin histogram ...
Fix for ROOT-5889
Fix for ROOT-5889
C++
lgpl-2.1
gganis/root,thomaskeck/root,gbitzes/root,gganis/root,karies/root,esakellari/root,beniz/root,perovic/root,pspe/root,zzxuanyuan/root-compressor-dummy,evgeny-boger/root,olifre/root,agarciamontoro/root,evgeny-boger/root,agarciamontoro/root,zzxuanyuan/root,omazapa/root-old,zzxuanyuan/root,esakellari/root,vukasinmilosevic/ro...
ec06e40703ab6f11976019f8be804fa6923e2141
pcm_to_rgb.cc
pcm_to_rgb.cc
#include <periodic_thread.h> #include <uart.h> #include "fft.h" #include "rgb_led_controller.h" const int points = 2048; static RGBLEDController led_ctrl = RGBLEDController(); static UART* uart = new UART(); short readInt16LE(UART* uart) { short a = uart->get(), b = uart->get(); return b << 8 | a; } int apply_fft(...
#include <periodic_thread.h> #include <uart.h> #include "fft.h" #include "rgb_led_controller.h" const int points = 2048; static RGBLEDController led_ctrl = RGBLEDController(); static UART* uart = new UART(); short readInt16LE(UART* uart) { short a = uart->get(), b = uart->get(); return b << 8 | a; } int apply_fft(...
Fix missing change
Fix missing change
C++
mit
ranisalt/epos-pcm-to-rgb,ranisalt/epos-pcm-to-rgb
d5198ab37c675bae9cf35234ab1165617149d1a0
main.cpp
main.cpp
/* * The MIT License (MIT) * * Copyright (c) 2014 Christoph Brill * * 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 u...
/* * The MIT License (MIT) * * Copyright (c) 2014 Christoph Brill * * 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 u...
Update the GL viewport when resizing the window
Update the GL viewport when resizing the window
C++
mit
egore/slippymap3d,egore/slippymap3d
cd6f7f1fb510883f4fb4134629a49e53c5818634
main.cpp
main.cpp
#include <iostream> #include <sys/types.h> #include <unistd.h> #include <fcntl.h> #include <sys/stat.h> #define O_BINARY 0 const int RECORD_SIZE = 8 * 1024; size_t get_file_size(const char *); int main(int argc, char **argv) { // required for argument parsing int fflag = 0; int c; const char * def_filename = "de...
#include <iostream> #include <sys/types.h> #include <unistd.h> #include <fcntl.h> #include <sys/stat.h> #define O_BINARY 0 const int RECORD_SIZE = 8 * 1024; size_t get_file_size(const char *); int main(int argc, char **argv) { // required for argument parsing int fflag = 0; int c; const char * def_filename = "de...
Implement default filename
Implement default filename
C++
bsd-3-clause
russellfolk/Pthread_Power_Fault_Tester,russellfolk/Pthread_Power_Fault_Tester,russellfolk/Pthread_Power_Fault_Tester
8b724a78e3e4c333fb4f9b8e01f918779e92bd08
main.cpp
main.cpp
/* main.cpp * * Copyright (c) 2011, 2012 Chantilly Robotics <chantilly612@gmail.com> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE S...
/* main.cpp * * Copyright (c) 2011, 2012 Chantilly Robotics <chantilly612@gmail.com> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE S...
Fix on a compile error
Fix on a compile error
C++
isc
rbmj/612-code,Chantilly612Code/612-2012,Chantilly612Code/612-2012,rbmj/612-code
42a560a66711981844e9670e2787ab0b3cd9a8f4
waypoints_navigation/src/waypoints_nav.cpp
waypoints_navigation/src/waypoints_nav.cpp
#include <ros/ros.h> #include <std_msgs/String.h> #include <geometry_msgs/PointStamped.h> #include <geometry_msgs/PoseStamped.h> #include <move_base_msgs/MoveBaseAction.h> #include <actionlib/client/simple_action_client.h> #include <tf/tf.h> #include <tf/transform_listener.h> #include <yaml-cpp/yaml.h> #include <vect...
#include <ros/ros.h> #include <std_msgs/String.h> #include <geometry_msgs/PointStamped.h> #include <geometry_msgs/PoseStamped.h> #include <move_base_msgs/MoveBaseAction.h> #include <actionlib/client/simple_action_client.h> #include <tf/tf.h> #include <tf/transform_listener.h> #include <yaml-cpp/yaml.h> #include <vect...
Delete the unnecessary comment
Delete the unnecessary comment
C++
bsd-2-clause
open-rdc/icart,open-rdc/icart,open-rdc/icart_mini,open-rdc/icart_mini
a6511d096dc79a1c17a2c968b1a41743e665c324
main.cpp
main.cpp
#include <cstdio> int max(int a, int b, int c) { return c> (a>b ? a : b) ? c: (a>b ? a : b); } int main() { int n, value, weight; // items, value, weight float helper3; // readed item weight int s1, s2; // sacks weight float helper1, helper2; // readed sack weight scanf("%f %f", &helper1, &hel...
#include <cstdio> int max(int a, int b, int c) { return c > (a > b ? a : b) ? c : (a > b ? a : b); } int main() { int n, value, weight; // items, value, weight float helper3; // readed item weight int s1, s2; // sacks weight float helper1, helper2; // readed sack weight scanf("%f %f", &helper1, &helper2)...
Update main.cpp
Update main.cpp Coding style
C++
mit
Nubzor/Plecaki
cc66806887c9094e4f16f47ebdc833ccead1fb8f
tests/MergeInfillLinesTest.cpp
tests/MergeInfillLinesTest.cpp
//Copyright (c) 2019 Ultimaker B.V. //CuraEngine is released under the terms of the AGPLv3 or higher. #include <gtest/gtest.h> #include "../src/Application.h" //To set up a scene and load settings that the layer plan and merger need. #include "../src/FanSpeedLayerTime.h" //Required to construct a layer plan. Doesn't ...
//Copyright (c) 2019 Ultimaker B.V. //CuraEngine is released under the terms of the AGPLv3 or higher. #include <gtest/gtest.h> #include "../src/Application.h" //To set up a scene and load settings that the layer plan and merger need. #include "../src/FanSpeedLayerTime.h" //Required to construct a layer plan. Doesn't ...
Document new integration test for weird fat infill lines bug
Document new integration test for weird fat infill lines bug
C++
agpl-3.0
Ultimaker/CuraEngine,Ultimaker/CuraEngine
0e53520edba2e4f20c5865f520a7153b5ae03f0c
dune/gdt/playground/space/finitevolume.hh
dune/gdt/playground/space/finitevolume.hh
// This file is part of the dune-gdt project: // http://users.dune-project.org/projects/dune-gdt // Copyright holders: Felix Albrecht // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_GDT_SPACE_FINITEVOLUME_HH #define DUNE_GDT_SPACE_FINITEVOLUME_HH #include "../mapper/finit...
// This file is part of the dune-gdt project: // http://users.dune-project.org/projects/dune-gdt // Copyright holders: Felix Albrecht // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_GDT_SPACE_FINITEVOLUME_HH #define DUNE_GDT_SPACE_FINITEVOLUME_HH #include "../mapper/finit...
fix 'backend' warnings
[space.fv] fix 'backend' warnings
C++
bsd-2-clause
ftalbrecht/dune-gdt,BarbaraV/dune-gdt
b3f9d2cc1f19b2fa90e2b721161d38a6b4777f07
dune/hdd/linearelliptic/testcases/base.hh
dune/hdd/linearelliptic/testcases/base.hh
// This file is part of the dune-hdd project: // http://users.dune-project.org/projects/dune-hdd // Copyright holders: Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_HDD_LINEARELLIPTIC_TESTCASES_BASE_HH #define DUNE_HDD_LINEARELLIPTIC_TESTCASES_BASE_HH #i...
// This file is part of the dune-hdd project: // http://users.dune-project.org/projects/dune-hdd // Copyright holders: Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_HDD_LINEARELLIPTIC_TESTCASES_BASE_HH #define DUNE_HDD_LINEARELLIPTIC_TESTCASES_BASE_HH #i...
add H_with_h (default to false)
[linearelliptic.testcases...] add H_with_h (default to false) This allows to run a multiscale test case where coarse and fine grid are refined, such that H/h is constant.
C++
bsd-2-clause
pymor/dune-hdd,pymor/dune-hdd
7bb4fd979bdfb0a524c5964f9f6e9ba8351a81c6
main.cpp
main.cpp
4d16dd45-ad5a-11e7-949d-ac87a332f658
4da362fa-ad5a-11e7-a6cb-ac87a332f658
update testing
update testing
C++
mit
justinhyou/GestureRecognition-CNN,justinhyou/GestureRecognition-CNN
67bcea6ce73f87bc1aefd65c2eb42b58a9ecbeda
main.cpp
main.cpp
7909cfc5-4b02-11e5-a305-28cfe9171a43
791e5f28-4b02-11e5-b551-28cfe9171a43
Fix that bug where things didn't work but now they should
Fix that bug where things didn't work but now they should
C++
apache-2.0
haosdent/jcgroup,haosdent/jcgroup
9ce223ca43e5c3377820617522cc21375f5c9615
main.cpp
main.cpp
5485dff3-ad58-11e7-a4a1-ac87a332f658
54f06c0a-ad58-11e7-a238-ac87a332f658
Deal with it
Deal with it
C++
mit
justinhyou/GestureRecognition-CNN,justinhyou/GestureRecognition-CNN
080fac34c403d4a115dbc203f44ae26f6069d09e
main.cpp
main.cpp
/* * main.cpp * openc2e * * Created by Alyssa Milburn on Wed 02 Jun 2004. * Copyright (c) 2004-2008 Alyssa Milburn. All rights reserved. * Copyright (c) 2005-2008 Bryan Donlan. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU L...
/* * main.cpp * openc2e * * Created by Alyssa Milburn on Wed 02 Jun 2004. * Copyright (c) 2004-2008 Alyssa Milburn. All rights reserved. * Copyright (c) 2005-2008 Bryan Donlan. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU L...
remove unnecessary qtopenc2e.h include from main.cpp
remove unnecessary qtopenc2e.h include from main.cpp
C++
lgpl-2.1
ccdevnet/openc2e,crystalline/openc2e,bdonlan/openc2e,ccdevnet/openc2e,crystalline/openc2e,bdonlan/openc2e,ccdevnet/openc2e,bdonlan/openc2e,ccdevnet/openc2e,ccdevnet/openc2e,crystalline/openc2e,ccdevnet/openc2e,bdonlan/openc2e,crystalline/openc2e,crystalline/openc2e
4b3977ec689fc918215ec47fd67d6fd4360250f8
main.cpp
main.cpp
#include <QGuiApplication> #include <QQmlApplicationEngine> #include <QQmlContext> #include "applications.h" #include "iconprovider.h" #include "process.h" /** * @todo: Config file in ~/.config/qmldmenu/ * @todo: SHIFT(ENTER) for sudo * @todo: TAB For command (term /bin/*) / app (.desktop) mode */ int main(int arg...
#include <QGuiApplication> #include <QQmlApplicationEngine> #include <QQmlContext> #include "applications.h" #include "iconprovider.h" #include "process.h" /** * @todo: Config file in ~/.config/qmldmenu/ * @todo: SHIFT(ENTER) for sudo * @todo: TAB For command (term /{usr}/bin/) / app (.desktop) mode */ int main(in...
Fix warning in todo
Fix warning in todo
C++
mit
bayi/qdmenu,bayi/qdmenu,bayi/qdmenu
b87a8b3f25b2f74b860fe820fa594576babf64ff
src/Nazara/Audio/Sound.cpp
src/Nazara/Audio/Sound.cpp
// Copyright (C) 2015 Jérôme Leclercq // This file is part of the "Nazara Engine - Audio module" // For conditions of distribution and use, see copyright notice in Config.hpp #include <Nazara/Audio/Sound.hpp> #include <Nazara/Audio/Audio.hpp> #include <Nazara/Audio/Config.hpp> #include <Nazara/Audio/OpenAL.hpp> #inclu...
// Copyright (C) 2015 Jérôme Leclercq // This file is part of the "Nazara Engine - Audio module" // For conditions of distribution and use, see copyright notice in Config.hpp #include <Nazara/Audio/Sound.hpp> #include <Nazara/Audio/Audio.hpp> #include <Nazara/Audio/Config.hpp> #include <Nazara/Audio/OpenAL.hpp> #inclu...
Replace error check by assert
Audio/Sound: Replace error check by assert Former-commit-id: 76192feaa3a29342b5456a97f660719714be3fe6
C++
mit
DigitalPulseSoftware/NazaraEngine
f563a2d0efee66e5976bc0f3492f6545c521b06d
utils.cc
utils.cc
#include "utils.h" ustring to_unicode(const std::string &s) { ustring out; for (size_t i = 0; i < s.size(); ++i) { unsigned char c = s[i]; if (c < 128) { out += c; } else { out += '?'; } } return out; }
#include "utils.h" ustring to_unicode(const std::string &in) { ustring out(in.size(), 0); for (size_t i = 0; i < in.size(); ++i) { unsigned char c = in[i]; if (c >= 128) { c = '?'; } out[i] = c; } return out; }
Optimize to_unicode() [PERFECTIVE]
utils: Optimize to_unicode() [PERFECTIVE]
C++
lgpl-2.1
japeq/jamail,japeq/jamail
c86317e370f53a4c3f34d23dd1f79da7510cbf8d
main.cpp
main.cpp
#include <QApplication> #include <QQmlApplicationEngine> #include <QDir> #include <QFile> #include <QFileInfo> int main(int argc, char *argv[]) { QApplication app(argc, argv); #if defined(Q_OS_MACX) QCoreApplication::addLibraryPath(QCoreApplication::applicationDirPath() + "/../PlugIns"); #endif QQmlApplicationEng...
#include <QApplication> #include <QQmlApplicationEngine> #include <QDir> #include <QFile> #include <QFileInfo> int main(int argc, char *argv[]) { QApplication app(argc, argv); app.setApplicationName("OwaViewer"); app.setOrganizationName("HanGee OwaNEXT"); app.setOrganizationDOmain("han-gee.com"); #if defined(Q_O...
set application and orgnization information
set application and orgnization information
C++
mit
HanGee/OwaViewer,HanGee/OwaViewer
936ae2574f044c142a90ffc167b3162076761849
main.cpp
main.cpp
#include <fstream> bool file_exists(std::string& path) { std::ifstream file(path); return file.good(); } void allocate_file(std::string& path, unsigned int size = 0) { std::ofstream file(path); if (size > 0) { file.seekp(size - 1); file << '\0'; } } bool check_length(std::fstream&...
#include <fstream> bool file_exists(std::string& path) { std::ifstream file(path); return file.good(); } void allocate_file(std::string& path, unsigned long long int size = 0) { std::ofstream file(path); if (size > 0) { file.seekp(size - 1); file << '\0'; } } bool check_length(std...
Add single index methods.
Add single index methods.
C++
mit
QuantGen/BINMatrix,QuantGen/BINMatrix
45e02b4a18b54293b60d42e2daf684c49472c05a
main.cpp
main.cpp
/* * Copyright (c) 2015 Isode Limited. * All rights reserved. * See the LICENSE file for more information. */ #include <string> #include <vector> #include <boost/bind.hpp> #include <boost/lexical_cast.hpp> #include <boost/make_shared.hpp> #include <boost/shared_ptr.hpp> #include <boost/thread.hpp> #include <boost...
/* * Copyright (c) 2015 Isode Limited. * All rights reserved. * See the LICENSE file for more information. */ #include <string> #include <vector> #include <boost/bind.hpp> #include <boost/lexical_cast.hpp> #include <boost/make_shared.hpp> #include <boost/shared_ptr.hpp> #include <boost/thread.hpp> #include <boost...
Fix caps in main.cpp
Fix caps in main.cpp
C++
mit
Kev/restsocket,Kev/restsocket,Kev/restsocket,Kev/restsocket
f67956108c3dc53a0386c975eb25032ca77514ab
main.cpp
main.cpp
#define FUSE_USE_VERSION 30 #include <fuse.h> // POSIX #include <sys/types.h> #include <sys/stat.h> // mode info #include <pwd.h> // user id #include <grp.h> // group id #include <unistd.h> #include <time.h> #include <limits.h> // PATH_MAX // STL #include <system_error> #include <map> #include <set> #include <string>...
#define FUSE_USE_VERSION 30 #include <fuse.h> // POSIX #include <sys/types.h> #include <sys/stat.h> // mode info #include <pwd.h> // user id #include <grp.h> // group id #include <unistd.h> #include <time.h> #include <limits.h> // PATH_MAX // STL #include <system_error> #include <map> #include <set> #include <string>...
comment out unused code
comment out unused code
C++
unlicense
GravisZro/circlefs
a1f66c9d12955e3b994ae2e5903155a75b27cd49
main.cpp
main.cpp
#include <iostream> #include <sched.h> #include <stdlib.h> #include <sys/wait.h> #include <errno.h> #include <unistd.h> #include <sys/utsname.h> #include <string> int run(void* arg) { char **argv = (char**) arg; const std::string name = "funny-name"; struct utsname uts; sethostname((const char *) name.c_str(), ...
#include <iostream> #include <sched.h> #include <stdlib.h> #include <sys/wait.h> #include <errno.h> #include <unistd.h> #include <sys/utsname.h> #include <string> int run(void* arg) { char **argv = (char**) arg; const std::string name = "funny-name"; struct utsname uts; sethostname((const char *) name....
Convert indentation
Convert indentation
C++
mit
chmeldax/boxie