text
stringlengths
54
60.6k
<commit_before>/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtDeclarative module of the Qt Toolkit. ** ** $QT_...
<commit_before>#include <iostream> const int GLOB = 0; class T { public: T(int t) : _t{t} { std::cout << "T()\n"; } T(T &t) : _t{t._t} { std::cout << "T(&)\n"; } T(T &&t) : _t{t._t} { std::cout << "T(&&)\n"; } ~T(void) { std::cout << "~T()\n"; } private: int _t; }; T getT(void) { T t{1}; return t; } /...
<commit_before>#pragma once #include <cstddef> // std::size_t #include <new> // std::bad_array_new_length #include <limits> // std::numeric_limits namespace cdp { // Allocator requirements: 17.6.3.5 /// A basic reference C++11 allocator mostly for testing and documenting requirements from the standard templa...
<commit_before>/** * * HX711 library for Arduino * https://github.com/bogde/HX711 * * MIT License * (c) 2018 Bogdan Necula * **/ #include <Arduino.h> #include <HX711.h> #if defined(ARDUINO) && ARDUINO <= 106 // "yield" is not implemented as noop in older Arduino Core releases, so let's define it. // See also:...
<commit_before>// // Copyright (C) 2005 SIPfoundry Inc. // Licensed by SIPfoundry under the LGPL license. // // Copyright (C) 2005 Pingtel Corp. // Licensed to SIPfoundry under a Contributor Agreement. // // $$ ////////////////////////////////////////////////////////////////////////////// // SYSTEM INCLUDES // APPLICA...
<commit_before>/* ** Author: Abhilash ** Date: 18.04.2015 */ // Bottom up computation // #include <bits/stdc++.h> #define sf scanf #define pf printf typedef long long ll; using namespace std; const ll N = 1e6+3; const ll inf = 1e18; ll DP[N][3]; ll cost[N][3]; ll n; ll move[4][2] = {{1, -1}, {0, 1}, {1,...
<commit_before>//****************************************************************** // // Copyright 2016 Samsung Electronics All Rights Reserved. // //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file excep...
<commit_before>/** \copyright * Copyright (c) 2019, Mike Dunston * 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 notic...
<commit_before>/***************************************************************************** * utils.cpp: ActiveX control for VLC ***************************************************************************** * Copyright (C) 2005 the VideoLAN team * * Authors: Damien Fouilleul <Damien.Fouilleul@laposte.net> * * ...
<commit_before>// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "core/graph/function_impl.h" #include "core/graph/graph_viewer.h" #include "core/graph/model.h" #include "onnx/shape_inference/implementation.h" namespace onnxruntime { // Auto inferred and generate...
<commit_before>#include <b9/interpreter.hpp> #include <b9/jit.hpp> #include <b9/loader.hpp> #include <cstdio> #include <cstdlib> #include <cstring> #include <iostream> /// B9run's usage string. Printed when run with -help. static const char* usage = "Usage: b9run [<option>...] [--] <module> [<main>]\n" " Or:...
<commit_before>#include "WorldDragWidget.h" #include <KrisLibrary/GLdraw/drawextra.h> using namespace GLDraw; using namespace Klampt; WorldDragWidget::WorldDragWidget(WorldModel* _world) :world(_world),active(true),robotsActive(true),objectsActive(true),terrainsActive(false), highlightColor(1,1,1,0.3),lineColor(1...
<commit_before>/** * This file is part of the CernVM File System. */ #include "gtest/gtest.h" #include <unistd.h> #include <cstdio> #include "../../cvmfs/compression.h" #include "../../cvmfs/download.h" #include "../../cvmfs/hash.h" #include "../../cvmfs/prng.h" #include "../../cvmfs/sink.h" #include "../../cvmfs...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/common/include/p9_mc_scom_addresses_fld_fi...
<commit_before>// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "core/graph/function_impl.h" #include "core/graph/graph_viewer.h" #include "core/graph/model.h" #include "onnx/shape_inference/implementation.h" namespace onnxruntime { void TypeConstraintHelper(con...
<commit_before>#include <b9.hpp> #include <b9/loader.hpp> #include <cstdio> #include <cstdlib> #include <cstring> #include <iostream> /// B9run's usage string. Printed when run with -help. static const char* usage = "Usage: b9run [<option>...] [--] [<module> [<main>]]\n" " Or: b9run -help\n" "Options:\n"...
<commit_before>// This file is part of Eigen, a lightweight C++ template library // for linear algebra. Eigen itself is part of the KDE project. // // Copyright (C) 2008 Gael Guennebaud <g.gael@free.fr> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General P...
<commit_before>// Copyright 2013 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ozone/ui/events/event_converter_in_process.h" #include <sys/mman.h> #include "base/bind.h" #include "base/thread_task_runner_handl...
<commit_before>// Copyright 2021 DeepMind Technologies Limited // // 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>// A fuzzer for floating-point formatter. // For the license information refer to format.h. #include <cstdint> #include <cstdlib> #include <stdexcept> #include <limits> #include <fmt/format.h> #include "fuzzer-common.h" extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { if (si...
<commit_before>// Copyright (c) 2016 Doyub Kim #include <pch.h> #include <physics_helpers.h> #include <jet/array_utils.h> #include <jet/grid_fractional_boundary_condition_solver3.h> #include <jet/level_set_utils.h> #include <jet/surface_to_implicit3.h> #include <algorithm> using namespace jet; GridFractionalBoundary...
<commit_before>/************************************************************************* * * $RCSfile: opostponedtruncationstream.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2005-10-19 14:34:37 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser ...
<commit_before>/* * Copyright 2016-2019 libfptu authors: please see AUTHORS file. * * This file is part of libfptu, aka "Fast Positive Tuples". * * libfptu 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 Foundatio...
<commit_before>// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2009 Gael Guennebaud <gael.guennebaud@gmail.com> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as publi...
<commit_before>#include "enchanthighlighter.hh" #include <enchant++.h> #include <QDebug> EnchantHighlighter::EnchantHighlighter(QTextDocument *parent) : QSyntaxHighlighter(parent) { format.setUnderlineColor(QColor(Qt::red)); format.setUnderlineStyle(QTextCharFormat::SpellCheckUnderline); } EnchantHighligh...
<commit_before>#include "internal.hh" #include <cstring> using namespace std; DWARFPP_BEGIN_NAMESPACE sec_offset value::get_section_offset() const { return cu->info.offset + offset; } taddr value::as_address() const { if (form != DW_FORM::addr) throw value_type_mismatch("cannot read...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: DialogListBox.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2005-09-09 03:36:37 $ * * The Contents of this file are ...
<commit_before>#include <gmi_mesh.h> #include <apf.h> #include <apfMesh2.h> #include <apfMDS.h> #include <PCU.h> #include <parma.h> namespace { const char* modelFile = 0; const char* meshFile = 0; const char* outFile = 0; int partitionFactor = 1; apf::Mesh2* readMesh() { double t0 = MPI_Wtime(); apf::Mesh2* m = ...
<commit_before>#include <x0/http/HttpRangeDef.h> #include <cppunit/extensions/HelperMacros.h> #include <cppunit/extensions/TestFactoryRegistry.h> #include <iostream> #include <cstdlib> #include <cctype> #include <cassert> #include <strings.h> class range_def_test : public CPPUNIT_NS::TestFixture { public: CPPUNIT_TE...
<commit_before>// Copyright (c) 2006-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 "base/thread.h" #include "base/lazy_instance.h" #include "base/string_util.h" #include "base/third_party/dynamic_annotat...
<commit_before>/*! * \file glyph_render_data_restricted_rays.hpp * \brief file glyph_render_data_restricted_rays.hpp * * Copyright 2018 by Intel. * * Contact: kevin.rogovin@intel.com * * 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 distr...
<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>#include <cassert> #include <iostream> #include <time.h> #include <cstdlib> #include <vector> #include <deque> #include "gemmbitserial.hpp" #include "mnistdata.h" using namespace std; using namespace gemmbitserial; #define VERBOSE_TEST(x) ; //#define VERBOSE_TEST(x) x // Generate a random vector of -1...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>#include "optional.h" #include "variant.h" #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN #include "doctest.h" #include <string> #include <vector> #include <type_traits> TEST_CASE("std::variant<T...> traits") { typedef std::variant<bool, float> bool_float_variant; typedef std::variant<int, double,...
<commit_before>#include "master.hpp" namespace factor { factor_vm::factor_vm(THREADHANDLE thread) : ctx(NULL), nursery(0, 0), faulting_p(false), thread(thread), #if defined(WINDOWS) thread_id(GetCurrentThreadId()), ctrl_break_thread(NULL), #endif callback_id(0), c_to_fact...
<commit_before>#include "vm.hpp" #include "objectmemory.hpp" #include "objects.hpp" #include "event.hpp" #include "global_cache.hpp" #include "llvm.hpp" #include "builtin/class.hpp" #include "builtin/contexts.hpp" #include "builtin/fixnum.hpp" #include "builtin/list.hpp" #include "builtin/symbol.hpp" #include "builtin/...
<commit_before>/* * Copyright (C) 2009-2011, 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. */ #include <cl...
<commit_before>#include <utils/logger.h> #include <algorithm> #include "DaedalusDialogManager.h" #include "DaedalusVM.h" #include "DaedalusStdlib.h" using namespace Daedalus; using namespace GameState; using namespace ZenLoad; DaedalusDialogManager::DaedalusDialogManager(Daedalus::DaedalusVM& vm,const std::string& ou...
<commit_before>#include <stdio.h> #include <stdint.h> #include <chrono> #ifdef LOWSTAR #include "Low_GCMencrypt.h" #endif // LOWSTAR typedef unsigned char byte; struct args { byte *plain_ptr; uint64_t plain_num_bytes; byte *auth_ptr; uint64_t auth_num_bytes; byte *iv_ptr; byte *expanded_key_p...
<commit_before>//--------------------------------------------------------------------*- C++ -*- // CLING - the C++ LLVM-based InterpreterG :) // author: Axel Naumann <axel@cern.ch> // // This file is dual-licensed: you can choose to license it under the University // of Illinois Open Source License or the GNU Lesser G...
<commit_before>/* * copyright: (c) RDO-Team, 2011 * filename : procgui.cpp * author : * date : 22.04.2011 * bref : * indent : 4T */ // ====================================================================== PCH // ====================================================================== INC...
<commit_before>/* vim: set sw=4 sts=4 et foldmethod=syntax : */ #include <max_clique/mpicco_max_clique.hh> #include <max_clique/cco_base.hh> #include <graph/template_voodoo.hh> #include <boost/mpi.hpp> #include <algorithm> #include <thread> #include <mutex> using namespace parasols; namespace mpi = boost::mpi; na...
<commit_before>#include <deque> using namespace std; #include <gtest/gtest.h> #include "../src/pulseTrain.hpp" class defaultPulseTrain : public ::testing::Test { protected: pulseTrain myTrain; }; class filledPulseTrain : public ::testing::Test { protected: virtual void SetUp() { firstPulse = freqPulse(10, 20...
<commit_before>// Scintilla source code edit control /** @file LexerModule.cxx ** Colourise for particular languages. **/ // Copyright 1998-2010 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. #include <stdlib.h> #include <string.h>...
<commit_before>// Test under-development. Calls async mem-copy API, experiment with functionality. #include "hip_runtime.h" #include "test_common.h" unsigned p_streams = 2; void simpleNegTest() { printf ("testing: %s\n",__func__); hipError_t e; float *A_malloc, *A_pinned, *A_d; size_t Nbytes = N*s...
<commit_before>#include <geometry/camera.h> #include <geometry/camera_functions.h> #include <iostream> Camera Camera::CreatePerspectiveCamera(double focal, double k1, double k2) { Camera camera; camera.type_ = ProjectionType::PERSPECTIVE; camera.parameters_[Camera::Parameters::Focal] = focal; camera.parameters...
<commit_before>#include "General.h" #include "require.h" #include "Options.h" #include "DataSet.h" #include "RecursiveNN.h" #include <cstdlib> #include <cfloat> #include <ctime> #include <map> #include <vector> #include <fstream> #include <sstream> #include <iostream> using namespace std; double adjustLearningRate(dou...
<commit_before><commit_msg>Sat: sync code<commit_after><|endoftext|>
<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>#include <iostream> #include <algorithm> #include "vtrc-transformer-iface.h" #include "vtrc-random-device.h" #include "vtrc-hash-iface.h" #include "vtrc-memory.h" #include "crypt/chacha/ecrypt-sync.h" namespace vtrc { namespace common { namespace { struct transformer_chacha: public trans...
<commit_before>// Time: O(nlogn) // Space: O(1) /** * class Compare { * public: * static int cmp(int a, int b); * }; * You can use Compare::cmp(a, b) to compare nuts "a" and bolts "b", * if "a" is bigger than "b", it will return 1, else if they are equal, * it will return 0, else if "a" is smaller than...
<commit_before>#include <stan/math/error_handling/matrix/check_ordered.hpp> #include <gtest/gtest.h> using stan::math::check_ordered; TEST(MathErrorHandlingMatrix, checkOrdered) { double result; Eigen::Matrix<double, Eigen::Dynamic, 1> y; y.resize(3); y << 0, 1, 2; EXPECT_TRUE(check_ordered("check_ordered(...
<commit_before>//===-- Passes.cpp - Target independent code generation passes ------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>// Copyright (C) 2014 The Regents of the University of California (Regents). // 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 r...
<commit_before>/* * Copyright (C) 2012 Intel 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: * 1. Redistributions of source code must retain the above copyright * notice, this list ...
<commit_before>// Copyright 2015-2018 Elviss Strazdins. All rights reserved. #include "StaticMeshRenderer.hpp" #include "core/Engine.hpp" #include "utils/Utils.hpp" namespace ouzel { namespace scene { StaticMeshData::StaticMeshData(Box3<float> initBoundingBox, co...
<commit_before>#include <tests/Base.hh> #include <cmath> #include <aleph/geometry/CoverTree.hh> using namespace aleph::geometry; template <class T> struct SimpleMetric { T operator()( T a, T b ) { return std::abs( a - b ); } }; template <class T> void testSimple() { ALEPH_TEST_BEGIN( "Simple" ); Cov...
<commit_before>/* * Copyright 2015 Cask Data, 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 applicable l...
<commit_before>/* Copyright 2021, The TensorFlow Federated 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 la...
<commit_before>/* Resembla: Word-based Japanese similar sentence search library https://github.com/tuem/resembla Copyright 2017 Takashi Uemura 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 h...
<commit_before>//===----------------- lib/Jit/options.cpp ----------------------*- C++ -*-===// // // LLILC // // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. // See LICENSE file in the project root for full license information. // //===-----------------------------------------------...
<commit_before><commit_msg>linux: raise logging level since INFO doesn't show in Release (?)<commit_after><|endoftext|>
<commit_before><commit_msg>Fix build.<commit_after><|endoftext|>
<commit_before> // // This source file is part of appleseed. // Visit http://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2010-2012 Francois Beaune, Jupiter Jazz // // Permission is hereby granted, free of charge, to any person obt...
<commit_before>//---------------------------- work_stream_03.cc --------------------------- // $Id$ // Version: $Name$ // // Copyright (C) 2006, 2013 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer // to ...
<commit_before>/**************************************************************************** * * Copyright (C) 2019 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: *...
<commit_before>#include "hand.h" #include "card.h" #include "gameExceptions.h" #include <vector> Hand::Hand() { _cards = std::vector<Card>(); } Hand::Hand( std::vector<Card> cards ) { _cards = std::vector<Card>(); _cards.reserve(cards.size()); _cards = cards; } unsigned int Hand::GetScore() { u...
<commit_before>/************************************************************************* * * $RCSfile: ZipPackageFolder.hxx,v $ * * $Revision: 1.19 $ * * last change: $Author: mtg $ $Date: 2001-04-27 14:56:05 $ * * The Contents of this file are made available subject to the terms of * either of the follo...
<commit_before>#include <numeric> #include <set> #include <arbiter/util/time.hpp> #include <arbiter/arbiter.hpp> #include <arbiter/util/transforms.hpp> #include "config.hpp" #include "gtest/gtest.h" using namespace arbiter; TEST(Env, HomeDir) { std::string home; ASSERT_NO_THROW(home = arbiter::fs::expandT...
<commit_before>//===-- WebAssemblyFixFunctionBitcasts.cpp - Fix function bitcasts --------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>//------------------------------------------------------------------------------------------- // Painting with Flowsnakes // fsnake program modified to use open gl vertex arrays Brian Wyvill October 2012 // added save/restore and postscript driver November 2012 // fixed memory management November 2012...
<commit_before>/* * ****************************************************************************** * * * * * * This program and the accompanying materials are made available under the * * terms of the Apache License, Version 2.0 which is available at * * https://www.apache.org/licenses/LICENSE-2.0. * * *...
<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 ...
<commit_before>/* * NotebookQueue.cpp * * Copyright (C) 2009-16 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero General...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of Qt Creator. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No Commer...
<commit_before>//============================================================================================================= /** * @file test_mne_forward_solution.cpp * @author Christoph Dinh <chdinh@nmr.mgh.harvard.edu>; * Matti Hamalainen <msh@nmr.mgh.harvard.edu> * @version 1.0 * @date Decembe...
<commit_before>/* * The Apache Software License, Version 1.1 * * Copyright (c) 1999-2000 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. Redis...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LG...
<commit_before>// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are ...
<commit_before>// // File: GameController.cpp // Class: GameController // Author: John Barbero Unenge // All code is my own except where credited to others. // // Copyright (c) 2012 Catch22. All Rights Reserved. // // Date: 24/9/12 // #include "GameController.hpp" #include "../Helper/Logger.hpp" #includ...
<commit_before>/** * @file * @brief Definition of Object base class * @copyright Copyright (c) 2017 CERN and the Corryvreckan authors. * This software is distributed under the terms of the MIT License, copied verbatim in the file "LICENSE.md". * In applying this license, CERN does not waive the privileges and immu...
<commit_before>// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/fastos/fastos.h> #include <iostream> #include <string> #include <cstdlib> #include <boost/program_options.hpp> #include <boost/exception/diagnostic_information.hpp> #include...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: multisigdemo.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: vg $ $Date: 2006-04-07 11:58:21 $ * * The Contents of this file are m...
<commit_before>// // CRTC6845.hpp // Clock Signal // // Created by Thomas Harte on 31/07/2017. // Copyright © 2017 Thomas Harte. All rights reserved. // #ifndef CRTC6845_hpp #define CRTC6845_hpp #include "../../ClockReceiver/ClockReceiver.hpp" #include <cstdint> #include <cstdio> namespace Motorola { namespace ...
<commit_before>#include "catch.hpp" #include "scene/drawRule.h" #include "scene/sceneLayer.h" #include "platform.h" #include <cstdio> #include <algorithm> using namespace Tangram; // Functions to initialize DrawRule instances const int dg1 = 0; const int dg2 = 1; DrawRuleData instance_a() { std::vector<StyleP...
<commit_before>#include <tst/set.hpp> #include <tst/check.hpp> #include <utki/singleton.hpp> namespace{ class test_singleton : public utki::singleton<test_singleton>{ public: int a = 13; }; } namespace{ tst::set set("singleton", [](tst::suite& suite){ suite.add( "only_one_singleton_instance_can_exist_at_a_time",...
<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) 2011-2012, John Haddon. All rights reserved. // Copyright (c) 2011-2015, Image Engine Design Inc. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modificatio...
<commit_before>#include <set> #include "Game/Physics/MergeBuilder.h" #ifdef DEBUG //#define DEBUG_MAPSPEW #endif #ifdef DEBUG_MAPSPEW #include <iostream> #include <sstream> #endif using namespace Wulf; using namespace Wulf::Physics; bool notMergable(TileType type) { return type == TileType::Door || type == TileType...
<commit_before>#include <stdint.h> #include <iostream> #include <stdexcept> #include "allowedtypes.hpp" #include "bin_file.hpp" #include "renderer.hpp" #include "statistics.hpp" #include "string_util.hpp" using allowed::AllowedTypes; using std::cout; using std::endl; using std::runtime_error; using std::size_t; using...
<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 * "...
<commit_before>//===--- OwnershipModelEliminator.cpp - Eliminate SILOwnership Instr. -----===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<commit_before>/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2008 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documen...
<commit_before>/************************************************************************* * * $RCSfile: query.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: oj $ $Date: 2000-10-25 07:30:24 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: JAccess.hxx,v $ * * $Revision: 1.7 $ * * last change: $Author: hr $ $Date: 2007-06-27 12:25:02 $ * * The Contents of this file are made a...
<commit_before>/*===========================================================================*\ * * * OpenMesh * * Copyright (C) 2001-2011 by Computer Graphics Group, RWTH Aa...
<commit_before>#include "SDBPShardConnection.h" #include "SDBPClient.h" #include "Application/Common/ClientResponse.h" #include "Application/SDBP/SDBPRequestMessage.h" #include "Application/SDBP/SDBPResponseMessage.h" #define CONN_BUFSIZE 4096 #define CLIENT_MUTEX_GUARD_DECLARE() MutexGuard mutexGuard(client->m...