text
stringlengths
54
60.6k
<commit_before>#include "cube.hpp" using namespace plush; const glm::vec3 LEFT_BOTTOM_FRONT (-.5f, -.5f, .5f); const glm::vec3 RIGHT_BOTTOM_FRONT( .5f, -.5f, .5f); const glm::vec3 RIGHT_TOP_FRONT ( .5f, .5f, .5f); const glm::vec3 LEFT_TOP_FRONT (-.5f, .5f, .5f); const glm::vec3 LEFT_BOTTOM_BACK (-.5f, -.5f, -...
<commit_before>/* * This file is part of the libemb project. * * Copyright (C) 2011 Stefan Wendler <sw@kaltpost.de> * * 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 t...
<commit_before> #include <Atomic/Atomic.h> #include <Atomic/IO/Log.h> #include <Atomic/Core/ProcessUtils.h> #include <Atomic/Resource/ResourceCache.h> #include "JSBind.h" #include "JSBPackage.h" #include "JSBModule.h" #include "JSBFunction.h" #include "JSBHaxe.h" namespace ToolCore { String JSBHaxe::GetScriptTyp...
<commit_before>/** * \file testDmpModelParameterValues.cpp * \author Freek Stulp * * This file is part of DmpBbo, a set of libraries and programs for the * black-box optimization of dynamical movement primitives. * Copyright (C) 2014 Freek Stulp, ENSTA-ParisTech * * DmpBbo is free software: you can redistribu...
<commit_before>/* * gallery_plugin_facerecognition_resetter.cpp * * Copyright (C) 2012 Igalia, S.L. * * Author: Andres Gomez <agomez@igalia.com> * Simon Pena <spena@igalia.com> * * This file is part of the Gallery Facerecognition Resetter Plugin. * * This library is free software; you can redistribute...
<commit_before>#include <functional> #include <future> #include "kernel.h" #include "coverage.h" #include "numericrange.h" #include "numericdomain.h" #include "columndefinition.h" #include "table.h" #include "attributerecord.h" #include "feature.h" #include "factory.h" #include "abstractfactory.h" #include "featurefact...
<commit_before>/* The MIT License (MIT) Copyright (c) 2014 Joshua Trahan Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy,...
<commit_before>#include <cstdio> int main(){ float a, b, c, x; scanf("%f %f %f", &a, &b, &c); if (a < b){ x = a; a = b; b = x; } if (b < c){ x = b; b = c; c = x; } if (a < b){ x = a; a = b; b = x; } if (a > b + c) printf("NAO FORMA TRIANGULO\n"); else if (a * a == b * b + c * c) ...
<commit_before>#include <gtest/gtest.h> #include <dart/dynamics/dynamics.h> #include <dart/common/StlHelpers.h> #include <aikido/constraint/dart.hpp> #include <aikido/constraint/SatisfiedConstraint.hpp> #include <aikido/statespace/dart/RealVectorJointStateSpace.hpp> #include <aikido/statespace/dart/SO2JointStateSpace.h...
<commit_before>/* * This file is part of TelepathyQt4 * * Copyright (C) 2009 Collabora Ltd. <http://www.collabora.co.uk/> * Copyright (C) 2009 Nokia Corporation * * 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 b...
<commit_before>#ifndef ITER_ENUMERATE_H_ #define ITER_ENUMERATE_H_ #include "internal/iterator_wrapper.hpp" #include "internal/iterbase.hpp" #include <functional> #include <initializer_list> #include <iterator> #include <tuple> #include <type_traits> #include <utility> namespace iter { namespace impl { templat...
<commit_before>#define DO_UNIT_TESTING 1 #define SHOW_SAMPLE_OUTPUT 0 #if DO_UNIT_TESTING==1 #define UNIT_TEST_OUTPUT(command) \ if (SHOW_SAMPLE_OUTPUT) { \ command; \ } //Catch provides a main that takes precedence #define CATCH_CONFIG_MAIN #include <catch.hpp> //Unit test files #include "MathTests.h" #en...
<commit_before>#include <iostream> #include <iomanip> // << fixed << setprecision(xxx) #include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ; #include <vector> #include <string> // to_string(nnn) // substr(m, n) // stoi(nnn) #include <complex> #include <tuple> // get<n>(xxx) #include <queue> #include <st...
<commit_before>/* * This file is part of TelepathyQt4 * * Copyright (C) 2009-2010 Collabora Ltd. <http://www.collabora.co.uk/> * Copyright (C) 2009-2010 Nokia Corporation * * 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...
<commit_before>/** * @file */ #pragma once #include "libbirch/external.hpp" #include "libbirch/thread.hpp" namespace libbirch { /** * Buffer for storing the contents of an array. Buffer objects are shared * between arrays with copy-on-write semantics, and overallocated to contain * bookkeeping variables, as well...
<commit_before>/*========================================================================= Program: KWSys - Kitware System Library Module: Glob.cxx Copyright (c) Kitware, Inc., Insight Consortium. All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This soft...
<commit_before>#include <iostream> #include <string> #include <cstring> #include <cstdlib> #include <sstream> #include <vector> std::vector <std::string> splitString(char* str){ char * pch; std::vector <std::string> equation; pch = strtok (str," +="); // (string and delimiters) while (pch != NULL) { equa...
<commit_before>/* _______ __ __ __ ______ __ __ _______ __ __ * / _____/\ / /\ / /\ / /\ / ____/\ / /\ / /\ / ___ /\ / |\/ /\ * / /\____\// / // / // / // /\___\// /_// / // /\_/ / // , |/ / / * / / /__ / / // / // / // / / / ___ / // ___ / // /| ' / / * / /_// /\ / /_// / ...
<commit_before>#include "Cache.h" #include <unordered_map> #include <cassert> #include <iostream> #include <llvm/IR/Module.h> #include <llvm/IR/LLVMContext.h> #include <llvm/Support/Path.h> #include <llvm/Support/FileSystem.h> #include <llvm/Support/raw_os_ostream.h> namespace dev { namespace eth { namespace jit { //...
<commit_before>// // TreeView.cpp // // Copyright (c) 2001-2004 Virtual Terrain Project // Free for all uses, see license.txt for details. // // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" #ifndef WX_PRECOMP #include "wx/wx.h" #endif #include "vtdata/FilePath.h" #include "vt...
<commit_before>#include "drawtypes/ramp.hpp" #include "utils/factory.hpp" #include "utils/math.hpp" POLYBAR_NS namespace drawtypes { void ramp::add(icon_t&& icon) { m_icons.emplace_back(forward<decltype(icon)>(icon)); } icon_t ramp::get(size_t index) { return m_icons[index]; } icon_t ramp::get_by_...
<commit_before>#include <qpdf/Pl_Flate.hh> #include <zlib.h> #include <qpdf/QUtil.hh> Pl_Flate::Pl_Flate(char const* identifier, Pipeline* next, action_e action, int out_bufsize) : Pipeline(identifier, next), out_bufsize(out_bufsize), action(action), initialized(false) { this->outbuf = new un...
<commit_before>#include "stdafx.h" #include "scene.h" using json = nlohmann::json; TEST(SceneTests, NoObjects) { json j = { {"objects", {}} }; auto scene = parse_scene(j); EXPECT_EQ(scene.objects.size(), 0); } TEST(SceneTests, ObjectsElementMissing) { json j = {}; auto scene = parse_s...
<commit_before>#include "stdafx.h" #include <QApplication> #include <QList> #include "you_main_gui.h" YouMainGUI::YouMainGUI(QWidget *parent) : QMainWindow(parent) { ui.setupUi(this); setIcon(); loadSession(); taskPanelSetup(); populateTaskPanel(); } YouMainGUI::~YouMainGUI() { } void YouMainGUI::closeEvent(QC...
<commit_before>/********************************************************************* * 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 f...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkAngleRepresentation.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details...
<commit_before>//=========================================== // Lumina Desktop source code // Copyright (c) 2017, Ken Moore // Available under the 3-clause BSD license // See the LICENSE file for full details //=========================================== #include "mainUI.h" #include "ui_mainUI.h" #include <QPainte...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: Aolewrap.hxx,v $ * * $Revision: 1.12 $ * * last change: $Author: vg $ $Date: 2007-05-25 10:43:07 $ * * The Contents of this file are made...
<commit_before>/** * This file is part of the "FnordMetric" project * Copyright (c) 2015 Paul Asmuth * * FnordMetric is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License v3.0. You should have received a * copy of the GNU General Public License along with...
<commit_before>/************************************************************************* * * $RCSfile: EDriver.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: hr $ $Date: 2004-08-02 17:13:59 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>/* * Copyright 2015 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
<commit_before>/* * Copyright 2010 Martin Hebnes Pedersen, martinhpedersen @ "google mail" * All rights reserved. Distributed under the terms of the MIT License. */ #include "HTGSearchForWindow.h" HTGSearchForWindow::HTGSearchForWindow(BWindow *delegate) : BWindow(BRect(100, 100, 360, 160), "Go to user...", B_TI...
<commit_before>/* * Copyright (c) 2015, Georgia Tech Research Corporation * All rights reserved. * * Author(s): Michael X. Grey <mxgrey@gatech.edu> * * Georgia Tech Graphics Lab and Humanoid Robotics Lab * * Directed by Prof. C. Karen Liu and Prof. Mike Stilman * <karenliu@cc.gatech.edu> <mstilman@cc.gatech.ed...
<commit_before>/* * DynDraw.cpp * OpenLieroX * * Created by Albert Zeyer on 03.06.09. * code under LGPL * */ #include "DynDraw.h" #include "GfxPrimitives.h" struct SDLSurfDraw : DynDrawIntf { SmartPointer<SDL_Surface> surf; SDLSurfDraw(const SmartPointer<SDL_Surface>& s) : DynDrawIntf(s->w, s->h), surf(s...
<commit_before>/****************************************************************/ /* DO NOT MODIFY THIS HEADER */ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* (c) 2010 Battelle Energy...
<commit_before>//TODO: in case of Gamma-point transfrom two wave functions at once //TODO: use GPU pointer inline void Density::add_k_point_contribution_rg(K_point* kp__) { PROFILE("sirius::Density::add_k_point_contribution_rg"); double omega = unit_cell_.omega(); auto& fft = ctx_.fft_coarse(); ...
<commit_before>#ifdef HAVE_CONFIG_H #include <config.h> #endif #include <string> #include <cctype> #include "../interp.hxx" #include "../command.hxx" #include "../argument.hxx" #include "basic_parsers.hxx" using namespace std; namespace tglng { /* Magic case conversion is performed as a two-pass process. * ...
<commit_before>/* * (C) 2014 Jack Lloyd * * Botan is released under the Simplified BSD License (see license.txt) */ #include "apps.h" #if defined(BOTAN_HAS_TLS) && !defined(BOTAN_TARGET_OS_IS_WINDOWS) #include <botan/tls_client.h> #include <botan/pkcs8.h> #include <botan/hex.h> #if defined(BOTAN_HAS_TLS_SQLITE3_SESS...
<commit_before>// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/browser.h" #include "chrome/browser/ui/browser_window.h" #include "chrome/browser/ui/virtual_keyboard/virtu...
<commit_before>/** \brief Utility for generating a dependency graph for externally-referenced symbols. * \author Dr. Johannes Ruscheinski (johannes.ruscheinski@uni-tuebingen.de) * * \copyright 2019 Universitätsbibliothek Tübingen. All rights reserved. * * This program is free software: you can redistribute it ...
<commit_before>// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. /** @author Thomas F. Gundersen, �ystein Fledsberg @version $Id$ @date 2004-03-15 */ #include "bytebuffer.h" #include "bufferexceptions.h" #include "stringutil.h" #include <ves...
<commit_before>/* ** Copyright 1993 by Miron Livny, and Mike Litzkow ** ** Permission to use, copy, modify, and distribute this software and its ** documentation for any purpose and without fee is hereby granted, ** provided that the above copyright notice appear in all copies and that ** both that copyright notice a...
<commit_before>#include "Http.hpp" #include <cstdlib> #include <functional> #include <thread> #include <deque> #include <boost/filesystem/fstream.hpp> #include <boost/format.hpp> #include <curl/curl.h> #include "../../libslic3r/libslic3r.h" namespace fs = boost::filesystem; namespace Slic3r { // Private class ...
<commit_before>/* This file is part of cpp-ethereum. cpp-ethereum 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. cpp-ethereum is distr...
<commit_before>/* Color Sensor This class defines the color sensor */ // The circuit: // * Color Sensor // SDA pin to analog pin 4 // SCL pin to analog pin 5 #include "ColorSensor.h" // Uncomment the following lines to enter calibration mode // #define F_CALIBRATING true // Is calibration in progress #d...
<commit_before>#include "GoalDetector.hpp" using namespace std; using namespace cv; GoalDetector::GoalDetector() { _goal_shape_contour.push_back(Point(0, 0)); _goal_shape_contour.push_back(Point(0, 609.6)); _goal_shape_contour.push_back(Point(50.8, 609.6)); _goal_shape_contour.push_back(Point(50.8, 50...
<commit_before>#ifndef DUNE_FUNCTIONALS_COMMON_LOCALBASEFUNCTION_HH #define DUNE_FUNCTIONALS_COMMON_LOCALBASEFUNCTION_HH namespace Dune { namespace Functionals { //! Contains several common classes. namespace Common { template< class DiscreteFunctionSpaceImp > class LocalBaseFunctionSet { private: class LocalBa...
<commit_before>// Copyright (c) 2011-2012, Zeex // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, this // list...
<commit_before>// // Created by Per-Arne on 24.02.2017. // #include "Unit.h" #include "../player/Player.h" #include "../Game.h" #include "../util/Pathfinder.h" #include "../graphics/GUI.h" #include "../action/RightClickAction.h" #include "./UnitManager.h" #include <random> #include "../action/BaseAction.h" int Unit::...
<commit_before>#include <SFML/Graphics.hpp> #include "gamelib/Camera.hpp" #include "math/math.hpp" #include "gamelib/utils/log.hpp" using namespace geometry; namespace gamelib { Camera::Camera() : targetobj(0), zoom(1) { } Camera::Camera(const Vector2<float>& pos, const Vector2<fl...
<commit_before>/******************************************************************** -------------------------------------------------------------------- -- _,(_)._ -- ___,(_______). ____ -- ,'__. \ /\___\-. -- /,' / \ / / \ -- | | | |,' / ...
<commit_before>// The libMesh Finite Element Library. // Copyright (C) 2002-2013 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner // 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; eit...
<commit_before>/* * bacteria-ui, GUI for cellular automaton * Copyright (C) 2016 Pavel Dolgov * * See the LICENSE file for terms of use. */ #include "MainWindow.hpp" #include "ui_MainWindow.h" #include "GuiConstants.hpp" MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent), ui(new Ui::MainWindo...
<commit_before>/* This file is part of Ingen. * Copyright (C) 2007-2009 Dave Robillard <http://drobilla.net> * * Ingen is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the License, or (...
<commit_before>/* * arcball.cpp * * Created on: 10.05.2012 * Author: Ralph */ #include <QtCore/QtDebug> #include <math.h> #include "arcball.h" ArcBall::ArcBall( int width, int height ) : Epsilon( 0.00001 ), m_width( width ), m_height( height ), m_moveX( 0 ), m_moveY( 0...
<commit_before>// This file is part of meshoptimizer library; see meshoptimizer.h for version/license details #include "meshoptimizer.h" #include <assert.h> #include <string.h> namespace meshopt { struct VertexHasher { const char* vertices; size_t vertex_size; size_t hash(unsigned int index) const { // Murmur...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a ...
<commit_before><commit_msg>Crwodin: Sketcher/Gui/CommandConstraints.cpp s/root/origin/<commit_after><|endoftext|>
<commit_before>#include <robosub_gazebo_interface.hpp> int main(int argc, char** argv) { ros::init(argc, argv, "gate_finder"); GazeboInterface gi; ros::spin(); return 0; } template <typename T> int sgn(T val) { //http://stackoverflow.com/a/4609795 return (T(0) < val) - (val < T(0)); } GazeboInte...
<commit_before>/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the imp...
<commit_before>#define PY_SSIZE_T_CLEAN #include <Python.h> #include "structmember.h" #include <stdexcept> #include "neuron.hpp" #include "network.hpp" int glob_argc; char **glob_argv; void parse_iterable(std::vector<double> &arr, PyObject *iter) { while (true) { PyObject *next = PyIter_Next(iter); ...
<commit_before>#include "Maze.h" #include "MainCharacter.h" #include "Login.h" #include "Status.h" #include "MapsReceiver.h" #include "EnemyCharacter.h" #include "Obstacle.h" #define MAP_COOR_SCALE 5 #define GAP_CLIMB 0.1 Model *model; Status *status; MainCharacter *character; EnemyCharacter *enemy; Ob...
<commit_before>/*========================================================================= * * 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 ...
<commit_before>#if !defined(__CINT__) || defined(__MAKECINT__) #include <TCanvas.h> #include <TClassTable.h> #include <TGraph.h> #include <TGraph2D.h> #include <TGeoManager.h> #include <TH1.h> #include <TInterpreter.h> #include "AliCDBManager.h" #include "AliGeomManager.h" #include "AliHeader.h" #include "AliITS.h" #in...
<commit_before>#if !defined(__CINT__) || defined(__MAKECINT__) #include <TCanvas.h> #include <TClassTable.h> #include <TGraph.h> #include <TGraph2D.h> #include <TGeoManager.h> #include <TH1.h> #include <TInterpreter.h> #include "AliGeomManager.h" #include "AliHeader.h" #include "AliITS.h" #include "AliITSDetTypeRec.h" ...
<commit_before>#include "AtlasFallDetector.hpp" #include "drake/convexHull.h" #include "lcmtypes/drc/recovery_trigger_t.hpp" #include "drake/drakeFloatingPointUtil.h" /* Monitors foot contacts and robot state, and applies heuristics to trigger the recovery planner, and the bracing planner. */ AtlasFallDetector::A...
<commit_before> #pragma once #include <string> #include <list> #include <vector> #include <imgui.h> #include "../ImGuiGf/IconsFontAwesome.h" // <- note required. just comment if not available /** Helper class to deal with file paths. */ class MiniPath { private: std::string path {""}; std::string name {""};...
<commit_before>/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* * This file is part of the libetonyek 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 a...
<commit_before>#include "Packer.h" #include "PackNodeFactory.h" #include "PackToLua.h" #include "PackToBin.h" #include "PackNode.h" #include "PackIDMgr.h" #include "typedef.h" #include "LabelBuilder.h" #include <ee/TextureFactory.h> #include <ee/SettingData.h> #include <ee/Config.h> #include <ee/FileHelper.h> #include...
<commit_before>#include "Path.hpp" #include <cstring> #include <errno.h> #include <fstream> #include <stdexcept> #include <sys/stat.h> #include <unistd.h> #include "JEB/String/StringPredicates.hpp" #include "Environment.hpp" #include "Users.hpp" #include "Path.Generic.hpp" namespace JEB { namespace Sys { namespace Pa...
<commit_before>/*************************************************************************/ /* skeleton_editor_plugin.cpp */ /*************************************************************************/ /* This file is part of: */ /...
<commit_before>/*****************************************************************************/ /** * @file ParallelAxisInteractor.cpp * @author Naohisa Sakamoto */ /*****************************************************************************/ #include "ParallelAxisInteractor.h" #include <kvs/RendererManager> #i...
<commit_before>/************************************************************************** The MIT License (MIT) Copyright (c) 2015 Dmitry Sovetov https://github.com/dmsovetov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "...
<commit_before>#include <v8.h> #include "macros.h" #include "gc.h" #ifdef windows # include <my_global.h> #endif #include <mysql.h> #include <stdlib.h> #include <string> #include <map> #define MYSQL_ERROR mysql_error(conn) #define ASSERT_CONNECTED if (!conn) { return JS_ERROR("No connection established yet."); } #de...
<commit_before>/*---------------------------------------------------------------------------*\ * OpenSG * * * * ...
<commit_before>#include "source/common/quic/udp_gso_batch_writer.h" #include "source/common/network/io_socket_error_impl.h" #include "source/common/quic/envoy_quic_utils.h" namespace Envoy { namespace Quic { namespace { Api::IoCallUint64Result convertQuicWriteResult(quic::WriteResult quic_result, size_t payload_len) ...
<commit_before>/* * Copyright 2017 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkPM4fPriv.h" #include "SkRasterPipeline.h" #include "SkReadBuffer.h" #include "SkString.h" #include "SkToSRGBColorFilter.h" #include "SkWriteBuffer.h...
<commit_before>// TorentMakerConsoleApplication.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "FileDialogEventsImpl.h" #include "FFmpegIoCtx.h" #include "SequentialVideoFrameReader.h" #include "DxHelpres\DxHelpers.h" #include "ResourceFactory\DxResources.h" #includ...
<commit_before>// // Copyright (c) 2002-2010 The ANGLE 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. // // Display.cpp: Implements the egl::Display class, representing the abstract // display on which graphics are drawn. Im...
<commit_before>// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/fastos/fastos.h> #include "filedownloader.h" #include "hostname.h" #include <iterator> #include <algorithm> #include <boost/filesystem.hpp> #include <boost/filesystem/fstrea...
<commit_before>/* * Copyright 2009 The VOTCA Development Team (http://www.votca.org) * * 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...
<commit_before>// // LinkableObject.cpp // Project: humid // // All rights reserved. Use of this source code is governed by the // 3-clause BSD License in LICENSE.txt. #include <iostream> #include <nanogui/progressbar.h> #include <nanogui/button.h> #include "linkableobject.h" #include "editorobject.h" #include "edit...
<commit_before>/* Copyright (c) 2014, Fengping Bao <jamol@live.com> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PR...
<commit_before>/* Contains code taken from libuv and node.js */ /* Copyright Joyent, Inc. and other Node contributors. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software...
<commit_before>/* M3 -- Meka Robotics Robot Components Copyright (c) 2010 Meka Robotics Author: edsinger@mekabot.com (Aaron Edsinger) M3 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 3 of...
<commit_before>#include <cstdlib> #include <cstdio> #include <cmath> #include <ctgmath> #include <stdexcept> #include "Tools/Math/utils.h" #include "CPM_BCJR.hpp" namespace aff3ct { namespace module { template<typename Q> inline Q negative_inf(){return -std::numeric_limits<Q>::max(); } template<> inline short negat...
<commit_before>/* Copyright (C) 2005-2008 Damien Stehle. Copyright (C) 2007 David Cade. Copyright (C) 2011 Xavier Pujol. This file is part of fplll. fplll 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...
<commit_before><commit_msg>fixed = to ==<commit_after><|endoftext|>
<commit_before>/* * Illarionserver - server for the game Illarion * Copyright 2011 Illarion e.V. * * This file is part of Illarionserver. * * Illarionserver is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software F...
<commit_before><commit_msg>25060 back<commit_after><|endoftext|>
<commit_before><commit_msg>really print initial search<commit_after><|endoftext|>
<commit_before>#include "metasprite.h" #include "selected.hpp" #include "gui/controllers/containers/cappedvectorcontroller.hpp" #include "gui/controllers/containers/idmapcontroller.hpp" #include "gui/controllers/containers/sharedptrrootcontroller.hpp" using namespace UnTech; using namespace UnTech::MetaSprite::MetaSpr...
<commit_before>/* * DISTRHO Plugin Framework (DPF) * Copyright (C) 2012-2021 Filipe Coelho <falktx@falktx.com> * * Permission to use, copy, modify, and/or distribute this software for any purpose with * or without fee is hereby granted, provided that the above copyright notice and this * permission notice appear ...
<commit_before>#pragma once #ifdef _WIN32 #ifdef DLLEXPORT #define SSVK_DLL __declspec(dllexport) #define EXPIMP_TEMPLATE #else #define SSVK_DLL __declspec(dllimport) #define EXPIMP_TEMPLATE extern #endif #else #define SSVK_EXPORT #endif<commit_msg>Correct a define<commit_after>#pragma once #ifdef _WIN32 #ifdef DLL...
<commit_before>// Copyright (C) 2014 Jérôme Leclercq // This file is part of the "Nazara Engine - Utility module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_FONT_HPP #define NAZARA_FONT_HPP #include <Nazara/Prerequesites.hpp> #include <Nazara/Core/NonCop...
<commit_before>#ifndef ARABICA_XSLT_SINK_HPP #define ARABICA_XSLT_SINK_HPP #include <ostream> #include <sstream> #include <XML/escaper.hpp> #include <SAX/ContentHandler.hpp> #include <SAX/ext/LexicalHandler.hpp> #include <SAX/helpers/AttributesImpl.hpp> #include "xslt_output.hpp" #include "handler/xslt_const...
<commit_before>#include "PopulationNode.hpp" #include "PopulationFormula.hpp" #include "migration/MigratoryRelationship.hpp" #include "migration/TranslationFunction.hpp" #include "ApportionmentFunction.hpp" #include "AggregationFunction.hpp" #include "ObjectiveFunction.hpp" #include "ToStringFunction.hpp" #include "hie...
<commit_before>#include "PopulationNode.hpp" #include "migration/MigratoryRelationship.hpp" #include "migration/TranslationFunction.hpp" #include <vector> #include <string> #pragma once using namespace std; class HierarchicalEA { private: protected: vector<PopulationNode *> nodes; vector<string> nodeNames; vect...
<commit_before>/* * Copyright 2013 Matthew Harvey * * 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 applicabl...
<commit_before>/* * Copyright 2017, 2019 * LAAS-CNRS * A. Del Prete, T. Flayols, O. Stasse, F. Bailly * */ #ifndef __sot_torque_control_common_H__ #define __sot_torque_control_common_H__ /* --------------------------------------------------------------------- */ /* --- INCLUDE -----------------------------------...