text
stringlengths
54
60.6k
<commit_before>#include "blockstream.h" #define MASK_5BIT 0x000001F #define MASK_10BIT 0x00003FF #define MASK_16BIT 0x000FFFF #define MASK_26BIT 0x3FFFFFF #define MASK_28BIT 0xFFFFFFF namespace redsea { uint16_t syndrome(int vec) { uint16_t synd_reg = 0x000; int bit,l; for (int k=25; k>=0; k--) { bit ...
<commit_before>#include "btree/slice.hpp" #include "btree/node.hpp" #include "buffer_cache/transactor.hpp" #include "buffer_cache/buf_lock.hpp" #include "concurrency/cond_var.hpp" #include "btree/get.hpp" #include "btree/rget.hpp" #include "btree/set.hpp" #include "btree/incr_decr.hpp" #include "btree/append_prepend.hp...
<commit_before>#include <gtest/gtest.h> #include <iostream> #include "Eigen/Core" #include "Eigen/Dense" #include "vio/eigen_utils.h" TEST(Eigen, Inverse) { Eigen::Matrix<double, 6, 6> information = Eigen::Matrix<double, 6, 6>::Zero(); information(5, 5) = 1.0e8; information(0, 0) = 1.0e8; information(1, 1) = ...
<commit_before>// // Created by permal on 9/7/17. // #include <smooth/application/rgb_led/RGBLed.h> #include <smooth/core/util/ByteSet.h> #include <cstring> #include <driver/periph_ctrl.h> #include "esp_log.h" namespace smooth { namespace application { namespace rgb_led { RGBLed::R...
<commit_before>#include "stdafx.h" typedef std::vector<DWORD> ThreadsVec; ThreadsVec g_Threads; unsigned g_EventsCount = 0; unsigned g_ThreadEventsCount = 0; unsigned g_CSwitchEventsCount = 0; unsigned g_ThisProcessThreadEvents = 0; static const wchar_t* THREAD_V2_CLSID(L"{3d6fa8d1-fe05-11d0-9dda-00c04fd7b...
<commit_before>/*********************************************************************** * filename: InputAggregator.cpp * created: 10/7/2013 * author: Timotei Dolean <timotei21@gmail.com> *************************************************************************/ /**********************************...
<commit_before>//---------------------------- data_out_03.cc --------------------------- // $Id$ // Version: $Name$ // // Copyright (C) 2003, 2004 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer // to th...
<commit_before>// --------------------------------------------------------------------- // // Copyright (C) 2004 - 2015 by the deal.II authors // // This file is part of the deal.II library. // // The deal.II library is free software; you can use it, redistribute // it, and/or modify it under the terms of the GNU Lesse...
<commit_before>/* Copyright 2011 Joe Hermaszewski. 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 li...
<commit_before>// The MIT License (MIT) // // Copyright (c) 2015 Relja Ljubobratovic, ljubobratovic.relja@gmail.com // // 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...
<commit_before>/* Copyright © 2014 Jesse 'Jeaye' Wilkerson See licensing at: http://opensource.org/licenses/MIT File: include/iterator/transmute_back_insert.hpp Author: Jesse 'Jeaye' Wilkerson */ #pragma once #include <iterator> namespace jtl { namespace iterator { /* Transmutes output of T<E> t...
<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 "chrome/browser/gtk/browser_actions_toolbar_gtk.h" #include <gtk/gtk.h> #include <vector> #include "app/gfx/canvas_paint.h" ...
<commit_before>/** @file * * @ingroup audioGraphLibrary * * @brief Represents one connection between two AudioGraph objects * * @details TTAudioGraphSource is an upstream connection from a #TTAudioGraphInlet of a #TTAudioGraphObject to a "TTAudioGraphOutlet of an upstream #TTAudioGraphObject. * The relationship ...
<commit_before>// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" #include <string> #include "base/command_line.h" #include "base/logging.h...
<commit_before>#include <string> #include <iostream> #include <cstdio> #include <windows.h> //#include <math.h> #include "serial/serial.h" #include <thread> #define FLOATSIZE 4 #define MESSAGESIZE FLOATSIZE+1 #define MESSAGESIZE_WRITE MESSAGESIZE #define LOOPRATE 100 #define LOOPCOUNTS 1 using std::string; using std:...
<commit_before>/* * Adplug - Replayer for many OPL2/OPL3 audio file formats. * Copyright (C) 1999 - 2002 Simon Peter <dn.tlp@gmx.net>, et al. * * 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 ...
<commit_before>/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, development version * * (c) 2006-2016 INRIA, USTL, UJF, CNRS, MGH * * ...
<commit_before>#include "OpenCV.h" #include "Point.h" #include "Matrix.h" #include "CascadeClassifierWrap.h" #include "VideoCaptureWrap.h" #include "VideoWriterWrap.h" #include "Contours.h" #include "CamShift.h" #include "HighGUI.h" #include "FaceRecognizer.h" #include "Features2d.h" #include "Constants.h" #include "C...
<commit_before>/* * Copyright (c) 2003-2009, John Wiegley. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * - Redistributions of source code must retain the above copyright * notice,...
<commit_before>/* * Copyright (C) 2008 Apple Inc. All Rights Reserved. * Copyright (C) 2009 Torch Mobile, Inc. http://www.torchmobile.com/ * Copyright (C) 2010 Google Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the fo...
<commit_before>/* * Copyright (C) 2006, 2007 Apple Computer, Inc. * Copyright (c) 2006, 2007, 2008, 2009, 2012 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: * * * Redistr...
<commit_before>#include "keys.hh" #include <unordered_map> namespace Kakoune { static std::unordered_map<String, Character> keynamemap = { { "ret", '\n' }, { "space", ' ' }, { "esc", 27 } }; KeyList parse_keys(const String& str) { KeyList result; for (CharCount pos = 0; pos < str.length(); ++pos...
<commit_before>// RUN: cat %s | %cling | FileCheck %s int a = 12; a // CHECK: (int) 12 const char* b = "b" // CHECK: (const char *) "b" struct C {int d;} E = {22}; E // CHECK: (struct C) @0x{{[0-9A-Fa-f].*}} E.d // CHECK: (int) 22 #include <string> std::string s("xyz") // CHECK: (std::string) @0x{{[0-9A-Fa-f]{8,}....
<commit_before>#include "Runtime/GuiSys/CSplashScreen.hpp" #include "Runtime/CArchitectureMessage.hpp" #include "Runtime/CArchitectureQueue.hpp" #include "Runtime/CSimplePool.hpp" #include "Runtime/GameGlobalObjects.hpp" #include "Runtime/Camera/CCameraFilter.hpp" namespace urde { static const char* SplashTextures[]...
<commit_before>#include <SFML\Window.hpp> int main() { sf::Window window(sf::VideoMode(800, 600), "SFML works!"); while (window.isOpen()) { sf::Event event; while (window.pollEvent(event)) { if (event.type == sf::Event::Closed) window.close(); } window.display(); } return 0; }<commit_msg>ADD ...
<commit_before>#include "SelectiveCDGTest.h" #include "../PageRankNibble.h" #include "../../community/Modularity.h" #include "../../community/Conductance.h" #include "../../graph/Graph.h" #include "../../io/METISGraphReader.h" #include "../../auxiliary/Log.h" #ifndef NOGTEST namespace NetworKit { TEST_F(SCDGTest2, ...
<commit_before>/* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * * LXDE-Qt - a lightweight, Qt based, desktop toolset * http://razor-qt.org * * Copyright: 2011 Razor team * Authors: * Christian Surlykke <christian@surlykke.dk> * * This program or library is free software; you can redistribute it * and/or modi...
<commit_before>#include "glyph_object_creation.hpp" #include "vector_font.hpp" #include "text3D.hpp" #include "object.hpp" #include "object_struct.hpp" // Include standard headers #include <stdint.h> // uint32_t etc. #include <string> // std::string namespace yli { namespace ontology { class Glyph; ...
<commit_before>/** * (c) 2019 by Mega Limited, Wellsford, New Zealand * * This file is part of the MEGA SDK - Client Access Engine. * * Applications using the MEGA API must present a valid application key * and comply with the the rules set forth in the Terms of Service. * * The MEGA SDK is distributed in the h...
<commit_before>#include<iostream> /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * 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, ...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * 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 ...
<commit_before>#include "ofApp.h" void ofApp::setup() { femurBone.load("femur.png"); images = { femurBone, femurBone, femurBone, femurBone, femurBone, femurBone, femurBone, femurBone }; angles = { 0, 0, 0, 0, 0, 0, 0, 0 }; anglesMinimum = { -360, -270, -180, -90, -80, -70, -60, -45 }; anglesMaxim...
<commit_before>#include <string> #include <map> #include "EntityManager.h" #include "Item.h" #include "Weapon.h" #include "Armor.h" EntityManager::EntityManager() { } EntityManager::~EntityManager() { for (auto& entity : data) { if (entity.second != nullptr) { delete entity.second; entity.second = nullp...
<commit_before>/* * Author(s): * - Chris Kilner <ckilner@aldebaran-robotics.com> * - Cedric Gestes <gestes@aldebaran-robotics.com> * * Copyright (C) 2010, 2011 Aldebaran Robotics */ #include <qi/log.hpp> #include <qi/os.hpp> #include <list> #include <map> #include <qi/log/consoleloghandler.hpp> #include <...
<commit_before>#pragma once #include "GLPersistentBuffer.h" template <GLenum T> GLPersistentBuffer<T>::GLPersistentBuffer(const size_t byte_sz): m_byte_sz{byte_sz} { gl::GenBuffers(1, &m_handle); // Allocate buffer on GPU gl::BindBuffer(T, m_handle); static const GLbitfield map_flags{gl::MAP_PERSISTEN...
<commit_before> #define BOOST_TEST_DYN_LINK #define BOOST_TEST_MODULE libstorage #include <boost/test/unit_test.hpp> #include "storage/Utils/Region.h" #include "storage/Utils/HumanString.h" using namespace std; using namespace storage; BOOST_AUTO_TEST_CASE(test_output) { Region region(2048, 1603584, 512); ...
<commit_before>/************************************************************************* * * $RCSfile: XUnbufferedStream.cxx,v $ * * $Revision: 1.6 $ * * last change: $Author: kz $ $Date: 2003-09-11 10:16:55 $ * * The Contents of this file are made available subject to the terms of * either of the follow...
<commit_before>#include "level2.h" Level2::Level2(int screenWidthCamera, int screenHeightCamera) : Level::Level(screenWidthCamera, screenHeightCamera) { this->player->localPosition = glm::vec2(480.0f, 100.0f); // We need to update the player otherwise the position will not be set because of the player using velocity...
<commit_before>// // PCMPatchedTrack.cpp // Clock Signal // // Created by Thomas Harte on 15/12/2016. // Copyright © 2016 Thomas Harte. All rights reserved. // #include "PCMPatchedTrack.hpp" using namespace Storage::Disk; PCMPatchedTrack::PCMPatchedTrack(std::shared_ptr<Track> underlying_track) : underlying_tra...
<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 distr...
<commit_before>/* This file is part of the Vc library. Copyright (C) 2010 Matthias Kretz <kretz@kde.org> Vc 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 3 of the Lic...
<commit_before>// This file is a part of the OpenSurgSim project. // Copyright 2013, SimQuest Solutions 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.or...
<commit_before>/*===================================================================== QGroundControl Open Source Ground Control Station (c) 2009 - 2011 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> This file is part of the QGROUNDCONTROL project QGROUNDCONTROL is free software: you can redistribute it...
<commit_before>#include <QApplication> #include "mainwindow.h" int main(int argc, char *argv[]) { QApplication app(argc, argv); // Retina display support for Mac OS, iOS and X11: // http://blog.qt.digia.com/blog/2013/04/25/retina-display-support-for-mac-os-ios-and-x11/ // // AA_UseHighDpiPixmaps a...
<commit_before> #include <ugdk/system/engine.h> #include <ugdk/action/3D/camera.h> #include <ugdk/input/events.h> #include <ugdk/input/module.h> #include <ugdk/action/3D/element.h> #include <ugdk/action/3D/scene3d.h> #include <ugdk/action/3D/physics.h> #include <ugdk/action/3D/component/physicsbody.h> #include <ugdk/ac...
<commit_before>/* * Copyright (C) 2011, Paul Tagliamonte <paultag@fluxbox.org> * * 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 rig...
<commit_before><commit_msg>ATO-453- bug fix in coding q (spotted by Andreas Morsch) (#1090)<commit_after><|endoftext|>
<commit_before>/** * @file main.cpp * * @author <a href="mailto:xu@informatik.hu-berlin.de">Xu, Yuan</a> * @author <a href="mailto:mellmann@informatik.hu-berlin.de">Mellmann, Heinrich</a> */ #include "NaoController.h" #include <glib.h> #include <glib-object.h> #include <signal.h> //#include <rttools/rtthread.h> ...
<commit_before>/** * This file is part of TelepathyQt * * @copyright Copyright (C) 2012 Collabora Ltd. <http://www.collabora.co.uk/> * @license LGPL 2.1 * * 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 Fr...
<commit_before>#include <UnitTest/stdafx.h> #include <UnitTest/UnitTest.h> #include <core/mapi/cache/namedProps.h> #include <core/mapi/cache/namedPropCache.h> #include <core/mapi/extraPropTags.h> namespace namedproptest { TEST_CLASS(namedproptest) { public: // Without this, clang gets weird static const bool du...
<commit_before>/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2010-2011, Willow Garage, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the fo...
<commit_before>//===- tools/seec-ld/seec-ld.cpp ------------------------------------------===// // // SeeC // // This file is distributed under The MIT License (MIT). See LICENSE.TXT for // details. // //===----------------------------------------------------------------------===// //...
<commit_before>/******************************************************************** * AUTHORS: Vijay Ganesh, Trevor Hansen, Mate Soos * * BEGIN DATE: November, 2005 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), t...
<commit_before>/************************************************************************* * * $RCSfile: hashtbl.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: hr $ $Date: 2001-10-12 16:14:16 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>#include "debug.h" #include "mvar.h" #include "file.h" #include "esmb.h" #include "para.h" #include "seidner.h" #include "polar.h" #include "output.h" #include "complex.h" //#include <cstdlib> #define complex std::complex<double> // ------------------------------------------------------------ // The f...
<commit_before>/////////////////////////////////////////////////////////////////////// // File: lstmtraining.cpp // Description: Training program for LSTM-based networks. // Author: Ray Smith // Created: Fri May 03 11:05:06 PST 2013 // // (C) Copyright 2013, Google Inc. // Licensed under the Apache Lice...
<commit_before>/* This file is part of KAddressBook. Copyright (c) 2002 Mike Pilone <mpilone@slac.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the Lice...
<commit_before>/* Copyright (c) 2011, Arvid Norberg, Magnus Jonsson 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>#include <uri> #include <regex> #include <iostream> using namespace uri; /////////////////////////////////////////////////////////////////////////////// const URI::Span_t URI::zero_span_; /////////////////////////////////////////////////////////////////////////////// URI::URI(const char* uri) : URI{...
<commit_before>// Copyright 2011 Google Inc. 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 require...
<commit_before>/// @file /// @author Boris Mikic /// @author Kresimir Spes /// @version 3.0 /// /// @section LICENSE /// /// This program is free software; you can redistribute it and/or modify it under /// the terms of the BSD license: http://www.opensource.org/licenses/bsd-license.php #include <stdio.h> #includ...
<commit_before>#include "SimulationModel.h" #include "PositionBasedDynamics/PositionBasedRigidBodyDynamics.h" #include "Constraints.h" using namespace PBD; SimulationModel::SimulationModel() { m_cloth_stiffness = 1.0f; m_cloth_bendingStiffness = 0.01f; m_cloth_xxStiffness = 1.0f; m_cloth_yyStiffness = 1.0f; m_cl...
<commit_before>#ifndef AMGCL_BACKEND_EIGEN_HPP #define AMGCL_BACKEND_EIGEN_HPP /* The MIT License Copyright (c) 2012-2014 Denis Demidov <dennis.demidov@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal...
<commit_before>// Copyright (c) 2006-2008 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/basictypes.h" #include "base/gfx/png_encoder.h" #include "base/logging.h" #include "base/scoped_ptr.h" #include "th...
<commit_before>#include "AdaptiveBoole.h" #include <queue> #include <algorithm> #include <limits> struct BooleHelper { BooleHelper() : error(0.0){}; std::vector<double> fa, fb, fc, fd, fe, ff, fg, fh, fi; std::vector<double> S, Sleft, Sright; double lowerlimit; double upperlimit; double epsilon; double e...
<commit_before>/* Sirikata * TextureAtlasFilter.cpp * * Copyright (c) 2011, Ewen Cheslack-Postava * 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 c...
<commit_before>/* Sirikata Graphical Object Host * Camera.cpp * * Copyright (c) 2009, Patrick Reiter Horn * 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 ...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * 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 ...
<commit_before>//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use t...
<commit_before>//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2017 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use t...
<commit_before>#pragma GCC diagnostic push #ifdef __clang__ #pragma GCC diagnostic ignored "-Wglobal-constructors" #endif // ---------------------------------------------------------------------- /// Local Variables: /// eval: (if (fboundp 'eu-rename-buffer) (eu-rename-buffer)) /// End: <commit_msg>clang diagnostics u...
<commit_before>#include "SmoothControl.h" void SmoothControl::getTrajectory(igvc_msgs::velocity_pair& vel, nav_msgs::Path& trajectory, Eigen::Vector3d cur_pos, Eigen::Vector3d target, Eigen::Vector2d egocentric_heading) { double dt = rollOutTime / 10; for (int i = 0; i < 15; i++) { Eigen::Vector3d ac...
<commit_before>#include "chasky/core/common/status.h" #include "chasky/core/framework/graph.h" namespace chasky { std::unique_ptr<Graph> Graph::Create() { return std::unique_ptr<Graph>(new Graph); } std::shared_ptr<Argument> Graph::Param(const std::string &name) { auto it = params_.find(name); if (it == params_...
<commit_before>/* * Copyright Andrey Semashev 2007 - 2014. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) */ /*! * \file attachable_sstream_buf.hpp * \author Andrey Semashev * \date ...
<commit_before>// // Copyright (c) 2013-2014 Christoph Malek // See LICENSE for more information. // #ifndef RJ_GAME_COMPONENTS_GRADIENT_RECT_HPP #define RJ_GAME_COMPONENTS_GRADIENT_RECT_HPP #include <rectojump/global/common.hpp> #include <mlk/graphics/graphics_utl.h> #include <SFML/Graphics.hpp> namespace rj { ...
<commit_before>// // main.cpp // chip // // Created by lex on 21/08/2017. // Copyright © 2017 lex. All rights reserved. // #include <iostream> int main(int argc, const char * argv[]) { // insert code here... std::cout << "Hello, World!\n"; return 0; } <commit_msg>add rom loading<commit_after>// // ma...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: adc_cmd_parse.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2005-09-07 18:04:39 $ * * The Contents of this file are ...
<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 "chrome/browser/gtk/nine_box.h" #include "app/resource_bundle.h" #include "base/gfx/gtk_util.h" #include "base/gfx/point.h" #...
<commit_before>// Copyright 2008, 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, this list ...
<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 "base/basictypes.h" #include "base/file_path.h" #include "base/platform_thread.h" #include "base/string_util.h" #include "chro...
<commit_before>/*========================================================================= * * Copyright RTK Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ...
<commit_before>// 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/file_util.h" #include "base/path_service.h" #include "build/build_config.h" #include "chrome/common/chrome_switches.h" #...
<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 "base/string_util.h" #include "chrome/browser/worker_host/worker_service.h" #include "chrome/common/chrome_switches.h" #includ...
<commit_before>/* * Copyright (C) 2018 German Aerospace Center (DLR/SC) * * Created: 2018-08-06 Martin Siggel <Martin.Siggel@dlr.de> * * 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 * * ht...
<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 "chrome/browser/worker_host/worker_service.h" #include "chrome/test/automation/browser_proxy.h" #include "chrome/test/automati...
<commit_before>// @(#)root/reflex:$Id$ // Author: Stefan Roiser 2004 // Copyright CERN, CH-1211 Geneva 23, 2004-2006, All rights reserved. // // Permission to use, copy, modify, and distribute this software for any // purpose is hereby granted without fee, provided that this copyright and // permissions notice appear ...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/generic/memory/lib/utils/endian_utils.H $ ...
<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 th...
<commit_before>#include <string.h> #include <Wire.h> #include "MPU6050.h" #include "nt.h" #define NT_TASK_RATE 58 #define TWI_FREQ 400000L int main(void) { tNTBusGetImuData imuData; memset(&imuData, 0, sizeof(imuData)); imuData.ImuStatus = NTBUS_IMU_IMUSTATUS_BASE | NTBUS_IMU_IMUSTATUS_GYRODATA_OK | NTBUS_IMU_IMUS...
<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>// xmlhelp.cc // support routines for XML reading/writing #include "xmlhelp.h" // this module #include <stdlib.h> // atof, atol #include <ctype.h> // isprint, isdigit, isxdigit #include <stdio.h> // sprintf // #include "strtokp.h" // StrtokPars...
<commit_before>// This file is part of playd. // playd is licensed under the MIT licence: see LICENSE.txt. /** * @file * Definition of the CommandResult class. * @see cmd_result.hpp */ #include <string> #include <vector> #include "io/io_response.hpp" #include "cmd_result.hpp" /* static */ const ResponseCode Com...
<commit_before>//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2016 ArangoDB GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except in compliance with the License. /// You may o...
<commit_before>/* * This file is part of Poedit (https://poedit.net) * * Copyright (C) 2001-2021 Vaclav Slavik * * 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 restrictio...
<commit_before>/** * Purpose: Pixel Lapse Compositor mainline * * Copyright 2014, Planet Labs, 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/lice...
<commit_before>/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2014-2015 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permit...
<commit_before><commit_msg>HMI: Cache onboard HMIMode and recover next time.<commit_after><|endoftext|>
<commit_before><commit_msg>planning: always stop for crosswalk regardless of stop_deceleration (10141)<commit_after><|endoftext|>
<commit_before>/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkShaper.h" #include "SkStream.h" #include "SkTo.h" #include "SkTypeface.h" struct SkShaper::Impl { sk_sp<SkTypeface> fTypeface; }; SkShaper::S...
<commit_before>#define BOOST_SPIRIT_NO_PREDEFINED_TERMINALS #include <chrono> #include <mutex> #include <vector> #include <unordered_map> #include <boost/format.hpp> #include <boost/program_options.hpp> #include <magic.h> #include <json11.hpp> #include <server_http.hpp> #include <server_extra.hpp> #include <server_extr...