text
stringlengths
54
60.6k
<commit_before>#pragma once #include "render/target.hpp" #include "gui/gui.hpp" namespace ve { class render::Target; class Gui; class Window final { public: // Construct the window. Window(); // Destruct the window. ~Window(); // Returns the gui. Ptr<Gui> getGui() const; // Sets the function to...
<commit_before>#include "word_db.hh" #include "utils.hh" #include "line_modification.hh" #include "utf8_iterator.hh" namespace Kakoune { UsedLetters used_letters(StringView str) { UsedLetters res; for (auto c : str) { if (c >= 'a' and c <= 'z') res.set(c - 'a'); else if (c >= ...
<commit_before>#include <dlfcn.h> #include <cstdio> #include <cstring> #include <unistd.h> #include <cstdlib> #include <iostream> #include <fstream> #include <vector> #include <array> #include <string> #include <map> #include <functional> #include <experimental/optional> #include "History.hpp" #include "TerminalInfo....
<commit_before>/* * IceWM - C++ wrapper for locale/unicode conversion * Copyright (C) 2001 The Authors of IceWM * * Released under terms of the GNU Library General Public License * * 2001/07/21: Mathias Hasselmann <mathias.hasselmann@gmx.net> * - initial revision */ #include "config.h" #include "yloca...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: testresource.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: vg $ $Date: 2006-06-02 13:04:44 $ * * The Contents of this file are m...
<commit_before><commit_msg>coverity#735429 Logically dead code<commit_after><|endoftext|>
<commit_before>/** * Copyright 2014 Open Connectome Project (http://openconnecto.me) * Written by Da Zheng (zhengda1936@gmail.com) * * This file is part of FlashGraph. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may...
<commit_before> /* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "gm.h" #include "SkCanvas.h" #include "SkPaint.h" #include "SkPath.h" #include "SkRandom.h" namespace skiagm { class EmptyPathGM : public GM { public...
<commit_before> /* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "gm.h" #include "SkGradientShader.h" namespace skiagm { struct GradData { int fCount; const SkColor* fColors; const SkScalar...
<commit_before>#include "ToolBase.h" #include "NGSD.h" #include "Exceptions.h" #include "Helper.h" class ConcreteTool : public ToolBase { Q_OBJECT public: ConcreteTool(int& argc, char *argv[]) : ToolBase(argc, argv) { } virtual void setup() { setDescription("Imports Ensembl/CCDS transcript information in...
<commit_before>// For conditions of distribution and use, see copyright notice in license.txt #include "StableHeaders.h" #include "DebugOperatorNew.h" #include "NaaliApplication.h" #include "Framework.h" #include "ConfigurationManager.h" #include "CoreStringUtils.h" #include <QDir> #include <QGraphicsView> #include ...
<commit_before>#include "stdafx.h" #include "..\includes\CPatch.h" #include "..\includes\IniReader.h" HWND hWnd; DWORD jmpAddress; void patch_res(); void patch_res_x1(), patch_res_x2(), patch_res_x3(), patch_res_x4(), patch_res_x5(), patch_res_x6(), patch_res_x7(), patch_res_x8(), patch_res_x9(), patch_res_x10(); voi...
<commit_before>// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "build/build_config.h" #include "cc/layers/solid_color_layer.h" #include "cc/test/layer_tree_pixel_test.h" #include "cc/test/pixel...
<commit_before>/* ** Copyright 2014-2015 Robert Fratto. See the LICENSE.txt file at the top-level ** directory of this distribution. ** ** Licensed under the MIT license <http://opensource.org/licenses/MIT>. This file ** may not be copied, modified, or distributed except according to those terms. */ #include <orang...
<commit_before>/* * Copyright (c) 2003-2010, John Wiegley. 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,...
<commit_before>/* Copyright (C) 2011 Lasath Fernando <kde@lasath.org> Copyright (C) 2013 Dan Vrátil <dvratil@redhat.com> Copyright (C) 2013 Aleix Pol Gonzalez <aleixpol@kde.org> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Publ...
<commit_before>/* This file is part of Zanshin Todo. Copyright 2008 Kevin Ottens <ervin@kde.org> 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 2 of the License or (at...
<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/extensions/extension_apitest.h" #include "chrome/browser/extensions/extension_service.h" #include "chrome/brow...
<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. // This functionality currently works on Windows and on Linux when // toolkit_views is defined (i.e. for Chrome OS). It's not needed //...
<commit_before><commit_msg>Revert 73504 - fix for build break BUG=none TEST=none Review URL: http://codereview.chromium.org/6334063<commit_after><|endoftext|>
<commit_before>/* Autogenerated with kurento-module-creator */ #include "TelmateFrameGrabberOpenCVImpl.hpp" #include <gst/gst.h> #include <KurentoException.hpp> #include <vector> #include <string> #define GST_CAT_DEFAULT kurento_telmate_frame_grabber_opencv_impl GST_DEBUG_CATEGORY_STATIC(GST_CAT_DEFAULT); #define GS...
<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 <gtk/gtk.h> #include "build/build_config.h" #include "base/i18n/rtl.h" #include "base/utf_string_conversions.h" #include "ch...
<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 "views/controls/textfield/textfield.h" #include "app/gfx/insets.h" #if defined(OS_WIN) #include "app/win_util.h" #endif #incl...
<commit_before>// Copyright 2015-2020 Elviss Strazdins. All rights reserved. #include "../../core/Setup.h" #if OUZEL_COMPILE_OPENAL #if defined(__APPLE__) # include <TargetConditionals.h> #endif #if TARGET_OS_IOS || TARGET_OS_TV # include <objc/message.h> # include <objc/NSObjCRuntime.h> extern "C" id const AVAud...
<commit_before>#include "Players/Alan_Turing_AI.h" #include <vector> #include <cmath> #include "Game/Board.h" #include "Moves/Move.h" #include "Pieces/Piece.h" #include "Game/Game_Result.h" #include "Game/Color.h" #include "Moves/Threat_Generator.h" const Move& Alan_Turing_AI::choose_move(const Board& board, const C...
<commit_before>/* * Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license, you may redistribute it and/or modify it under version 2 of the License, or (at your option), any later version. * Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2...
<commit_before> #include "stdafx.h" #include "vertexbuffer.h" using namespace graphic; cVertexBuffer::cVertexBuffer() : m_sizeOfVertex(0) , m_vertexCount(0) , m_vtxBuff(NULL) { } // Copy Constructor cVertexBuffer::cVertexBuffer(const cVertexBuffer &rhs) { operator = (rhs); } cVertexBuffer::~cVertexBuffer() { ...
<commit_before>/* * OneToManyProcessor.cpp */ #include "OneToManyProcessor.h" #include <map> #include <string> #include "./MediaStream.h" #include "rtp/RtpHeaders.h" #include "rtp/RtpUtils.h" namespace erizo { DEFINE_LOGGER(OneToManyProcessor, "OneToManyProcessor"); OneToManyProcessor::OneToManyProcessor() : ...
<commit_before>/** * testApp.cpp is part of ofxXmlDefaultSettings. * * Copyright (c) 2012, Paul Vollmer http://www.wrong-entertainment.com * All rights reserved. * * * The MIT License * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software * and associated do...
<commit_before><commit_msg>fix a memory leak in the custom unpacker in the merger<commit_after><|endoftext|>
<commit_before>#include "zmq.h" #include <iostream> #include "AliHLTDataTypes.h" #include "AliHLTComponent.h" #include "AliHLTMessage.h" #include "TClass.h" #include "TCanvas.h" #include "TMap.h" #include "TPRegexp.h" #include "TObjString.h" #include "TDirectory.h" #include "TList.h" #include "AliZMQhelpers.h" #include...
<commit_before>/* Copyright (c) 2010-2012 Stanford University * * Permission to use, copy, modify, and 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 PROVIDED "AS IS" ...
<commit_before>/* * Copyright 2011, 2012 Esrille 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 applic...
<commit_before>#ifndef _SNARKFRONT_HPP_ #define _SNARKFRONT_HPP_ //////////////////////////////////////////////////////////////////////////////// // this header file includes everything applications need // // not part of the EDSL but convenient for command line applications #include "CompilePPZK_query.hpp" #include ...
<commit_before>/* Copyright (c) 2015 Brian R. Bondy. Distributed under the MPL2 license. * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "./hash_set_wrap...
<commit_before>/* Copyright (c) 2015 Brian R. Bondy. Distributed under the MPL2 license. * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "./hash_set_wrap...
<commit_before>/* * Distributed under the OSI-approved Apache License, Version 2.0. See * accompanying file Copyright.txt for details. * * IO_ADIOS2.cpp * * Created on: Feb 2017 * Author: Norbert Podhorszki */ #include "IO.h" #include <string> #include <stdexcept> #include <hdf5.h> #include <memory> #i...
<commit_before>/*****************************************************************************\ * ANALYSIS PERFORMANCE TOOLS * * wxparaver * * Paraver Trace Visualization and Analysis Tool ...
<commit_before>// // libavg - Media Playback Engine. // Copyright (C) 2003-2014 Ulrich von Zadow // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2 of the Li...
<commit_before>// Copyright 2018 The clvk authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
<commit_before>#include <osg/UnitTestFramework> #include <osg/ArgumentParser> #include <osg/ApplicationUsage> #include <osg/Vec3> #include <osg/Matrix> #include <iostream> void testFrustum(double left,double right,double bottom,double top,double zNear,double zFar) { osg::Matrix f; f.makeFrustum(left,right,bo...
<commit_before>// Copyright 2010-2012 Google // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or a...
<commit_before>//======================================================================= // Copyright (c) 2015 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //========================================================...
<commit_before>#define DEBUG 1 /** * File : F.cpp * Author : Kazune Takahashi * Created : 6/14/2020, 3:53:32 AM * Powered by Visual Studio Code */ #include <algorithm> #include <bitset> #include <cassert> #include <cctype> #include <chrono> #include <climits> #include <cmath> #include <complex> #include <cstdi...
<commit_before>// Copyright 2019 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law o...
<commit_before>#define DEBUG 1 /** * File : F.cpp * Author : Kazune Takahashi * Created : 6/14/2020, 3:53:32 AM * Powered by Visual Studio Code */ #include <algorithm> #include <bitset> #include <cassert> #include <cctype> #include <chrono> #include <climits> #include <cmath> #include <complex> #include <cstdi...
<commit_before>/* * Copyright (c) 2007 The Hewlett-Packard Development Company * All rights reserved. * * Redistribution and use of this software in source and binary forms, * with or without modification, are permitted provided that the * following conditions are met: * * The software must be used only for Non...
<commit_before>#ifdef USE_MEM_CHECK #include <mcheck.h> #endif #include <osg/Group> #include <osg/Notify> #include <osgDB/Registry> #include <osgDB/ReadFile> #include <osgProducer/Viewer> #include <osg/Quat> #if defined (WIN32) && !defined(__CYGWIN__) #include <winsock.h> #endif #include "receiver.h" #include "br...
<commit_before>/* Copyright (c) 2020 ANON authors, see AUTHORS file. 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>/* This file is part of Magnum. Copyright © 2010, 2011, 2012, 2013, 2014, 2015 Vladimír Vondruš <mosra@centrum.cz> Copyright © 2015 Jonathan Hale <squareys@googlemail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and...
<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 <windows.h> #include "base/base_paths.h" #include "base/file_util.h" #include "base/path_service.h" #include "chrome/common/c...
<commit_before>/* * Copyright (c) 2012, 2018 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware implem...
<commit_before>// Day24.cpp : Defines the entry point for the console application. // #include "stdafx.h" struct Node; typedef std::pair<size_t, size_t> Vector2D; typedef std::shared_ptr<Node> NodePtr; typedef std::vector<NodePtr> NodeVector; typedef std::pair<NodePtr, size_t> NodeDistance; typedef std::vector<NodeDi...
<commit_before><commit_msg>option to enable/disable PMT shields and OldAD<commit_after><|endoftext|>
<commit_before>#ifndef _SNARKFRONT_AES_KEY_EXPANSION_HPP_ #define _SNARKFRONT_AES_KEY_EXPANSION_HPP_ #include <array> #include <cstdint> #include "AES_SBox.hpp" namespace snarkfront { //////////////////////////////////////////////////////////////////////////////// // FIPS PUB 197, NIST November 2001 // // Algorithm ...
<commit_before>#include "factor.h" #include <cstdio> #include <cstdlib> #include <cstring> #include <string> #include <sstream> #include <vector> bool fact(std::vector <std::string> *out, int input, const char *otherFacts, int level, int iter = 0) { if (level == 0) return false; if (i...
<commit_before>/* * FDOmenu - Menu code generator for icewm * Copyright (C) 2015 Eduard Bloch * * Inspired by icewm-menu-gnome2 and Freedesktop.org specifications * Using pure glib/gio code and a built-in menu structure instead * the XML based external definition (as suggested by FD.o specs) * * Release u...
<commit_before>#include <unistd.h> #include <signal.h> #include "global.hpp" #include "helper.hpp" #include "database.hpp" #include "message.hpp" #include "judge.hpp" #include "webserver.hpp" #include "contest.hpp" #include "attempt.hpp" using namespace std; static bool quit = false; class pjudge { public: p...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: mediadescriptor.hxx,v $ * * $Revision: 1.9 $ * * last change: $Author: hr $ $Date: 2006-05-08 14:54:19 $ * * The Contents of this file ar...
<commit_before> #include <string.h> #include "boxed.h" #include "closure.h" #include "debug.h" #include "function.h" #include "gi.h" #include "gobject.h" #include "type.h" #include "util.h" #include "value.h" using v8::Array; using v8::External; using v8::Function; using v8::FunctionTemplate; using v8::Local; using v...
<commit_before>// Copyright (c) 2018 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>/****************************************************************/ /* DO NOT MODIFY THIS HEADER */ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* (c) 2010 Battelle Energy...
<commit_before>/* * The StockMap class is a hash table of any number of Stock objects, * each with a different URI. * * author: Max Kellermann <mk@cm4all.com> */ #include "hstock.hxx" #include "stock.hxx" #include "hashmap.hxx" #include "pool.hxx" #include <daemon/log.h> #include <assert.h> struct StockMap { ...
<commit_before>#include "stepper_motor.h" #include "jenny5_types.h" #include "utils.h" //------------------------------------------------------------------------------- t_stepper_motor_controller::t_stepper_motor_controller(void) { // dir_pin = 2; // step_pin = 3; enable_pin = 4; sensors_count = 0; sensors = ...
<commit_before>/****************************************************************/ /* DO NOT MODIFY THIS HEADER */ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* (c) 2010 Battelle Energy...
<commit_before>/****************************************************************/ /* DO NOT MODIFY THIS HEADER */ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* (c) 2010 Battelle Energy...
<commit_before>// This file is intended to be included into an array of 'const char*' #define STRING_CMP_FUNCS(op) \ "(define (string"op"? s1 s2)" \ " ("op" (%string-strcmp s1 s2) 0))" STRING_CMP_FUNCS("="), STRING_CMP_FUNCS("<"), STRING_CMP_FUNCS(">"), STRING_CMP_FUNCS("<="), S...
<commit_before>/* bzflag * Copyright (c) 1993 - 2004 Tim Riker * * This package is free software; you can redistribute it and/or * modify it under the terms of the license found in the file * named COPYING that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ...
<commit_before>/**************************************************************************/ /*! @file Adafruit_MCP9808.cpp @author K.Townsend (Adafruit Industries) @license BSD (see license.txt) I2C Driver for Microchip's MCP9808 I2C Temp sensor This is a library for the Adafruit MCP9808 breakout ...
<commit_before>/************************************************************************* * * $RCSfile: ListBox.hxx,v $ * * $Revision: 1.8 $ * * last change: $Author: rt $ $Date: 2004-04-02 10:54:31 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>/* bzflag * Copyright (c) 1993 - 2005 Tim Riker * * This package is free software; you can redistribute it and/or * modify it under the terms of the license found in the file * named COPYING that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ...
<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/bookmarks/bookmark_context_menu_controller.h" #include "base/compiler_specific.h" #include "chrome/app/chrome...
<commit_before>#include "cef/cef_app_handler.h" #include "cosmetic_blocker.h" namespace doogie { CefAppHandler::CefAppHandler() {} bool CefAppHandler::OnBeforeNavigation( CefRefPtr<CefBrowser> browser, CefRefPtr<CefFrame> frame, CefRefPtr<CefRequest> request, CefRenderProcessHandler::NavigationType ...
<commit_before>//===-- IndirectCallPromotionAnalysis.cpp - Find promotion candidates ===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===--------------------------------------------...
<commit_before>/****************************************************************/ /* DO NOT MODIFY THIS HEADER */ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* (c) 2010 Battelle Energy...
<commit_before>//* This file is part of the MOOSE framework //* https://www.mooseframework.org //* //* All rights reserved, see COPYRIGHT for full restrictions //* https://github.com/idaholab/moose/blob/master/COPYRIGHT //* //* Licensed under LGPL 2.1, please see LICENSE for details //* https://www.gnu.org/licenses/lgp...
<commit_before>#include <cstdio> #include <io/FilePointer.hpp> #include <io/Inet4Address.hpp> #include <io/Resolv.hpp> #include <io/ServerSocket.hpp> #include <io/Socket.hpp> #include <io/StringWriter.hpp> #include <io/binary/StreamGetter.hpp> #include <json/Json.hpp> #include <json/JsonMercuryTempl.hpp> #include <l...
<commit_before>#ifndef HACK_HPP #define HACK_HPP #include <cstdint> #include <string> #include <unordered_map> namespace Hasm { namespace Hack { using WORD = uint16_t; const WORD INIT_RAM_ADDRESS{16}; const std::unordered_map<std::string, WORD> PREDEFINED_SYMBOLS{ {"SP", 0x00}, {"LCL", 0x01}, {"ARG", 0...
<commit_before>#ifndef UTIL_HPP #define UTIL_HPP #include <vector> #include <iterator> #include <cstddef> #include <boost/dynamic_bitset.hpp> #include <iostream> namespace rmatch { /*! given two bit vectors \a lowBits and \a topBits it finds the bits for which we have ones only in either one of th...
<commit_before>// XXX This compiles, but is completely untested #pragma once #include "bitset.hh" #include "cpu.hh" #include "spinlock.hh" #include "percpu.hh" #include <atomic> #include <cstdint> #include <utility> #include <vector> // OpLog is a technique for scaling objects that are frequently // written and rar...
<commit_before><commit_msg>Create pablo9696.cpp<commit_after><|endoftext|>
<commit_before><commit_msg>MainGame.cpp 누락된 것 추가<commit_after><|endoftext|>
<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>// 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/file_util.h" #include "base/memory/ref_counted.h" #include "base/message_loop.h" #include "base/scoped_temp_dir.h" #incl...
<commit_before>#include <iostream> #include <stdlib.h> #include "glog/logging.h" using namespace std; enum level { INFO=0, WARINIG=1, ERROR=2, FATAL=3 }; void test_glog() { for(int i = 1; i < 101; i++) { //满足i==100才会打印 LOG_IF(INFO,i==100)<<"LOG_IF(INFO,I==100),google::COUNTER...
<commit_before>// // generateSimulatedData.cpp // cPWP // // Created by Evan McCartney-Melstad on 12/31/14. // Copyright (c) 2014 Evan McCartney-Melstad. All rights reserved. // #include "generateSimulatedData.h" #include <stdlib.h> #include <stdio.h> #include <iostream> #include <fstream> #include <sstream> #incl...
<commit_before>#include <iostream> #include "libaps.h" #include "constants.h" #include <thread> using namespace std; int main () { cout << "BBN X6-1000 Test Executable" << endl; set_malibu_threading_enable(false); int numDevices; numDevices = get_numDevices(); cout << numDevices << " X6 device" << (numD...
<commit_before>#include "MacroAIModule.h" #include <BasicTaskExecutor.h> #include <SpiralBuildingPlacer.h> #include <BFSBuildingPlacer.h> #include <UnitPump.h> #include <TerminateIfWorkerLost.h> #include <TerminateIfEmpty.h> #include <BasicWorkerFinder.h> #include <UnitCompositionProducer.h> #include <MacroMan...
<commit_before>// // DiskII.cpp // Clock Signal // // Created by Thomas Harte on 23/04/2018. // Copyright © 2018 Thomas Harte. All rights reserved. // #include "DiskIICard.hpp" using namespace AppleII; DiskIICard::DiskIICard(const ROMMachine::ROMFetcher &rom_fetcher, bool is_16_sector) { auto roms = rom_fetcher...
<commit_before>#pragma once #include "stdafx.h" #define SafeDelete(x) {if((x) != nullptr) { delete (x); } x = nullptr; } #define SafeDeleteArray(x) {if((x) != nullptr) { delete[] (x); } x = nullptr; } namespace MCL { namespace Util { static std::string ReadWholeFile(const std::string& path) { std::ifstream i...
<commit_before>/*********************************************************************** filename: CEGUIGeometryBuffer.cpp created: Wed Jan 13 2010 author: Paul D Turner <paul@cegui.org.uk> *************************************************************************/ /**********************************...
<commit_before>#ifndef DUNE_DETAILED_DISCRETIZATIONS_DISCRETEFUNCTIONSPACE_CONTINUOUS_LAGRANGE_HH #define DUNE_DETAILED_DISCRETIZATIONS_DISCRETEFUNCTIONSPACE_CONTINUOUS_LAGRANGE_HH // system #include <map> #include <set> // dune-common #include <dune/common/shared_ptr.hh> // dune-fem includes #include <dune/fem/spac...
<commit_before>#include "platform/local_country_file.hpp" #include "platform/platform.hpp" #include "coding/internal/file_data.hpp" #include "coding/file_name_utils.hpp" #include "base/logging.hpp" #include "std/sstream.hpp" namespace platform { LocalCountryFile::LocalCountryFile() : m_version(0), m_files(MapO...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: BUsers.cxx,v $ * * $Revision: 1.16 $ * * last change: $Author: hr $ $Date: 2006-06-20 01:11:27 $ * * The Contents of this file are made a...
<commit_before>// STL #include <iostream> #include <fstream> #include <algorithm> #include <iterator> // Boost #include <boost/program_options/parsers.hpp> #include <boost/program_options/variables_map.hpp> #include <boost/scoped_ptr.hpp> // Local #include "pyp-topics.hh" #include "corpus.hh" #include "contexts_corpu...
<commit_before>/* Test module for atlas Tests functions of class Object by Gordon Hart, fex <who@which.net> 29 Jan 2000 */ #include "../Object/Object.h" using Atlas::Object; #include <iostream> using std::cout; using std::endl; //____________________________________________________________________...
<commit_before>/*****************************************************************************\ * ANALYSIS PERFORMANCE TOOLS * * wxparaver * * Paraver Trace Visualization and Analysis Tool ...
<commit_before>/*========================================================================= Program: Visomics Copyright (c) Kitware, 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 ...
<commit_before>/* The MIT License Copyright (c) 2010 by Jorrit Tyberghein 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>/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...