text
stringlengths
54
60.6k
<commit_before>// Copyright (c) 2013-2015 mogemimi. // Distributed under the MIT license. See LICENSE.md file for details. #include "BufferDirect3D11.hpp" #include "Pomdog/Graphics/BufferUsage.hpp" #include "Pomdog/Utility/Assert.hpp" #include "Pomdog/Utility/Exception.hpp" #include <utility> namespace Pomdog { names...
<commit_before>/** ** \file binder/binder.cc ** \brief Implementation of binder::Binder. */ #include <boost/bind.hpp> #include <boost/optional.hpp> #include <libport/foreach.hh> #include <ast/print.hh> #include <binder/binder.hh> #include <object/symbols.hh> #include <object/object.hh> namespace binder { Binder...
<commit_before>/** * Copyright (c) 2015 - The CM Authors <legal@clickmatcher.com> * All Rights Reserved. * * This file is CONFIDENTIAL -- Distribution or duplication of this material or * the information contained herein is strictly forbidden unless prior written * permission is obtained. */ #include <algorith...
<commit_before>#ifndef ITER_SORTED_HPP_ #define ITER_SORTED_HPP_ #include "internal/iterbase.hpp" #include "internal/iteratoriterator.hpp" #include <iterator> #include <algorithm> #include <vector> namespace iter { namespace impl { template <typename Container> class SortedView; } template <typename C...
<commit_before>#include <vector> #include "quicksort.h" namespace quicksort { template <class T> int getMedianIndex( std::vector<T> &items, int firstIndex, int secondIndex, int thirdIndex ) {//Returns the index of the median value of the values at the three indexes or thirdIndex. if( (items[firstIndex] <= items[sec...
<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 "quic/tools/quic_client_epoll_network_helper.h" #include <errno.h> #include <netinet/in.h> #include <string.h> #include <sys/...
<commit_before>#include "rapid_perception/icp_fitness_functions.h" #include <cmath> #include <vector> #include "Eigen/Core" #include "Eigen/Geometry" #include "pcl/filters/crop_box.h" #include "pcl/point_cloud.h" #include "pcl/point_types.h" #include "pcl/search/kdtree.h" #include "rapid_msgs/Roi3D.h" typedef pcl::...
<commit_before>#ifndef MJOLNIR_GLOBAL_FORCE_FIELD #define MJOLNIR_GLOBAL_FORCE_FIELD #include "GlobalInteractionBase.hpp" #include <mjolnir/util/logger.hpp> #include <vector> #include <array> #include <memory> namespace mjolnir { template<typename traitsT> class GlobalForceField { public: typedef traitsT traits...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: gen_info.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: rt $ $Date: 2005-09-08 07:23:49 $ * * The Contents of this file are made ...
<commit_before>/* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "stdafx.h" #include "parser.h" #include "utilities.h" #include "Logs.h" #include "scenenodegrou...
<commit_before>#include <functional> #include <initializer_list> #include <string> #include <vector> #include <unordered_map> #include <algorithm> #include <iostream> #include <memory> namespace parser{ using namespace std; bool isFirst = true; class Rule{ string s; vector<vector<shar...
<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) 2009 Mark Borgerding mark a borgerding net // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser Gene...
<commit_before>/****************************************************************************** * Copyright (c) 2012, Michael P. Gerlek (mpg@flaxen.com) * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following * conditions a...
<commit_before>// Some part of the code is from // jjlammi@netti.fi // http://www.sci.fi/~benefon/rscalc_cpp.html #include <stdio.h> #include <math.h> #include <time.h> #include <iostream> #include <fstream> #include <string> #include <stdio.h> using namespace std; double pi = 3.141592653589793238463; double tpi ...
<commit_before>#include <condition_variable> #include "cpp_redis/network/tcp_client.hpp" namespace cpp_redis { namespace network { io_service tcp_client::m_io_service; tcp_client::tcp_client(void) : m_socket(m_io_service.get()) , m_is_connected(false) , m_read_buffer(READ_SIZE) {} tcp_client::~tcp_client(void) { ...
<commit_before>// vim: set sts=2 sw=2 et: // encoding: utf-8 // // Copyleft 2011 RIME Developers // License: GPLv3 // // 2011-10-30 GONG Chen <chen.sst@gmail.com> // #include <boost/algorithm/string.hpp> #include <boost/foreach.hpp> #include <boost/format.hpp> #include <boost/lexical_cast.hpp> #include <rime/common.h> ...
<commit_before>/* * Ceph string constants */ #include "types.h" const char *ceph_entity_type_name(int type) { switch (type) { case CEPH_ENTITY_TYPE_MDS: return "mds"; case CEPH_ENTITY_TYPE_OSD: return "osd"; case CEPH_ENTITY_TYPE_MON: return "mon"; case CEPH_ENTITY_TYPE_CLIENT: return "client"; case CEPH_ENTIT...
<commit_before>/* * Concatenate several istreams. * * author: Max Kellermann <mk@cm4all.com> */ #include "istream_cat.hxx" #include "istream_internal.hxx" #include "util/Cast.hxx" #include <assert.h> #include <stdarg.h> struct CatIstream; struct CatInput { CatIstream *cat; struct istream *istream; }; s...
<commit_before>/* * Concatenate several istreams. * * author: Max Kellermann <mk@cm4all.com> */ #include "istream_cat.hxx" #include "istream_oo.hxx" #include "util/Cast.hxx" #include <assert.h> #include <stdarg.h> struct CatIstream; struct CatInput { CatIstream *cat; struct istream *istream; /* han...
<commit_before>/* * Copyright (C) 2015 deipi.com LLC and contributors. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limit...
<commit_before>#include <stdlib.h> #include <iomanip> #include <pwd.h> #include <grp.h> #include <locale> #include <algorithm> #include <iostream> #include <string> #include <sys/types.h> #include <sys/stat.h> #include <dirent.h> #include <unistd.h> #include <string> #include <boost/tokenizer.hpp> #include <vector> #in...
<commit_before>#include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <dirent.h> #include <errno.h> #include <pwd.h> #include <grp.h> #include <stdio.h> #include <iostream> #include <string.h> #include <stdlib.h> #include <time.h> #include <vector> #include <algorithm> #include <clocale> using names...
<commit_before>/* NCG written in 2015 by Maciej A. Czyzewski To the extent possible under law, the author has dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty. See <http://creativecommons.org/publicdomain/zer...
<commit_before>#include "nonsocket.h" // LuaSocket extern "C" { #include "luasocket.h" #include "mime.h" } // Quick macro for adding functions to // the preloder. #define PRELOAD(name, function) \ lua_getglobal(L, "package"); \ lua_getfield(L, -1, "preload"); \ lua_pushcfunction(L, function); \ lua_setfield(L, -...
<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 <Aclapi.h> #include <windows.h> #include <string> #include "sandbox/win/tests/validation_tests/commands.h" #include "sandbox...
<commit_before>#include <Arduino.h> #include <SPI.h> #include <Wire.h> #include "Sleepy.h" #include "RFM69_ATC.h" #include "SPIFlash_Marzogh.h" #include <EEPROM.h> // #include "Adafruit_MAX31856.h" #include "Nanoshield_Termopar.h" #define NODEID 11 #define GATEWAYID 0 #define FREQUENCY RF69_433MHZ //frequency of radio...
<commit_before>/** * @file Cosa/Trace.hh * @version 1.0 * * @section License * Copyright (C) 2012-2015, Mikael Patel * * 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 * v...
<commit_before>/*========================================================================= Program: ORFEO Toolbox Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. See OTBCopyright.txt for details. This software is distributed WIT...
<commit_before>#include <iostream> #include <cassert> #include <memory> #include <unordered_map> using std::swap; // // The classes struct Shape { virtual ~Shape() { } virtual double area() const = 0; virtual double perimeter() const = 0; }; static const double pi = 3.14159265359; class Circle : public S...
<commit_before>// // LinearRamper.hpp // AudioKit Core // // Created by Shane Dunne, revision history on Github. // Copyright © 2018 AudioKit. All rights reserved. // #pragma once namespace AudioKitCore { struct LinearRamper { float value; // current value float target; /...
<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>// 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 ...
<commit_before>#include "MediaSessionServiceHandler.h" #include "log.h" using namespace ::com::kurento::kms::api; using ::com::kurento::log::Log; static Log l("MediaSessionHandler"); #define i(...) aux_info(l, __VA_ARGS__); namespace com { namespace kurento { namespace kms { MediaSessionServiceHandler::MediaSessio...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: appquit.cxx,v $ * * $Revision: 1.33 $ * * last change: $Author: rt $ $Date: 2005-09-07 17:35:58 $ * * The Contents of this file are made ...
<commit_before>/** * Copyright 2017 Maria Glukhova * * 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 of conditions and the f...
<commit_before>/* * Copyright (c) 2014, Georgia Tech Research Corporation * All rights reserved. * * Author: Michael X. Grey <mxgrey@gatech.edu> * Date: Jan 2014 * * Humanoid Robotics Lab Georgia Institute of Technology * Director: Mike Stilman http://www.golems.org * * * This file is provided under...
<commit_before>#include "StatefulTimer.h" #include "BackpropErrorsv2Cached.h" using namespace std; #undef STATIC #define STATIC #undef VIRTUAL #define VIRTUAL VIRTUAL BackpropErrorsv2Cached::~BackpropErrorsv2Cached() { delete kernel; delete applyActivationDeriv; } VIRTUAL void BackpropErrorsv2Cached::bac...
<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 docume...
<commit_before><commit_msg>Replaced assert with more graceful handling, because key generation does not produce 100% unique id per HIR topology and in case of mis-mapping recompilation just falls back to static profile.<commit_after><|endoftext|>
<commit_before>#pragma once #include "zyre.h" #include <string> #include <exception> #include <vector> namespace Zyre { class ZyreError : public std::runtime_error { public: ZyreError(const std::string& what) : std::runtime_error(what) {} }; class ZyreEvent { public: Zyre...
<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 "../client/gles2_lib.h" #include "../common/thread_local.h" namespace gles2 { namespace { gpu::ThreadLocalKey g_gl_context_ke...
<commit_before>#include "text2D.hpp" #include "shader_loader.hpp" #include "texture_loader.hpp" // Include GLEW #ifndef __GL_GLEW_H_INCLUDED #define __GL_GLEW_H_INCLUDED #include <GL/glew.h> // GLfloat, GLuint etc. #endif // Include GLM #ifndef __GLM_GLM_HPP_INCLUDED #define __GLM_GLM_HPP_INCLUDED #include <glm/glm.h...
<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>// // PROJECT: Aspia // FILE: client/client_user_authorizer.cc // LICENSE: GNU General Public License 3 // PROGRAMMERS: Dmitry Chapyshev (dmitry@aspia.ru) // #include "client/client_user_authorizer.h" #include <QCryptographicHash> #include <QDebug> #include "base/message...
<commit_before>#include "items/inventory.h" #include "entity_system.h" #include "dataconsts.h" #include "random.h" #include "components/basic_info.h" #include "components/inventory.h" #include "components/item.h" #include "components/lua.h" #include "components/position.h" #include "components/owner.h" #include "itemd...
<commit_before>#include <Plugins/RenderPlugin.h> #include <dlfcn.h> IMPGEARS_BEGIN std::map<RenderPlugin::Ptr,void*> PluginManager::_handlers; //-------------------------------------------------------------- RenderPlugin::Ptr PluginManager::open(const std::string& name) { RenderPlugin::Ptr result; void* ha...
<commit_before>// // PROJECT: Aspia Remote Desktop // FILE: host/console_session_launcher.cc // LICENSE: Mozilla Public License Version 2.0 // PROGRAMMERS: Dmitry Chapyshev (dmitry@aspia.ru) // #include "host/console_session_launcher.h" #include <userenv.h> #include <string> ...
<commit_before>/* */ #include"ioprocesses.hpp" #include<stdexcept> #include<ev++.h> #include<unistd.h> #include<fcntl.h> #include<string> class PortData { public: int fd; PortData(int nfd) : fd(nfd) {} }; class EvCentralIO : public CentralIO { private: void getall(CentralIOToDo todo) { while(!todo.empty()) { ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ZipPackageFolderEnumeration.cxx,v $ * * $Revision: 1.11 $ * * last change: $Author: rt $ $Date: 2005-09-08 16:18:30 $ * * The Contents of...
<commit_before>/* * Copyright (c) 2011, Peter Thorson. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, th...
<commit_before>#ifndef NEK_ANY_ANY_HPP #define NEK_ANY_ANY_HPP #include <nek/any/any_fwd.hpp> #include <nek/any/exception.hpp> #include <nek/type_traits/is_reference.hpp> #include <nek/type_traits/remove_reference.hpp> #include <nek/utility/swap.hpp> namespace nek { class any { public: any() ...
<commit_before>// -*- Mode: C++; tab-width: 2; -*- // vi: set ts=2: // #include <BALL/DOCKING/COMMON/poseClustering.h> #include <BALL/FORMAT/DCDFile.h> #include <BALL/FORMAT/PDBFile.h> #include <BALL/DOCKING/COMMON/conformationSet.h> #include <BALL/FORMAT/commandlineParser.h> #include <iostream> #include "version.h" ...
<commit_before>#ifndef NEK_ANY_ANY_HPP #define NEK_ANY_ANY_HPP #include <utility> #include <nek/any/any_fwd.hpp> #include <nek/any/exception.hpp> #include <nek/mpl/if.hpp> #include <nek/type_traits/add_lvalue_reference.hpp> #include <nek/type_traits/is_reference.hpp> #include <nek/type_traits/remove_reference.hpp> n...
<commit_before>#include "perf_precomp.hpp" #include "opencv2/ts/ocl_perf.hpp" #ifdef HAVE_OPENCL namespace cvtest { namespace ocl { CV_ENUM(MethodType, TM_SQDIFF, TM_SQDIFF_NORMED, TM_CCORR, TM_CCORR_NORMED, TM_CCOEFF, TM_CCOEFF_NORMED) typedef std::tr1::tuple<Size, Size, MethodType> ImgSize_TmplSize_Method_t; typ...
<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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law o...
<commit_before>// Copyright (c) 2015, Matthew Malensek. // Distributed under the BSD 2-Clause License (see LICENSE.txt for details) #include "BrightnessController.h" #include "../Monitor.h" #include "../Logger.h" BrightnessController::BrightnessController(HMONITOR monitor) { BOOL result; DWORD numPhysicalMon...
<commit_before>// Copyright (c) 2013-2014 Sandstorm Development Group, Inc. and contributors // Licensed under the MIT License: // // 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 r...
<commit_before>/* * Distributed under the OSI-approved Apache License, Version 2.0. See * accompanying file Copyright.txt for details. * * DataManReader.cpp * * Created on: Feb 21, 2017 * Author: Jason Wang */ #include "DataManReader.tcc" #include "adios2/helper/adiosString.h" namespace adios2 { namesp...
<commit_before>/***************************************************************************** multiBamCov.cpp (c) 2009 - Aaron Quinlan Hall Laboratory Department of Biochemistry and Molecular Genetics University of Virginia aaronquinlan@gmail.com Licenced under the GNU General Public License 2.0 license...
<commit_before>// MS WARNINGS MACRO #define _SCL_SECURE_NO_WARNINGS #include <iostream> #include <array> #include <deque> #include <boost/noncopyable.hpp> #include "data_type.hpp" #include "pixel_sorter.hpp" #include "ppm_reader.hpp" #include "splitter.hpp" #include "algorithm.hpp" #include "algorithm_2.hpp" #include...
<commit_before>#pragma once #include <AL/al.h> namespace Audio { /// Interface for sound files of various formats. /** * Used to get raw audio data to a SoundBuffer. */ class SoundFile { public: /// Destructor. virtual ~SoundFile() { } /// Get raw...
<commit_before>/**************************************************************************** * Copyright (c) 2012-2019 by the DataTransferKit authors * * All rights reserved. * * ...
<commit_before>/* Copyright (C) 2014 Martin Klapetek <mklapetek@kde.org> 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 the License, or (at your opt...
<commit_before>/** \file add_superior_flag.cc * \author Oliver Obenland * * A tool for marking superior records that have associated inferior records in our data sets. */ /* Copyright (C) 2016, Library of the University of Tübingen This program is free software: you can redistribute it and/or modify...
<commit_before> #include "AttrTokenizeWrapper.h" #include <knlp/attr_tokenize.h> #include <knlp/dictionary.h> #include <exception> #include <glog/logging.h> #include <util/singleton.h> #include <boost/filesystem.hpp> using namespace sf1r; namespace bfs = boost::filesystem; AttrTokenizeWrapper::AttrTokenizeWrapper() ...
<commit_before>/// /// @file LicenseManager.cpp /// @brief A source file of license manager. /// @author Dohyun Yun ( dualistmage@gmail.com ) /// @date 2010-05-18 /// #include "LicenseManager.h" #include "LicenseRequestFileGenerator.h" #include "LicenseTool.h" #include <common/SFLogger.h> #include <boost/thread...
<commit_before>/* This file is part of Android File Transfer For Linux. Copyright (C) 2015-2020 Vladimir Menshakov 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 v...
<commit_before>#include <android_native_app_glue.h> #include <errno.h> #include <jni.h> #include <sys/time.h> #include <time.h> #include <android/log.h> #include <stdio.h> #include <stdlib.h> #include <math.h> #include <queue> #include <opencv2/core/core.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/...
<commit_before>/** Runtime library for Harlan. */ #pragma once #include <iostream> #include <string> #include <algorithm> #include <assert.h> #include <string.h> #include "gc.h" #ifdef __APPLE__ #include <OpenCL/opencl.h> #else #include <CL/opencl.h> #endif #include "gpu_common.h" enum error { HARLAN_ERR_O...
<commit_before>/******************************************************************************* GPU OPTIMIZED MONTE CARLO (GOMC) 2.51 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>//===--- MemLocationPrinter.cpp - Dump all memory locations in program ---===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http:...
<commit_before>// // Copyright (C) 2007 SIPez LLC. // Licensed to SIPfoundry under a Contributor Agreement. // // Copyright (C) 2007 SIPfoundry Inc. // Licensed by SIPfoundry under the LGPL license. // // $$ /////////////////////////////////////////////////////////////////////////////// // Author: Keith Kyzivat <k...
<commit_before>// // main.cpp // curveDrawing // // Created by Ian Watterson on 1/28/16. // Copyright © 2016 IanWattersonPersonal. All rights reserved. // #include <iostream> int main(int argc, const char * argv[]) { // insert code here... std::cout << "Hello, World!\n"; return 0; } <commit_msg>Open a...
<commit_before>#include <psp2/ctrl.h> #include <psp2/touch.h> #include <psp2/moduleinfo.h> #include <psp2/kernel/processmgr.h> #include <string> #include <cstdio> #include <vita2d.h> #include "../vitamenulib/libvitamenu/menu_manager.h" #include "../vitamenulib/libvitamenu/menu.h" #include "../vitamenulib/l...
<commit_before>/* * Raging MIDI (https://github.com/waddlesplash/ragingmidi). * * Copyright (c) 2012-2013 WaddleSplash & contributors (see AUTHORS.txt). * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the "Software"), * to de...
<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/views/page_info_bubble_view.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" #include "base/utf...
<commit_before>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2010 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public ...
<commit_before>/* * The Apache Software License, Version 1.1 * * * Copyright (c) 1999 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. Redistri...
<commit_before>// Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation ...
<commit_before>#include "../src/alloc.hpp" #include "../src/bytecode.hpp" #include "../src/function.hpp" #include "../src/interpret.hpp" #include "../src/thread.hpp" #include <catch.hpp> using namespace slakken; using namespace slakken::bytecode; #define SLAKKEN_PUSH_OP_0(function_id, opcode) \ do { \ instruct...
<commit_before>/*============================================================================= Library: CTK Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics 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 oxygen gtk engine * Copyright (c) 2010 Hugo Pereira Da Costa <hugo@oxygen-icons.org> * * based on the Null Theme Engine for Gtk+. * Copyright (c) 2008 Robert Staudinger * * the lineedit data code is largely inspired from the gtk redmond engine * * This library is free soft...
<commit_before>#include "../base/SRC_FIRST.hpp" #include "hex.hpp" namespace impl { static const char kToHexTable[] = "0123456789ABCDEF"; void ToHexRaw(void const * src, size_t size, void * dst) { uint8_t const * ptr = static_cast<uint8_t const *>(src); uint8_t const * end = ptr + size; uint8_t * o...
<commit_before>/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2015 Scientific Computing and Imaging Institute, University of Utah. License for the specific language governing rights and limitations under Permission is hereby granted, free of charge, to any person obta...
<commit_before>#include "stdafx.h" #include "BuildingCard.h" using namespace std; BuildingCard::~BuildingCard() { } void BuildingCard::Run() { } <commit_msg>small comment<commit_after>#include "stdafx.h" #include "BuildingCard.h" using namespace std; BuildingCard::~BuildingCard() { } void BuildingCard::Run() { ...
<commit_before>/* * * Copyright 2015, Google 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: * * * Redistributions of source code must retain the above copyright * notice, thi...
<commit_before>// Jubatus: Online machine learning framework for distributed environment // Copyright (C) 2011,2012 Preferred Infrastructure and Nippon Telegraph and Telephone Corporation. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public /...
<commit_before>// // kern_cpu.cpp // Lilu // // Copyright © 2018 vit9696. All rights reserved. // #include <Headers/kern_cpu.hpp> #include <Headers/kern_devinfo.hpp> #include <PrivateHeaders/kern_config.hpp> #include <i386/proc_reg.h> extern "C" { #include <i386/pmCPU.h> } /** * Shared R/W BaseDeviceInfo instanc...
<commit_before>/* This file is part of: NoahFrame https://github.com/ketoo/NoahGameFrame Copyright 2009 - 2020 NoahFrame(NoahGameFrame) File creator: lvsheng.huang NoahFrame is open-source software and you can redistribute it and/or modify it under the terms of...
<commit_before>/* This file is part of KAddressbook. Copyright (c) 2000 Cornelius Schumacher <schumacher@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 ...
<commit_before>/*========================================================================= Program: Medical Imaging & Interaction Toolkit Module: $RCSfile$ Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All right...
<commit_before><commit_msg>PWGGA/GammaConv: Fixed event cut for some pPb8TeV configs<commit_after><|endoftext|>
<commit_before>#include "PlaneGeometry.h" //##ModelId=3E395F22035A mitk::PlaneGeometry::PlaneGeometry() : Geometry2D(10.0, 10.0), m_ScaleFactorMMPerUnitX(1.0), m_ScaleFactorMMPerUnitY(1.0) { } //##ModelId=3E395F220382 mitk::PlaneGeometry::~PlaneGeometry() { } //##ModelId=3E395E3E0077 const mitk::PlaneView& mitk::Pl...
<commit_before>void AddTask_MaterialHistos_pp( Int_t trainConfig = 1, // change different set of cuts TString V0ReaderEventCutNumber = "00000003", TString V0ReaderPhotonCutNumber = "060000084001001500000000", Bool_t isMC = kFALSE, Int_t IsHeavyIon ...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Declarative module of the Qt Toolkit. ** ** $QT_BE...
<commit_before><commit_msg>Fix of the addtask name<commit_after><|endoftext|>
<commit_before>#include "player.h" #include "alien.h" #include "global.h" using namespace wsp; Player players[NUM_PLAYERS]; Alien *aliens[NUM_ALIENS]; wsp::Sprite bgs[NUM_SPACE_BGS]; void initBackgrounds() { if(imgBgs[0].LoadImage("/apps/Spaaace/images/space1.png") != IMG_LOAD_ERROR_NONE) exit(1); bgs[0].SetImage(...
<commit_before> blink-an-led.ino 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 //Device ID //48ff70065067555028111587 //Access Token //4348526a1c0932c678d6e971ce456b9d2ea4a1f5 // Define the...
<commit_before>/*! * Copyright (c) 2016 by Contributors * \file q_fully_connected.cc * \brief Quantized CONV operator * \author HPI-DeepLearning */ #include "./q_convolution-inl.h" #include <mshadow/base.h> #include <mshadow/tensor.h> #include <memory> #include "./binary_layer.h" #include "./xnor_cpu.h" #if MXNET_...
<commit_before> #include <stdint.h> #include <atomic> #include <mutex> #include <vector> #include <string> #include <random> #include <iostream> #include <sstream> #include <thread> #include "ConcurrentMap.hpp" //#include <SIM/SIM_GeneralTemplateUtil.hpp> #ifndef PAUSE #define PAUSE std::cout << "Paused at line "...