text
stringlengths
54
60.6k
<commit_before>// <<<<<<< HEAD // #include "game.hpp" // #include "component_drawable.hpp" // #include "component_position.hpp" // #include "strapon/resource_manager/resource_manager.hpp" // #include "entityx/entityx.h" // #include <glm/vec2.hpp> // #include <SDL2/SDL.h> // #include <SDL2/SDL_image.h> // // class Dr...
<commit_before>#include "tarsnaptask.h" #include "utils.h" #include "debug.h" #if defined Q_OS_UNIX #include <signal.h> #endif #define DEFAULT_TIMEOUT_MS 5000 #define LOG_MAX_LENGTH 10240 TarsnapTask::TarsnapTask() : QObject(), _process(nullptr), _truncateLogOutput(false) { } TarsnapTask::~TarsnapTask() { } vo...
<commit_before>#ifndef __TEXT_SERVER_H__ #define __TEXT_SERVER_H__ #include "connection.hpp" #include <arpa/inet.h> #include <errno.h> #include <string.h> // memset #include <unistd.h> #include <thread> namespace httptth { class scoped_fd { public: explicit scoped_fd(int descriptor) : fd(descriptor) {} ~sc...
<commit_before>// // Programmer: Craig Stuart Sapp <[email protected]> // Creation Date: Wed Nov 30 01:02:57 PST 2016 // Last Modified: Fri Dec 2 03:45:34 PST 2016 // Filename: tool-filter.cpp // URL: https://github.com/craigsapp/minHumdrum/blob/master/src/tool-filter.cpp // Syntax: C++...
<commit_before>/* * Copyright 2017-2018 Tom van Dijk, Johannes Kepler University Linz * * 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...
<commit_before>/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2016 Couchbase, 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 a...
<commit_before>/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2013 Couchbase, 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 a...
<commit_before>#include "qtfirebaseremoteconfig.h" namespace remote_config = ::firebase::remote_config; QtFirebaseRemoteConfig *QtFirebaseRemoteConfig::self = 0; QtFirebaseRemoteConfig::QtFirebaseRemoteConfig(QObject *parent) : QObject(parent), _ready(false), _initializing(false), _cacheExpirationTim...
<commit_before>#include "qtfirebaseremoteconfig.h" namespace remote_config = ::firebase::remote_config; QtFirebaseRemoteConfig *QtFirebaseRemoteConfig::self = 0; QtFirebaseRemoteConfig::QtFirebaseRemoteConfig(QObject *parent) : QObject(parent), _ready(false), _initializing(false), _cacheExpirationTim...
<commit_before>// // File: ShaderModule.cpp // Author: Hongtae Kim ([email protected]) // // Copyright (c) 2016-2017 Hongtae Kim. All rights reserved. // #include "../GraphicsAPI.h" #if DKGL_ENABLE_VULKAN #include "Extensions.h" #include "Types.h" #include "ShaderModule.h" #include "ShaderFunction.h" ...
<commit_before>/* * Neighbors.cc * * Copyright (C) 2014 OpenCog Foundation * * Author: William Ma <https://github.com/williampma> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License v3 as * published by the Free Software Foundat...
<commit_before>//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2018 Ryo Suzuki // Copyright (c) 2016-2018 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # pragma once # include <type_t...
<commit_before>// Copyright 2010-2013 RethinkDB, all rights reserved. #include "rdb_protocol/terms/terms.hpp" #include "rdb_protocol/error.hpp" #include "rdb_protocol/op.hpp" namespace ql { template<int (*const F)(int)> const char *case_name(); template<> const char *case_name<::toupper>() { return "upcase"; } templ...
<commit_before>/** * OpenAL cross platform audio library * Copyright (C) 2018 by Raul Herraiz. * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License,...
<commit_before>/* * VRJuggler * Copyright (C) 1997,1998,1999,2000 * Iowa State University Research Foundation, Inc. * All Rights Reserved * * Original Authors: * Allen Bierbaum, Christopher Just, * Patrick Hartling, Kevin Meinert, * Carolina Cruz-Neira, Albert Baker * * This library is free softw...
<commit_before>#include <iostream> #include <fstream> #include <climits> #include <ctime> #define minVal adj[i][j].value < min && adj[i][j].value != -1 #define setMin min = adj[i][j].value; k = i; l = j; const char* nn = "ABCDEFG"; // node names using namespace std; //const static int n = 40; const static int n = ...
<commit_before>// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. #pragma once #if !defined(RXCPP_RX_SUBSCRIPTION_HPP) #define RXCPP_RX_SUBSCRIPTION_HPP #include "rx-includes.hpp" namespace rxcpp { namespace detail { template<class ...
<commit_before>/*** * Copyright (c) 2013, Dan Hasting * 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, ...
<commit_before>#include "stdafx.h" #include "util/fixes.h" #include "dispatcher.h" #include "condition.h" #include "gamesystems/objects/objsystem.h" #include "ui/ui_systems.h" #include "ui/ui_legacysystems.h" #define CONDFIX(fname) static int fname ## (DispatcherCallbackArgs args); #define HOOK_ORG(fname) static int ...
<commit_before>/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2013 Torus Knot Software Ltd Permission is hereby granted, free of charge, to ...
<commit_before>#include <ContentForgeTool.h> #include <Utils.h> //#include <ParamsUtils.h> //#include <CLI11.hpp> #include <Recast.h> #include <DetourNavMesh.h> // For max vertices per polygon constant #include <DetourNavMeshBuilder.h> namespace fs = std::filesystem; // Set working directory to $(TargetDir) // Exampl...
<commit_before>/* * Copyright (c) , Arm Limited and affiliates. * SPDX-License-Identifier: Apache-2.0 * * 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/lic...
<commit_before>/* -------------------------------------------------------------------------- */ /* Copyright 2002-2009, Distributed Systems Architecture Group, Universidad */ /* Complutense de Madrid (dsa-research.org) */ /* ...
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2019 The Bitcoin Core developers // Copyright (c) 2014-2019 The DigiByte Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <...
<commit_before>/* * Qt4 bitcoin GUI. * * W.J. van der Laan 2011-2012 * The Bitcoin Developers 2011-2013 */ #include "walletstack.h" #include "walletview.h" #include "bitcoingui.h" #include <QMap> #include <QMessageBox> WalletStack::WalletStack(QWidget *parent) : QStackedWidget(parent), clientModel(0), ...
<commit_before>#include "clstm.h" #include <assert.h> #include <math.h> #include <fstream> #include <iostream> #include <iostream> #include <memory> #include <regex> #include <set> #include <sstream> #include <vector> #include "clstmhl.h" #include "extras.h" #include "pstring.h" #include "utils.h" using namespace Eige...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation ([email protected]) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LG...
<commit_before>/* * 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 3 of the License, or * (at your option) any later version. * * Written (W) 2012 Sergey Lisitsyn * Copyrigh...
<commit_before>/* Flexisip, a flexible SIP proxy server with media capabilities. Copyright (C) 2010 Belledonne Communications SARL. 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...
<commit_before>#ifndef COMBINATIONS_HPP_ #define COMBINATIONS_HPP_ #include "iterbase.hpp" #include <vector> #include <type_traits> #include <iterator> #include <initializer_list> namespace iter { template <typename Container> class Combinator; template <typename Container> Combinator<Container> com...
<commit_before>/* vim: tabstop=2 shiftwidth=2 expandtab textwidth=80 linebreak wrap * * Copyright 2012 Matthew McCormick * Copyright 2015 Pawel 'l0ner' Soltys * * 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 ...
<commit_before>#ifndef __MODEL_HPP_INCLUDED #define __MODEL_HPP_INCLUDED // Include GLEW #ifndef __GL_GLEW_H_INCLUDED #define __GL_GLEW_H_INCLUDED #include <GL/glew.h> #endif // Include GLFW #ifndef __GLFW3_H_INCLUDED #define __GLFW3_H_INCLUDED #include <glfw3.h> #endif // Include GLM #ifndef __GLM_GLM_HPP_INCLUDED ...
<commit_before>#include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> #include<queue> #include<iomanip> using namespace std; #define ll long long #define mem(Arr,x) memset(Arr,x,sizeof(Arr)) #define Find(Arr,size,x) (lower_bound(&Arr[1],&Arr[size+1],x)-Arr) const int maxN=2010; co...
<commit_before>/** @file @brief Implementation @date 2015 @author Sensics, Inc. <http://sensics.com/osvr> */ // Copyright 2015 Sensics, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain ...
<commit_before>#include "stdsneezy.h" #include "games.h" HiLoGame gHiLo; const float WIN_INIT=0.10; bool HiLoGame::enter(const TBeing *ch) { if(inuse){ ch->sendTo("This table is already in use.\n\r"); return false; } inuse = true; hilo_shuffle(ch); bet = 0; name=ch->name; return true; } void...
<commit_before>#include "prov_info.h" #include "../helper.h" using namespace crypt; NTSTATUS FreeKey(HCRYPTPROV_OR_NCRYPT_KEY_HANDLE handle) { if (NCryptIsKeyHandle(handle)) { return NCryptFreeObject(handle); } else { if (!CryptReleaseContext(handle, 0)) { return GetLastError(...
<commit_before>/** * @file consensushash.cpp * * This file contains the function to generate consensus hashes. */ #include "omnicore/consensushash.h" #include "omnicore/dex.h" #include "omnicore/mdex.h" #include "omnicore/log.h" #include "omnicore/omnicore.h" #include "omnicore/sp.h" #include <stdint.h> #include ...
<commit_before>// Copyright (c) 2015 Pierre Moulon. // 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/. #ifndef OPENMVG_SFM_REPORT_HPP #define OPENMVG_SFM_REPORT_HPP #...
<commit_before>// *************************************************************************** // // Generated automatically by genwrapper. // Please DO NOT EDIT this file! // // *************************************************************************** #include <osgIntrospection/ReflectionMacros> #include <osgInt...
<commit_before>#include <iostream> #include <stack> #include <queue> #include <cmath> using std::stack; using std::queue; #include "operatorregistry.h" #include "tokenizer.h" double toNumber(string numberString) { return std::stod(numberString); } double factorial(double n) { return (n <= 1) ? 1 : n * factorial(n...
<commit_before>//===- CorrelatedValuePropagation.cpp - Propagate CFG-derived info --------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#include "data_uri.h" #include <algorithm> #include <iostream> #include <string> #include "base64.h" using std::cout; using std::endl; using std::string; size_t DataURI::Leanify(size_t size_leanified /*= 0*/) { uint8_t *p_read = fp_, *p_write = fp_ - size_leanified; while (p_read < fp_ + size_) ...
<commit_before>#include "camera.hpp" //constructors Camera::Camera() : _position{0.0}, _direction{1.0,0.0,0.0}, _aperture{40.0} {} Camera::Camera(glm::vec3 const& direction, float aperture) : _direction{direction}, _aperture{aperture} {} Camera::Camera(std::string const& name, float aperture) : _name{name}, _apertur...
<commit_before>#include <curl/curl.h> #include <boost/filesystem.hpp> #include <boost/program_options.hpp> #include <iomanip> #include <iostream> #include "accumulator.h" #include "authenticate.h" #include "json/json.h" #include "logging/logging.h" #include "treehub_server.h" namespace po = boost::program_options; us...
<commit_before>#ifndef scoped_H__ #define scoped_H__ namespace testbed { //////////////////////////////////////////////////////////////////////////////////////////////////// // scoped_ptr and scoped_linkage_ptr provide end-of-scope actions on arbitrary and external linkage // pointers, respectively. In addition, scop...
<commit_before>/* This file is part of Strigi Desktop Search * * Copyright (C) 2007 Jos van den Oever <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; eithe...
<commit_before>/* * Copyright (c) 1998-2004, Index Data. * See the file LICENSE for details. * * $Id: yaz-cql2rpn.cpp,v 1.11 2007-01-12 10:09:25 adam Exp $ */ #include <yaz/log.h> #include <yaz/pquery.h> #include <yazpp/cql2rpn.h> using namespace yazpp_1; Yaz_cql2rpn::Yaz_cql2rpn() { m_transform = 0; } Ya...
<commit_before>/* * Copyright (C) 2008 Nokia Corporation. * * Contact: Marius Vollmer <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version 2.1 as published by the Free Software Foundation. * *...
<commit_before>// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #include "event_dispatcher.h" #include <algorithm> #ifdef WIN32 #include <chrono> using namespace std::chrono; #else #include <boost/chrono.hpp> using namespace boost::chrono;...
<commit_before>/* * UIRenderSystem.cpp * * Created on: 14 Sep 2014 * Author: Ashley Davis (SgtCoDFish) */ #include <string> #include <algorithm> #include <bitset> #include "SDL2/SDL.h" #include "Ashley/AshleyCore.hpp" #include "StinkingRich.hpp" #include "StinkingRichConstants.hpp" #include "components/YesNoQu...
<commit_before>#pragma once #include <eosio/chain/transaction_metadata.hpp> #include <eosio/chain/trace.hpp> #include <eosio/chain/block_state.hpp> #include <eosio/chain/exceptions.hpp> #include <boost/multi_index_container.hpp> #include <boost/multi_index/hashed_index.hpp> #include <boost/multi_index/member.hpp> na...
<commit_before>/* * Copyright 2016 The Imaging Source Europe GmbH * * 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>/* * Copyright (c) 2013-2015 John Connor (BM-NC49AxAjcqVcF5jNPu85Rb8MJ2d9JqZt) * * This file is part of vanillacoin. * * vanillacoin is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License with * additional permissions to the one publis...
<commit_before>// Copyright (c) 2020 Dr. Colin Hirsch and Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/ #include "test.hpp" #include "verify_meta.hpp" namespace TAO_PEGTL_NAMESPACE { template< tracking_mode M > void unit_test() { memory_input< M > in( "foo\nba...
<commit_before>#include "StdAfx.h" #include "Tests.h" #include "stdlib.h" #define WIN32_LEAN_AND_MEAN #include <Windows.h> void TestAllocationMismatch_malloc_delete() { int* pint = (int*)malloc(56); // use the wrong function to deallocate delete pint; } void TestAllocationMismatch_malloc_deleteVec() { int* pint =...
<commit_before>#include <iostream> // std::cout, std::cin, std::endl #include <queue> // std::queue, std::push, std::pop, std::front #include <tuple> #include "extra.hpp" // int_to_string #ifndef CUBE_H #define CUBE_H class Cube { /* Vamos a definir que un cubo tiene las siguientes caras, que co...
<commit_before>/****************************************************************************** * Copyright 2017 The Apollo 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 ...
<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 not d...
<commit_before>#include "Processor.h" #include "Config.h" #include "Controller.h" #include "SpeedyController.h" #include "Memory.h" #include "DRAM.h" #include "Statistics.h" #include <cstdio> #include <cstdlib> #include <cstring> #include <stdlib.h> #include <functional> #include <map> /* Standards */ #include "Gem5Wr...
<commit_before>#include <iostream> #include <opencv2/opencv.hpp> #include "DB.hpp" #include "Image.hpp" #include "Mosaic.hpp" int main() { // Setup directory and folder paths, no recursive solution yet string image_name = "zlatan_blue_background_1920x1080.jpg"; // ----> Directory for: KRISTOFER <----- //string m...
<commit_before>#include "Note.h" #include <math.h> namespace rparser { const char *kNoteTypesStr[] = { "NONE", "NOTE", "TOUCH", "KNOB", "BGM", "BGA", "TEMPO", "SPECIAL", }; const char *kNoteSubTypesStr[] = { "NORMAL", "INVISIBLE", "LONGNOTE", "CHARGE", "HCHARGE", "MINE", "AUTO", "FAKE...
<commit_before>/*========================================================================= Program: Visualization Library Module: Pixel.cc Language: C++ Date: $Date$ Version: $Revision$ This file is part of the Visualization Library. No part of this file or its contents may be copied, reproduce...
<commit_before>// For conditions of distribution and use, see copyright notice in license.txt #include <boost/algorithm/string.hpp> #ifndef unix #include <float.h> #else #include "CoreTypes.h" #endif #include "RexNetworkUtils.h" #include "QuatUtils.h" #include <QStringList> namespace RexTypes { bool ParseBo...
<commit_before>#include "PRINTOBJ.H" #include "DRAW.H" #include "SPECIFIC.H" #include "MATHS.H" #include "3D_GEN.H" #include "CONTROL.H" #include "SETUP.H" #include "ITEMS.H" #include "EFFECTS.H" #include "LOAD_LEV.H" #include "DELTAPAK.H" #include "DRAWOBJ.H" void CalcAllAnimatingItems_ASM() { UNIMPLEMENTED(); } v...
<commit_before>#include "xUnitAssert.h" namespace { std::string AssembleWhat(const std::string &call, const std::vector<std::string> &userMsg, const std::string &customMsg, const std::string &expected, const std::string &actual) { std::string msg = call + "() failure...
<commit_before>/** * Exercise 5 : Read in a gph-file, computes the longest (with respect to the edge weights) shortest path from any vertex to the vertex with index 1. * * @author FirstSanny */ #include <iostream> #include <fstream> #include <utility> #include <vector> #include <climits> #include <boost/graph/adja...
<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 documenta...
<commit_before>#include "TexManagementGL.h" std::string TexManagementGL::fetchTexPath(TextureId texId) { std::string pathComplete = texPath; switch(texId) { case TEXTURE_PACMAN: pathComplete += texPacman; break; case TEXTURE_WALL: pathComplete += texWall; break; case TEXTURE_PILL: pathComplete += texPi...
<commit_before>/* Copyright (c) 2016 PaddlePaddle 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 ap...
<commit_before>// This file is part of the KDE libraries // Copyright (C) 2008 Paul Giannaros <[email protected]> // Copyright (C) 2009 Dominik Haumann <dhaumann kde org> // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public // License as pub...
<commit_before>/* Copyright (c) 2009 Yahoo! Inc. All rights reserved. The copyrights embodied in the content of this file are licensed under the BSD (revised) open source license */ #include <math.h> #include <ctype.h> #include "parse_example.h" #include "hash.h" #include "cache.h" #include "unique_sort.h" using n...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: PyVTKSpecialObject.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
<commit_before>/*========================================================================= Library : Image Registration Toolkit (IRTK) Module : $Id$ Copyright : Imperial College, Department of Computing Visual Information Processing (VIP), 2008 onwards Date : $Date$ Version : $Revis...
<commit_before>/* Copyright (c) 2013, Project OSRM, Dennis Luxen, others All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list...
<commit_before>// // Copyright (c) 2008-2013 the Urho3D project. // // 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...
<commit_before>#include "openmc/bank.h" #include "openmc/capi.h" #include "openmc/error.h" #include <cstdint> // Explicit template instantiation definition template class std::vector<openmc::Particle::Bank>; namespace openmc { //============================================================================== // Glob...
<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. // This is really Posix minus Mac. Mac code is in base_paths_mac.mm. #include "base/base_paths.h" #include <unistd.h> #include "base...
<commit_before>#include "robot_interface/arm_perception_ctrl.h" #include <tf/transform_datatypes.h> using namespace std; using namespace human_robot_collaboration_msgs; ArmPerceptionCtrl::ArmPerceptionCtrl(std::string _name, std::string _limb, bool _use_robot) : ArmCtrl(_name,_limb, _use_robot),...
<commit_before> #pragma once // This code comes from: // https://code.google.com/p/or-tools/source/browse/trunk/src/base/fingerprint2011.h // and was adapted to Visual Studio 2013 and to the needs of this project. // Copyright 2010-2014 Google // Licensed under the Apache License, Version 2.0 (the "License"); // you...
<commit_before>// Copyright (c) 2018 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. #include <hspp/Cards/Entity.h> namespace Hearthstonepp...
<commit_before>// Copyright 2012-2019 Richard Copley // // 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 applicab...
<commit_before>#include <ph.h> #include <chef.h> #include <phstream.h> #include <phAttrib.h> #include <phInput.h> #include <phBC.h> #include <phRestart.h> #include <phAdapt.h> #include <phOutput.h> #include <phPartition.h> #include <phFilterMatching.h> #include <apfMDS.h> #include <apfMesh2.h> #include <apfPartition.h>...
<commit_before><commit_msg>PLANNING TEST: unit test timeout so add todo to fix<commit_after><|endoftext|>
<commit_before>/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ClassAssemblingUtils.h" #include <boost/algorithm/string.hpp> #include "Creators.h" #include "DexStoreU...
<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><commit_msg>planning: fix a bug in Standby stage<commit_after><|endoftext|>
<commit_before>#include "OS.hpp" #include <port/port.hpp> PriorityQueue_t<TaskStruct_t, MAX_TASKS> TaskQueue; TaskStruct_t ActrualRunningTaskStruct; void sys::boot() { InitSysTick(); ActrualRunningTaskStruct = TaskQueue.front(); TaskQueue.pop(); ContextSet(&ActrualRunningTaskStruct.lowLevel); // ...
<commit_before>//===--------------------------------------------------------------------------------*- C++ -*-===// // _ _ // | | | | // __ _| |_ ___| | __ _ _ __ __ _ // / _` | __/ __| |/ _` | '_ \ / _` | // ...
<commit_before>/* Copyright 2016 Jonathan Bayle, Thomas Medioni 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 require...
<commit_before>/* * Copyright (C) 2008 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>/*********************************************************************************************************************** ** ** Copyright (c) 2011, 2014 ETH Zurich ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the...
<commit_before>/* Copyright (c) 2014, Project OSRM, Dennis Luxen, others All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list...
<commit_before>/** * projectM -- Milkdrop-esque visualisation SDK * Copyright (C)2003-2004 projectM Team * * 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.1 of t...
<commit_before>// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/vespalib/testkit/test_kit.h> #include <vespa/eval/eval/tensor_function.h> #include <vespa/eval/eval/test/eval_fixture.h> #include <vespa/eval/eval/test/gen_spec.h> #include <v...
<commit_before>/******************************************************************** * livegrep -- chunk.cc * Copyright (c) 2011-2013 Nelson Elhage * * This program is free software. You may use, redistribute, and/or * modify it under the terms listed in the COPYING file. *****************************************...
<commit_before>/******************************************************************************* * ALMA - Atacama Large Millimeter Array * Copyright (c) ESO - European Southern Observatory, 2011 * (in the framework of the ALMA collaboration). * All rights reserved. * * This library is free software; you can redis...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation ([email protected]) ** ** This file is part of the Qt Linguist of the Qt Toolkit. ** ** $QT_BEGIN_LIC...
<commit_before><commit_msg>WaE: type name first seen using 'class' now seen using 'struct'<commit_after><|endoftext|>
<commit_before>#include "scimed/wx.h" // todo: // add loading, zooming and panning in image // add loading/saving and specifying areas // add preview pane class MyFrame: public wxFrame { public: MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size) : wxFrame(NULL, wxID_ANY, title, pos, size) { ...
<commit_before>// Copyright (C) 2011 Oliver Schulz <[email protected]> // This 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.1 of the License, or // (at your option) any...