text
stringlengths
54
60.6k
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: objshimp.hxx,v $ * * $Revision: 1.41 $ * * last change: $Author: obo $ $Date: 2008-02-26 15:12:13 $ * * The Contents of this file are mad...
<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>#include "tizen_utils.hpp" #include "../../std/vector.hpp" #include "../../tizen/inc/FBase.hpp" #include "../base/logging.hpp" #include <FSystem.h> string FromTizenString(Tizen::Base::String const & str_tizen) { string utf8Str; if (str_tizen.GetLength() == 0) return utf8Str; Tizen::Base::Byt...
<commit_before>#include <QFile> #include "quagzipfile.h" class QuaGzipFilePrivate { friend class QuaGzipFile; QString fileName; gzFile gzd; inline QuaGzipFilePrivate(): gzd(NULL) {} inline QuaGzipFilePrivate(const QString &fileName): fileName(fileName), gzd(NULL) {} template<typename ...
<commit_before>#include <stdlib.h> #include <algorithm> #include <iostream> #include <vector> #include <unistd.h> #include <dirent.h> #include <fstream> #include <sstream> #include <queue> #include "omp.h" // Contains the various options the user can pass ptgz. struct Settings { Settings(): extract(), compress(),...
<commit_before>//Copyright (c) 2022 Ultimaker B.V. //CuraEngine is released under the terms of the AGPLv3 or higher. #include <polyclipping/clipper.hpp> #include "Application.h" //To get settings. #include "ExtruderTrain.h" #include "raft.h" #include "Slice.h" #include "sliceDataStorage.h" #include "support.h" #inclu...
<commit_before>/* * Copyright (C) 2018 The Android Open Source Project * * 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 ...
<commit_before>/* * Open Chinese Convert * * Copyright 2010-2013 BYVoid <byvoid@byvoid.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.apache.org/licenses/LI...
<commit_before>#include "protocol.h" void Protocol::connectServer() { } bool Protocol::connected() { } bool Protocol::shouldUnload() { } void Protocol::disconnect() { } void Protocol::onRehash() { } void Protocol::sendMsg(const std::string& client, const std::string& target, const std::string& message, ...
<commit_before>/// /// @file Erat.cpp /// @brief The Erat class manages prime sieving using the /// EratSmall, EratMedium, EratBig classes. /// /// Copyright (C) 2020 Kim Walisch, <kim.walisch@gmail.com> /// /// This file is distributed under the BSD License. See the COPYING /// file in the top level directo...
<commit_before>/** Copyright (C) 2013 David Braam - Released under terms of the AGPLv3 License */ #include "skin.h" #include "utils/polygonUtils.h" #define MIN_AREA_SIZE (0.4 * 0.4) namespace cura { void generateSkins(int layerNr, SliceMeshStorage& storage, int extrusionWidth, int downSkinCount, int upSki...
<commit_before>/* This file is part of INDDGO. Copyright (C) 2012, Oak Ridge National Laboratory This product includes software produced by UT-Battelle, LLC under Contract No. DE-AC05-00OR22725 with the Department of Energy. This program is free software; you can redistribute it and/or modify it under...
<commit_before>/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do ...
<commit_before>#include <imgui/imgui.h> #include "game_view.h" #include "editor/asset_browser.h" #include "editor/asset_compiler.h" #include "editor/settings.h" #include "editor/studio_app.h" #include "editor/utils.h" #include "editor/world_editor.h" #include "engine/crc32.h" #include "engine/engine.h" #include "engin...
<commit_before>#include "scene/scenegroup.hpp" #include <algorithm> #include <tuple> #include <functional> #include <cassert> #include "config/globals.hpp" #include "sceneitem.hpp" using namespace scene; typedef collisiondetection::AxisAlignedBoundingBox AABB; typedef std::tuple<glm::vec3, glm::vec3> Diagonal; Sc...
<commit_before>//(c) 2016 by Authors //This file is a part of ABruijn program. //Released under the BSD license (see LICENSE file) #include "read_aligner.h" #include "../common/parallel.h" #include <cmath> #include <iomanip> namespace { struct Chain { Chain(): score(0) {} std::vector<const EdgeAlignment*> aln; ...
<commit_before>#include "obj_loader.hpp" #include <fstream> #include <sstream> namespace sample_util { static bool begins_with(const std::string& input, const std::string& search_string) { if (input.size() < search_string.size()) { return false; } for (size_t i...
<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 "ppapi/cpp/input_event.h" #include "ppapi/cpp/instance.h" #include "ppapi/cpp/module.h" #include "ppapi/cpp/module_impl.h" #i...
<commit_before>/******************************************************************************* GPU OPTIMIZED MONTE CARLO (GOMC) 2.40 Copyright (C) 2018 GOMC Group A copy of the GNU General Public License can be found in the COPYRIGHT.txt along with this program, also can be found at <http://www.gnu.org/licenses/>. **...
<commit_before>#include "Version.h" #include "System/Config.h" #include "System/Events/EventLoop.h" #include "System/IO/IOProcessor.h" #include "Framework/Storage/StorageEnvironment.h" #ifdef DEBUG #define VERSION_FMT_STRING "ScalienDB v" VERSION_STRING " (DEBUG build date " __DATE__ " " __TIME__ ")" #else #define VER...
<commit_before>/******************************************************************************* GPU OPTIMIZED MONTE CARLO (GOMC) 2.40 Copyright (C) 2018 GOMC Group A copy of the GNU General Public License can be found in the COPYRIGHT.txt along with this program, also can be found at <http://www.gnu.org/licenses/>. **...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: dtint.hxx,v $ * * $Revision: 1.16 $ * * last change: $Author: hr $ $Date: 2007-06-27 20:38:51 $ * * The Contents of this file are made av...
<commit_before>/* * O ,- * o . - ' ,- * . ` . , * ( )) . ( * `-;_ . - `.`. * `._' * * Copyright (c) 2007-2011 Markus Fisch <mf@markusfisch.de> * * Licensed under the MIT license: * http://www.opensource.org/licenses/mit-license.php */ #includ...
<commit_before>// Copyright (C) Microsoft Corporation. All rights reserved. #include "TestAppPch.h" #include <thread> #include <chrono> #include <playfab/PlayFabClientApi.h> #include <playfab/PlayFabEventsApi.h> #include <playfab/PlayFabSettings.h> #include <playfab/QoS/PlayFabQoSApi.h> #include "PlayFabEventTest.h" #...
<commit_before>// This file is part of MLDB. Copyright 2015 Datacratic. All rights reserved. /** http_streambuf.cc Jeremy Barnes, 26 November 2014 Copyright (c) 2014 Datacratic Inc. All rights reserved. */ #include <atomic> #include <boost/iostreams/stream_buffer.hpp> #include "mldb/http/http_rest_proxy.h" ...
<commit_before>// Copyright (c) 2011-2016 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "sync.h" #include "util.h" #include <stdio.h> #include <set> #ifdef DEBUG_LOCKCONTENTION void Print...
<commit_before>// primes.cpp : Defines the entry point for the console application. // #include <stdio.h> bool is_prime(int); char key[1024]; int main(int argc, char* argv[]) { int print_threshold = 10000, threshold_interval = 10000; for (int i = 0; i < 300000; i++) { if (is_prime(i)) { if (i > print_thresh...
<commit_before>#include <ygo/deck/User.h> #include <ygo/deck/DB.h> #include <ygo/deck/DeckSet.h> #include <mindbw/SQLite3.h> #include <ygo/data/Serialize.h> #include <cassert> #include <stdexcept> namespace ygo { namespace deck { User::User(std::string name, bool create) : mName(std::move(name)) { // check...
<commit_before>#include <Poco/Exception.h> #include <Poco/Logger.h> #include <Poco/Nullable.h> #include <Poco/Timestamp.h> #include "di/Injectable.h" #include "model/Device.h" #include "model/Gateway.h" #include "service/DeviceServiceImpl.h" #include "work/DeviceUnpairWork.h" #include "work/WorkFacade.h" BEEEON_OBJEC...
<commit_before>#include <Sound.h> #include <Display.h> #include <SDL.h> #include <SDL_mixer.h> #include <hx/Thread.h> namespace nme { bool gSDLIsInit = false; class SDLSoundChannel; bool sChannelsInit = false; enum { sMaxChannels = 8 }; bool sUsedChannel[sMaxChannels]; bool sDoneChannel[sMaxCh...
<commit_before>/* ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio 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...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (directui@nokia.com) ** ** This file is part of meegotouch-controlpanelsoundsettingsapplet. ** ** If ...
<commit_before>#line 2 "togo/gfx/renderer/private.ipp" /** @copyright MIT license; see @ref index or the accompanying LICENSE file. */ #pragma once #include <togo/config.hpp> #include <togo/gfx/types.hpp> #include <togo/gfx/renderer/types.hpp> #include <togo/gfx/renderer/private.hpp> namespace togo { namespace gfx {...
<commit_before> /* * client.cpp * * Handles the client env. * * Created by Ryan Faulkner on 2014-06-08 * Copyright (c) 2014. All rights reserved. */ #include <iostream> #include <string> #include <vector> #include <regex> #include <assert.h> #include "column_types.h" #include "redis.h" #include "md5.h" #in...
<commit_before>/// \file multipath_mapper.cpp /// /// unit tests for the multipath mapper #include <iostream> #include "json2pb.h" #include "vg.pb.h" #include "../multipath_mapper.hpp" #include "catch.hpp" namespace vg { namespace unittest { TEST_CASE( "MultipathMapper::read_coverage works", "[multipath][mappi...
<commit_before>// Lesson 13.cpp : Defines the entry point for the console application. #include <render_framework\render_framework.h> #pragma comment (lib , "Render Framework" ) using namespace std; using namespace glm; using namespace render_framework; int main() { // Initialize the renderer if (!renderer::get_...
<commit_before>/*************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (directui@nokia.com) ** ** This file is part of libdui. ** ** If you have questions regarding the use ...
<commit_before>#include <iostream> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <openssl/sha.h> #include <iomanip> #include <sstream> #define MAX_SIZE 256 using namespace std; // https://memset.wordpress.com/2010/10/06/using-sha1-function/ // http://stackoverflow.com/questions/11765522/how-do-i-...
<commit_before>#include "widgets/helper/splitinput.hpp" #include "singletons/commandmanager.hpp" #include "singletons/completionmanager.hpp" #include "singletons/ircmanager.hpp" #include "singletons/settingsmanager.hpp" #include "singletons/thememanager.hpp" #include "util/layoutcreator.hpp" #include "widgets/notebook....
<commit_before>/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the "Lice...
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "txdb.h" #include "pow.h" #include "uint256.h" #include ...
<commit_before>/* Copyright 2009 Juan González de Benito. * This source comes from the XtreemFS project. It is licensed under the GPLv2 * (see COPYING for terms and conditions). */ #include "xtreemfs/main.h" using namespace xtreemfs; #include "vivaldi_node.h" #include <cstdio> #include <cstdlib> #include <ctim...
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "txdb.h" #include "pow.h" #include "uint256.h" #include ...
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "txdb.h" #include "chainparams.h" #include "hash.h" #inc...
<commit_before>#pragma once #include <memory> #include <cstdint> #include <string> #include <vector> #include <iostream> #include <variant> namespace dlvm { using namespace dlvm; using namespace std; typedef uint64_t vaddr_t; typedef uint32_t addr_t; typedef uint32_t array_t; typedef variant<int64_t, uint64_t, dou...
<commit_before>#include "degenerate.hpp" //retourne les nucléotides concaténés dans l'ordre (assuré par une itération sur le vecteur nucleotides) const string find_neighbor_motifs( sparse_hash_map<string, pair<int, Node *>> &motifs, sparse_hash_map<char, pair<string, Node *>> &neig...
<commit_before>#include "SUPPORT/generate2.h" #include "SUPPORT/window.h" #include "SUPPORT/geometricObject2.h" #include "SUPPORT/delone10.h" #include "SUPPORT/betaSet.h" #include <iostream> #include <iomanip> #include <fstream> #include <sstream> #include <cstdlib> #include <list> #include <mpi.h> #include <string> #...
<commit_before>//===-- AppleObjCRuntime.cpp --------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===--------------------------------------...
<commit_before>#include "Globals.h" #include "Application.h" #include "ModuleFileSystem.h" #include "PhysFS/include/physfs.h" #include "SDL/include/SDL.h" #include "JSON/parson.h" #pragma comment( lib, "PhysFS/libx86/physfs.lib" ) ModuleFileSystem::ModuleFileSystem(Application* app, bool start_enabled) : Module(app, ...
<commit_before>//////////////////////////////////////////////////////////////////////////////// // // Copyright 2006 - 2015, Paul Beckingham, Federico Hernandez. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: docshel3.cxx,v $ * * $Revision: 1.23 $ * * last change: $Author: kz $ $Date: 2008-04-03 13:27:19 $ * * The Contents of this file are made...
<commit_before>/* * Copyright 2014 BrewPi/Elco Jacobs. * * This file is part of BrewPi. * * BrewPi is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option...
<commit_before>//------------------------------------------------------------------------------ // UI.cc //------------------------------------------------------------------------------ #include "UI.h" #include "yakc_app/Util.h" #include "MemoryWindow.h" #include "MemoryMapWindow.h" #include "DebugWindow.h" #include "...
<commit_before>/* * This file is part of telepathy-accounts-kcm * * Copyright (C) 2009 Collabora Ltd. <info@collabora.com> * Copyright (C) 2011 Thomas Richard <thomas.richard@proan.be> * * 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>no mkdtemp on AIX either<commit_after><|endoftext|>
<commit_before>// ------------------------------------------------------------------------- // @FileName : NFCDataList.h // @Author : LvSheng.Huang // @Date : 2012-03-01 // @Module : NFCDataList // // -------------------------------------------------...
<commit_before>#include "util.h" #include <string> #include <sstream> #include <algorithm> #include <glog/logging.h> #include <openssl/sha.h> #include <curl/curl.h> namespace { const uint32_t buff_size = 1024; const uint32_t json_buff_size = 1024 * 4; const char *json_base = "{\"host\": \"%s\", \"service\"...
<commit_before>// ------------------------------------------------------------------------- // @FileName : NFCProperty.cpp // @Author : LvSheng.Huang // @Date : 2012-03-01 // @Module : NFCProperty // // -----------------------------------------------...
<commit_before>/************************************************************************* * * $RCSfile: sdclient.cxx,v $ * * $Revision: 1.1.1.1 $ * * last change: $Author: hr $ $Date: 2000-09-18 16:48:34 $ * * The Contents of this file are made available subject to the terms of * either of the following l...
<commit_before>/* Copyright (C) 2014-2017 Alexandr Akulich <akulichalexander@gmail.com> This file is a part of TelegramQt library. 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 Foundatio...
<commit_before>#include "VBOMesh.h" #include "AttributeSet.h" #include "GLBlaat/GLBuffer.h" #include "GLBlaat/GLProgram.h" #include <vector> #include <map> #include <string> #include <cassert> #include <iostream> // These might be missing with older GLEW headers #ifndef GL_FLOAT_MAT2x3 #define GL_FLO...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: textdlgs.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: rt $ $Date: 2005-09-08 22:15:15 $ * * The Contents of this file are made ...
<commit_before>// This file is part of gltfpack; see gltfpack.h for version/license details #include "gltfpack.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #ifdef __EMSCRIPTEN__ #include <emscripten.h> #endif static const char* kMimeTypes[][2] = { {"image/jpeg", ".jpg"}, {"image/jpeg", ".jpe...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ViewShellBase.hxx,v $ * * $Revision: 1.19 $ * * last change: $Author: hr $ $Date: 2007-06-27 15:43:56 $ * * The Contents of this file are...
<commit_before>/** * @copyright Copyright 2016 The J-PET Framework 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 find a copy of the License in the LICENCE file. * * Unless required b...
<commit_before>/* * OpenTyrian Classic: A modern cross-platform port of Tyrian * Copyright (C) 2007-2009 The OpenTyrian Development Team * * 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; ...
<commit_before>/* * v8cgi main file. Loosely based on V8's "shell" sample app. */ #define _STRING(x) #x #define STRING(x) _STRING(x) #include <sstream> #include <v8.h> #ifdef FASTCGI # include <fcgi_stdio.h> #endif #include "js_system.h" #include "js_io.h" #include "js_socket.h" #include "js_common.h" #include ...
<commit_before>/* * v8cgi main file. Loosely based on V8's "shell" sample app. */ #include <v8.h> #include "js_system.h" #include "js_io.h" #include "js_mysql.h" #include "js_gd.h" #include "js_common.h" #include <sstream> #include <libgen.h> #define _STRING(x) #x #define STRING(x) _STRING(x) v8::Handle<v8::Array...
<commit_before> #include <stdio.h> #include "../../network/network.h" int main(int argc, char *argv[]) { /* create Data */ FILE *fp; const int trainingDataNum = 60000; float *trainingData[trainingDataNum]; float *labelData[trainingDataNum]; fp = fopen("dataset/mnist/train-images.txt", "r"); if(!fp) return 0; ...
<commit_before><commit_msg>-Werror=undef<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: gridwin.hxx,v $ * * $Revision: 1.21 $ * * last change: $Author: rt $ $Date: 2005-09-08 21:30:53 $ * * The Contents of this file are made ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: pivotsh.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: vg $ $Date: 2007-02-27 13:25:18 $ * * The Contents of this file are made a...
<commit_before>#include "LogManager.h" #include <fstream> using namespace OpenSim; // Initialize static members LogBuffer LogManager::out; LogBuffer LogManager::err; std::ostream LogManager::cout(std::cout.rdbuf()); // This cout writes to the actual standard out std::ostream LogManager::cerr(std::cerr.rdbuf(...
<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/command_line.h" #include "base/file_path.h" #include "base/file_util.h" #include "base/ref_counted.h" #include "base/sco...
<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 "chrome/browser/ui/ash/launcher/launcher_app_icon_loader.h" #include "base/stl_util.h" #include "chrome/browser/extensions/ex...
<commit_before>/* * Medical Image Registration ToolKit (MIRTK) * * Copyright 2008-2015 Imperial College London * Copyright 2008-2013 Daniel Rueckert, Julia Schnabel * Copyright 2013-2015 Andreas Schuh * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compl...
<commit_before>// This file is part of the dune-gdt project: // http://users.dune-project.org/projects/dune-gdt // Copyright holders: Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_GDT_DISCRETEFUNCTION_LOCAL_HH #define DUNE_GDT_DISCRETEFUNCTION_LOCAL_HH #...
<commit_before>//----------------------------------- // Copyright Pierric Gimmig 2013-2017 //----------------------------------- #include "ConnectionManager.h" #include "Capture.h" #include "TcpClient.h" #include "TcpServer.h" #include "TimerManager.h" #include "Serialization.h" #include "TestRemoteMessages.h" #includ...
<commit_before>#pragma once #include <PluginFactory/details/NullPluginService.hpp> #include <PluginFactory/details/PluginExtensionHelper.hpp> #include <PluginFactory/details/PluginHandle.hpp> #include <PluginFactory/details/PolicyHolder.hpp> #include <PluginFactory/details/PluginLoader.hpp> #include <PluginFactory/deta...
<commit_before>/* Author: Vytautas Vislavicius Extention of Generic Flow (https://arxiv.org/abs/1312.3572) */ #include "AliGFWCuts.h" const Int_t AliGFWCuts::fNTrackFlags=9; const Int_t AliGFWCuts::fNEventFlags=8; AliGFWCuts::AliGFWCuts(): fSystFlag(0), fFilterBit(96), fDCAxyCut(7), fDCAzCut(2), fTPCNcls(70),...
<commit_before>#include "ServerException.h" ServerException::ServerException(int code) { } ServerException::const char* what()const throw() { return "ERROR!" } <commit_msg>rebuild exception<commit_after><|endoftext|>
<commit_before>#include <atlconv.h> #include <cstdlib> #include <fstream> #include <iomanip> #include <iostream> #include <stdio.h> #include <tchar.h> #include <windows.h> #include <boost/algorithm/string.hpp> #include <boost/foreach.hpp> #include <boost/program_options.hpp> #include "VoiceroidFactory.h" #include "Yu...
<commit_before>#include"core.hpp" #include<stdexcept> #include<sstream> #include<fcntl.h> // for open FLAGS #include<unistd.h> // for tty checks #include<cstring> // for memset #include<unordered_map> // for cash ics::Core::Core(const std::string& path, speed_t baudrate) : fd {open(path.c_str(), O_RDWR | O_NOCTTY)}, ...
<commit_before>#include "stdafx.h" #include "bbudf.h" #include "curl.h" #include "logger.h" namespace curl { //TODO http://www.openssl.org/docs/crypto/threads.html#DESCRIPTION __thread CURL* ch=NULL; __thread long curl_response_code=0; int curl_global_init_called=0; size_t readfunction_blob( char *ptr, size_t siz...
<commit_before>#include "drawdevice.h" #include <QFile> DrawDevice::DrawDevice(Engine *eng, QWidget *parent) : QWidget(parent) { engine = eng; setGeometry(parent->geometry()); bgm = 0; timer = new QTimer(this); connect(timer, SIGNAL(timeout()), this, SLOT(updateEngine())); timer->start(1000/25...
<commit_before>/* Copyright (c) 2013 Daniele Bartolini, Michele Rossi Copyright (c) 2012 Daniele Bartolini, Simone Boscaratto 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, i...
<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/autofill/autofill_ie_toolbar_import_win.h" #include "base/basictypes.h" #include "base/string16.h" #include "...
<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/chromeos/browser_notification_observers.h" #include <string> #include "base/file_util.h" #include "chrome/br...
<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/debugger/devtools_http_protocol_handler.h" #include "base/compiler_specific.h" #include "base/logging.h" #inc...
<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/command_line.h" #include "base/lock.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/chrome_threa...
<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 "chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h" #include "base/strings/string16.h" #include "base/strings/string_u...
<commit_before>#define _POSIX_C_SOURCE 1 #include <cstdlib> #include <cstring> #include <fstream> #include <iomanip> #include <iostream> #include <stdexcept> #include <utility> #include <typeinfo> #include "timer.h" #include "trie.h" #include "signatures.h" /** Starting with demo-only includes. **/ #includ...
<commit_before>/* * Copyright (C) 2015 The University of Texas at Austin and the * Institute of Human Machine Cognition. All rights reserved. * * 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 F...
<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 <atlbase.h> #include "base/logging.h" #include "chrome_frame/crash_reporting/vectored_handler-impl.h" #include "chrome_frame/...
<commit_before>/* SWARM Copyright (C) 2012-2021 Torbjorn Rognes and Frederic Mahe 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 version 3 of the License, or (...
<commit_before>#include "kernel.h" #include "ilwisdata.h" #include "range.h" #include "itemrange.h" #include "colorrange.h" #include "numericrange.h" #include "continuouscolorLookup.h" using namespace Ilwis; ContinuousColorLookup::ContinuousColorLookup(const QString &definition) { QStringList parts = definition...
<commit_before>/* SWARM Copyright (C) 2012-2020 Torbjorn Rognes and Frederic Mahe 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 version 3 of the License, or (...
<commit_before>#include "FluidProperties3EqnMaterial.h" #include "SinglePhaseFluidProperties.h" #include "Numerics.h" template <> InputParameters validParams<FluidProperties3EqnMaterial>() { InputParameters params = validParams<Material>(); params.addRequiredCoupledVar("area", "Cross-sectional area"); params.ad...
<commit_before>#include "draw.hpp" #include <algorithm> #include <iostream> #include <sstream> #include "args.hpp" #include "config.hpp" #include "task.hpp" #include "todolist.hpp" #include "win.hpp" using std::string; using std::stringstream; // ===================| // internal functions | // ===================| ...
<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...