text
stringlengths
54
60.6k
<commit_before>#include "_mobs.hpp" #include "_player.hpp" #include <iostream> #include <cstdlib> #include <windows.h> player battle(pplayer account); player calcEXP(player account, classMob creature); player levelUp(player account); void death(); int main() { std::string name; int option1; std::cout<<"Welcome, pl...
<commit_before>#include <iostream> #include <iomanip> #include <thread> #include <string> #include <map> #include <vector> #include <boost/program_options.hpp> #include "time_helper.h" #include "options.h" #include "pipeline_data.h" #include "array_prepare.h" #include "benchmark.h" #include "statistics.h" #include "te...
<commit_before>// main.cpp #include <iostream> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "metasorter.h" #include <boost/foreach.hpp> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/info_parser.hpp> void generate_skeleton_config(); using namespace std; using namespac...
<commit_before>#include <iostream> #include "reader.hpp" #include "settings.hpp" #include "forest.hpp" using namespace std; using namespace ISUE::RelocForests; int main(int argc, char *argv[]) { if (argc < 2) { cout << "Usage: [train||test] ./relocforests <path_to_association_file>"; return 1; } // ge...
<commit_before>#include <ctrcommon/app.hpp> #include <ctrcommon/input.hpp> #include <ctrcommon/platform.hpp> #include <ctrcommon/ui.hpp> #include <stdio.h> #include <sstream> #include <iomanip> #include <sys/dirent.h> typedef enum { INSTALL_CIA, DELETE_CIA, DELETE_TITLE, LAUNCH_TITLE...
<commit_before>#include <gtest/gtest.h> #include "mcc/cfg/cfg.h" #include "parser.h" #include "boost/graph/graphviz.hpp" namespace mcc { namespace cfg { TEST(Cfg, Cfg) { auto tree = parser::parse( R"( { int x=1; float ...
<commit_before>// Scintilla source code edit control /** @file CallTip.cxx ** Code for displaying call tips. **/ // Copyright 1998-2001 by Neil Hodgson <[email protected]> // The License.txt file describes the conditions under which this software may be distributed. #include <stdlib.h> #include <string.h> #includ...
<commit_before>#include "../include/Cluster.hpp" using namespace std; Cluster::Cluster(Options options) { int symmetric, format, offset; bool reduceZeroRows, transpose, printCooOrDense; #if 0 std::string path2matrix = options.path2data+"/testMat"+to_string(0)+".txt"; Matrix A; symmetric = 0; // 0-not...
<commit_before>#include <iostream> #include <string> #include <cassert> #include "CubeCmd.h" #include "HdfWriter.h" #include "TextWriter.h" #include "VtkWriter.h" #include "StringUtils.h" using namespace std; using namespace cigma; // --------------------------------------------------------------------------- cigma...
<commit_before> /* * Stream.cpp * sfeMovie project * * Copyright (C) 2010-2014 Lucas Soltic * [email protected] * * This program 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; eith...
<commit_before>// DibView.cpp : implementation file // #include "stdafx.h" #include "DibView.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CDibView CDibView::CDibView() : m_pDoc(NUL...
<commit_before>/// /// @file EratBig.cpp /// @brief EratBig is a segmented sieve of Eratosthenes /// implementation optimized for big sieving primes. EratBig /// is a highly optimized implementation of Tomas Oliveira e /// Silva's cache-friendly bucket sieve algorithm: /// http://www....
<commit_before>// App.hh // Copyright (c) 2002 Henrik Kinnunen (fluxgen at linuxmail.org) // // 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 limitati...
<commit_before>/*================================================== Flexbar - flexible barcode and adapter removal Version 3.5.0 BSD 3-Clause License uses SeqAn library release 2.4.0 and TBB library 4.0 or later Developer: Johannes Roehr Former contributors: ...
<commit_before>#include "General.h" #include "KBot.h" namespace KBot { using namespace BWAPI; General::General(KBot &kBot) : m_kBot(kBot) {} void General::update() { std::string squadSizes; for (auto &squad : m_squads) squadSizes += ", " + std::to_string(squad.size()); ...
<commit_before>/* ----------------------------------------------------------------------- Infomap software package for multi-level network clustering * Copyright (c) 2013. See LICENSE for more info. * For credits and origins, see AUTHORS or www.mapequation.org/about. ------------------------------------------...
<commit_before>// The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. #include "llvm/IR/DataLayout.h" #include "llvm/IR/BasicBlock.h" #include "llvm/IR/Constants.h" #include "llvm/IR/Function.h" #incl...
<commit_before>/*============================================================================= Copyright (c) 2016-2017 Joel de Guzman Distributed under the MIT License (https://opensource.org/licenses/MIT) =============================================================================*/ #include "view_impl.hpp" #i...
<commit_before>/* * Copyright (C) 2008-2010 The QXmpp developers * * Author: * Manjeet Dahiya * * Source: * http://code.google.com/p/qxmpp * * This file is a part of QXmpp library. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Publi...
<commit_before>#include <iostream> #include <fstream> #include <boost/program_options.hpp> #include <boost/format.hpp> #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> int constexpr hsplit_default = 16; int constexpr vsplit_default = 16; int constexpr selectable_default = 16; int constexpr selec...
<commit_before>//************************************************************/ // // Plot Implementation // // Implements the SPXPlot class, which connects all of the // other non-configuration classes (non-steering/options) and // manages the plotting, drawing, and ROOT objects // // @Author: J. Gibson, C. Embree, T...
<commit_before>/* * Seek camera interface * Author: Maarten Vandersteegen */ #include "SeekCam.h" #include "SeekLogging.h" #include <iomanip> using namespace LibSeek; SeekCam::SeekCam(int vendor_id, int product_id, uint16_t* buffer, size_t raw_height, size_t raw_width, size_t request_size, cv::Rect roi, std::st...
<commit_before>/* * Copyright (c) 2016 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....
<commit_before>// NCMLContainer.cc // -*- mode: c++; c-basic-offset:4 -*- // This file is part of ncml_module, A C++ module that can be loaded in to // the OPeNDAP Back-End Server (BES) and is able to handle ncml requests. // Copyright (c) 2002,2003 OPeNDAP, Inc. // Author: Patrick West <[email protected]> // // This l...
<commit_before>#include "window.h" #include "logging.h" Window::Window() : window_box_(Gtk::ORIENTATION_VERTICAL), main_config_(), keybindings_(main_config_.keybindings_cfg()), terminal_(main_config_.terminal_cfg()), notebook_(this,keybindings(), main_config_.source_cfg(), main_config...
<commit_before>// 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 "net/base/host_resolver_proc.h" #include "build/build_config.h" #if defined(OS_WIN) #include <ws2tcpip.h> #include <wsp...
<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 "base/basictypes.h" #include "base/strings/string_split.h" #include "base/utf_string_conversions.h" #include "net/base/mime_ut...
<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 "net/http/http_network_layer.h" #include "base/field_trial.h" #include "base/logging.h" #include "base/string_util.h" #includ...
<commit_before>// Copyright (c) 2019 ASMlover. 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 o...
<commit_before>#include <config.h> #include <assert.h> #include <boost/assert.hpp> #include <dune/common/exceptions.hh> #include <dune/common/timer.hh> #include <dune/multiscale/common/righthandside_assembler.hh> #include <dune/multiscale/msfem/elliptic_msfem_matrix_assembler.hh> #include <dune/multiscale/msfem/msfem_g...
<commit_before>#include <config.h> #include <dune/common/exceptions.hh> #include <dune/stuff/common/validation.hh> #include <dune/stuff/grid/boundaryinfo.hh> #include <dune/stuff/common/configuration.hh> #include <math.h> #include <sstream> #include "dune/multiscale/problems/base.hh" #include "synthetic.hh" namespace...
<commit_before>// Copyright 2012-2013 Samplecount S.L. // // 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 applic...
<commit_before>// Copyright (c) 2020 The Orbit 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 <absl/flags/flag.h> #include <absl/flags/parse.h> #include <absl/flags/usage.h> #include <QApplication> #include <QDir> #include...
<commit_before>/*========================================================================= Program: Visualization Library Module: Triangle.cc Language: C++ Date: $Date$ Version: $Revision$ Description: --------------------------------------------------------------------------- This file is part...
<commit_before>/* * Copyright 2011-2017 Branimir Karadzic. All rights reserved. * License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause */ #include "common.h" #include "bgfx_utils.h" #include "imgui/imgui.h" namespace { struct PosColorVertex { float m_x; float m_y; float m_z; uint32_t m_abgr; stat...
<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>/* ** See Copyright Notice in LICENSE. **/ #include "luno.hxx" #include <cppuhelper/typeprovider.hxx> #include <com/sun/star/beans/MethodConcept.hpp> #include <com/sun/star/reflection/ParamMode.hpp> using com::sun::star::beans::UnknownPropertyException; using com::sun::star::beans::XIntrosp...
<commit_before>/** * @author pinkasfeld joseph * Copyright (c) Aldebaran Robotics 2010, 2011 All Rights Reserved. */ #include "allaser.h" #include <iostream> #include <alcommon/alproxy.h> #include <alproxies/almemoryproxy.h> #include <boost/shared_ptr.hpp> #include <alcommon/albroker.h> #include <alcommon/almodule...
<commit_before>#include "internal.hpp" #include "clause.hpp" #include "iterator.hpp" #include "proof.hpp" #include "macros.hpp" #include "message.hpp" #include <algorithm> namespace CaDiCaL { /*------------------------------------------------------------------------*/ void Internal::learn_empty_clause () { asser...
<commit_before>// Copyright 2020 Tangent Animation // // 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) 2021 yumetodo <[email protected]> Distributed under the Boost Software License, Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt) =========================================================================...
<commit_before>/** * \file TransverseMercator.hpp * * Copyright (c) Charles Karney (2008) <[email protected]> * and licensed under the LGPL. **********************************************************************/ #if !defined(TRANSVERSEMERCATOR_HPP) #define TRANSVERSEMERCATOR_HPP "$Id$" #include <cmath> namesp...
<commit_before>/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite * * This file is part of OpenOffice.o...
<commit_before>// Copyright (c) 2018-2019 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <bls/bls.h> #include <hash.h> #include <random.h> #include <tinyformat.h> #ifndef BUILD_SYSCOIN_INTERN...
<commit_before>#include "chainparamsbase.h" #include "callrpc.h" #include "util.h" #include "utilstrencodings.h" #include "rpc/protocol.h" #include "support/events.h" #include "rpc/client.h" #include <event2/buffer.h> #include <event2/keyvalq_struct.h> /** Reply structure for request_done to fill in */ struct HTTPR...
<commit_before><commit_msg>Add menu shortcuts on linux instead of & everywhere.<commit_after><|endoftext|>
<commit_before><commit_msg>win_safe_util: fix uninitialized variable<commit_after><|endoftext|>
<commit_before><commit_msg>render view: Clear the text selection cache when we get an empty selection.<commit_after><|endoftext|>
<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/file_util.h" #include "base/path_service.h" #include "build/build_config.h" #include "chrome/common/chrome_switches.h" #...
<commit_before><commit_msg>Mark WorkerTest.WorkerMapGc as flaky<commit_after><|endoftext|>
<commit_before>/* * Copyright 2013 Jeremie Roy. All rights reserved. * License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause */ #include <wchar.h> // wcslen #include "text_metrics.h" #include "utf8.h" TextMetrics::TextMetrics(FontManager* _fontManager) : m_fontManager(_fontManager) { clearText(); } void...
<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>/** * This file is part of the CernVM File System */ #ifndef __STDC_FORMAT_MACROS #define __STDC_FORMAT_MACROS #endif #include "cvmfs_config.h" #include "uri_map.h" #include <cassert> #include <cinttypes> using namespace std; // NOLINT WebRequest::WebRequest(const struct mg_request_info *req) { ...
<commit_before>/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2008, 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>/* 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 "consumer.hh" #include "globals.hh" using namespace boost::filesystem; using namespace st...
<commit_before>#include "CpuID.hpp" namespace cos { CpuID::Vendor CpuID::getVendor() { if(vendor == Vendor::NotSet) findVendor(); return vendor; } const char* CpuID::getVendorString() { if(vendor == Vendor::NotSet) findVendor(); return VENDOR_STRINGS[static_cast<uint8>(vendor)]; } const char*...
<commit_before>#include <mart-common/MartTime.h> #include <mart-common/algorithm.h> #include <mart-netlib/udp.hpp> #include <atomic> #include <fstream> #include <iostream> #include <optional> #include <string_view> #include <vector> #include <im_str/im_str.hpp> namespace udp = mart::nw::ip::udp; using namespace std:...
<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>#include "ScrollingMsg.hpp" #include "utilities.hpp" #include <iostream> using std::cout; using std::endl; ScrollingMsg::ScrollingMsg() :m_current_w(0) ,m_current_h(0) ,m_friendly_name("None") ,m_loops(0) ,m_current_loop(0) ,m_scroll_time(12.0f) ,m_text() { }; ScrollingMsg::ScrollingMsg( ...
<commit_before>#include "MemCheck.h" #include "POGLRenderContext.h" #include "POGLRenderState.h" #include "POGLDevice.h" #include "POGLEnum.h" #include "POGLVertexBuffer.h" #include "POGLIndexBuffer.h" #include "POGLTexture2D.h" #include "POGLShader.h" #include "POGLProgramData.h" #include "POGLFactory.h" #include "POG...
<commit_before><commit_msg>Basic student file for homeworks. <commit_after><|endoftext|>
<commit_before>/*********************************************** * Author: Jun Jiang - [email protected] * Create: 2017-08-19 18:50 * Last modified : 2017-08-19 18:50 * Filename : DNN.cpp * Description : **********************************************/ #include "dnn/DNN.h" #include "dnn/Layer.h" #include "...
<commit_before>#include <iostream> #include "macho/MachoBinary.h" #include "macho/FatBinary.h" #include "AbstractBinary.h" #include "macho/MachoBinaryVisitor.h" using namespace std; // Que quiero hacer? // Principalmente quiero que la libreria sea flexible para que pueda ser utilizada para varias cosas. // En partic...
<commit_before>// Copyright (c) 2009-2012 Bitcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <iostream> #include <fstream> #include "init.h" // for pwalletMain #include "rpcserver.h" #include "rpcpr...
<commit_before>// Copyright (c) 2009-2012 Bitcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <iostream> #include <fstream> #include "init.h" // for pwalletMain #include "rpcserver.h" #include "ui_in...
<commit_before>/* Copyright © 2012, 2015 Vinícius dos Santos Oliveira This file is part of BlowThemAll. BlowThemAll 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 Licen...
<commit_before>/* Copyright 1989, 1990, 1995 by Abacus Research and * Development, Inc. All rights reserved. */ /* Forward declarations in SegmentLdr.h (DO NOT DELETE THIS LINE) */ #include <base/common.h> #include <FileMgr.h> #include <SegmentLdr.h> #include <MemoryMgr.h> #include <ResourceMgr.h> #include <StdFi...
<commit_before>#ifndef SIMPLE_WEB_SERVER_UTILITY_HPP #define SIMPLE_WEB_SERVER_UTILITY_HPP #include "status_code.hpp" #include <iostream> #include <memory> #include <string> #include <unordered_map> namespace SimpleWeb { #ifndef CASE_INSENSITIVE_EQUAL_AND_HASH #define CASE_INSENSITIVE_EQUAL_AND_HASH inline bool cas...
<commit_before>#include <glib/gstdio.h> #include <fstream> #include <iostream> #include "settings.h" using namespace AhoViewer; #include "booru/site.h" using namespace AhoViewer::Booru; #include "config.h" #include "imagebox.h" SettingsManager AhoViewer::Settings; SettingsManager::SettingsManager() : ConfigPath(...
<commit_before>/* * Copyright (c) 2002-2005 The Regents of The University of Michigan * Copyright (c) 2011 Advanced Micro Devices * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: redistrib...
<commit_before><commit_msg>Added more input methods to `enum`. These are not yet implemented.<commit_after><|endoftext|>
<commit_before>/* Copyright (c) 2010, The Mineserver Project All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, th...
<commit_before>#include <cstdio> #include <cstdint> #include <cassert> #include <cstring> #include <string> #include <vector> #include <chrono> #include <smmintrin.h> #if defined(HAVE_AVX2_INSTRUCTIONS) || defined(HAVE_AVX512F_INSTRUCTIONS) # include <immintrin.h> #endif #include <utils/sse.cpp> #include <utils/bit...
<commit_before>// An implementation of Fujimoto's airport model // Ported from the ROSS airport model (https://github.com/carothersc/ROSS/blob/master/ross/models/airport) // Author: Eric Carver ([email protected]) #include <vector> #include <memory> #include <random> #include "warped.hpp" #include "airport.hpp" #...
<commit_before>/* * Copyright (C) 2016 Muhammad Tayyab Akram * * 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 b...
<commit_before>#ifndef LM_HH #define LM_HH #include <float.h> #include "misc/types.hh" #include "FixedArray.hh" namespace fsalm { class Semiring { public: Semiring() : one(0), zero(-1e30) { } virtual ~Semiring() { } virtual float plus(float a, float b) = 0; virtual float times(float a, float b) =...
<commit_before>#include "Camera3D.h" edk::Camera3D::Camera3D(){ // this->start(); this->perspective = false; this->firstPerson=false; } edk::Camera3D::Camera3D(edk::vec3f32 position,edk::vec3f32 lookAt){ this->start(); this->position = position; this->lookAt = lookAt; this->perspective ...
<commit_before>/* * The Apache Software License, Version 1.1 * * Copyright (c) 1999-2002 The Apache Software Foundation. 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. Redistr...
<commit_before>#include "ActorManager.h" #include "../components/MeshComponent.h" #include "../components/RenderComponent.h" #include "../components/TransformComponent.h" ActorManager::ActorManager() : nextActorID(0), actorXML(nullptr) { this->componentFactory.registerType<MeshComponent>(MeshComponent::componentN...
<commit_before>//======================================================================= // Copyright (c) 2013-2014 Baptiste Wicht. // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //==================================================...
<commit_before><commit_msg>Fixed bug with point lights using shadows.<commit_after><|endoftext|>
<commit_before>// Copyright (c) 2019 Chris Ohk, Youngjoong Kim, SeungHyun Jeon // We are making my contributions/submissions to this project solely in our // personal capacity and are not conveying any rights to any intellectual // property of any third parties. #ifndef ROSETTASTONE_CARD_ENUMS_HPP #define ROSETTASTON...
<commit_before>/************************************************* * SHA-160 Source File * * (C) 1999-2006 The Botan Project * *************************************************/ #include <botan/sha160.h> #include <botan/bit_ops.h> namespace Botan { namespace { /*************...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: anyrefdg.hxx,v $ * * $Revision: 1.8 $ * * last change: $Author: rt $ $Date: 2005-09-08 21:11:36 $ * * The Contents of this file are made ...
<commit_before>#include "gvki/Logger.h" #include "gvki/PathSeperator.h" #include <cstdlib> #include <cstdio> #include <cassert> #include <errno.h> #include <iostream> #include <iomanip> #include <sstream> #include "string.h" #include "gvki/Debug.h" #include <sys/stat.h> #ifndef _WIN32 #include <dirent.h> #include <u...
<commit_before>#define DEFINE_GLOBALS #include"all_defines.hpp" #ifndef single_threaded bool single_threaded; #endif class Symbol; Symbol* symbol_sym; Symbol* symbol_int; Symbol* symbol_char; Symbol* symbol_cons; Symbol* symbol_pid; Symbol* symbol_fn; Symbol* symbol_string; Symbol* symbol_unspecified; Symbol* symbo...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkCorrelativeStatistics.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for detai...
<commit_before>/************************************************************************* * * $RCSfile: areasdlg.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: dr $ $Date: 2001-05-23 15:05:18 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>#include "gorgone.h" using namespace cv; using namespace ofxCv; int accum = 0; void gorgone::setup() { ofSetLogLevel(OF_LOG_NOTICE); masterIp = "Mac-Pro-de-10-52.local"; appName = "gorgone-1"; parseCmdLineOptions(); vidGrabber.setup(filename); svgInterp.setup(); jamoma.setup((void*) this, ...
<commit_before>//===---- IncludeInserterTest.cpp - clang-tidy ----------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#include <arpc.h> #include <modlogger.h> #include <misc_utils.h> #include <dhash_types.h> #include <dhash_common.h> #include <merkle_sync_prot.h> #include <merkle.h> #include <maint_prot.h> #include "maint_policy.h" // {{{ Globals static char *logfname; static char *localdatapath; static vec<ptr<ma...
<commit_before>// AdvGfx.cpp : Defines the exported functions for the DLL application. // #include "stdafx.h" #include "AdvGfx.h" #include "objLoader.h" #include "Raytracer.h" #include <fstream> #include <iostream> #include <string> #include <GLM\glm.hpp> #include <GLM\ext.hpp> namespace AdvGfxCore { using namespa...
<commit_before>/* This file is part of Zanshin Todo. Copyright 2008 Kevin Ottens <[email protected]> Copyright 2008, 2009 Mario Bensi <[email protected]> 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...
<commit_before>#include <iostream> class Base { public: virtual void func(int x) { std::cout << "Base::func(int)" << '\n' << "x = " << x << '\n'; } }; class Sub : public Base { public: void func(int x) // <=> virtual void func(int x) { std::cout << "Sub::func(int)" << '\n' << "x = " << ++x << '...
<commit_before>/* * Copyright (C) 2013 Alec Thomas <[email protected]> * All rights reserved. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. * * Author: Alec Thomas <[email protected]> */ // http://docs.python.org/2/extending/extend...
<commit_before>/************************************************************************* * * $RCSfile: spinbutton.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2004-04-02 10:57:22 $ * * The Contents of this file are made available subject to the terms of * either of the following lic...
<commit_before>/************************************************************************* * * $RCSfile: pivotsh.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: hr $ $Date: 2004-05-10 16:07:56 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>/************************************************************************** * * Copyright 2014 Lunarg, Inc. * 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 t...
<commit_before>#include "Model.h" using namespace std; using namespace Eigen; const string to_string(const FieldStrength& f) { static const string f3{"3T"}, f7{"7T"}, fu{"User"}; switch (f) { case FieldStrength::Three: return f3; case FieldStrength::Seven: return f7; case FieldStrength::User: return fu; } } ...
<commit_before> /*******************************************************************/ /* 3d_toolbar.cpp: construction des tool bars de la frame visu 3d */ /*******************************************************************/ #include "fctsys.h" #include "macros.h" #include "bitmaps3d.h" #include "bitmaps.h" #inclu...