text
stringlengths
54
60.6k
<commit_before>/** * @file scene.cpp * @brief Function definitions for scenes. * * @author Eric Butler (edbutler) * @author Kristin Siu (kasiu) * @author Justin Gallagher (jrgallag) */ #include "scene/scene.hpp" namespace _462 { Geometry::Geometry(): position(Vector3::Zero()), orientation(Quaternion::...
<commit_before>/* Siconos-Kernel version 3.0.0, Copyright INRIA 2005-2008. * Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * Siconos is a free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published b...
<commit_before>/******************************************************************************* * E.S.O. - ACS project * * "@(#) $Id: maciORBTask.cpp,v 1.4 2006/09/01 02:20:54 cparedes Exp $" * * who when what * -------- ---------- ---------------------------------------------- * msekoran 2003/05/22 cr...
<commit_before>#define DEBUG 1 /** * File : E.cpp * Author : Kazune Takahashi * Created : 2019-5-26 21:31:42 * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> // << fixed << setprecision(xxx) #include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ; #include <vector> #in...
<commit_before>#ifndef CRYPTO_HPP #define CRYPTO_HPP #include <string> #include <cmath> //Moving these to a seperate namespace for minimal global namespace cluttering does not work with clang++ #include <openssl/evp.h> #include <openssl/buffer.h> #include <openssl/sha.h> #include <openssl/md5.h> namespace SimpleWeb ...
<commit_before>#define DEBUG 1 /** * File : D.cpp * Author : Kazune Takahashi * Created : 6/11/2019, 7:17:01 PM * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> #include <algorithm> #include <vector> #include <string> #include <complex> #include <tuple> #include <queue> #include <stack...
<commit_before>#define DEBUG 1 /** * File : C.cpp * Author : Kazune Takahashi * Created : 6/18/2019, 2:02:05 PM * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> #include <algorithm> #include <vector> #include <string> #include <complex> #include <tuple> #include <queue> #include <stack...
<commit_before>#define DEBUG 1 /** * File : F.cpp * Author : Kazune Takahashi * Created : 8/5/2019, 1:06:42 AM * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> #include <algorithm> #include <vector> #include <string> #include <complex> #include <tuple> #include <queue> #include <stack>...
<commit_before>#define DEBUG 1 /** * File : B.cpp * Author : Kazune Takahashi * Created : 12/28/2019, 10:05:50 PM * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> #include <algorithm> #include <vector> #include <string> #include <complex> #include <tuple> #include <queue> #include <sta...
<commit_before>#define DEBUG 1 /** * File : C.cpp * Author : Kazune Takahashi * Created : 2020/7/2 21:50:01 * Powered by Visual Studio Code */ #include <algorithm> #include <bitset> #include <cassert> #include <cctype> #include <chrono> #include <climits> #include <cmath> #include <complex> #include <cstdint> ...
<commit_before>// Copyright 2014 Google Inc. All Rights Reserved // Author: Wojtek Żółtak (wojciech.zoltak@gmail.com) // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www...
<commit_before>//======================================================================= // Copyright Baptiste Wicht 2011. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) //======================================...
<commit_before>/* * File: cubicspline.cpp * Author: ruehle * * Created on August 22, 2008, 4:44 PM */ #include <cubicspline.h> void CubicSpline::Fit(ub::vector<double> x, ub::vector<double> y) { ub::matrix<double> A; A.resize(_r.size*4, x.size()); } <commit_msg>compiles now again<commit_after>/* * ...
<commit_before>#include <sys/time.h> #include <glib.h> #include <iostream> #include <fstream> #include <sstream> #include <ostream> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <strings.h> #include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h>...
<commit_before>#include "Search.hpp" #include "MoveIterator.hpp" #include <limits> using namespace std; ThreadPool<maskedArguments> myThreadPool(NUM_OF_THREADS,&negaScoutWrapper); search_result allResults[64][16*2-2]; atomic<int32_t> galpha_pl; atomic<int32_t> gbeta__pl; template<player pl, bool mainThread> int32_...
<commit_before>#define _USE_MATH_DEFINES #include <math.h> #include "bandlimited_sawtooth_oscillator.h" #include "bandlimited_sawtooth_oscillator_note.h" //---------------- // コンストラクタ //---------------- bandlimited_sawtooth_oscillator::bandlimited_sawtooth_oscillator() { // サイン波テーブル作成 int ii = 0; for(;...
<commit_before>/* Copyright 2015 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
<commit_before>/* Copyright 2016 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
<commit_before>/************************************************************************/ /* */ /* Copyright 2001-2002 by Gunnar Kedenburg */ /* */ /* ...
<commit_before>// Check that ASan dumps the CPU registers on a SIGSEGV. // RUN: %clangxx_asan %s -o %t // RUN: not %run %t 2>&1 | FileCheck %s #include <assert.h> #include <stdio.h> int main() { fprintf(stderr, "Hello\n"); char *ptr; if (sizeof(void *) == 8) ptr = (char *)0x6666666666666666; else if (si...
<commit_before>#include "Halide.h" using namespace Halide; int multi_type_test() { Func f1("f1"), f2("f2"), f3("f3"), f4("f4"), f5("f5"), f6("f6"); Var x, y, z; f1(x, y, z) = cast<uint8_t>(1); f2(x, y, z) = cast<uint32_t>(f1(x+1, y, z) + f1(x, y+1, z)); f3(x, y, z) = cast<uint16_t>(f2(x+1, y, z) ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ManifestExport.cxx,v $ * * $Revision: 1.14 $ * * last change: $Author: obo $ $Date: 2006-09-17 17:22:48 $ * * The Contents of this file a...
<commit_before>/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor ...
<commit_before>#include "Precompiled.h" #include "Element.h" #include "ElementManager.h" namespace libgui { // Element Manager void Element::SetElementManager(shared_ptr<ElementManager> elementManager) { m_elementManager = elementManager; } shared_ptr<ElementManager> Element::GetElementManager() { return m_...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>/* ** Copyright 2011-2014 Merethis ** ** This file is part of Centreon Broker. ** ** Centreon Broker is free software: you can redistribute it and/or ** modify it under the terms of the GNU General Public License version 2 ** as published by the Free Software Foundation. ** ** Centreon Broker is distribu...
<commit_before>#include "process_splitters/Alignment.hpp" #include "TestData.hpp" #include "testing/TestBamRecords.hpp" #include <sam.h> #include <stdint.h> #include <gtest/gtest.h> #include <string> #include <stdexcept> class TestAlignment : public ::testing::Test { public: bam1_t *record1; bam1...
<commit_before>/**************************************************************************** * * Copyright 2018 Samsung Electronics 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...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>// RUN: %clangxx -fsanitize=return -g %s -O3 -o %t // RUN: not %run %t 2>&1 | FileCheck %s // RUN: UBSAN_OPTIONS=print_stacktrace=1 not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-%os-STACKTRACE // CHECK: missing_return.cpp:[[@LINE+1]]:5: runtime error: execution reached the end of a value-returnin...
<commit_before>// Copyright 2015 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 re...
<commit_before>/************************************************************** COSC 501 Elliott Plack 14 NOV 2013 Due date: 30 NOV 2013 Problem: Write a program that plays the game of HANGMAN(guessing a mystery word). Read a word to be guessed from a file into successive elements of the ...
<commit_before>#ifndef INCLUDE_AL_ISOSURFACE_HPP #define INCLUDE_AL_ISOSURFACE_HPP /* Allocore -- Multimedia / virtual environment application class library Copyright (C) 2009. AlloSphere Research Group, Media Arts & Technology, UCSB. Copyright (C) 2012. The Regents of the University of California. All rights re...
<commit_before>/* Copyright (C) 1998 by Jorrit Tyberghein 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 option) any later ve...
<commit_before>/* BelaCsound.cpp: Copyright (C) 2017 V Lazzarini This file is part of Csound. The Csound 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 Li...
<commit_before>/** * Copyright 2015 Adam Bloniarz, Jonathan Terhorst, Ameet Talwalkar * * 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...
<commit_before>/* * Copyright 2012 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. Al...
<commit_before>#include <stdio.h> #include "SqBiTree.h" Status visit(TElemType e){ printf("%c ",e); return OK; } int main(){ SqBiTree bt; InitBiTree(bt); CreateBiTree(bt); PreOrderTraverse(bt,visit); InOrderTraverse(bt,visit); PostOrderTraverse(bt,visit); LevelOrderTraverse(bt,visit); PrintTree(bt); syste...
<commit_before>//=====================================================================// /*! @file @brief RX DSP サンプル @n RX64M, RX71M: @n 12MHz のベースクロックを使用する @n     P07 ピンにLEDを接続する @n SCI1 を使用する @n RX65N (Renesas Envision kit RX65N): @n 12MHz のベースクロックを使用する @n     P70 に接続された LED を利用する @n ...
<commit_before>#include "wled.h" /* * Physical IO */ #define WLED_DEBOUNCE_THRESHOLD 50 //only consider button input of at least 50ms as valid (debouncing) void shortPressAction(uint8_t b) { if (!macroButton[b]) { toggleOnOff(); colorUpdated(NOTIFIER_CALL_MODE_BUTTON); } else { applyPreset(macroB...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkSTLReader.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. Th...
<commit_before>#include "Geodude.h" #include "j1Render.h" #include "j1Textures.h" #include "j1App.h" #include "p2Defs.h" #include "j1Scene.h" #include "j1Input.h" #include "j1Player.h" #include "j1Item.h" #include "j1Collision.h" #include "j1EntityElementsScene.h" Geodude::Geodude() { } Geodude::~Geodude() { } bool ...
<commit_before>// Copyright 2010 Gregory Szorc // // 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 applicab...
<commit_before>#include "ClientWrapper.hpp" #include <bts/net/upnp.hpp> #include <QApplication> #include <QResource> #include <QSettings> #include <QJsonDocument> #include <QUrl> #include <QMessageBox> #include <iostream> void get_htdocs_file( const fc::path& filename, const fc::http::server::response& r ) { std:...
<commit_before>#ifndef STAN_MATH_PRIM_MAT_FUN_MDIVIDE_LEFT_TRI_HPP #define STAN_MATH_PRIM_MAT_FUN_MDIVIDE_LEFT_TRI_HPP #include <boost/math/tools/promotion.hpp> #include <stan/math/prim/mat/fun/Eigen.hpp> #include <stan/math/prim/mat/fun/promote_common.hpp> #include <stan/math/prim/mat/err/check_multiplicable.hpp> #in...
<commit_before>/* * Copyright (c) 2005, Peter Sommerlad and IFS Institute for Software at HSR Rapperswil, Switzerland * All rights reserved. * * This library/application is free software; you can redistribute and/or modify it under the terms of * the license that is included with this library/application in the fi...
<commit_before>#include "User.h" namespace TpQt4Communication { User::User(Tp::ConnectionPtr tp_connection): user_id_(""), protocol_(""), tp_connection_(tp_connection) { tp_contact_ = tp_connection->selfContact(); } void User::SetPresenceStatus(std::string status, std::string message) { QString s(...
<commit_before>// // CRTC6845.hpp // Clock Signal // // Created by Thomas Harte on 31/07/2017. // Copyright © 2017 Thomas Harte. All rights reserved. // #ifndef CRTC6845_hpp #define CRTC6845_hpp #include "../../ClockReceiver/ClockReceiver.hpp" #include <cstdint> #include <cstdio> namespace Motorola { namespace ...
<commit_before>#include <iostream> #include <iomanip> #include <fstream> #include <sstream> #include <array> #include <vector> #include <set> #include <map> #include <random> #include <chrono> #include <functional> #include <algorithm> #include <cmath> #define NUM_FIELDS 16 using Entry = std::array<double, NUM_FIELD...
<commit_before>#include "SerialController.h" #include <utils/AnyCollection.h> SerialController::SerialController(Robot& robot,const string& _servAddr,Real _writeRate) :RobotController(robot),servAddr(_servAddr),writeRate(_writeRate),lastWriteTime(0) { if(!servAddr.empty()) OpenConnection(servAddr); } void Ser...
<commit_before>#ifndef SURFACE_H #define SURFACE_H #include "scene.hpp" #include "ray.hpp" #include <X11/Xlib.h> #include <X11/Xatom.h> #include <X11/Xutil.h> #include <cairo/cairo.h> #include <cairo/cairo-xlib.h> #include <vector> class Surface { Scene& scene; int width; int height; bool rendered; ...
<commit_before>//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2016 ArangoDB GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except in compliance with the License. /// You may o...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: workingsetoptions.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: rt $ $Date: 2005-11-11 08:55:42 $ * * The Contents of this file ...
<commit_before>#include <stdio.h> #include <iostream> #include <boost/program_options.hpp> #include <llvm/ADT/STLExtras.h> #include <llvm/Bitcode/ReaderWriter.h> #include "AST.h" #include "Error.h" #include "BuiltinFunctions.h" #include <llvm/Support/FileSystem.h> #include <llvm/Support/raw_ostream.h> #include <llvm/Tr...
<commit_before>/***************************************************************************\ ** ** tRunTimer.cpp: functions for tRunTimer objects. ** ** tRunTimer objects are used to keep track of time in a time-evolving ** simulation model. Their services include keeping track of when it's ** time to write output,...
<commit_before>// StdLib.cpp // This file is part of the EScript programming language. // See copyright notice in EScript.h // ------------------------------------------------------ #include "StdLib.h" #include "../EScript/EScript.h" #include "../EScript/Objects/Callables/UserFunction.h" #include "../EScript/Compiler/...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: Eservices.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: rt $ $Date: 2005-09-08 06:02:07 $ * * The Contents of this file are made...
<commit_before>/*! * \file vectors.hpp * \author Nathan Eloe * \brief array template specializations */ #include "../typeinfo.h" #include "convert_utils.h" #include "../element.h" #include <string> #include <vector> namespace bson { template<> TypeInfo default_type<array>() { return ARRAY; } tem...
<commit_before>// @(#)root/base:$Name: $:$Id: TStopwatch.cxx,v 1.4 2000/12/13 15:13:46 brun Exp $ // Author: Fons Rademakers 11/10/95 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. ...
<commit_before>#include "Session.h" #include <string> #include <SmurffCpp/Version.h> #include <SmurffCpp/Utils/omp_util.h> #include <SmurffCpp/Utils/Distribution.h> #include <SmurffCpp/Utils/MatrixUtils.h> #include <SmurffCpp/Utils/counters.h> #include <SmurffCpp/Utils/Error.h> #include <SmurffCpp/DataMatrices/Data...
<commit_before>/** * @file Zip.cpp * @brief Zip class implementation. * @author zer0 * @date 2016-11-17 */ #include <libtbag/archive/Zip.hpp> #include <libtbag/filesystem/Path.hpp> #include <libtbag/filesystem/details/FsCommon.hpp> #include <cassert> #include <cstring> #include <fstream> #include <iostream...
<commit_before>#include "Session.h" #include <fstream> #include <string> #include <iomanip> #include <SmurffCpp/Version.h> #include <SmurffCpp/Utils/omp_util.h> #include <SmurffCpp/Utils/Distribution.h> #include <SmurffCpp/Utils/MatrixUtils.h> #include <SmurffCpp/Utils/counters.h> #include <SmurffCpp/Utils/Error.h> ...
<commit_before>// This file is part of the VroomJs library. // // Author: // Federico Di Gregorio <fog@initd.org> // // Copyright © 2013 Federico Di Gregorio <fog@initd.org> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the...
<commit_before>#ifndef HEADERLIB_HDR_MATH_HPP #define HEADERLIB_HDR_MATH_HPP /* * math.hpp * Common mathematical constructs * * Created on: 04.04.2016 * Author: andreas */ #include "hdr/core.hpp" namespace hdr::math { using ::hdr::std::Apply; using ::hdr::std::False; using ::hdr::std::True; using ::hdr::std...
<commit_before>/* Copyright 2021 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 appl...
<commit_before>// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <limits.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <list> #include <string> #include <utility> #...
<commit_before>#include "ExportFolderPropertiesOperation.h" #include "MAPIFolders.h" struct ID { WORD replid; BYTE globcnt[6]; }; ExportFolderPropertiesOperation::ExportFolderPropertiesOperation(tstring *pstrBasePath, tstring *pstrMailbox, UserArgs::ActionScope nScope, Log *log, tstring *pstrPropTags, Log *exportFi...
<commit_before>#include "AIHandler.h" #define SUCCESS 1 #define FAIL 0 AIHandler::AIHandler(){} AIHandler::~AIHandler(){} int AIHandler::Shutdown() { for (int i = 0; i < this->m_nrOfAIComponents; i++) { delete this->m_AIComponents.at(i); } return SUCCESS; } int AIHandler::Initialize(int max) { this->m_nrOfAIC...
<commit_before> #include <stdio.h> #include "log.h" int main(void) { Logger::GetLogger()->log_open("mycat"); int i = 10; float j = 23.45; Logger::GetLogger()->Info("info,%d,%f", i,j); Logger::GetLogger()->Error("error"); Logger::GetLogger()->Warning("warn"); Logger::GetLogger(...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>#define UNICODE #include <windows.h> #include <ole2.h> #include <oaidl.h> #include <objbase.h> #include <AtlBase.h> #include <AtlConv.h> #include <algorithm> #include <iostream> #include <sstream> #include <string> #include <vector> #include <stdlib.h> #include "FSAPI.h" #include "dictationbridge-core/ma...
<commit_before>// 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.or...
<commit_before>/* Copyright (C) 2014 P.L. Lucas <selairi@gmail.com> Copyright (C) 2013 <copyright holder> <email> 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 ...
<commit_before>/* * This file is part of Maliit Plugins * * Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. * * Contact: Mohammad Anwari <Mohammad.Anwari@nokia.com> * * Redistribution and use in source and binary forms, with or without modification, * are permitted provide...
<commit_before>/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2006 Torus Knot Software Ltd Also see acknowledgements in Readme.html This...
<commit_before>#include <OpcodeBase.hpp> #include <cmath> #include <iostream> #include <list> #include <vector> // Why not use the constants already defined? static MYFLT pi = std::atan(1.0) * MYFLT(4.0); class RCLowpassFilter { public: void initialize(MYFLT sampleRate, MYFLT cutoffHz, MYFLT initialValue) { M...
<commit_before>#include "General.h" #include <shellapi.h> #include "../3RVX/Logger.h" #include "../3RVX/Settings.h" #include "../3RVX/SkinInfo.h" #include "UIContext.h" #define KEY_NAME L"3RVX" #define STARTUP_KEY L"Software\\Microsoft\\Windows\\CurrentVersion\\Run" void General::Command(unsigned short nCode, unsi...
<commit_before>#include "cbase.h" //#include "asw_objective_escape.h" #include "mod_objective_escape.h" #include "asw_game_resource.h" #include "asw_marine_resource.h" #include "asw_marine.h" #include "triggers.h" #include "mod_player_performance.h" #include "missionchooser/iasw_random_missions.h" // memdb...
<commit_before>#include "../../../wrdSyntaxTest.hpp" using namespace wrd; using namespace std; namespace { struct defAssignExprTest : public wrdSyntaxTest {}; } TEST_F(defAssignExprTest, simpleGlobalDefAssign) { // control group. make().parse(R"SRC( age int // age is age main() int // mai...
<commit_before>/************************************************************************* * * $RCSfile: FilteredContainer.cxx,v $ * * $Revision: 1.1 $ * * last change: $Author: oj $ $Date: 2002-08-23 05:55:09 $ * * The Contents of this file are made available subject to the terms of * either of the follow...
<commit_before>#include "rapid_perception/box3d_roi_server.h" #include <math.h> #include <string> #include "boost/bind.hpp" #include "interactive_markers/interactive_marker_server.h" #include "rapid_msgs/Roi3D.h" #include "visualization_msgs/InteractiveMarker.h" #include "visualization_msgs/InteractiveMarkerControl.h...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: AdvancedSettingsDlg.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: obo $ $Date: 2006-09-17 07:31:51 $ * * The Contents of this fi...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: hierarchyservices.cxx,v $ * * $Revision: 1.6 $ * * last change: $Author: hr $ $Date: 2006-06-20 05:29:34 $ * * The Contents of this file ...
<commit_before>/* -------------------------------------------------------------------------- * * OpenSim: VisualizeModel.cpp * * -------------------------------------------------------------------------- * * The OpenSim API is a toolkit for musculoskeletal modeling and simulat...
<commit_before>/* * This File is part of Davix, The IO library for HTTP based protocols * Copyright (C) 2013 Adrien Devresse <adrien.devresse@cern.ch>, CERN * * 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...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: AccessibleOutlineView.hxx,v $ * * $Revision: 1.9 $ * * last change: $Author: rt $ $Date: 2007-04-25 14:40:45 $ * * The Contents of this f...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: typemanager.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: vg $ $Date: 2007-10-15 12:24:26 $ * * The Contents of this file are ma...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: dp_resource.cxx,v $ * * $Revision: 1.14 $ * * last change: $Author: obo $ $Date: 2006-09-17 09:42:02 $ * * The Contents of this file are ...
<commit_before>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2007 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public...
<commit_before><commit_msg>Fix MC 2<commit_after><|endoftext|>
<commit_before>/* Flexisip, a flexible SIP proxy server with media capabilities. Copyright (C) 2012 Belledonne Communications SARL. This program 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...
<commit_before>// Time: O(n^2) // Space: O(n) /** * // This is the Master's API interface. * // You should not implement it, or speculate about its implementation * class Master { * public: * int guess(string word); * }; */ class Solution { public: void findSecretWord(vector<string>& wordlist, Master...
<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>#include <iostream> class MyClass { public: void DoThing() const & { std::cout << "Thing was done as const &" << std::endl; } void DoThing() const && { std::cout << "Thing was done as const &&" << std::endl; } void DoThing() & { std::cout << "Thing was done as &" << std::endl; } void DoThing() ...
<commit_before>#include "calc.h" #include "sevensegment.h" #include "pocketcalculator.h" #include "cute.h" #include "ide_listener.h" #include "xml_listener.h" #include "cute_runner.h" #include <string> #include <sstream> #include <limits> #include <algorithm> namespace calc_tests { constexpr int max { std::numeric_...
<commit_before>/** * @file ReuseQueueTest.cpp * @brief ReuseQueue class tester. * @author zer0 * @date 2016-08-03 */ #include <gtest/gtest.h> #include <libtbag/container/ReuseQueue.hpp> using namespace libtbag; using namespace libtbag::container; TEST(ReuseQueueTest, Constructor) { ReuseQueue<int> q1; ...
<commit_before>// --------------------------------------------------------------------- // $Id$ // // Copyright (C) 2008 - 2013 by the deal.II authors // // This file is part of the deal.II library. // // The deal.II library is free software; you can use it, redistribute // it, and/or modify it under the terms of the G...
<commit_before>// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. // // #ifndef _HANDLETABLE_INL #define _HANDLETABLE_INL inline void HndAssignHandle(OBJECTHANDLE ha...
<commit_before>/* The OpenTRV project licenses this file to you under the Apache Licence, Version 2.0 (the "Licence"); you may not use this file except in compliance with the Licence. You may obtain a copy of the Licence at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
<commit_before>#include<iostream> #include<vector> using namespace std; int main() { vector<int> v(10); // Create vector of size 10 v = {34, 23, 30, 19}; // Display the size of the vector cout << "Vector size: " << v.size() << endl; cout << "Vector capacity: " << v.capacity() << endl; // Print vect...