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 |
|---|---|---|---|---|---|---|---|---|---|
84694ff59a1ff1db482f5b7d09b1f404af9821ad | libqimessaging/qimessaging/type.hpp | libqimessaging/qimessaging/type.hpp | #pragma once
/*
** Copyright (C) 2012 Aldebaran Robotics
** See COPYING for the license
*/
#ifndef _QIMESSAGING_TYPE_HPP_
#define _QIMESSAGING_TYPE_HPP_
#include <typeinfo>
#include <boost/preprocessor.hpp>
#include <qimessaging/datastream.hpp>
#include <qimessaging/details/dynamicvalue.hpp>
namespace qi{
/** Int... | #pragma once
/*
** Copyright (C) 2012 Aldebaran Robotics
** See COPYING for the license
*/
#ifndef _QIMESSAGING_TYPE_HPP_
#define _QIMESSAGING_TYPE_HPP_
#include <typeinfo>
#include <boost/preprocessor.hpp>
#include <qimessaging/datastream.hpp>
#include <qimessaging/details/dynamicvalue.hpp>
namespace qi{
/** Int... | Mark methods static where we can. | Type: Mark methods static where we can.
Change-Id: Ide63e0b6d5246af7e197a0bf03091b36405b6aca
| C++ | bsd-3-clause | aldebaran/libqi,vbarbaresi/libqi,aldebaran/libqi,aldebaran/libqi-java,bsautron/libqi,aldebaran/libqi-java,aldebaran/libqi,aldebaran/libqi-java |
64f4610ba883def3b2c922691a20d66173c0ba5a | lxqt-admin-time/timeadmindialog.cpp | lxqt-admin-time/timeadmindialog.cpp | /* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* http://lxqt.org
*
* Copyright: 2014 LXQt team
* Authors:
* Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of... | /* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXQt - a lightweight, Qt based, desktop toolset
* http://lxqt.org
*
* Copyright: 2014 LXQt team
* Authors:
* Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of... | Adjust dialog size on startup | lxqt-admin-time: Adjust dialog size on startup
In some situations part of the labels text was not shown.
| C++ | lgpl-2.1 | pmattern/lxqt-admin,lxde/lxqt-admin,lxde/lxqt-admin,stefonarch/lxqt-admin,pmattern/lxqt-admin,stefonarch/lxqt-admin |
9e9a1b7fcdaf6de29ba9ddafeecef9ad88903128 | Motor2D/j1Scene.cpp | Motor2D/j1Scene.cpp | #include "p2Defs.h"
#include "p2Log.h"
#include "j1App.h"
#include "j1Input.h"
#include "j1Textures.h"
#include "j1Audio.h"
#include "j1Render.h"
#include "j1Window.h"
#include "j1Map.h"
#include "j1PathFinding.h"
#include "j1Gui.h"
#include "j1GuiEntity.h"
#include "j1GuiElements.h"
#include "j1Scene.h"
#include "Sold... | #include "p2Defs.h"
#include "p2Log.h"
#include "j1App.h"
#include "j1Input.h"
#include "j1Textures.h"
#include "j1Audio.h"
#include "j1Render.h"
#include "j1Window.h"
#include "j1Map.h"
#include "j1PathFinding.h"
#include "j1Gui.h"
#include "j1GuiEntity.h"
#include "j1GuiElements.h"
#include "j1Scene.h"
#include "Sold... | Delete Dynobjects when map changing | Delete Dynobjects when map changing
| C++ | apache-2.0 | NontendoSL/Zelda-a-Link-to-the-Past-TRIBUTE,NontendoSL/Zelda-a-Link-to-the-Past-TRIBUTE |
c217e4b3d4c3f1ce559f6559c319d806586f3a57 | chrome/browser/task_management/providers/web_contents/extension_tag_browsertest.cc | chrome/browser/task_management/providers/web_contents/extension_tag_browsertest.cc | // Copyright 2015 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/strings/utf_string_conversions.h"
#include "chrome/browser/extensions/extension_browsertest.h"
#include "chrome/browser/task_management/tas... | // Copyright 2015 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/strings/utf_string_conversions.h"
#include "chrome/browser/extensions/extension_browsertest.h"
#include "chrome/browser/task_management/tas... | Disable PreAndPostExistingTaskProviding test on Linux | Disable PreAndPostExistingTaskProviding test on Linux
ExtensionTagsTest.PreAndPostExistingTaskProviding has failed on Linux
bots 2 of the last 200 runs.
BUG=519333
TBR=afakhry
Review URL: https://codereview.chromium.org/1308563007
Cr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#346404}
| C++ | bsd-3-clause | ltilve/ChromiumGStreamerBackend,CapOM/ChromiumGStreamerBackend,CapOM/ChromiumGStreamerBackend,ltilve/ChromiumGStreamerBackend,CapOM/ChromiumGStreamerBackend,ltilve/ChromiumGStreamerBackend,CapOM/ChromiumGStreamerBackend,ltilve/ChromiumGStreamerBackend,ltilve/ChromiumGStreamerBackend,ltilve/ChromiumGStreamerBackend,ltil... |
921833c215f1afc4e840f666faa9efc772c188bc | aikido/tests/test_VanDerCorput.cpp | aikido/tests/test_VanDerCorput.cpp | // #include <cstdlib>
#include <gtest/gtest.h>
#include <aikido/util/VanDerCorput.hpp>
using aikido::util::VanDerCorput;
TEST(VanDerCorput, IncludesEndpoints)
{
VanDerCorput vdc{1, true};
EXPECT_DOUBLE_EQ(0.0, vdc());
EXPECT_DOUBLE_EQ(1.0, vdc());
}
TEST(VanDerCorput, ExcludesEndpoints)
{
VanDerCorput vdc{1,... | // #include <cstdlib>
#include <gtest/gtest.h>
#include <aikido/util/VanDerCorput.hpp>
using aikido::util::VanDerCorput;
TEST(VanDerCorput, IncludesEndpoints)
{
VanDerCorput vdc{1, true};
EXPECT_DOUBLE_EQ(0.0, vdc());
EXPECT_DOUBLE_EQ(1.0, vdc());
}
TEST(VanDerCorput, ExcludesEndpoints)
{
VanDerCorput vdc{1,... | rename tests | rename tests
| C++ | bsd-3-clause | personalrobotics/aikido,personalrobotics/aikido,personalrobotics/aikido,personalrobotics/aikido |
9673f971d064dd9943db2ebf2a93356a222c7b81 | SDC_sample/main.cpp | SDC_sample/main.cpp | //=====================================================================//
/*! @file
@brief SD カードの読み書き、サンプル
@author 平松邦仁 (hira@rvf-rc45.net)
*/
//=====================================================================//
#include <cstdint>
#include <cstring>
#include "G13/system.hpp"
#include "common/port_utils.hpp"
#in... | //=====================================================================//
/*! @file
@brief SD カードの読み書き、サンプル
@author 平松邦仁 (hira@rvf-rc45.net)
*/
//=====================================================================//
#include <cstdint>
#include <cstring>
#include "G13/system.hpp"
#include "common/port_utils.hpp"
#in... | add speed command | add speed command
| C++ | bsd-3-clause | hirakuni45/RL78,hirakuni45/RL78,hirakuni45/RL78 |
601790d81004e8e2cb086b89dd5638872e72d7ed | STEER/AliAODPid.cxx | STEER/AliAODPid.cxx | /**************************************************************************
* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... | /**************************************************************************
* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... | Correct copy and assignment operator (Jochen Klein) | Correct copy and assignment operator (Jochen Klein)
| C++ | bsd-3-clause | ALICEHLT/AliRoot,sebaleh/AliRoot,ecalvovi/AliRoot,ALICEHLT/AliRoot,sebaleh/AliRoot,jgrosseo/AliRoot,mkrzewic/AliRoot,coppedis/AliRoot,sebaleh/AliRoot,shahor02/AliRoot,miranov25/AliRoot,mkrzewic/AliRoot,mkrzewic/AliRoot,jgrosseo/AliRoot,miranov25/AliRoot,coppedis/AliRoot,jgrosseo/AliRoot,mkrzewic/AliRoot,coppedis/AliRoo... |
d418f92fe4f04b58ca3c60c36f521e4c9b465aec | MMOCoreORB/src/server/zone/objects/tangible/components/droid/DroidRepairModuleDataComponent.cpp | MMOCoreORB/src/server/zone/objects/tangible/components/droid/DroidRepairModuleDataComponent.cpp | /*
* Copyright <SWGEmu>
See file COPYING for copying conditions. */
#include "DroidRepairModuleDataComponent.h"
#include "server/zone/ZoneServer.h"
#include "server/zone/objects/tangible/component/droid/DroidComponent.h"
#include "server/zone/packets/object/ObjectMenuResponse.h"
#include "server/zone/managers/c... | /*
* Copyright <SWGEmu>
See file COPYING for copying conditions. */
#include "DroidRepairModuleDataComponent.h"
#include "server/zone/ZoneServer.h"
#include "server/zone/objects/tangible/component/droid/DroidComponent.h"
#include "server/zone/packets/object/ObjectMenuResponse.h"
#include "server/zone/managers/c... | add missing locker in DroidRepairModuleDataComponent::handleObjectMenuSelect | add missing locker in DroidRepairModuleDataComponent::handleObjectMenuSelect
GDB:#4 0x0000000000d7b317 in server::zone::objects::tangible::components:
:droid::DroidRepairModuleDataComponent::handleObjectMenuSelect (this=<optimized out>,
player=<optimized out>, selectedID=<optimized out>, controller=<optimized out>)
a... | C++ | agpl-3.0 | lasko2112/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,lasko2112/legend-of-hondo,Tatwi/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,Tatwi/legend-of-hondo,lasko2112/legend-of-hondo,lasko2112/legend-of-hondo,Tatwi/legend-of-hondo,Tatwi/legend-of-hondo,lasko2112/legend-of-hondo,lasko2... |
22e90e195efe73d9b9fe3142c3bd2f233a58de82 | CStyle/3.cpp | CStyle/3.cpp | //
// Created by yashal on 10/5/16.
// Program to draw a color cube and spin it using OpenGL transformation matrices
//
#include "GL/glut.h"
GLfloat vertices[]={-0.5f,-0.5f,-0.5f, -0.5f,0.5f,-0.5f, 0.5f,0.5f,-0.5f, 0.5f,-0.5f,-0.5f,
-0.5f,-0.5f,0.5f, -0.5f,0.5f,0.5f, 0.5f,0.5... | //
// Created by yashal on 10/5/16.
// Program to draw a color cube and spin it using OpenGL transformation matrices
//
/*
5-------6
/| /|
/ | / |
1--|----2 |
| 4----|--7
| / | /
0-------3
*/
#include "GL/glut.h"
GLfloat vertices[]={-0.5f,-0.5f,-0.5f, -0.5f,0.5f,-0.5f, 0.5f,0.5f,-0.5f, ... | Add cube | Add cube
| C++ | mit | YashalShakti/ComputerGraphicsUsingOpenGL-10CSL67,YashalShakti/ComputerGraphicsUsingOpenGL-10CSL67 |
a5f52369329d61d327351cd3ad6f88a7344a790e | Controls.cpp | Controls.cpp | /*
* @File: Controls.cpp
* @Description: Constrols class handles output to motors and motor controllers.
* @Author: Rikin Katyal
*/
#include "Controls.h"
Controls::Controls() {
library = &getLibrary();
// Get variables from Data class
this -> update();
// Initialize Talons for drive system
talon... | /*
* @File: Controls.cpp
* @Description: Constrols class handles output to motors and motor controllers.
* @Author: Rikin Katyal
*/
#include "Controls.h"
Controls::Controls() {
library = &getLibrary();
// Get variables from Data class
update();
// Initialize Talons for drive system
talon1 = CANT... | remove this | remove this
| C++ | mit | VincentMasseyRobotics/Stronghold,VincentMasseyRobotics/Stronghold |
c372422606ac74621f111fbb305d49ca324ddf51 | chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc | chrome/browser/chromeos/login/managed/managed_user_creation_controller_new.cc | // Copyright 2014 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/chromeos/login/managed/managed_user_creation_controller_new.h"
#include "base/base64.h"
#include "base/bind.h"
#include "base/fi... | // Copyright 2014 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/chromeos/login/managed/managed_user_creation_controller_new.h"
#include "base/base64.h"
#include "base/bind.h"
#include "base/fi... | Fix parameters order. | Fix parameters order.
BUG=378338
Review URL: https://codereview.chromium.org/301353008
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@274476 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | fujunwei/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,M4sse/chromium.src,markYoungH/chromium.src,dednal/chromium.src,jaruba/chromium.src,mohamed--abdel-maksoud/chromium.src,M4sse/chromium.src,hgl888/chromium-crosswalk,ondra-novak/chromium.src,mohamed--abdel-maksoud/chromium.src,PeterWangIntel/chromium-cr... |
e9db6c4a10c4084edf555ec4b2247f44b83a3b92 | moveit_ros/planning/planning_scene_monitor_tools/src/display_random_state.cpp | moveit_ros/planning/planning_scene_monitor_tools/src/display_random_state.cpp | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2012, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condit... | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2012, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condit... | remove forgotten temp code | remove forgotten temp code
| C++ | bsd-3-clause | ros-planning/moveit,davetcoleman/moveit,ros-planning/moveit,v4hn/moveit,ros-planning/moveit,ros-planning/moveit,davetcoleman/moveit,v4hn/moveit,davetcoleman/moveit,v4hn/moveit,ros-planning/moveit,v4hn/moveit,davetcoleman/moveit |
ba70b1707ce14fd3bdbc5c9f5a4db0dc603b4898 | src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp | src-qt5/core/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.cpp | #include "AppLauncherPlugin.h"
#include "../../LSession.h"
#include "OutlineToolButton.h"
#include <QClipboard>
#define OUTMARGIN 10 //special margin for fonts due to the outlining effect from the OutlineToolbutton
AppLauncherPlugin::AppLauncherPlugin(QWidget* parent, QString ID) : LDPlugin(parent, ID){
QVBoxLayout... | #include "AppLauncherPlugin.h"
#include "../../LSession.h"
#include "OutlineToolButton.h"
#include <QClipboard>
#define OUTMARGIN 10 //special margin for fonts due to the outlining effect from the OutlineToolbutton
AppLauncherPlugin::AppLauncherPlugin(QWidget* parent, QString ID) : LDPlugin(parent, ID){
QVBoxLayout... | Make sure the cut/delete options for desktop icons are still possible if the "file" is actually a symlink somewhere else on the system (will just remove the symlink) | Make sure the cut/delete options for desktop icons are still possible if the "file" is actually a symlink somewhere else on the system (will just remove the symlink)
| C++ | bsd-3-clause | sasongko26/lumina,sasongko26/lumina,cpforbes/lumina,pcbsd/lumina,sasongko26/lumina,cpforbes/lumina,cpforbes/lumina,sasongko26/lumina,cpforbes/lumina,sasongko26/lumina,pcbsd/lumina,cpforbes/lumina,trueos/lumina,sasongko26/lumina,sasongko26/lumina,trueos/lumina,pcbsd/lumina,trueos/lumina,trueos/lumina,trueos/lumina,trueo... |
b4e9fdb80b1f3df466f1a26db4f7007b03b72348 | DiscreteFourierTransform/DiscreteFourierTransform/DiscreteFourierTransform.cpp | DiscreteFourierTransform/DiscreteFourierTransform/DiscreteFourierTransform.cpp | #include <cmath>
#include <iostream>
using namespace std;
#define M_PI 3.1415926
// naive implementation of discrete fourier transform
// can be used efficiently for small inputs
void discrete_fourier_transform(unsigned int length, double* input_real, double* input_imag, double* output_real, double* output_imag);
... | #include "stdafx.h"
#include <cmath>
#include <iostream>
using namespace std;
#define M_PI 3.1415926
// naive implementation of discrete fourier transform
// can be used efficiently for small inputs
void discrete_fourier_transform(unsigned int length, double* input_real, double* input_imag, double* output_real, do... | Fix bug | Fix bug
| C++ | mit | cshung/MiscLab,cshung/MiscLab,cshung/MiscLab,cshung/MiscLab,cshung/MiscLab,cshung/MiscLab,cshung/MiscLab,cshung/MiscLab,cshung/MiscLab,cshung/MiscLab |
fcf0aa7f6f6242238ad56ce064ab35436ae9773f | demos/scheduling_group_demo.cc | demos/scheduling_group_demo.cc | /*
* This file is open source software, licensed to you under the terms
* of the Apache License, Version 2.0 (the "License"). See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. You may not use this file except in compliance with the License.
*
* You may ... | /*
* This file is open source software, licensed to you under the terms
* of the Apache License, Version 2.0 (the "License"). See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. You may not use this file except in compliance with the License.
*
* You may ... | add explicit yields since future::get() no longer does | scheduling_group_demo: add explicit yields since future::get() no longer does
With 7e2483a, future::get() is no longer an implicit yield. This causes
the threads spawned in scheduling_group_demo to never yield and the demo
no longer works.
Adding explicit yields makes it work again.
Message-Id: <a6632d6901828a968a418... | C++ | apache-2.0 | scylladb/seastar,scylladb/seastar,syuu1228/seastar,dreamsxin/seastar,syuu1228/seastar,cloudius-systems/seastar,cloudius-systems/seastar,dreamsxin/seastar,avikivity/seastar,avikivity/seastar,cloudius-systems/seastar,dreamsxin/seastar,scylladb/seastar,avikivity/seastar,syuu1228/seastar |
ad7f3eb90a981df77b406722b909846acd9fc5b7 | eval/src/tests/instruction/join_with_number/join_with_number_function_test.cpp | eval/src/tests/instruction/join_with_number/join_with_number_function_test.cpp | // Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/vespalib/testkit/test_kit.h>
#include <vespa/eval/eval/fast_value.h>
#include <vespa/eval/eval/tensor_function.h>
#include <vespa/eval/eval/test/eval_fixture.h>
#include <vespa/eval/eval/tes... | // Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/vespalib/testkit/test_kit.h>
#include <vespa/eval/eval/fast_value.h>
#include <vespa/eval/eval/tensor_function.h>
#include <vespa/eval/eval/test/eval_fixture.h>
#include <vespa/eval/eval/tes... | use GenSpec in join_with_number_function_test | use GenSpec in join_with_number_function_test
| C++ | apache-2.0 | vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa |
cba990cd52dcc1477292fbe983614a039c83ce48 | dstar-lite/src/dstar_from_grid.cpp | dstar-lite/src/dstar_from_grid.cpp | /* dstar_from_grid.cpp
*/
#ifdef MACOS
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#include <GL/gl.h>
#include <GL/glu.h>
#endif
#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <algorithm>
#include <unistd.h... | /* dstar_from_grid.cpp
*/
#ifdef MACOS
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#include <GL/gl.h>
#include <GL/glu.h>
#endif
#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <algorithm>
#include <unistd.h... | Clean dstar_from_grid | Clean dstar_from_grid
| C++ | mit | ToniRV/Learning-to-navigate-without-a-map,ToniRV/Learning-to-navigate-without-a-map |
e29cf4e6b5fc8d6ef60842e20839554af2cd17c0 | dune/gdt/operator/prolongations.hh | dune/gdt/operator/prolongations.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_OPERATOR_PROLONGATIONS_HH
#define DUNE_GDT_OPERATOR_PROLONGATIONS_HH
#include <type_tr... | // 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_OPERATOR_PROLONGATIONS_HH
#define DUNE_GDT_OPERATOR_PROLONGATIONS_HH
#include <type_tr... | add Generic::apply(s, r) for another combination | [operator.prolongations] add Generic::apply(s, r) for another combination
| C++ | bsd-2-clause | pymor/dune-gdt |
5c02209770ffa3acd3c6e28024ad28e2feb2d850 | dune/gdt/operators/advection-fv.hh | dune/gdt/operators/advection-fv.hh | // This file is part of the dune-gdt project:
// https://github.com/dune-community/dune-gdt
// Copyright 2010-2018 dune-gdt developers and contributors. All rights reserved.
// License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
// or GPL-2.0+ (http://opensource.org/lice... | // This file is part of the dune-gdt project:
// https://github.com/dune-community/dune-gdt
// Copyright 2010-2018 dune-gdt developers and contributors. All rights reserved.
// License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
// or GPL-2.0+ (http://opensource.org/lice... | make movable | [operators.advection-fv] make movable
| C++ | bsd-2-clause | pymor/dune-gdt |
b2d2c90eb333cf20e75e1ea15ef640326545bd4d | codec/decoder/core/src/compression_stream.cpp | codec/decoder/core/src/compression_stream.cpp | #include <stdint.h>
#include <stdio.h>
#include <assert.h>
#include "error_code.h"
#include "macroblock_model.h"
#include "compression_stream.h"
#include <sstream>
using namespace WelsDec;
void warnme() {
fprintf(stderr, "DOING 431\n");
}
#define H264ErrorNil ERR_NONE
namespace {
static CompressionStream css;
static I... | #include <stdint.h>
#include <stdio.h>
#include <assert.h>
#include "error_code.h"
#include "macroblock_model.h"
#include "compression_stream.h"
#include <sstream>
using namespace WelsDec;
void warnme() {
fprintf(stderr, "DOING 431\n");
}
#define H264ErrorNil ERR_NONE
namespace {
static CompressionStream css;
static I... | make billing more accurate | make billing more accurate
| C++ | bsd-2-clause | bowlofstew/losslessh264,kevinzhang1986/losslessh264,abhishekgahlot/losslessh264,xiangshuai/losslessh264,SunGuo/losslessh264,lioonline/losslessh264,itplanes/losslessh264,zyhh/losslessh264,bitwing/losslessh264,sunfei/losslessh264,alihalabyah/losslessh264,erillfire/wusunyasuo,alihalabyah/losslessh264,jasonzhong/losslessh2... |
67ceae8385ff88231aed7db22f27b236809732d0 | unittest/progress_test.cc | unittest/progress_test.cc | ///////////////////////////////////////////////////////////////////////
// File: apiexample_test.cc
// Description: Progress reporting API Test for Tesseract.
// Author: Jaroslaw Kubik
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance wit... | ///////////////////////////////////////////////////////////////////////
// File: apiexample_test.cc
// Description: Progress reporting API Test for Tesseract.
// Author: Jaroslaw Kubik
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance wit... | Fix the progres increase test | Fix the progres increase test
The progress increase test must compare the input value against
the variable that contains a previous value, not against it's
initial value.
| C++ | apache-2.0 | amitdo/tesseract,stweil/tesseract,tesseract-ocr/tesseract,amitdo/tesseract,UB-Mannheim/tesseract,jbarlow83/tesseract,jbarlow83/tesseract,stweil/tesseract,jbarlow83/tesseract,UB-Mannheim/tesseract,UB-Mannheim/tesseract,UB-Mannheim/tesseract,jbarlow83/tesseract,UB-Mannheim/tesseract,tesseract-ocr/tesseract,stweil/tessera... |
29afbdba61614d61fdb803b27478e32ea35edc5f | src/compositor/hardware_integration/wayland_egl/waylandeglintegration.cpp | src/compositor/hardware_integration/wayland_egl/waylandeglintegration.cpp | /****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the Qt Compositor.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD lice... | /****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the Qt Compositor.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD lice... | Use QPointer instead of QWeakPointer for tracking QObjects. | Use QPointer instead of QWeakPointer for tracking QObjects.
Change-Id: I842906ffcc37e6649d947cef3a0d9ea942b14d05
Reviewed-by: Thiago Macieira <0ed1648d92ca0373297a182b1dba1b974ad10d88@intel.com>
| C++ | lgpl-2.1 | locusf/qtwayland-1,locusf/qtwayland-1,Tofee/qtwayland,locusf/qtwayland-1,ntanibata/qtwayland,ntanibata/qtwayland,Tofee/qtwayland,ntanibata/qtwayland,locusf/qtwayland-1,Tofee/qtwayland |
35193d5c54380be9c820e8f20583f77c83ff7ab7 | chrome/browser/intents/cws_intents_registry.cc | chrome/browser/intents/cws_intents_registry.cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/intents/cws_intents_registry.h"
#include "base/callback.h"
#include "base/json/json_string_value_serializer.h"
#include "bas... | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/intents/cws_intents_registry.h"
#include "base/callback.h"
#include "base/json/json_string_value_serializer.h"
#include "bas... | Check the return value of GetAsDictionary(). | Coverity: Check the return value of GetAsDictionary().
CID_COUNT=1
CID=103995
BUG=none
TEST=none
R=groby
Review URL: https://chromiumcodereview.appspot.com/10387103
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@136919 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | ltilve/chromium,dushu1203/chromium.src,Jonekee/chromium.src,PeterWangIntel/chromium-crosswalk,ltilve/chromium,robclark/chromium,M4sse/chromium.src,M4sse/chromium.src,bright-sparks/chromium-spacewalk,Chilledheart/chromium,axinging/chromium-crosswalk,bright-sparks/chromium-spacewalk,keishi/chromium,hgl888/chromium-crossw... |
66e437031fab7d461eca47dec31e561d42768711 | chrome/renderer/media/cast_session_delegate.cc | chrome/renderer/media/cast_session_delegate.cc | // Copyright 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 "chrome/renderer/media/cast_session_delegate.h"
#include "base/callback_helpers.h"
#include "base/lazy_instance.h"
#include "base/logging.h"
#in... | // Copyright 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 "chrome/renderer/media/cast_session_delegate.h"
#include "base/callback_helpers.h"
#include "base/lazy_instance.h"
#include "base/logging.h"
#in... | Enable high-resolution timers while casting. | Cast: Enable high-resolution timers while casting.
Review URL: https://codereview.chromium.org/1126873002
Cr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#328870}
| C++ | bsd-3-clause | chuan9/chromium-crosswalk,Fireblend/chromium-crosswalk,chuan9/chromium-crosswalk,Fireblend/chromium-crosswalk,chuan9/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,Just-D/chromium-1,Pluto-tv/chromium-crosswalk,hgl888/chromium-crosswalk,Chilledheart... |
83d607c8ad432bb3f9625b8be635c984881b776e | MC.cpp | MC.cpp | /*
* MC.cpp
* Simulation of 2-D Rods By GCMC with SUS, No energy
* Author: Yuding Ai
* Date: 2015.10.19
* *************************** MC implementation ********************************
* This simulation follows Successive Umbrella sampling without energy.
* **************************************************************... | /*
* MC.cpp
* Simulation of 2-D Rods By GCMC with SUS, No energy
* Author: Yuding Ai
* Date: 2015.10.19
* *************************** MC implementation ********************************
* This simulation follows Successive Umbrella sampling without energy.
* **************************************************************... | edit comment | edit comment
| C++ | mit | Aieener/SUS_2D,Aieener/SUS_2D |
3dd106dab9436179745f820727a2e8dec5341838 | app.cc | app.cc | #include "app.h"
#include "linsys.h"
#include "utils.h"
#include <PCU.h>
namespace pe {
App::App(AppInput& in) :
mesh(in.mesh),
polynomialOrder(in.polynomialOrder),
integrationOrder(in.integrationOrder),
u(in.u),
rhs(in.rhs),
out(in.out)
{
print("sovling poisson's equation!");
}
void App::run()
{
pre... | #include "app.h"
#include "linsys.h"
#include "utils.h"
#include <PCU.h>
namespace pe {
App::App(AppInput& in) :
mesh(in.mesh),
polynomialOrder(in.polynomialOrder),
integrationOrder(in.integrationOrder),
u(in.u),
rhs(in.rhs),
out(in.out)
{
print("solvifying poisson's equation!");
}
void App::run()
{
... | fix typo | fix typo
| C++ | bsd-3-clause | bgranzow/pe,bgranzow/pe |
ba479885812992b99fb65d329323e317aefe1fc9 | fx.cpp | fx.cpp | #include <cstdlib>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <cstdio>
#include "fx.h"
int Fxstream::checkFormat(boost::iostreams::filtering_istream& in, std::istream& file, read_type& t, bool gzip, bool bzip2) {
try {
#ifdef HAVE_LIBZ
if(gzip) {
... | #include <cstdlib>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <cstdio>
#include "fx.h"
int Fxstream::checkFormat(boost::iostreams::filtering_istream& in, std::istream& file, read_type& t, bool gzip, bool bzip2) {
try {
#ifdef HAVE_LIBZ
if(gzip) {
... | remove rouge print statement | remove rouge print statement
| C++ | mit | jameslz/fxtract,ctSkennerton/fxtract,jameslz/fxtract,ctSkennerton/fxtract,ctSkennerton/fxtract,jameslz/fxtract |
668e9bc40c7e5e3cb477acf62e9ba6ccc0914835 | chrome/browser/devtools/tethering_adb_filter.cc | chrome/browser/devtools/tethering_adb_filter.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 "chrome/browser/devtools/tethering_adb_filter.h"
#include <map>
#include "base/bind.h"
#include "base/compiler_specific.h"
#include "base/j... | // 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 "chrome/browser/devtools/tethering_adb_filter.h"
#include <map>
#include "base/bind.h"
#include "base/compiler_specific.h"
#include "base/j... | add host resolver to the reversed port forwarder. | DevTools: add host resolver to the reversed port forwarder.
Review URL: https://chromiumcodereview.appspot.com/13890019
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@196444 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | PeterWangIntel/chromium-crosswalk,ChromiumWebApps/chromium,hgl888/chromium-crosswalk-efl,bright-sparks/chromium-spacewalk,fujunwei/chromium-crosswalk,krieger-od/nwjs_chromium.src,krieger-od/nwjs_chromium.src,hujiajie/pa-chromium,Just-D/chromium-1,Fireblend/chromium-crosswalk,ltilve/chromium,hujiajie/pa-chromium,Just-D/... |
03d2e5e32329a69dc5e5553f6853ba34616d1de1 | chrome/browser/renderer_host/backing_store_x.cc | chrome/browser/renderer_host/backing_store_x.cc | // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/renderer_host/backing_store.h"
#include <stdlib.h>
#include <utility>
#include "base/compiler_specific.h"
#include "ba... | // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/renderer_host/backing_store.h"
#include <stdlib.h>
#include <utility>
#include "base/compiler_specific.h"
#include "ba... | fix scrolling | Linux: fix scrolling
I had assuming that we always scroll the whole window; I was wrong.
This patch fixes issues with 'ghost' scrollbars appearing when the
window looses focus and with huge misrendering when scrolling iframes.
Review URL: http://codereview.chromium.org/42357
git-svn-id: dd90618784b6a4b323ea0c23a071... | 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 |
1e66d8a989911a70d201fa62997eb740b526c995 | chrome/browser/tab_contents/navigation_entry.cc | chrome/browser/tab_contents/navigation_entry.cc | // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/tab_contents/navigation_entry.h"
#include "chrome/browser/tab_contents/navigation_controller.h"
#include "chrome/common... | // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/tab_contents/navigation_entry.h"
#include "chrome/browser/tab_contents/navigation_controller.h"
#include "chrome/common... | Fix stupid typo causing the navigation entry unit tests to fail. Review URL: http://codereview.chromium.org/39117 | Fix stupid typo causing the navigation entry unit tests to fail.
Review URL: http://codereview.chromium.org/39117
git-svn-id: http://src.chromium.org/svn/trunk/src@10877 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Former-commit-id: ec9e4a61f1afb874c336fbebb4e26f0e49cb571b | 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... |
70f95f9b42ead1d72fc87954f22e9c81c20a5134 | chrome/renderer/loadtimes_extension_bindings.cc | chrome/renderer/loadtimes_extension_bindings.cc | // Copyright (c) 2006-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/renderer/loadtimes_extension_bindings.h"
#include <math.h>
#include "base/time.h"
#include "chrome/renderer/navigation_state.h... | // Copyright (c) 2006-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/renderer/loadtimes_extension_bindings.h"
#include <math.h>
#include "base/time.h"
#include "chrome/renderer/navigation_state.h... | Change the javascript context used by the loadtimes extension. It should be using the CurrentContext, not the EnteredContext so that it grabs the right object based on the frame being called. | Change the javascript context used by the loadtimes extension. It should be
using the CurrentContext, not the EnteredContext so that it grabs the right
object based on the frame being called.
The security of this object is not in question - access to the window itself
is already protected from XSS access.
BUG=none
T... | 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... |
400a1514a7742c50f1fd68f21d4eba4b048e268c | src/dlvhex/BoostComponentFinder.cpp | src/dlvhex/BoostComponentFinder.cpp | /* -*- C++ -*- */
/**
* @file BoostComponentFinder.cpp
* @author Roman Schindlauer
* @date Wed Jan 25 14:34:20 CET 2006
*
* @brief Strategy class for finding SCCs and WCCs from a given program graph, using
* the Boost Graph Library.
*
*
*/
#include <boost/config.hpp>
#include <boost/graph/adjacency_list.hpp... | /* -*- C++ -*- */
/**
* @file BoostComponentFinder.cpp
* @author Roman Schindlauer
* @date Wed Jan 25 14:34:20 CET 2006
*
* @brief Strategy class for finding SCCs and WCCs from a given program graph, using
* the Boost Graph Library.
*
*
*/
#include <sstream>
#include <boost/config.hpp>
#include <boost/graph... | Include sstream, or std::stringstream is unknown (maybe some installed library headers don't include this header file on gluck.kr.tuwien.ac.at). | Include sstream, or std::stringstream is unknown (maybe some installed
library headers don't include this header file on gluck.kr.tuwien.ac.at).
| C++ | lgpl-2.1 | hexhex/core,hexhex/core,hexhex/core,hexhex/core |
144ef1c50f3b6cf6b2e2256eabaa552dd63e5d97 | API-Samples/enable_validation_with_callback/enable_validation_with_callback.cpp | API-Samples/enable_validation_with_callback/enable_validation_with_callback.cpp | /*
* Vulkan Samples
*
* Copyright (C) 2015-2016 Valve Corporation
* Copyright (C) 2015-2016 LunarG, 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.or... | /*
* Vulkan Samples
*
* Copyright (C) 2015-2016 Valve Corporation
* Copyright (C) 2015-2016 LunarG, 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.or... | Disable message popups | samples: Disable message popups
| C++ | apache-2.0 | Radamanthe/VulkanSamples,Radamanthe/VulkanSamples,Radamanthe/VulkanSamples,Radamanthe/VulkanSamples,Radamanthe/VulkanSamples,Radamanthe/VulkanSamples |
1ecff85fdebf59a9ab9d372ff6b8101e607e8cb6 | Source/qigroups.cpp | Source/qigroups.cpp | /*
* qigroups.cpp
*
* Copyright (c) 2016 Tobias Wood.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
*/
#include <iostream>
#include <fstream>
#inclu... | /*
* qigroups.cpp
*
* Copyright (c) 2016 Tobias Wood.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
*/
#include <iostream>
#include <fstream>
#inclu... | Put group F-Tests first so T & F stats match | BUG: Put group F-Tests first so T & F stats match
| C++ | mpl-2.0 | spinicist/QUIT,spinicist/QUIT,spinicist/QUIT,spinicist/QUIT |
85aef798095ea6b0c9d44e659e15a24b041fea2b | src/ee/ads/internal/AsyncHelper.inl | src/ee/ads/internal/AsyncHelper.inl | #include <ee/coroutine/LambdaAwaiter.hpp>
#include <ee/coroutine/Task.hpp>
namespace ee {
namespace ads {
#define Self AsyncHelper
template <class T>
bool Self<T>::isProcessing() const {
return processing_;
}
template <class T>
Task<T> Self<T>::process(const Processor& processor) {
if (processing_) {
... | #include <ee/coroutine/LambdaAwaiter.hpp>
#include <ee/coroutine/Task.hpp>
namespace ee {
namespace ads {
#define Self AsyncHelper
template <class T>
bool Self<T>::isProcessing() const {
return processing_;
}
template <class T>
Task<T> Self<T>::process(const Processor& processor) {
if (processing_) {
... | Fix sanitizer. | Fix sanitizer.
| C++ | mit | Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x |
71feb0516d6b98ae346d8c9659aee76a78c3a437 | src/entt/graph/adjacency_matrix.hpp | src/entt/graph/adjacency_matrix.hpp | #ifndef ENTT_GRAPH_ADJACENCY_MATRIX_HPP
#define ENTT_GRAPH_ADJACENCY_MATRIX_HPP
#include <cstddef>
#include <iterator>
#include <memory>
#include <type_traits>
#include <utility>
#include <vector>
#include "../config/config.h"
#include "../core/iterator.hpp"
#include "fwd.hpp"
namespace entt {
/**
* @cond TURN_OFF_... | #ifndef ENTT_GRAPH_ADJACENCY_MATRIX_HPP
#define ENTT_GRAPH_ADJACENCY_MATRIX_HPP
#include <cstddef>
#include <iterator>
#include <memory>
#include <type_traits>
#include <utility>
#include <vector>
#include "../config/config.h"
#include "../core/iterator.hpp"
#include "fwd.hpp"
namespace entt {
/**
* @cond TURN_OFF_... | update allocator aware constructor (#909) | adjacency_matrix: update allocator aware constructor (#909)
| C++ | mit | skypjack/entt,skypjack/entt,skypjack/entt,skypjack/entt |
04a21f8be1d8a6ca9dd45afeb1b4eed96aeb4302 | src/examples/contactlistwidgets.cpp | src/examples/contactlistwidgets.cpp | /*
Persons Model Example
Copyright (C) 2012 Aleix Pol Gonzalez <aleixpol@blue-systems.com>
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 Foundation; either
version 2.1 of the Lic... | /*
Persons Model Example
Copyright (C) 2012 Aleix Pol Gonzalez <aleixpol@blue-systems.com>
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 Foundation; either
version 2.1 of the Lic... | Remove broken style delegate on example demo | Remove broken style delegate on example demo
| C++ | lgpl-2.1 | detrout/libkpeople-debian,detrout/libkpeople-debian,detrout/libkpeople-debian |
0292e4e3d3d72f817c7c3aa9e755636befb208fb | modules/cdm_boost.hpp | modules/cdm_boost.hpp | #ifndef CDM_BOOST_HPP
#define CDM_BOOST_HPP
#include <silicium/file_operations.hpp>
#include <silicium/run_process.hpp>
#include <boost/lexical_cast.hpp>
//Boost is so large that the output of cp exceeds the 4 MB log limit of travis
//which aborts the build job then.
//On Windows, the console is so slow (especially i... | #ifndef CDM_BOOST_HPP
#define CDM_BOOST_HPP
#include <silicium/file_operations.hpp>
#include <silicium/run_process.hpp>
#include <boost/lexical_cast.hpp>
//Boost is so large that the output of cp exceeds the 4 MB log limit of travis
//which aborts the build job then.
//On Windows, the console is so slow (especially i... | build Boost as static libs for now | build Boost as static libs for now
| C++ | mit | TyRoXx/cdm,TyRoXx/cdm,TyRoXx/cdm,TyRoXx/cdm,TyRoXx/cdm,TyRoXx/cdm,TyRoXx/cdm,TyRoXx/cdm,TyRoXx/cdm,TyRoXx/cdm,TyRoXx/cdm |
1b1a0a91b34f195ef8ff4a345b97184058ce2631 | modules/cdm_boost.hpp | modules/cdm_boost.hpp | #ifndef CDM_BOOST_HPP
#define CDM_BOOST_HPP
#include <ventura/file_operations.hpp>
#include <ventura/run_process.hpp>
#include <silicium/sink/iterator_sink.hpp>
#include <boost/lexical_cast.hpp>
namespace cdm
{
struct boost_paths
{
ventura::absolute_path root;
};
inline boost_paths install_boost(ventura::absol... | #ifndef CDM_BOOST_HPP
#define CDM_BOOST_HPP
#include <ventura/file_operations.hpp>
#include <ventura/run_process.hpp>
#include <silicium/sink/iterator_sink.hpp>
#include <boost/lexical_cast.hpp>
namespace cdm
{
struct boost_paths
{
ventura::absolute_path root;
};
inline boost_paths install_boost(ventura::absol... | move a comment to the intended location | move a comment to the intended location
| C++ | mit | TyRoXx/cdm,TyRoXx/cdm,TyRoXx/cdm,TyRoXx/cdm,TyRoXx/cdm,TyRoXx/cdm,TyRoXx/cdm,TyRoXx/cdm,TyRoXx/cdm,TyRoXx/cdm,TyRoXx/cdm |
ad2f94bcc6f0280cd6f7eae1b71f01d576f33cce | src/highlevel_feature_extractor.cpp | src/highlevel_feature_extractor.cpp | #ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "highlevel_feature_extractor.h"
#include <rcsc/common/server_param.h>
using namespace rcsc;
HighLevelFeatureExtractor::HighLevelFeatureExtractor(int num_teammates,
int num_opponents,
... | #ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "highlevel_feature_extractor.h"
#include <rcsc/common/server_param.h>
using namespace rcsc;
HighLevelFeatureExtractor::HighLevelFeatureExtractor(int num_teammates,
int num_opponents,
... | Revert "Staging further changes vs invalid feature errors" - compatibility worries Will experiment with low-level features while consulting re errors | Revert "Staging further changes vs invalid feature errors" - compatibility worries
Will experiment with low-level features while consulting re errors
This reverts commit 461ee7df8d281078f2f13c912e18409dc2d59a8e.
modified: src/highlevel_feature_extractor.cpp
| C++ | mit | LARG/HFO,mhauskn/HFO,LARG/HFO,LARG/HFO,mhauskn/HFO,mhauskn/HFO |
77ba1cc62d4e11269c6d4d14daed96f2e4abd97d | src/io/register_loader_saver_xg.cpp | src/io/register_loader_saver_xg.cpp | /**
* \file register_loader_saver_xg.cpp
* Defines IO for an XG index from stream files.
*/
#include <vg/io/registry.hpp>
#include "register_loader_saver_xg.hpp"
#include "handle.hpp"
#include "xg.hpp"
namespace vg {
namespace io {
using namespace std;
using namespace vg::io;
void register_loader_saver_xg() {
... | /**
* \file register_loader_saver_xg.cpp
* Defines IO for an XG index from stream files.
*/
#include <arpa/inet.h>
#include <vg/io/registry.hpp>
#include "register_loader_saver_xg.hpp"
#include "handle.hpp"
#include "xg.hpp"
namespace vg {
namespace io {
using namespace std;
using namespace vg::io;
void regist... | add missing include in xg loader saver | add missing include in xg loader saver
| C++ | mit | ekg/vg,ekg/vg,ekg/vg |
53cc8c3abc2efdfe6e2be30a6a1ca0e8c594fde0 | EnvironmentModule/EC_WaterPlane.cpp | EnvironmentModule/EC_WaterPlane.cpp | // For conditions of distribution and use, see copyright notice in license.txt
#include "StableHeaders.h"
#include "DebugOperatorNew.h"
#include "EC_WaterPlane.h"
#include "EC_OgrePlaceable.h"
#include "IAttribute.h"
#include "Renderer.h"
#include "SceneManager.h"
#include "SceneEvents.h"
#include "EventManager.h"
#i... | // For conditions of distribution and use, see copyright notice in license.txt
#include "StableHeaders.h"
#include "DebugOperatorNew.h"
#include "EC_WaterPlane.h"
#include "EC_OgrePlaceable.h"
#include "IAttribute.h"
#include "Renderer.h"
#include "SceneManager.h"
#include "SceneEvents.h"
#include "EventManager.h"
#i... | Fix for linux build. | Fix for linux build.
| C++ | apache-2.0 | BogusCurry/tundra,pharos3d/tundra,antont/tundra,pharos3d/tundra,antont/tundra,AlphaStaxLLC/tundra,BogusCurry/tundra,jesterKing/naali,realXtend/tundra,pharos3d/tundra,AlphaStaxLLC/tundra,BogusCurry/tundra,jesterKing/naali,BogusCurry/tundra,antont/tundra,BogusCurry/tundra,pharos3d/tundra,antont/tundra,jesterKing/naali,re... |
a1cab6d1d81e2e1aa485b75b09da9bdca925d54a | examples/apptest/example_apptest.cc | examples/apptest/example_apptest.cc | // Copyright 2014 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 "examples/apptest/example_service.mojom.h"
#include "mojo/public/cpp/application/application_impl.h"
#include "mojo/public/cpp/application/applic... | // Copyright 2014 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 "examples/apptest/example_service.mojom.h"
#include "mojo/public/cpp/application/application_impl.h"
#include "mojo/public/cpp/application/applic... | Use lambda instead of explicit struct in example_apptest | Use lambda instead of explicit struct in example_apptest
R=viettrungluu@chromium.org
Review URL: https://codereview.chromium.org/910963002
| C++ | bsd-3-clause | afandria/mojo,collinjackson/mojo,afandria/mojo,afandria/mojo,afandria/mojo,chinmaygarde/mojo,chinmaygarde/mojo,chinmaygarde/mojo,collinjackson/mojo,jianglu/mojo,collinjackson/mojo,jianglu/mojo,jianglu/mojo,afandria/mojo,collinjackson/mojo,chinmaygarde/mojo,chinmaygarde/mojo,afandria/mojo,collinjackson/mojo,chinmaygarde... |
5785ae5e8f7609abdce3cfbc0a0e13e71099fade | net/TcpConnection.cpp | net/TcpConnection.cpp | #include <simcode/net/TcpConnection.h>
#include <simcode/base/logger.h>
using namespace simcode;
using namespace net;
static const int DEF_HIGHWATERSIZE = 64*1024*1024;
TcpConnection::TcpConnection(EventLoop* loop, int connfd, const SockAddr& peerAddr, uint64_t id__):
loop_(loop),
socket_(connfd),
p... | #include <simcode/net/TcpConnection.h>
#include <simcode/base/logger.h>
using namespace simcode;
using namespace net;
static const int DEF_HIGHWATERSIZE = 64*1024*1024;
TcpConnection::TcpConnection(EventLoop* loop, int connfd, const SockAddr& peerAddr, uint64_t id__):
loop_(loop),
socket_(connfd),
p... | remove close from handRead when readn<0 | remove close from handRead when readn<0 | C++ | mit | jettyu/simcode,jettyu/simcode,jettyu/simcode |
6889b9bd39b3ed7059815fabd49d42d2e9261617 | src/lineFollowing/lineFollowing.cpp | src/lineFollowing/lineFollowing.cpp | /*
*/
#include "lineFollowing.h"
using namespace std;
using namespace cv;
ControlMovements lineFollowingControl() {
line_main();
return ControlMovements();
}
void line_main() {
printf("Hello, this is Caleb\n");
VideoCapture cap("videos/top_down_4.m4v");
if (!cap.isOpened()) // check if we succeeded
... | /*
*/
#include "lineFollowing.h"
using namespace std;
using namespace cv;
ControlMovements lineFollowingControl() {
line_main();
return ControlMovements();
}
void line_main() {
// printf("Hello, this is Caleb\n");
VideoCapture cap("videos/top_down_4.m4v");
if (!cap.isOpened()) // check if we succeeded... | test code | test code
Former-commit-id: 96b6310f25f8545cb0ad445cb39e8d30b6e971b5 [formerly 7ebc8f3d7084e6400df328b380cf7145d83a3283]
Former-commit-id: 0a4c31c258c996d7f7dbb19a862845fb71c316e9 | C++ | bsd-3-clause | tourdrone/cvdrone,tourdrone/cvdrone |
d21d74f3b145c71f4ae6944155ae71af58eb30f2 | include/itkBlockMatchingOptimizingInterpolationDisplacementCalculator.hxx | include/itkBlockMatchingOptimizingInterpolationDisplacementCalculator.hxx | /*=========================================================================
*
* Copyright NumFOCUS
*
* 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.or... | /*=========================================================================
*
* Copyright NumFOCUS
*
* 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.or... | Fix -fpermissive error in OptimizingInterpolationDisplacementCalculator | COMP: Fix -fpermissive error in OptimizingInterpolationDisplacementCalculator
This commit fixes the following error reported when building
SlicerITKUltrasound extension againg Slicer 4.13 and ITK 5.3:
In file included from /path/to/SlicerITKUltrasound-Release/ITKUltrasound/include/itkBlockMatchingOptimizingInterpol... | C++ | apache-2.0 | KitwareMedical/ITKUltrasound,KitwareMedical/ITKUltrasound,KitwareMedical/ITKUltrasound |
50629c1d76780dc0c37c24b1dedb7794f4aa5447 | src/mlpack/methods/det/dt_utils.cpp | src/mlpack/methods/det/dt_utils.cpp | /**
* @file dt_utils.cpp
* @author Parikshit Ram (pram@cc.gatech.edu)
*
* This file implements functions to perform different tasks with the Density
* Tree class.
*/
#include "dt_utils.hpp"
using namespace mlpack;
using namespace det;
void mlpack::det::PrintLeafMembership(DTree* dtree,
... | /**
* @file dt_utils.cpp
* @author Parikshit Ram (pram@cc.gatech.edu)
*
* This file implements functions to perform different tasks with the Density
* Tree class.
*/
#include "dt_utils.hpp"
using namespace mlpack;
using namespace det;
void mlpack::det::PrintLeafMembership(DTree* dtree,
... | Handle MSVC compiler properly; Visual Studio only supports OpenMP 2.5. OpenMP 3.0 is where unsigned indices are supported. | Handle MSVC compiler properly; Visual Studio only supports OpenMP 2.5.
OpenMP 3.0 is where unsigned indices are supported.
See also:
https://github.com/VespucciProject/MLPACK_for_MSVC
http://stackoverflow.com/questions/2820621/why-arent-unsigned-openmp-index-variables-allowed
| C++ | bsd-3-clause | palashahuja/mlpack,palashahuja/mlpack,darcyliu/mlpack,ajjl/mlpack,ajjl/mlpack,darcyliu/mlpack,darcyliu/mlpack,palashahuja/mlpack,ranjan1990/mlpack,ranjan1990/mlpack,ajjl/mlpack,ranjan1990/mlpack |
bc5a4395c9428ad98362305208feadc5c272abad | src/network/packages/udppackage.cpp | src/network/packages/udppackage.cpp | #include "../../../include/network/packages/udppackage.h"
#include <netinet/in.h>
#include <string.h>
#include "../../../include/helpers/helper.h"
namespace PCAP {
UDPPackage::UDPPackage(const unsigned char *p, unsigned int l, bool modify)
: IPPackage{p, l, modify} {
m_udp = (struct sniffudp*)(m_package + s... | #include "../../../include/network/packages/udppackage.h"
#include <netinet/in.h>
#include <string.h>
#include "../../../include/helpers/helper.h"
namespace PCAP {
UDPPackage::UDPPackage(const unsigned char *p, unsigned int l, bool modify)
: IPPackage{p, l, modify} {
m_udp = (struct sniffudp*)(m_package + s... | Fix segmentation fault | Fix segmentation fault
| C++ | mit | jef42/pcapwrapper,jef42/pcapwrapper |
407a1de4ae7525536e381388b722779af6e23ce7 | src/paintown-engine/level/utils.cpp | src/paintown-engine/level/utils.cpp | #include "utils.h"
#include "util/tokenreader.h"
#include "util/token.h"
#include "util/load_exception.h"
#include "util/funcs.h"
#include "globals.h"
#include "util/debug.h"
namespace Level{
using namespace std;
LevelInfo::LevelInfo():
playerPath("players/"),
name("Level set"),
_loadingMessage("Loading Paintown"),
... | #include "utils.h"
#include "util/tokenreader.h"
#include "util/token.h"
#include "util/load_exception.h"
#include "util/funcs.h"
#include "globals.h"
#include "util/debug.h"
namespace Level{
using namespace std;
LevelInfo::LevelInfo():
playerPath("players/"),
name("Level set"),
_loadingMessage("Loading Paintown"),
... | set player path | [paintown] set player path
| C++ | bsd-3-clause | scristopher/paintown,scristopher/paintown,scristopher/paintown,scristopher/paintown,scristopher/paintown,scristopher/paintown,scristopher/paintown,scristopher/paintown |
c8f114aeb5ee5fcab00e9ab5281c138a8b8958ab | src/plugins/default_term_buffer.cpp | src/plugins/default_term_buffer.cpp | #include "plugin_base.h"
#include "default_term_buffer.h"
#include "default_term_line.h"
#include "default_term_cell.h"
#include "term_selection.h"
#include <vector>
#include <mutex>
class DefaultTermSelection : public virtual PluginBase, public virtual TermSelection {
public:
DefaultTermSelection() :
Pl... | #include "plugin_base.h"
#include "default_term_buffer.h"
#include "default_term_line.h"
#include "default_term_cell.h"
#include "term_selection.h"
#include <vector>
#include <mutex>
class DefaultTermSelection : public virtual PluginBase, public virtual TermSelection {
public:
DefaultTermSelection() :
Pl... | fix scroll crash, should recalculate iterator after erase/insert | fix scroll crash, should recalculate iterator after erase/insert
| C++ | mit | stonewell/wxglterm,stonewell/wxglterm,stonewell/wxglterm,stonewell/wxglterm |
1f9f0c355e9fd960bca4716cc1a9e0db1c1332fa | source/architecture/ARM/ARMv6-M-ARMv7-M/ARMv6-M-ARMv7-M-Reset_Handler.cpp | source/architecture/ARM/ARMv6-M-ARMv7-M/ARMv6-M-ARMv7-M-Reset_Handler.cpp | /**
* \file
* \brief Reset_Handler() for ARMv6-M and ARMv7-M
*
* \author Copyright (C) 2014-2017 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
* distribut... | /**
* \file
* \brief Reset_Handler() for ARMv6-M and ARMv7-M
*
* \author Copyright (C) 2014-2018 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
* distribut... | Use "__{bss,data}_initializers_{start,end}" in Reset_Handler() | Use "__{bss,data}_initializers_{start,end}" in Reset_Handler() | C++ | mpl-2.0 | DISTORTEC/distortos,jasmin-j/distortos,jasmin-j/distortos,DISTORTEC/distortos,jasmin-j/distortos,CezaryGapinski/distortos,jasmin-j/distortos,DISTORTEC/distortos,CezaryGapinski/distortos,CezaryGapinski/distortos,CezaryGapinski/distortos,jasmin-j/distortos,DISTORTEC/distortos,CezaryGapinski/distortos |
4ddc8087d97e4f2a3db995f7161f858ff407ac9f | source/chip/STM32/peripherals/STM32-peripheralsLowLevelInitialization.cpp | source/chip/STM32/peripherals/STM32-peripheralsLowLevelInitialization.cpp | /**
* \file
* \brief chip::peripheralsLowLevelInitialization() implementation for STM32
*
* \author Copyright (C) 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 MP... | /**
* \file
* \brief chip::peripheralsLowLevelInitialization() implementation for STM32
*
* \author Copyright (C) 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 MP... | Initialize STM32's USARTv2 in chip::peripheralsLowLevelInitialization() | Initialize STM32's USARTv2 in chip::peripheralsLowLevelInitialization() | C++ | mpl-2.0 | jasmin-j/distortos,CezaryGapinski/distortos,jasmin-j/distortos,CezaryGapinski/distortos,DISTORTEC/distortos,DISTORTEC/distortos,jasmin-j/distortos,CezaryGapinski/distortos,CezaryGapinski/distortos,jasmin-j/distortos,DISTORTEC/distortos,jasmin-j/distortos,DISTORTEC/distortos,CezaryGapinski/distortos |
67350af54463af9775a4c2197c2ec2a71b25f8f4 | System/predator.cpp | System/predator.cpp | #include "predator.h"
Predator::Predator() {
component = new QQmlComponent(getEngine(), QUrl(QStringLiteral("qrc:/Predator.qml")));
if(component->status() == component->Ready) {
object = component->create(getEngine()->rootContext());
object->setProperty("parent", QVariant::fromValue(getCanvas()... | #include "predator.h"
Predator::Predator() {
component = new QQmlComponent(getEngine(), QUrl(QStringLiteral("qrc:/Predator.qml")));
if(component->status() == component->Ready) {
object = component->create(getEngine()->rootContext());
object->setProperty("parent", QVariant::fromValue(getCanvas()... | Fix predator behaviour when no boids were found. | Fix predator behaviour when no boids were found.
Signed-off-by: TheSniperFan <db7563122c08a03c83ae47e44bdc9bc661a824b1@gmail.com>
| C++ | mit | knorko/Multimedior,knorko/Multimedior |
8a44aa48814b916da76c481a82a9246cf0c428f1 | examples/cpp/jobshop_earlytardy.cc | examples/cpp/jobshop_earlytardy.cc | // Copyright 2010-2012 Google
// 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 wri... | // Copyright 2010-2012 Google
// 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 wri... | implement time placement code for early tardy | implement time placement code for early tardy | C++ | apache-2.0 | LeslieW/or-tools2,bulentsoykan/or-tools,omerucn/or-tools,jggtrujillo/or-tools,petesburgh/or-tools,zafar-hussain/or-tools,LeslieW/or-tools,LeslieW/or-tools2,zafar-hussain/or-tools,gtara/or-tools,gtara/or-tools,yoghadj/or-tools,LeslieW/or-tools,petesburgh/or-tools,petesburgh/or-tools,omerucn/or-tools,omerucn/or-tools,jgg... |
62381d0762ad978d808fb1b8119415a07e028e28 | cpp/ql/test/experimental/query-tests/Security/CWE/CWE-377/semmle/tests/test.cpp | cpp/ql/test/experimental/query-tests/Security/CWE/CWE-377/semmle/tests/test.cpp | typedef int FILE;
#define NULL (0)
FILE *fopen(char *filename, const char *mode);
FILE *fdopen(int handle, char *mode);
char * tmpnam(char * name);
int mkstemp(char * name);
char * strcat(char *str1, const char *str2);
int umask(int pmode);
int chmod(char * filename,int pmode);
int fprintf(FILE *fp,const char *fmt, ...... | typedef int FILE;
#define NULL (0)
FILE *fopen(char *filename, const char *mode);
FILE *fdopen(int handle, char *mode);
char * tmpnam(char * name);
int mkstemp(char * name);
char * strcat(char *str1, const char *str2);
int umask(int pmode);
int chmod(char * filename,int pmode);
int fprintf(FILE *fp,const char *fmt, ...... | Update test.cpp | Update test.cpp | C++ | mit | github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql |
895de14be1ed2560fe98ab0d7fce8b5ced86fe48 | C++/pku_cplusplus/oop/rectangle.cc | C++/pku_cplusplus/oop/rectangle.cc | /*
* Author: Haibo Hao
* Email : haohaibo@ncic.ac.cn
* Copyright (C) 2017 NCIC
**/
#include <iostream>
class CRectangle{
public:
int width, hight;
void Init(int width_, int hight_){
width = width_;
hight = hight_;
}
int Area(){
return width*hig... | /*
* Author: Haibo Hao
* Email : haohaibo@ncic.ac.cn
* Copyright (C) 2017 NCIC
**/
#include <iostream>
class CRectangle{
public:
int width, hight;
void Init(int width_, int hight_){
width = width_;
hight = hight_;
}
int Area(){
return width*hig... | test emoji | :lollipop: test emoji
| C++ | mit | haohaibo/tutorial,haohaibo/tutorial,haohaibo/tutorial,haohaibo/tutorial,haohaibo/tutorial,haohaibo/tutorial,haohaibo/tutorial,haohaibo/tutorial |
db30b6bbb4cbf946036bdcb6685379b7345c1450 | storage/src/vespa/storage/storageserver/rpc/cluster_controller_api_rpc_service.cpp | storage/src/vespa/storage/storageserver/rpc/cluster_controller_api_rpc_service.cpp | // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "cluster_controller_api_rpc_service.h"
#include "shared_rpc_resources.h"
#include "slime_cluster_state_bundle_codec.h"
#include <vespa/storage/storageserver/communicationmanager.h>
#include <vespa/storage/s... | // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "cluster_controller_api_rpc_service.h"
#include "shared_rpc_resources.h"
#include "slime_cluster_state_bundle_codec.h"
#include <vespa/storage/storageserver/communicationmanager.h>
#include <vespa/storage/s... | Add capability filter to cluster controller API RPCs on content nodes | Add capability filter to cluster controller API RPCs on content nodes
| C++ | apache-2.0 | vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa |
962a4c2cc63c106d0f6da143530aa199dd020773 | stan/math/opencl/prim/beta_lpdf.hpp | stan/math/opencl/prim/beta_lpdf.hpp | #ifndef STAN_MATH_OPENCL_PRIM_BETA_LPDF_HPP
#define STAN_MATH_OPENCL_PRIM_BETA_LPDF_HPP
#ifdef STAN_OPENCL
#include <stan/math/opencl/kernel_generator.hpp>
#include <stan/math/opencl/prim/size.hpp>
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/err.hpp>
#include <stan/math/prim/fun/digamma.hpp>
#include <... | #ifndef STAN_MATH_OPENCL_PRIM_BETA_LPDF_HPP
#define STAN_MATH_OPENCL_PRIM_BETA_LPDF_HPP
#ifdef STAN_OPENCL
#include <stan/math/opencl/kernel_generator.hpp>
#include <stan/math/opencl/prim/size.hpp>
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/err.hpp>
#include <stan/math/prim/fun/digamma.hpp>
#include <... | add elt_multiply/elt_divide includes | add elt_multiply/elt_divide includes
| C++ | bsd-3-clause | stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math |
63ba3108b3821e94858171929227a19f1f16537f | ArticyImporter/Source/ArticyImporter/Private/CodeGeneration/InterfacesGenerator.cpp | ArticyImporter/Source/ArticyImporter/Private/CodeGeneration/InterfacesGenerator.cpp | //
// Copyright (c) articy Software GmbH & Co. KG. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
#include "InterfacesGenerator.h"
#include "CodeFileGenerator.h"
#include "ObjectDefinitionsImport.h"
#include "ArticyImportData.h"
void... | //
// Copyright (c) articy Software GmbH & Co. KG. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
#include "InterfacesGenerator.h"
#include "CodeFileGenerator.h"
#include "ObjectDefinitionsImport.h"
#include "ArticyImportData.h"
void... | Fix invalid code generation for interfaces when no interfaces are in the project. | Fix invalid code generation for interfaces when no interfaces are in the project.
| C++ | mit | ArticySoftware/ArticyImporterForUnreal,ArticySoftware/ArticyImporterForUnreal,ArticySoftware/ArticyImporterForUnreal |
e397e5d32567a12bffc9de865202a23a3e0ed96e | cpp/ql/test/experimental/library-tests/rangeanalysis/arraylengthanalysis/test.cpp | cpp/ql/test/experimental/library-tests/rangeanalysis/arraylengthanalysis/test.cpp | void *malloc(unsigned long);
void sink(...);
typedef struct A {
int a;
int b;
char * c;
} A;
void test1(unsigned int count) {
if (count < 1) {
return;
}
A* aptr = (A *) malloc(sizeof(A) * count);
sink(aptr); // (count, 0, Zero, 0)
unsigned int* ptr = &count;
sink(ptr); // (Zero, 1, Zero, 0) TODO... | void *malloc(unsigned long);
void sink(...);
typedef struct A {
int a;
int b;
char * c;
} A;
void test1(unsigned int count) {
if (count < 1) {
return;
}
A* aptr = (A *) malloc(sizeof(A) * count);
sink(aptr); // (count, 0, Zero, 0)
unsigned int* ptr = &count;
sink(ptr); // (Zero, 1, Zero, 0) TODO... | Add new testcase to arraylengthanalysis library. | Add new testcase to arraylengthanalysis library.
| C++ | mit | github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql |
f844f8f0afc1cb721d809e8ebe368020481d49b9 | AI/aialphabeta.cpp | AI/aialphabeta.cpp | #include "aialphabeta.h"
#include <QVector>
#include <QPoint>
#include <QDebug>
#include "constants.h"
#define n BOARD_SIZE
#define INF 1000000
#define timelimit 1000
#define check(x, y) ((x) >= 0 && (x) < n && (y) >= 0 && (y) < n)
struct Choice
{
Choice (int _score = 0, int _x = 0, int _y = 0)
... | #include "aialphabeta.h"
#include <QVector>
#include <QPoint>
#include <QDebug>
#include "constants.h"
#define n BOARD_SIZE
#define INF 1000000
#define timelimit 12345
#define check(x, y) ((x) >= 0 && (x) < n && (y) >= 0 && (y) < n)
struct Choice
{
Choice (int _score = 0, int _x = 0, int _y = 0)
... | fix bug | fix bug | C++ | mit | wangck1998/Gomoku-AI,wangck1998/Gomoku-AI |
97b272657434f9fb2194ec4316f9100518477fc7 | naturalneighbor/naturalneighbor.cpp | naturalneighbor/naturalneighbor.cpp | #include <cmath>
#include <vector>
#include "kdtree.h"
#include "geometry.h"
#include "naturalneighbor.h"
namespace naturalneighbor {
typedef geometry::Point <double, 3> Point;
std::vector<double> *natural_neighbor(std::vector<Point>& known_coordinates,
std::vector<double>& kn... | #include <cmath>
#include <vector>
#include "kdtree.h"
#include "geometry.h"
#include "naturalneighbor.h"
namespace naturalneighbor {
typedef geometry::Point <double, 3> Point;
std::vector<double> *natural_neighbor(std::vector<Point>& known_coordinates,
std::vector<double>& kn... | Make contribution counter use integers | Make contribution counter use integers
| C++ | mit | innolitics/natural-neighbor-interpolation,innolitics/natural-neighbor-interpolation,innolitics/natural-neighbor-interpolation |
71baed437d9b50c303f46ffe79ca118ad14e1735 | rcl/test/rcl/test_subscription_content_filter_options.cpp | rcl/test/rcl/test_subscription_content_filter_options.cpp | // Copyright 2022 Open Source Robotics Foundation, 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 appli... | // Copyright 2022 Open Source Robotics Foundation, 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 appli... | Fix leak in test_subscription_content_filter_options.cpp (#978) | Fix leak in test_subscription_content_filter_options.cpp (#978)
Signed-off-by: Shane Loretz <7fde345e8e2e22c78a1570a4807e4629866dc7de@openrobotics.org> | C++ | apache-2.0 | ros2/rcl,ros2/rcl |
ea5babf48da3682d9bc8e47722a2b46e90b666bb | Modules/Filtering/DistanceMap/include/itkReflectiveImageRegionConstIterator.hxx | Modules/Filtering/DistanceMap/include/itkReflectiveImageRegionConstIterator.hxx | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | Fix typo in ReflectiveImageRegionConstIterator. | COMP: Fix typo in ReflectiveImageRegionConstIterator.
Operate = needed to be operator=
Change-Id: I9c274438b369959c77551181e31a03e708e5f466
| C++ | apache-2.0 | BRAINSia/ITK,fedral/ITK,zachary-williamson/ITK,heimdali/ITK,BlueBrain/ITK,PlutoniumHeart/ITK,LucHermitte/ITK,vfonov/ITK,BRAINSia/ITK,heimdali/ITK,Kitware/ITK,jcfr/ITK,BlueBrain/ITK,jcfr/ITK,jcfr/ITK,Kitware/ITK,fedral/ITK,atsnyder/ITK,biotrump/ITK,PlutoniumHeart/ITK,PlutoniumHeart/ITK,hjmjohnson/ITK,msmolens/ITK,eile/I... |
3855cb56ad457a92cb6cacf0326b032328fa7afa | NaoTHSoccer/Source/Cognition/Modules/VisualCortex/ScanGrid/ScanGridProvider.cpp | NaoTHSoccer/Source/Cognition/Modules/VisualCortex/ScanGrid/ScanGridProvider.cpp | #include "ScanGridProvider.h"
ScanGridProvider::ScanGridProvider()
:
cameraID(CameraInfo::Top)
{
DEBUG_REQUEST_REGISTER("Vision:ScanGridProvider:draw_verticals", "draw vertical scanlines", false);
DEBUG_REQUEST_REGISTER("Vision:ScanGridProvider:draw_horizontals", "draw horizontal scanlines", false);
DEBUG_REQU... | #include "ScanGridProvider.h"
ScanGridProvider::ScanGridProvider()
:
cameraID(CameraInfo::Top)
{
DEBUG_REQUEST_REGISTER("Vision:ScanGridProvider:draw_verticals", "draw vertical scanlines", false);
DEBUG_REQUEST_REGISTER("Vision:ScanGridProvider:draw_horizontals", "draw horizontal scanlines", false);
DEBUG_REQU... | use std::fill to set all values in a vector | bugfix: use std::fill to set all values in a vector
| C++ | apache-2.0 | BerlinUnited/NaoTH,BerlinUnited/NaoTH,BerlinUnited/NaoTH,BerlinUnited/NaoTH,BerlinUnited/NaoTH,BerlinUnited/NaoTH,BerlinUnited/NaoTH |
6b42d0db0b0dfad4fd131740847aebe0f8a19010 | elang/optimizer/node_factory.cc | elang/optimizer/node_factory.cc | // Copyright 2015 Project Vogue. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <unordered_map>
#include "elang/optimizer/node_factory.h"
#include "base/logging.h"
#include "base/numerics/safe_conversions.h"
#include "elang/base/z... | // Copyright 2015 Project Vogue. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <unordered_map>
#include "elang/optimizer/node_factory.h"
#include "base/logging.h"
#include "base/numerics/safe_conversions.h"
#include "elang/base/z... | Introduce |NodeFactory::NewIf()|, |NodeFactory::NewIfFalse()| and |NodeFactory::NewTrue()|. | elang/optimizer: Introduce |NodeFactory::NewIf()|, |NodeFactory::NewIfFalse()| and |NodeFactory::NewTrue()|.
| C++ | apache-2.0 | eval1749/elang,eval1749/elang,eval1749/elang,eval1749/elang,eval1749/elang |
0aa63bbaa41b03f8a0f02d703cd141feefb73542 | OpenSim/Common/AbstractProperty.cpp | OpenSim/Common/AbstractProperty.cpp | /* -------------------------------------------------------------------------- *
* OpenSim: AbstractProperty.cpp *
* -------------------------------------------------------------------------- *
* The OpenSim API is a toolkit for musculoskeletal modeling and simulation. *
... | /* -------------------------------------------------------------------------- *
* OpenSim: AbstractProperty.cpp *
* -------------------------------------------------------------------------- *
* The OpenSim API is a toolkit for musculoskeletal modeling and simulation. *
... | Use the updated Object::updateXMLNode method to determine how to set the name attribute of the node given the property as an argument as to respect its settings (e.g. isUnnamedProperty()) without editing the object. | Use the updated Object::updateXMLNode method to determine how to set the name attribute of the node given the property as an argument as to respect its settings (e.g. isUnnamedProperty()) without editing the object.
| C++ | apache-2.0 | opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core |
e86c23b26a6eecfbe8a82d0395c3bcbd5e749150 | OpenSim/Simulation/Model/Marker.cpp | OpenSim/Simulation/Model/Marker.cpp | /* -------------------------------------------------------------------------- *
* OpenSim: Marker.cpp *
* -------------------------------------------------------------------------- *
* The OpenSim API is a toolkit for musculoskeletal modeling and simulation. *
... | /* -------------------------------------------------------------------------- *
* OpenSim: Marker.cpp *
* -------------------------------------------------------------------------- *
* The OpenSim API is a toolkit for musculoskeletal modeling and simulation. *
... | Fix scale factors for Marker geometry so it doesn't show inside-out in GUI | Fix scale factors for Marker geometry so it doesn't show inside-out in GUI
| C++ | apache-2.0 | opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core |
73b92c0b05dcac768dd604fe85598a9a5ea6e230 | CollisionsAdvanced/src/Bitmask.cpp | CollisionsAdvanced/src/Bitmask.cpp | #include "Bitmask.h"
#include <of3dGraphics.h>
using namespace math;
function<bool(ofVec4f)> Bitmask::defaultColorKey()
{
return [](ofVec4f colorKey) -> bool {
return colorKey.w == 0;
};
}
ofVec4f Bitmask::pixelColor(int x, int y) const
{
auto& pixels = image->getPixels();
auto color = pixels.getColor(x, y);
... | #include "Bitmask.h"
#include <of3dGraphics.h>
using namespace math;
function<bool(ofVec4f)> Bitmask::defaultColorKey()
{
return [](ofVec4f colorKey) -> bool {
return colorKey.w == 0;
};
}
ofVec4f Bitmask::pixelColor(int x, int y) const
{
auto& pixels = image->getPixels();
auto color = pixels.getColor(x, y);
... | Adjust bitmask algorithm to sprites considering animation frame in width | Adjust bitmask algorithm to sprites considering animation frame in width
| C++ | apache-2.0 | rafagan/advanced-collision-demos,rafagan/advanced-collision-demos |
a6947c3f53d6d97798bea590895eb299edaa8ab1 | Core/IO/mitkItkImageFileReader.cpp | Core/IO/mitkItkImageFileReader.cpp | /*=========================================================================
Program: Medical Imaging & Interaction Toolkit
Module: $RCSfile$
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) German Cancer Research Center, Division of Medical and
Biological Informatics. All rights reserved.
See... | /*=========================================================================
Program: Medical Imaging & Interaction Toolkit
Module: $RCSfile$
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) German Cancer Research Center, Division of Medical and
Biological Informatics. All rights reserved.
See... | read direction matrix from itkImageIO | ENH: read direction matrix from itkImageIO
| C++ | bsd-3-clause | NifTK/MITK,lsanzdiaz/MITK-BiiG,NifTK/MITK,lsanzdiaz/MITK-BiiG,rfloca/MITK,fmilano/mitk,lsanzdiaz/MITK-BiiG,NifTK/MITK,danielknorr/MITK,rfloca/MITK,RabadanLab/MITKats,MITK/MITK,iwegner/MITK,fmilano/mitk,iwegner/MITK,rfloca/MITK,nocnokneo/MITK,MITK/MITK,danielknorr/MITK,fmilano/mitk,RabadanLab/MITKats,RabadanLab/MITKats,... |
f7603fb3522ffcdbcc416e684a218709532bbe26 | Decoders/LoopableRegionDecoder.cpp | Decoders/LoopableRegionDecoder.cpp | /*
* Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Stephen F. Booth <me@sbooth.org>
* 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 r... | /*
* Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Stephen F. Booth <me@sbooth.org>
* 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 r... | Handle decoders with interleaved data formats | Handle decoders with interleaved data formats
| C++ | mit | sbooth/SFBAudioEngine,sonoramac/SFBAudioEngine,eriser/SFBAudioEngine,sonoramac/SFBAudioEngine,sbooth/SFBAudioEngine,sbooth/SFBAudioEngine |
ea510fb8e596e287116200553d058e41ce72c2ab | Firmware/MotorControl/trapTraj.cpp | Firmware/MotorControl/trapTraj.cpp | #include <math.h>
#include "odrive_main.h"
// Standard sign function, implemented to match the Python impelmentation
template <typename T>
int sign(T val) {
if (val == T(0))
return T(0);
else
return (std::signbit(val)) ? -1 : 1;
}
TrapezoidalTrajectory::TrapezoidalTrajectory(TrapTrajConfig_t &... | #include <math.h>
#include "odrive_main.h"
// Standard sign function, implemented to match the Python impelmentation
template <typename T>
int sign(T val) {
if (val == T(0))
return T(0);
else
return (std::signbit(val)) ? -1 : 1;
}
TrapezoidalTrajectory::TrapezoidalTrajectory(TrapTrajConfig_t &... | Revert "Support overshoot moves" | Revert "Support overshoot moves"
This reverts commit 0ea6a5a37bea707ef8e954b80f35176b5add3e4d.
| C++ | mit | madcowswe/ODriveFirmware,madcowswe/ODriveFirmware,madcowswe/ODrive,madcowswe/ODrive,madcowswe/ODrive,madcowswe/ODriveFirmware,madcowswe/ODrive,madcowswe/ODrive,madcowswe/ODriveFirmware |
55a9d0360e1730d756af997b74f7ede4c1c21c0e | core/src/wallet/ripple/explorers/api/RippleLikeTransactionParser.cpp | core/src/wallet/ripple/explorers/api/RippleLikeTransactionParser.cpp | /*
*
* RippleLikeTransactionParser
*
* Created by El Khalil Bellakrid on 07/01/2019.
*
* The MIT License (MIT)
*
* Copyright (c) 2019 Ledger
*
* 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 t... | /*
*
* RippleLikeTransactionParser
*
* Created by El Khalil Bellakrid on 07/01/2019.
*
* The MIT License (MIT)
*
* Copyright (c) 2019 Ledger
*
* 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 t... | Add documentation about XRP epoch and make it a constant. | Add documentation about XRP epoch and make it a constant.
| C++ | mit | LedgerHQ/lib-ledger-core,LedgerHQ/lib-ledger-core,LedgerHQ/lib-ledger-core,LedgerHQ/lib-ledger-core,LedgerHQ/lib-ledger-core,LedgerHQ/lib-ledger-core,LedgerHQ/lib-ledger-core |
80200ee1435b0ad69c041f7f43feb82a1fce98cd | service/resource-manipulation/modules/serverBuilder/unittests/RequestHandlerTest.cpp | service/resource-manipulation/modules/serverBuilder/unittests/RequestHandlerTest.cpp | //******************************************************************
//
// Copyright 2015 Samsung Electronics All Rights Reserved.
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance... | //******************************************************************
//
// Copyright 2015 Samsung Electronics All Rights Reserved.
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance... | Fix wrong unittests in RequestHandlerTest | Fix wrong unittests in RequestHandlerTest
The tests regarding AcceptanceMethod
Change-Id: Iaa18464b9059887c4ab229e8a5f2ca44bdad221f
Signed-off-by: coderhyme <528f34a2692ffbaf2ac758012cd3e3a426bd89e5@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1549
Tested-by: jenkins-iotivity <09cb29e8a2b473a2c978382e... | C++ | apache-2.0 | rzr/iotivity,WojciechLuczkow/iotivity,rzr/iotivity,santais/iotivity,iotivity/iotivity,santais/iotivity_1.1,rzr/iotivity,WojciechLuczkow/iotivity,WojciechLuczkow/iotivity,santais/iotivity_1.1,tienfuc/iotivity-democlient-snap,tienfuc/iotivity-democlient-snap,iotivity/iotivity,tienfuc/iotivity-democlient-snap,santais/ioti... |
134e3e14330597513294e99bbb33f5b4f6362cdf | notification/src/objects/command.cc | notification/src/objects/command.cc | /*
** Copyright 2011-2013 Centreon
**
** 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 t... | /*
** Copyright 2011-2013 Centreon
**
** 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 t... | fix the shell escaping (will need to be careful for this, it can be a security break). | Notification: fix the shell escaping (will need to be careful for this, it can be a security break).
| C++ | apache-2.0 | centreon/centreon-broker,centreon/centreon-broker,centreon/centreon-broker,centreon/centreon-broker,centreon/centreon-broker |
dab5892dbdb5e6a44fef38b05628c7f5cae1f7b0 | b.cpp | b.cpp | #include <maint>
| #include <maint>
using namespace
| test push conflict | test push conflict
| C++ | apache-2.0 | Da-Huang/Git-Test,Da-Huang/Git-Test |
aaf33cc39c5d721873097e43142b0650ca3ce1d5 | example/server/chat/src/main.cc | example/server/chat/src/main.cc | // belle chat example
#include "belle.hh"
namespace Belle = OB::Belle;
#include <ctime>
#include <string>
#include <sstream>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <optional>
#include <deque>
using namespace std::string_literals;
// basic ring buffer
template<class T>
class Ringbuf
{
pu... | // belle chat example
#include "belle.hh"
namespace Belle = OB::Belle;
#include <ctime>
#include <string>
#include <sstream>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <optional>
#include <deque>
using namespace std::string_literals;
// basic ring buffer
template<class T>
class Ringbuf
{
pu... | update chat example | update chat example
| C++ | mit | octobanana/belle,octobanana/belle,octobanana/belle,octobanana/belle |
67ddbbe4948ef56335bb9884a05e3f022d7698cf | examples/Particles/LogoDemo.cpp | examples/Particles/LogoDemo.cpp | #include "LogoDemo.hpp"
#include <Nazara/Core/OffsetOf.hpp>
#include <Nazara/Graphics.hpp>
#include <Nazara/Utility.hpp>
#include <NDK/Components.hpp>
#include <NDK/Systems.hpp>
#include <iostream>
namespace
{
const float duration = 10.f;
const float maxSpeed = 100.f;
const float maxMouseForce = 1000.f;
const floa... | #include "LogoDemo.hpp"
#include <Nazara/Core/OffsetOf.hpp>
#include <Nazara/Graphics.hpp>
#include <Nazara/Utility.hpp>
#include <NDK/Components.hpp>
#include <NDK/Systems.hpp>
#include <iostream>
namespace
{
const float duration = 10.f;
const float maxSpeed = 100.f;
const float maxMouseForce = 1000.f;
const floa... | Fix LogoDemo after mapper change | Fix LogoDemo after mapper change
| C++ | mit | DigitalPulseSoftware/NazaraEngine |
9431ebce5110bbaa686ede04c6141bac34699862 | ode/ode/src/stack.cpp | ode/ode/src/stack.cpp | /*************************************************************************
* *
* Open Dynamics Engine, Copyright (C) 2001 Russell L. Smith. *
* *
* This library is f... | /*************************************************************************
* *
* Open Dynamics Engine, Copyright (C) 2001 Russell L. Smith. *
* *
* This library is f... | support systems like solaris (?) that dont have anonymous mmaps | support systems like solaris (?) that dont have anonymous mmaps
| C++ | lgpl-2.1 | forrestv/opende,forrestv/opende,forrestv/opende,forrestv/opende,forrestv/opende |
9d35724651c84efeb03214d79aac6e59d797c379 | ospray/fb/LocalFB.cpp | ospray/fb/LocalFB.cpp | // ======================================================================== //
// Copyright 2009-2016 Intel Corporation //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); //
// y... | // ======================================================================== //
// Copyright 2009-2016 Intel Corporation //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); //
// y... | make everything in LocalFB aligned...() for memory allocation | make everything in LocalFB aligned...() for memory allocation
| C++ | apache-2.0 | wilsonCernWq/ospray,MengjiaoH/ospray,wilsonCernWq/ospray,MengjiaoH/ospray,ospray/OSPRay,Twinklebear/OSPRay,wilsonCernWq/ospray,ospray/OSPRay,MengjiaoH/ospray,ospray/OSPRay,MengjiaoH/ospray,Twinklebear/OSPRay,ospray/OSPRay,Twinklebear/OSPRay,MengjiaoH/ospray,Twinklebear/OSPRay |
b76e94672251fc50140f5b8d8803b557bcf14bd4 | Source/core/rendering/InlineBox.cpp | Source/core/rendering/InlineBox.cpp | /*
* Copyright (C) 2003, 2004, 2005, 2006, 2007 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your opt... | /*
* Copyright (C) 2003, 2004, 2005, 2006, 2007 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your opt... | Add more details to showLineTree() output | Add more details to showLineTree() output
Sample of the new output:
InlineFlowBox 0x397ffa898130 RenderInline 0x397ffa840170 {pos=30,13 size=212.271,15} baseline=24/20
R=ojan@chromium.org
BUG=
Review URL: https://codereview.chromium.org/215583003
git-svn-id: bf5cd6ccde378db821296732a091cfbcf5285... | C++ | bsd-3-clause | primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs |
78e34c601132bf78f218c27ab4329a5ceb6ffea6 | SurgSim/Devices/DeviceUtilities.cpp | SurgSim/Devices/DeviceUtilities.cpp | // This file is a part of the OpenSurgSim project.
// Copyright 2013, SimQuest Solutions 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/LICE... | // This file is a part of the OpenSurgSim project.
// Copyright 2013, SimQuest Solutions 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/LICE... | Remove ambiguity from DeviceUtilities log message. | Remove ambiguity from DeviceUtilities log message.
| C++ | apache-2.0 | simquest/opensurgsim,simquest/opensurgsim,simquest/opensurgsim,simquest/opensurgsim |
fd2bde02e1cedb4cc3e0b41f6e858ca62a3d0f1b | chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc | chrome/browser/component_updater/test/component_updater_ping_manager_unittest.cc | // Copyright 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/memory/scoped_ptr.h"
#include "base/run_loop.h"
#include "base/version.h"
#include "chrome/browser/component_updater/component_updater_ping... | // Copyright 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/memory/scoped_ptr.h"
#include "base/run_loop.h"
#include "base/version.h"
#include "chrome/browser/component_updater/component_updater_ping... | Disable flaky ComponentUpdaterPingManagerTest.PingManagerTest | Disable flaky ComponentUpdaterPingManagerTest.PingManagerTest
TBR=sorin@chromium.org
BUG=349547
Review URL: https://codereview.chromium.org/177703005
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@255115 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | dednal/chromium.src,littlstar/chromium.src,littlstar/chromium.src,Pluto-tv/chromium-crosswalk,jaruba/chromium.src,Pluto-tv/chromium-crosswalk,M4sse/chromium.src,anirudhSK/chromium,M4sse/chromium.src,Pluto-tv/chromium-crosswalk,bright-sparks/chromium-spacewalk,dushu1203/chromium.src,TheTypoMaster/chromium-crosswalk,hgl8... |
4c1ae350270d08d8ebdac664ff8210f6d1d1f0a0 | TASKS/TASK_2/sources/rectMatrix.cpp | TASKS/TASK_2/sources/rectMatrix.cpp | #include <cstdarg>
#include <iostream>
#include "rectMatrix.h"
#ifdef DEBUG
#define debugMsg(id, msg) std::cout << "Matrix[" << id << "]:" << msg << std::endl;
#else
#define debugMsg(id, msg) ;
#endif
namespace classes {
double& m_proxy::operator [](unsigned int column) {
if (column < colsCount)
return dataRow[... | #include <cstdarg>
#include <iostream>
#include <iomanip>
#include "rectMatrix.h"
#ifdef DEBUG
#define debugMsg(id, msg) std::cout << "Matrix[" << id << "]:" << msg << std::endl;
#else
#define debugMsg(id, msg) ;
#endif
namespace classes {
double& m_proxy::operator [](unsigned int column) {
if (column < colsCount)... | Implement non class member operators and print | Implement non class member operators and print
| C++ | mit | reeFridge/learn-oop-through-cpp |
301cc63204f67ba1f62bf511a5291deda23de8d5 | tensorflow/compiler/mlir/tensorflow/transforms/tpu_outside_compilation_cluster.cc | tensorflow/compiler/mlir/tensorflow/transforms/tpu_outside_compilation_cluster.cc | /* Copyright 2020 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 2020 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... | Speed up tf-tpu-outside-compilation-cluster pass by not processing dependent ops multiple times | Speed up tf-tpu-outside-compilation-cluster pass by not processing dependent ops multiple times
Currently, this uses stack to maintain the op worklist using SetVector which will cause some ops to be visited multiple times as the ops are not necessarily popped in the topological order. This will have exponential comple... | C++ | apache-2.0 | cxxgtxy/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-pywrap_saved_model,cxxgtxy/tensorflow,gautam1858/tensorflow,yongtang/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,frreiss/tensorflow-fred,Intel-tensorflow/tenso... |
29e8c3529787c78b24da680744524e2c9f3ae83d | examples/undocumented/libshogun/evaluation_cross_validation_mkl_weight_storage.cpp | examples/undocumented/libshogun/evaluation_cross_validation_mkl_weight_storage.cpp | /*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* Written (W) 2012 Heiko Strathmann
*/
#include <shogun/bas... | /*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* Written (W) 2012 Heiko Strathmann
*/
#include <shogun/bas... | Update undocumented meta example on cross validation (MKL). | [ParameterObservers] Update undocumented meta example on cross validation (MKL).
| C++ | bsd-3-clause | besser82/shogun,sorig/shogun,geektoni/shogun,besser82/shogun,sorig/shogun,lisitsyn/shogun,shogun-toolbox/shogun,sorig/shogun,karlnapf/shogun,besser82/shogun,karlnapf/shogun,karlnapf/shogun,lambday/shogun,lisitsyn/shogun,lambday/shogun,geektoni/shogun,shogun-toolbox/shogun,lisitsyn/shogun,shogun-toolbox/shogun,shogun-to... |
cd3f29c1bb0f3460c06226d4a22d1c94387be95d | lib/node_modules/@stdlib/math/base/special/powm1/benchmark/cpp/benchmark.boost.cpp | lib/node_modules/@stdlib/math/base/special/powm1/benchmark/cpp/benchmark.boost.cpp | /**
* Benchmark Boost `powm1`.
*/
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <sys/time.h>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/uniform_real_distribution.hpp>
#include <boost/math/special_functions/powm1.hpp>
using boost::random::uniform_real_distribution;
using boo... | /**
* Benchmark Boost `powm1`.
*/
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <sys/time.h>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/uniform_real_distribution.hpp>
#include <boost/math/special_functions/powm1.hpp>
using boost::random::uniform_real_distribution;
using boo... | Fix check for return value | Fix check for return value
| C++ | apache-2.0 | stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib |
448d377c589ec2f4231e41daad11a7d5110c61c5 | source/Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp | source/Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp | //===-- MainThreadCheckerRuntime.cpp ----------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | //===-- MainThreadCheckerRuntime.cpp ----------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | Update for change to VisibleDeclConsumer | Update for change to VisibleDeclConsumer
| C++ | apache-2.0 | apple/swift-lldb,apple/swift-lldb,apple/swift-lldb,apple/swift-lldb,apple/swift-lldb,apple/swift-lldb |
06110e954667c1c911d9428f430b6b8cb7902b34 | plugins/ipc/stipc.cpp | plugins/ipc/stipc.cpp | #include <wayfire/singleton-plugin.hpp>
#include <wayfire/view.hpp>
#include <wayfire/output.hpp>
#include <wayfire/workspace-manager.hpp>
#include <wayfire/output-layout.hpp>
#include <getopt.h>
#include "ipc.hpp"
extern "C" {
#include <wlr/backend/wayland.h>
#include <wlr/backend/multi.h>
#include <wlr/backend/head... | #include <wayfire/singleton-plugin.hpp>
#include <wayfire/view.hpp>
#include <wayfire/output.hpp>
#include <wayfire/workspace-manager.hpp>
#include <wayfire/output-layout.hpp>
#include <getopt.h>
#include "ipc.hpp"
extern "C" {
#include <wlr/backend/wayland.h>
#include <wlr/backend/multi.h>
#include <wlr/backend/head... | add command to get display numbers | add command to get display numbers
| C++ | mit | ammen99/wayfire,ammen99/wayfire |
1aafcb90209ebdfdeb974fad8bdc28ebfffaa486 | oox/source/helper/attributelist.cxx | oox/source/helper/attributelist.cxx | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozil... | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozil... | reduce exception count reading missing attributes. | oox: reduce exception count reading missing attributes.
| C++ | mpl-2.0 | JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core |
6c8454f1edd85979febf15a7aed9483c2464e745 | examples/cpp/dispatch_freertos.cpp | examples/cpp/dispatch_freertos.cpp | #include <thread>
#include <functional>
#include <vector>
#include <cstdint>
#include <cstdio>
#include <queue>
#include <mutex>
#include <string>
#include <condition_variable>
#include <freertos/FreeRTOS.h>
#include <freertos/task.h>
#include <freertos/event_groups.h>
#include <freertos/semphr.h>
#pragma mark - Defin... | #include <thread>
#include <functional>
#include <vector>
#include <cstdint>
#include <cstdio>
#include <queue>
#include <mutex>
#include <string>
#include <condition_variable>
#include <freertos/FreeRTOS.h>
#include <freertos/task.h>
#include <freertos/event_groups.h>
#include <freertos/semphr.h>
#pragma mark - Defin... | Delete unused variable | Delete unused variable
| C++ | cc0-1.0 | embeddedartistry/embedded-resources |
be06e2d3ba564e1d0502411f55793c9c6f00f374 | ext/common/BackgroundEventLoop.cpp | ext/common/BackgroundEventLoop.cpp | /*
* Phusion Passenger - https://www.phusionpassenger.com/
* Copyright (c) 2011-2015 Phusion
*
* "Phusion Passenger" is a trademark of Hongli Lai & Ninh Bui.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"... | /*
* Phusion Passenger - https://www.phusionpassenger.com/
* Copyright (c) 2011-2015 Phusion
*
* "Phusion Passenger" is a trademark of Hongli Lai & Ninh Bui.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"... | Fix minor memory leak: delete BackgroundEventLoop thread on shutdown | Fix minor memory leak: delete BackgroundEventLoop thread on shutdown
| C++ | mit | phusion/passenger,kewaunited/passenger,kewaunited/passenger,cgvarela/passenger,kewaunited/passenger,clemensg/passenger,cgvarela/passenger,cgvarela/passenger,phusion/passenger,phusion/passenger,clemensg/passenger,antek-drzewiecki/passenger,antek-drzewiecki/passenger,antek-drzewiecki/passenger,kewaunited/passenger,clemen... |
403355398acc3ee3280e7e27fa814c26a93e2949 | cql3/restrictions/single_column_restriction.hh | cql3/restrictions/single_column_restriction.hh | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | Convert SingleColumnRestriction.Slice | cql3: Convert SingleColumnRestriction.Slice
| C++ | agpl-3.0 | kangkot/scylla,avikivity/scylla,kangkot/scylla,glommer/scylla,justintung/scylla,shaunstanislaus/scylla,gwicke/scylla,eklitzke/scylla,justintung/scylla,senseb/scylla,scylladb/scylla,capturePointer/scylla,stamhe/scylla,phonkee/scylla,tempbottle/scylla,duarten/scylla,senseb/scylla,eklitzke/scylla,stamhe/scylla,linearregre... |
ae4f3cd90c5d2ab5e92d014be84e908717ee93ac | Cube/MainScene.hpp | Cube/MainScene.hpp | #pragma once
#include <EasyDx/Events.hpp>
#include <EasyDx/Scene.hpp>
#include <EasyDx/RenderedObject.hpp>
#include <EasyDx/Shaders.hpp>
#include <DirectXMath.h>
//wrl::ComPtr 对于 incomplete type 的支持问题。
#include <d3d11.h>
class MainScene : public dx::Scene
{
protected:
void Render(ID3D11DeviceContext& context, ID... | #pragma once
#include <EasyDx/Events.hpp>
#include <EasyDx/Scene.hpp>
#include <EasyDx/RenderedObject.hpp>
#include <EasyDx/Shaders.hpp>
#include <DirectXMath.h>
//wrl::ComPtr 对于 incomplete type 的支持问题。
#include <d3d11.h>
class MainScene : public dx::Scene
{
protected:
void Render(ID3D11DeviceContext& context, ID... | Remove the redundant `world_` member. | Remove the redundant `world_` member.
| C++ | apache-2.0 | LYP951018/EasyDX |
c0ab92789a7fa9d2e6a9bbdf96442b07006c8e0c | DMIC_test/main.cpp | DMIC_test/main.cpp | //=====================================================================//
/*! @file
@brief デジタル・マイク制御 (R5F100ECA) 40ピン @n
ROM: 32K, RAM: @n
P15: green LED @n
P16: red LED @n
@author 平松邦仁 (hira@rvf-rc45.net)
@copyright Copyright (C) 2017 Kunihito Hiramatsu @n
Released under the MIT license @n
http... | //=====================================================================//
/*! @file
@brief デジタル・マイク制御 (R5F100ECA) 40ピン @n
ROM: 32K, RAM: @n
P15: green LED @n
P16: red LED @n
@author 平松邦仁 (hira@rvf-rc45.net)
@copyright Copyright (C) 2017 Kunihito Hiramatsu @n
Released under the MIT license @n
http... | update serial management | update serial management
| C++ | bsd-3-clause | hirakuni45/RL78,hirakuni45/RL78,hirakuni45/RL78 |
22655d8e1abbb8e6b0fba9d3a6cd68b1a1709028 | external/vulkancts/modules/vulkan/texture/vktTextureFilteringAnisotropyTests.cpp | external/vulkancts/modules/vulkan/texture/vktTextureFilteringAnisotropyTests.cpp | /*-------------------------------------------------------------------------
* Vulkan Conformance Tests
* ------------------------
*
* Copyright (c) 2016 The Khronos Group Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*... | /*-------------------------------------------------------------------------
* Vulkan Conformance Tests
* ------------------------
*
* Copyright (c) 2016 The Khronos Group Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*... | Make texture aniso basic self tests less sensitive | Make texture aniso basic self tests less sensitive
The tests cases first check with a fuzzy diff that the images are more
or less the same.
The second diff then checks with a standard image comparison + tolerance
that the images are not identical.
Some of IMG's implementations produce a closer image than the test is... | C++ | apache-2.0 | KhronosGroup/VK-GL-CTS,KhronosGroup/VK-GL-CTS,KhronosGroup/VK-GL-CTS,KhronosGroup/VK-GL-CTS,KhronosGroup/Vulkan-CTS,KhronosGroup/VK-GL-CTS,KhronosGroup/Vulkan-CTS,KhronosGroup/Vulkan-CTS,KhronosGroup/Vulkan-CTS,KhronosGroup/VK-GL-CTS,KhronosGroup/Vulkan-CTS,KhronosGroup/Vulkan-CTS |
2945e4249cace286d7bebcf58f2251193db5d153 | test/fuzzers/producer_fec_fuzzer.cc | test/fuzzers/producer_fec_fuzzer.cc | /*
* Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | /*
* Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | Fix producer_fec_fuzzer. | Fix producer_fec_fuzzer.
A field was removed from FecProtectionParams in
https://codereview.webrtc.org/1917083003.
BUG=webrtc:5066
R=turaj@webrtc.org, turajs@webrtc.org
Review URL: https://codereview.webrtc.org/1922283002 .
Cr-Original-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#12518}
Cr-Mirrored-F... | C++ | bsd-3-clause | jchavanton/webrtc,Alkalyne/webrtctrunk,jchavanton/webrtc,Alkalyne/webrtctrunk,jchavanton/webrtc,Alkalyne/webrtctrunk,jchavanton/webrtc,Alkalyne/webrtctrunk,Alkalyne/webrtctrunk,Alkalyne/webrtctrunk,jchavanton/webrtc,jchavanton/webrtc,Alkalyne/webrtctrunk,Alkalyne/webrtctrunk,jchavanton/webrtc |
d9160591deb6c3337da7583cc1e56bd0abe52daa | lib/node_modules/@stdlib/strided/common/examples/addon-nan-polymorphic/addon.cpp | lib/node_modules/@stdlib/strided/common/examples/addon-nan-polymorphic/addon.cpp | /**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* 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 a... | /**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* 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 a... | Document thrown errors | Document thrown errors
| C++ | apache-2.0 | stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib |
838a038cbdce8b6ea503e1b7b1954efafa7fc752 | log.cc | log.cc | /*
* Copyright (C) 2014 Cloudius Systems, Ltd.
*/
/*
* This file is part of Scylla.
*
* Scylla 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, either version 3 of the License, or
* (at your opt... | /*
* Copyright (C) 2014 Cloudius Systems, Ltd.
*/
/*
* This file is part of Scylla.
*
* Scylla 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, either version 3 of the License, or
* (at your opt... | Fix operator<<(std::ostream&, const std::exception_ptr&) | log: Fix operator<<(std::ostream&, const std::exception_ptr&)
Attempt to print std::nested_exception currently results in exception
to leak outside the printer. Fix by capturing all exception in the
final catch block.
For nested exception, the logger will print now just
"std::nested_exception". For nested exceptions... | C++ | agpl-3.0 | scylladb/scylla,avikivity/scylla,kjniemi/scylla,raphaelsc/scylla,avikivity/scylla,scylladb/scylla,raphaelsc/scylla,duarten/scylla,scylladb/scylla,avikivity/scylla,kjniemi/scylla,duarten/scylla,kjniemi/scylla,raphaelsc/scylla,duarten/scylla,scylladb/scylla |
cf6e08aa52867558b977ad2699227ec487dd8bc4 | plugins/input/ogr/ogr_index_featureset.cpp | plugins/input/ogr/ogr_index_featureset.cpp | /*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2011 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as p... | /*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2011 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as p... | disable (by default) use of shared memory in ogr plugin | disable (by default) use of shared memory in ogr plugin
| C++ | lgpl-2.1 | yiqingj/work,tomhughes/python-mapnik,naturalatlas/mapnik,jwomeara/mapnik,lightmare/mapnik,mbrukman/mapnik,whuaegeanse/mapnik,mapnik/python-mapnik,mbrukman/mapnik,qianwenming/mapnik,garnertb/python-mapnik,mapnik/python-mapnik,Uli1/mapnik,mapycz/mapnik,davenquinn/python-mapnik,CartoDB/mapnik,Mappy/mapnik,manz/python-mapn... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.