text
stringlengths
54
60.6k
<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 "chrome/browser/dom_ui/options/import_data_handler.h" #include "app/l10n_util.h" #include "base/basictypes.h" #include "base/...
<commit_before>// 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 "content/shell/webkit_test_platform_support.h" namespace content { bool WebKitTestPlatformInitialize() { return true; } }...
<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 "base/keyboard_codes.h" #include "chrome/browser/wrench_menu_model.h" #include "chrome/test/automation/browser_proxy.h" #inclu...
<commit_before>// Copyright 2008, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list ...
<commit_before>//===--- SemaExceptionSpec.cpp - C++ Exception Specifications ---*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>//===-- TargetInstrInfo.cpp - Target Instruction Information --------------===// // // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. //...
<commit_before>//===-- SchedInfo.cpp - Generic code to support target schedulers ----------==// // // This file implements the generic part of a Scheduler description for a // target. This functionality is defined in the llvm/Target/SchedInfo.h file. // //===------------------------------------------------------------...
<commit_before>// ****************************************************************************************** // * This project is licensed under the GNU Affero GPL v3. Copyright © 2014 A3Wasteland.com * // ****************************************************************************************** #define tkDialog 3300 #...
<commit_before>// Best-first Utility-Guided Search Yes! From: // "Best-first Utility-Guided Search," Wheeler Ruml and Minh B. Do, // Proceedings of the Twentieth International Joint Conference on // Artificial Intelligence (IJCAI-07), 2007 #include "../search/search.hpp" #include "../structs/binheap.hpp" #include "../...
<commit_before>//===-- Value.cpp - Implement the Value class -----------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/************************************************************************* * * $RCSfile: xeescher.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: rt $ $Date: 2004-11-09 15:07:27 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: xmlexprt.hxx,v $ * * $Revision: 1.82 $ * * last change: $Author: kz $ $Date: 2006-01-31 18:37:13 $ * * The Contents of this file are made...
<commit_before>#pragma ident "$Id$" /* Think, navdmp for mdp, with bonus output that you get data from all code/carrier combos. */ #include "Geodetic.hpp" #include "NavProc.hpp" #include "RinexConverters.hpp" using namespace std; using namespace gpstk; using namespace gpstk::StringUtils; //------------------...
<commit_before>// ********************************************************************************** // Programmateur Fil Pilote et Suivi Conso // ********************************************************************************** // Copyright (C) 2014 Thibault Ducret // Licence MIT // // History : 15/01/2015 Charles-He...
<commit_before>/** @file @brief Implementation @date 2015 @author Sensics, Inc. <http://sensics.com/osvr> */ // Copyright 2015 Sensics, 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 ...
<commit_before>/* Copyright (c) 2018, Ford Motor Company All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditi...
<commit_before> // Projectname: amos-ss16-proj5 // // Created on 03.06.2016. // Copyright (c) 2016 de.fau.cs.osr.amos2016.gruppe5 // // This file is part of the AMOS Project 2016 @ FAU // (Friedrich-Alexander University Erlangen-Nürnberg) // // This program is free software: you can redistribute it and/or modify // it ...
<commit_before>#include "aerial_autonomy/controller_hardware_connectors/rpyt_relative_pose_visual_servoing_connector.h" #include "aerial_autonomy/log/log.h" bool RPYTRelativePoseVisualServoingConnector::extractSensorData( std::tuple<tf::Transform, tf::Transform, VelocityYawRate> &sensor_data) { parsernode::commo...
<commit_before>/* * alarmcalendar.cpp - KAlarm calendar file access * Program: kalarm * (C) 2001, 2002 by David Jarvie software@astrojar.org.uk * * 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 Soft...
<commit_before>#include <phypp.hpp> void print_help(); int phypp_main(int argc, char* argv[]) { if (argc < 2) { print_help(); return 0; } uint_t continuum_width = 350; // in spectral element read_args(argc-1, argv+1, arg_list(continuum_width)); // Copy and open cube std::str...
<commit_before><commit_msg>[Gui]Fix Py SyntaxError on " in PropertyStringList<commit_after><|endoftext|>
<commit_before>//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use t...
<commit_before>#include "CPUStatsPrinter.h" #include "CPUSnapshot.h" #include <iostream> const int CPUStatsPrinter::CPU_LABEL_W = 3; const int CPUStatsPrinter::STATE_PERC_BASE_W = 4; const char * CPUStatsPrinter::STR_STATES[CPUData::NUM_CPU_STATES] = { "usr", "sys", "nic", ...
<commit_before>/* This file is part of Bohrium and copyright (c) 2012 the Bohrium team <http://www.bh107.org>. Bohrium 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 the License, or (a...
<commit_before>#include "CodeGen_PTX_Dev.h" #include "IROperator.h" #include <iostream> #include "buffer_t.h" #include "IRPrinter.h" #include "IRMatch.h" #include "Debug.h" #include "Util.h" #include "Var.h" #include "Param.h" #include "Target.h" #include "integer_division_table.h" #include "LLVM_Headers.h" // This is...
<commit_before>#include <iostream> #include <typeinfo> #include <vector> #include <tuple> template<typename T, typename... Ts> struct MultiVectorBase { using Data = decltype( std::tuple_cat( std::tuple<std::vector<T>>(), std::declval<typename MultiVectorBase<Ts...>::Data>() ) ); ...
<commit_before>/*************************************************************************** * Copyright (c) 2011 Juergen Riegel <FreeCAD@juergen-riegel.net> * * * * This file is part of the FreeCAD CAx development system. ...
<commit_before>#include <QtGui> #include <QtOpenGL> #include <cmath> #include "DiamondGLWidget.h" typedef QList<QVector3D>::const_iterator PointIter; const float TAIL_Z = 75; const float INNER_CIRCLE_Z = -20; const float INNER_CIRCLE_SIZE = 35; const float OUTER_CIRCLE_Z = 0; const float OUTER_CIRCLE_SIZE = 50; ...
<commit_before>/* Kopete , The KDE Instant Messenger Copyright (c) 2001-2002 by Duncan Mac-Vicar Prett <duncan@kde.org> Viva Chile Mierda! Started at Wed Dec 26 03:12:10 CLST 2001, Santiago de Chile Kopete (c) 2002-2003 by the Kopete developers <kopete-devel@kde.org> *********************...
<commit_before>/*************************************************************************** main.cpp - description ------------------- begin : Wed Dec 26 03:12:10 CLST 2001 copyright : (C) 2001 by Duncan Mac-Vicar Prett email...
<commit_before>#include "xchainer/memory.h" #include <cassert> #ifdef XCHAINER_ENABLE_CUDA #include <cuda.h> #include <cuda_runtime.h> #endif // XCHAINER_ENABLE_CUDA #ifdef XCHAINER_ENABLE_CUDA #include "xchainer/cuda/cuda_runtime.h" #endif // XCHAINER_ENABLE_CUDA #include "xchainer/device.h" #include "xchainer/er...
<commit_before>#pragma ident "$Id$" //============================================================================ // // This file is part of GPSTk, the GPS Toolkit. // // The GPSTk is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published //...
<commit_before>////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2012-2013, John Haddon. All rights reserved. // Copyright (c) 2013, Image Engine Design Inc. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, ar...
<commit_before> //@HEADER // ************************************************************************ // // HPCG: Simple Conjugate Gradient Benchmark Code // Questions? Contact Michael A. Heroux (maherou@sandia.gov) // // ************************************************************************ //@HEADER ...
<commit_before>#include <cv.h> #include <highgui.h> #include <iostream> using namespace cv; using namespace std; void help(){ cout << "This is Crative Commons work, do what you like... " << endl; cout << "Usage: ./binary <image_name> " << endl; cout << "Hot keys: \n" "\tr/R toggle croping ...
<commit_before>// Copyright (c) 2010, Lawrence Livermore National Security, LLC. Produced at // the Lawrence Livermore National Laboratory. LLNL-CODE-443211. All Rights // reserved. See file COPYRIGHT for details. // // This file is part of the MFEM library. For more information and source code // availability see http...
<commit_before>// // This file is a part of pomerol - a scientific ED code for obtaining // properties of a Hubbard model on a finite-size lattice // // Copyright (C) 2010-2012 Andrey Antipov <antipov@ct-qmc.org> // Copyright (C) 2010-2012 Igor Krivenko <igor@shg.ru> // // pomerol is free software: you can redistribu...
<commit_before>/** * This file is part of the "FnordMetric" project * Copyright (c) 2014 Paul Asmuth, Google Inc. * * 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 Licen...
<commit_before>#include "SettingsMenu.hpp" #include "../../ResourceManager/AssetManager.hpp" /* GUI headers */ #include "../../GUI/Containers/Column.hpp" #include "../../GUI/Containers/Row.hpp" #include "../../GUI/Widgets/Label.hpp" #include "../../GUI/Widgets/Button.hpp" #include "../../GUI/Widgets/Spacer.hpp" #incl...
<commit_before>#include "motor_api.h" /************************ * Non public functions * ************************/ int32_t base_motor_get_degrees(Base_Motor* motor) { int32_t res; // Mark reading as true, so no race conditions occur motor->reading = true; res = motor->degrees; // Just to make s...
<commit_before>//===--- Rewriter.cpp - Code rewriting interface --------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#include "mainboard.h" #include "ui_mainboard.h" #include <QLabel> MainBoard::MainBoard(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainBoard) { ui->setupUi(this); this->setFixedSize(1920, 1080); this->setStyleSheet("background-color: lightgray;"); /*************Sqare A...
<commit_before>#define GLEW_STATIC #include <GL\glew.h> #include <GLFW\glfw3.h> #include <iostream> void key_callback(GLFWwindow * window, int key, int scancode, int action, int mode); int main() { glfwInit(); glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3); glfwWindo...
<commit_before> // Copyright (c) 2012 Nokia, Inc. // Copyright (c) 2013-2014 Quanta Research Cambridge, Inc. // 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, includ...
<commit_before>// Copyright (c) 2012 Nokia, Inc. // Copyright (c) 2013-2014 Quanta Research Cambridge, Inc. // 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, includi...
<commit_before>/* This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2015 Artem Pavlenko * * Mapnik 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>// File: linux_kvm_guest_tao_service.cc // Author: Tom Roeder <tmroeder@google.com> // // Description: The Tao for Linux in a KVM guest. // // Copyright (c) 2013, Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file excep...
<commit_before>//===----------------------------------------------------------------------===// // // Peloton // // frontend_logger.cpp // // Identification: src/backend/logging/frontend_logger.cpp // // Copyright (c) 2015-16, Carnegie Mellon University Database Group // //===-------------------...
<commit_before>#pragma once #include <kernel_headers/transpose.hpp> #define __CL_ENABLE_EXCEPTIONS #include <cl.hpp> #include <platform.hpp> #include <traits.hpp> #include <sstream> #include <string> #include <dispatch.hpp> using cl::Buffer; using cl::Program; using cl::make_kernel; using cl::EnqueueArgs; using cl::N...
<commit_before>/** * This file is part of the "libfnord" 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 th...
<commit_before>#include <cthun-client/connector/connector.hpp> #include <cthun-client/connector/uuid.hpp> #include <cthun-client/protocol/message.hpp> #include <cthun-client/protocol/schemas.hpp> #define LEATHERMAN_LOGGING_NAMESPACE CTHUN_CLIENT_LOGGING_PREFIX".connector" #include <leatherman/logging/logging.hpp> #i...
<commit_before>#include <x0/flow2/ASTPrinter.h> #include <x0/flow2/AST.h> namespace x0 { inline std::string escape(char value) // {{{ { switch (value) { case '\t': return "<TAB>"; case '\r': return "<CR>"; case '\n': return "<LF>"; case ' ': return "<SPACE>"; default: break; } if (std::isprint(value)) { ...
<commit_before>#include <Robot.hpp> #include <gameplay/planning/bezier.hpp> #include <framework/Dynamics.hpp> #include <Utils.hpp> #include <LogUtils.hpp> #include <protobuf/LogFrame.pb.h> #include <stdio.h> #include <execinfo.h> #include <stdexcept> #include <boost/foreach.hpp> using namespace std; using namespace G...
<commit_before>#include <string.h> #include <iostream> #include <fstream> #include <vector> #include <stdio.h> #include <sstream> #include <arpa/inet.h> #include <unistd.h> #include <sys/epoll.h> #include <errno.h> #include <openssl/ec.h> #include <openssl/bn.h> #include <openssl/objects.h> #include "rapidjson/docume...
<commit_before>/***************************Copyright-DO-NOT-REMOVE-THIS-LINE** * CONDOR Copyright Notice * * See LICENSE.TXT for additional notices and disclaimers. * * Copyright (c)1990-1998 CONDOR Team, Computer Sciences Department, * University of Wisconsin-Madison, Madison, WI. All Rights Reserved. * No ...
<commit_before>/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with ...
<commit_before>#pragma once // https://infektor.net/posts/2017-03-31-range-based-enumerate.html #include <iterator> #include <utility> // ---------------------------------------------------------------------- namespace acmacs { namespace _enumerate_internal { template <typename Iterator, typename in...
<commit_before>/*************************************************************************** * Copyright (C) 2003 by * * Unai Garro (ugarro@users.sourceforge.net) * * ...
<commit_before>#include "domain/mesh_cartesian.h" #include <sstream> #include <algorithm> #include <cstdlib> #include <numeric> #include <functional> #include <vector> #include <deal.II/base/point.h> #include <deal.II/grid/tria.h> #include "test_helpers/test_helper_functions.h" #include "test_helpers/gmock_wrapper.h...
<commit_before>/* dtkComposerNodeFile.cpp --- * * Author: Julien Wintz * Copyright (C) 2008 - Julien Wintz, Inria. * Created: Thu Jul 8 13:28:18 2010 (+0200) * Version: $Id$ * Last-Updated: Fri Apr 8 16:26:53 2011 (+0200) * By: Thibaud Kloczko * Update #: 78 */ /* Commentary: * */ /* Ch...
<commit_before>#pragma ident "$Id$" //============================================================================ // // This file is part of GPSTk, the GPS Toolkit. // // The GPSTk is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published //...
<commit_before>/* This file is part of libkcal. Copyright (c) 2003 Cornelius Schumacher <schumacher@kde.org> 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 ve...
<commit_before>/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "GrConvolutionEffect.h" #include "gl/GrGLProgramStage.h" #include "gl/GrGLSL.h" #include "gl/GrGLTexture.h" #include "GrProgramStageFactory.h" class G...
<commit_before>// Copyright (C) 2012-2015 Leap Motion, Inc. All rights reserved. #include "stdafx.h" #include "LeapSerialBench.h" #include "Encryption.h" #include <iostream> #include <memory> struct BenchmarkEntry { BenchmarkEntry(const char* name, IBenchmark* benchmark) : name(name), benchmark(benchmark) ...
<commit_before>/* Copyright (C) 2008 Torsten Rahn <rahn@kde.org> This file is part of the KDE project 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 o...
<commit_before>/* Copyright (C) 2008 Torsten Rahn <rahn@kde.org> This file is part of the KDE project 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 o...
<commit_before>/* RawSpeed - RAW file decoder. Copyright (C) 2009-2014 Klaus Post Copyright (C) 2014-2015 Pedro Côrte-Real This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundati...
<commit_before>/** * Copyright (c) 2016-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. ...
<commit_before>/* Copyright (C) 2001 by Christopher Nelson 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 lat...
<commit_before>/* Crystal Space Vector class Copyright (C) 1998,1999 by Andrew Zabolotny <bit@eltech.ru> 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...
<commit_before>#include "winpch.h" #include "winhttp.h" #include "..\exceptions\fileExceptions.h" #include "..\text\textParser.tcc" #include "..\text\textFormat.tcc" #include "../containers/autoArray.tcc" #include "../interface.tcc" #include "../exceptions/httpStatusException.h" namespace LightSpeed { temp...
<commit_before>/** * @file Version.hpp * @brief Version class prototype. * @author zer0 * @date 2017-05-25 */ #ifndef __INCLUDE_LIBTBAG__LIBTBAG_UTIL_VERSION_HPP__ #define __INCLUDE_LIBTBAG__LIBTBAG_UTIL_VERSION_HPP__ // MS compatible compilers support #pragma once #if defined(_MSC_VER) && (_MSC_VER >= 1020...
<commit_before>/** * @file Process.cpp * @brief Process class implementation. * @author zer0 * @date 2017-02-03 */ #include <libtbag/uvpp/Process.hpp> #include <libtbag/log/Log.hpp> #include <libtbag/uvpp/Loop.hpp> #include <libtbag/uvpp/Stream.hpp> #include <uv.h> #include <sstream> // -------------------...
<commit_before>// // Copyright (c) 2014 Christoph Malek // See LICENSE for more information. // #ifndef TWSM_SERVER_BROWSER #define TWSM_SERVER_BROWSER #include "popup_manager.hpp" #include "ui_main_window.h" #include <mlk/log/log.h> #include <mlk/time/simple_timer.h> #include <twl/network/network.hpp> #include <...
<commit_before>/* Copyright (C) 2002 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>#pragma once #ifndef ResultContainer_h__ #define ResultContainer_h__ #include <array> namespace bpp { class ResultContainer { public: ResultContainer(BenchmarkarbleItem* item, BenchmarkScope* scope, int reserveSize); ~ResultContainer(); int Count( void ) const; void AddResult( ...
<commit_before>// // Created by arssivka on 11/27/15. // #include <rd/remote/hardware/RemoteJoints.h> #include <xmlrpc-c/girerr.hpp> using namespace xmlrpc_c; using namespace boost; using namespace std; using namespace rd; RemoteJoints::RemoteJoints(shared_ptr<Joints> joints) : RemoteModule("joints") { t...
<commit_before>// Copyright 2016 Chirstopher Torres (Raven), L3nn0x // // 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...
<commit_before>#include "MapData.h" using namespace std; MapData::MapData() { display_global_offset = false; } void MapData::addToGPSRoverPath(string rover, float x, float y) { // Negate the y direction to orient the map so up is north. y = -y; if (x > max_gps_seen_x[rover]) max_gps_seen_x[rover] = x; ...
<commit_before>// 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/file_manager/file_manager_jstest_base.h" class GalleryJsTest : public FileManagerJsTestBase { protected...
<commit_before>// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/extensions/extension_apitest.h" // Started failing with r29947. WebKit merge 49961:49992. IN_PROC_BROWSER_TES...
<commit_before><commit_msg>Sofa QtViewer: Fix axis display<commit_after><|endoftext|>
<commit_before>#include "ext_mongo.h" #include "bson_decode.h" #include "contrib/encode.h" namespace HPHP { static ObjectData * create_object(const StaticString * className, Array params) { TypedValue ret; Class * cls = Unit::loadClass(className -> get()); ObjectData * obj = ObjectData...
<commit_before>// Probabilistic Question-Answering system // @2017 Sarge Rogatch // This software is distributed under GNU AGPLv3 license. See file LICENSE in repository root for details. #include "stdafx.h" #include "../PqaCore/BaseQuiz.h" using namespace SRPlat; namespace ProbQA { BaseQuiz::BaseQuiz(BaseEngine *p...
<commit_before>/** * Unix Tools For Windows * - cksum: write file checksums and sizes * * Written in 2013 by Ruben Van Boxem <vanboxem.ruben@gmail.com> * * To the extent possible under law, the author(s) have dedicated all copyright and related * and neighboring rights to this software to the public domain worl...
<commit_before>#include "TicTacToeBoard.h" /** * Class for representing a 3x3 Tic-Tac-Toe game board, using the Piece enum * to represent the spaces on the board. **/ //Constructor sets an empty board and specifies it is X's turn first TicTacToeBoard::TicTacToeBoard() { turn = X; for(int i=0; i<BOARDSIZE; i++) ...
<commit_before><commit_msg>Unobserve the RenderView before DeleteSoon.<commit_after><|endoftext|>
<commit_before>/* Copyright (c) MediaArea.net SARL. All Rights Reserved. * * Use of this source code is governed by a BSD-style license that can * be found in the License.html file in the root of the source tree. */ //--------------------------------------------------------------------------- // Pre-comp...
<commit_before>/* * Copyright (C) 2014 Cloudius Systems, Ltd. */ #ifndef DATABASE_HH_ #define DATABASE_HH_ #include "core/sstring.hh" #include "core/shared_ptr.hh" #include "net/byteorder.hh" #include "utils/UUID.hh" #include "db_clock.hh" #include "gc_clock.hh" #include <functional> #include <boost/any.hpp> #inclu...
<commit_before>/* * Copyright (C) 2008-2010, Gostai S.A.S. * * This software is provided "as is" without warranty of any kind, * either expressed or implied, including but not limited to the * implied warranties of fitness for a particular purpose. * * See the LICENSE file for more information. */ /// \file li...
<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/views/extensions/extension_dialog.h" #include "chrome/browser/extensions/extension_host.h" #include "chrom...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: vtablefactory.cxx,v $ * * $Revision: 1.10 $ * * last change: $Author: obo $ $Date: 2008-02-27 10:02:58 $ * * The Contents of this file ar...
<commit_before>//Evan Sprecher & Ommaimah Hussein #include "bits.h" //----------------------------------------------------------- // Constructor //----------------------------------------------------------- BitTwiddle::BitTwiddle(pagetable *table, std::ofstream *output) { AC=0; PC=128; //PC starts at 0200o ...
<commit_before>// Copyright 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 "components/sessions/session_types.h" #include <cstddef> #include <string> #include "base/basictypes.h" #include "base/strings/s...
<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 "base/command_line.h" #include "base/path_service.h" #include "base/stringprintf.h" #include "base/utf_string_conversions.h" #...
<commit_before>#ifndef SDK_REMOTE_TESTS_TESTS_HH # define SDK_REMOTE_TESTS_TESTS_HH # include <libport/debug.hh> # include <libport/semaphore.hh> # include <libport/program-name.hh> # include <libport/unistd.h> # include <urbi/uclient.hh> # include <urbi/usyncclient.hh> /* Liburbi test suite = Architecture = Each f...
<commit_before>#include "PlanetsGLWidget.h" #include <FTGL/ftgl.h> PlanetsGLWidget::PlanetsGLWidget(QWidget* const parent) : AnimatedGLWidget(parent), font("DejaVuSansMono.ttf"), rotation(0) { } void PlanetsGLWidget::initializeGL() { GLWidget::initializeGL(); setXRotation(90); glEnable(GL_DEPTH_TEST); } void ...
<commit_before>/* ============================================================================== SamplePlayer.cpp Author: Daniel Lindenfelser ============================================================================== */ #include "Player.h" Player::Player(int index, const File &audioFile, AudioFormatM...
<commit_before>/** * * @file compiled_plugin_base.cpp * * @date Jan 15, 2013 * @author partio */ #include "compiled_plugin_base.h" #include <boost/thread.hpp> #include "plugin_factory.h" #define HIMAN_AUXILIARY_INCLUDE #include "neons.h" #include "writer.h" #undef HIMAN_AUXILIARY_INCLUDE using namespace std;...
<commit_before>//= GRState*cpp - Path-Sens. "State" for tracking valuues -----*- C++ -*--=// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------...