text
stringlengths
54
60.6k
<commit_before>#include <fstream> #include <iostream> #include <omp.h> #include <stdio.h> #include <string> #include <time.h> #include "Neural_Networks.h" using namespace std; void Read_MNIST(string training_set_images, string training_set_labels, string test_set_images, string test_set_labels, int number_training, ...
<commit_before>#include "match.h" #include <vector> #include "globalsettings.h" Match::Match(Read* r, int pos, int distance, bool reversed){ mRead = r; mSequence = NULL; mDistance = distance; mPos = pos; mReversed = reversed; } Match::Match(char* seq, char meanQual, int pos, int distance, bool rev...
<commit_before>/* * Copyright 2009 Stephen Liu * For license terms, see the file COPYING along with this library. */ #ifndef __spprotobuf_hpp__ #define __spprotobuf_hpp__ #include <stdint.h> class SP_ProtoBufEncoder { public: SP_ProtoBufEncoder( int initLen = 0 ); ~SP_ProtoBufEncoder(); int addVarint( int fie...
<commit_before>#include "infer.hpp" #include "ast.hpp" #include "package.hpp" #include <sstream> namespace type { template<class Func> static void iter_rows(mono self, Func func) { assert(self.kind() == kind::row()); self.match ([&](const app& self) { const auto e = extension::unpack(self); func(...
<commit_before> #include <Beard/detail/gr_ceformat.hpp> #include <Beard/tty/TerminalInfo.hpp> #include <duct/EndianUtils.hpp> #include <duct/IO/arithmetic.hpp> #include <duct/IO/unicode.hpp> #include <istream> namespace Beard { namespace tty { // class TerminalInfo implementation #define BEARD_SCOPE_CLASS tty::Ter...
<commit_before><commit_msg>coverity#1079279 Uninitialized scalar field<commit_after><|endoftext|>
<commit_before><commit_msg>Send the V8 histograms to UMA<commit_after><|endoftext|>
<commit_before>/*========================================================================= Program: Medical Imaging & Interaction Toolkit Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. See MITKC...
<commit_before>#include <gtest/gtest.h> #include <ros/ros.h> #include <actionlib/client/simple_action_client.h> #include <actionlib/client/terminal_state.h> #include <move_base_msgs/MoveBaseAction.h> #include <move_basic/queued_action_server.h> #include <queue> #include <memory> #include <mutex> #include <condition_var...
<commit_before>/* * Copyright 2010, Nikhil Marathe <nsm.nikhil@gmail.com> All rights reserved. * See LICENSE for details. */ #include "sasljs.h" #include <cstdio> #include <cstdlib> #include <cstring> #include <iostream> using namespace v8; using namespace node; /* * Macro from the sqlite3 bindings * http://gith...
<commit_before>/************************************************************************* * * $RCSfile: source.hxx,v $ * * $Revision: 1.11 $ * * last change: $Author: rt $ $Date: 2004-10-22 07:55:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before><commit_msg>Use FilePath::BaseName instead of the deprecated file_util::GetFilenameFromPath. Part 2.<commit_after><|endoftext|>
<commit_before> #include "Terminal.h" Terminal::Terminal(int width, int height, uint8_t dir, int fontSize){ this->w = width; this->h = height; this->fontSize = fontSize; bgColor = BLACK; fgColor = GRAY1; borderColor = GRAY1; direction = dir; keepColors = true; borderWidth = 1; horizontalBleed = horizont...
<commit_before>// The MIT License (MIT) // Copyright (c) 2016, Microsoft // 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 // t...
<commit_before>/* * Copyright (C) 2007-2013 German Aerospace Center (DLR/SC) * * Created: 2010-08-13 Markus Litz <Markus.Litz@dlr.de> * Changed: $Id$ * * Version: $Revision$ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may...
<commit_before>/* * Copyright 2010-2011 PathScale, 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, * thi...
<commit_before><commit_msg>- Enable V8 histograming support - All V8 measurements that had been stats timers will now be histogramed instead<commit_after><|endoftext|>
<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>#include <stan/math/prim/scal/fun/squared_distance.hpp> #include <gtest/gtest.h> #include <stan/math/rev/core.hpp> #include <stan/math/rev/scal/fun/value_of.hpp> #include <stan/math/rev/scal/fun/value_of_rec.hpp> TEST(MathRev, squared_distance) { double x1 = 1; double x2 = 4; stan::math::var v1, v...
<commit_before>// Copyright (c) 2009 Roman Neuhauser // Distributed under the MIT license (see LICENSE file) // vim: sw=4 sts=4 et fdm=marker cms=\ //\ %s #ifndef INIPHILE_INCLUDE_INPUT_HPP #define INIPHILE_INCLUDE_INPUT_HPP #include <boost/spirit/include/qi.hpp> #include <boost/spirit/include/phoenix_core.hpp> #incl...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2014. All rights reserved */ #ifndef _Stroika_Foundation_Containers_Private_PatchingDataStructures_PatchableContainerHelper_inl_ #define _Stroika_Foundation_Containers_Private_PatchingDataStructures_PatchableContainerHelper_inl_ 1 #include "../../.....
<commit_before>/* Copyright (c) 2012, Arvid Norberg 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 of condi...
<commit_before>// Copyright 2014 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 "ash/system/web_notification/ash_popup_alignment_delegate.h" #include "ash/display/display_controller.h" #include "ash/shelf/shel...
<commit_before>// https://oj.leetcode.com/problems/maximum-subarray/ namespace MaximumSubarray { class Solution { public: int maxSubArray(int A[], int n) { int sum = 0; int max = INT_MIN; for (int i = 0; i < n; i++) { if (...
<commit_before>//============================================================================================================= /** * @file test_fiff_anonymize.cpp * @author Lorenz Esch <lorenzesch@hotmail.com>; * @version 1.0 * @date September, 2019 * * @section LICENSE * * Copyright (C) 2019, Lorenz Esch. ...
<commit_before>// This file is part of the dune-gdt project: // http://users.dune-project.org/projects/dune-gdt // Copyright holders: Felix Albrecht // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_GDT_ASSEMBLER_SYSTEM_HH #define DUNE_GDT_ASSEMBLER_SYSTEM_HH #include <type...
<commit_before>#include "pb_sls.h" #include "smt_literal.h" #include "ast_pp.h" #include "uint_set.h" namespace smt { struct pb_sls::imp { struct clause { literal_vector m_lits; scoped_mpz_vector m_weights; scoped_mpz m_k; scoped_mpz m_value...
<commit_before><commit_msg>cc: Workaround resourceless draw crash<commit_after><|endoftext|>
<commit_before>#include <iostream> #include "sockets/SocketW.h" #include <string> #include <vector> #include <cstdlib> #include <cstdio> #include "buffer.h" #include "user.h" #include "string.h" #define BUFLEN 1000000 int get_empty( user ** list, int amount ) { for (int i = 0; i < amount; i++ ){ if (!list[i]->i...
<commit_before>/* * This file is part of the Camera Streaming Daemon * * Copyright (C) 2017 Intel Corporation. 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 * ...
<commit_before>#include <babylon/samples/mesh/rotation_and_scaling_scene.h> #include <babylon/cameras/arc_rotate_camera.h> #include <babylon/lights/hemispheric_light.h> #include <babylon/mesh/mesh.h> namespace BABYLON { namespace Samples { RotationAndScalingScene::RotationAndScalingScene(ICanvas* iCanvas) : IRen...
<commit_before>#include "BrainStdAfx.h" #include "HAL.h" #include "Comms.h" #include <sys/time.h> #include <sys/resource.h> #include <boost/program_options.hpp> #include <thread> #include <iostream> #ifdef RASPBERRY_PI extern auto shutdown_bcm() -> bool; #endif size_t s_test = 0; bool s_exit = false...
<commit_before>/** \description The is the main for the new version of the mert algorithm develloppped during the 2nd MT marathon */ #include <limits> #include "Data.h" #include "Point.h" #include "Scorer.h" #include "ScoreData.h" #include "FeatureData.h" #include "Optimizer.h" #include "getopt.h" #include "Types.h" #...
<commit_before>/* This file is part of the Pangolin Project. * http://github.com/stevenlovegrove/Pangolin * * Copyright (c) 2014 Steven Lovegrove * * 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 t...
<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/test/ui/ui_layout_test.h" #include "base/file_util.h" #include "base/path_service.h" #include "base/string_number_con...
<commit_before>/* * #%L * %% * Copyright (C) 2011 - 2016 BMW Car IT 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 * ...
<commit_before>/********************************************************************************* * Copyright (c) 2013 David D. Marshall <ddmarsha@calpoly.edu> * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies...
<commit_before>#include <botan/botan.h> #include <botan/tls_server.h> #include <botan/rsa.h> #include <botan/dsa.h> #include <botan/x509self.h> #include <botan/secqueue.h> #include "socket.h" using namespace Botan; #include <stdio.h> #include <string> #include <iostream> #include <memory> class Blocking_TLS_Server...
<commit_before>#include "command.h" #include "events.h" #include <iostream> void Command::run(Bot *bot, IRCMessageEvent *ev) { try { auto t = Command::parse(bot, ev); CommandInfo *i = std::get<0>(t); std::vector<CommandBase*> &v = std::get<1>(t); CommandInfo* curr = i; for(auto cmd: v) { cmd->run(b...
<commit_before>// Copyright 2021 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 or...
<commit_before>/** * Copyright (C) 2015 Dato, Inc. * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD license. See the LICENSE file for details. */ #include <cassert> #include <sstream> #include <zmq.h> #include <boost/algorithm/string.hpp> #include <boost/intege...
<commit_before>#include "Genes/Passed_Pawn_Gene.h" #include <string> #include <array> #include "Genes/Gene.h" #include "Game/Board.h" #include "Game/Piece.h" #include "Game/Color.h" double Passed_Pawn_Gene::score_board(const Board& board, Piece_Color perspective, size_t) const noexcept { double score = 0.0; ...
<commit_before>// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. #include "vm/heap/safepoint.h" #include "vm/heap/heap.h" #include "vm/thread.h" #includ...
<commit_before>#include <iostream> #include <type_traits> #include <vector> #include <agency/future.hpp> #include <agency/execution/executor/detail/new_executor_traits.hpp> #include "test_executors.hpp" template<class Executor> void test(Executor exec) { using namespace agency::detail::new_executor_traits_detail;...
<commit_before>//===----------------------------------------------------------------------===// // LLVM 'GCCAS' UTILITY // // This utility is designed to be used by the GCC frontend for creating // bytecode files from it's intermediate llvm assembly. The requirements for // this utility are thus slightly different t...
<commit_before> #include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules #include "Authenticator.h" #include "OSSupport/BlockingTCPLink.h" #include "Root.h" #include "Server.h" #include "../lib/iniFile/iniFile.h" #include <sstream> #define DEFAULT_AUTH_SERVER "session.minec...
<commit_before>// This file is part of the dune-gdt project: // http://users.dune-project.org/projects/dune-gdt // Copyright holders: Felix Albrecht // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_GDT_DISCRETEFUNCTION_LOCAL_HH #define DUNE_GDT_DISCRETEFUNCTION_LOCAL_HH #i...
<commit_before>#include "schedulers/shortest_path_switch_scheduler.h" DEFINE_bool(overtake, true, "Should car overtake others?"); // TODO refactor whole code here, its copypaste using game::Position; namespace schedulers { ShortestPathSwitchScheduler::ShortestPathSwitchScheduler( const game::Race& race, ga...
<commit_before>/** @file propertyeditorproxymodel.cpp * @brief Модель редактора свойств * */ #include <QDebug> #include "propertyeditorproxymodel.h" #include "realreporoles.h" PropertyEditorModel::PropertyEditorModel(QObject *parent) : QAbstractTableModel(parent), type(""), mPseudoAttributesCount(0) { } int Prope...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** No Commercial Usage ** ** This file contains pre-release cod...
<commit_before>/* bzflag * Copyright (c) 1993 - 2008 Tim Riker * * This package is free software; you can redistribute it and/or * modify it under the terms of the license found in the file * named COPYING that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ...
<commit_before>// This file is part of the dune-stuff project: // https://github.com/wwu-numerik/dune-stuff/ // Copyright holders: Rene Milk, Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // This one has to come first (includes the config.h)! #include "main.hxx" #inc...
<commit_before>//===----------------------------------------------------------------------===// // LLVM 'GCCAS' UTILITY // // This utility is designed to be used by the GCC frontend for creating // bytecode files from it's intermediate llvm assembly. The requirements for // this utility are thus slightly different t...
<commit_before>/* * Raging MIDI (https://github.com/waddlesplash/ragingmidi). * * Copyright (c) 2012 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 deal in...
<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) 2015 Esteban Tovagliari, The appleseedhq Organization // // Permission is hereby granted, free of charge, to ...
<commit_before>/* * #%L * %% * Copyright (C) 2018 BMW Car IT 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 ...
<commit_before>/************************************************************************** ** ** Copyright (C) 2011 - 2013 Research In Motion ** ** Contact: Research In Motion (blackberry-qt@qnx.com) ** Contact: KDAB (info@kdab.com) ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees hold...
<commit_before>//===----------------------------------------------------------------------===// // LLVM 'GCCLD' UTILITY // // This utility is intended to be compatible with GCC, and follows standard // system ld conventions. As such, the default output file is ./a.out. // Additionally, this program outputs a shell sc...
<commit_before>/************************************************************************* * * $RCSfile: popmenu.hxx,v $ * * $Revision: 1.1.1.1 $ * * last change: $Author: hr $ $Date: 2000-09-18 16:45:00 $ * * The Contents of this file are made available subject to the terms of * either of the following li...
<commit_before>/*! * Copyright (c) 2018 by Contributors * \file alter_op_layout.cc * \brief Alternate the layouts of operators or replace primitive operators with other expressions. This pass can be used for computing convolution in custom layouts or other general weight pre-transformation. */ #...
<commit_before>// -*- coding: us-ascii-unix -*- // Copyright 2012 Lukas Kemmer // // 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 // // Unles...
<commit_before>#include <osg/GL> #include <osgGLUT/glut> #include <osgGLUT/Viewer> #include <osg/Node> #include <osg/Notify> #include <osgUtil/Optimizer> #include <osgDB/Registry> #include <osgDB/ReadFile> #include <osgGA/TrackballManipulator> #include <osgGA/FlightManipulator> #include <osgGA/DriveManipulator> #i...
<commit_before> /* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SampleCode.h" #include "SkView.h" #include "SkBlurMaskFilter.h" #include "SkCanvas.h" #include "SkGradientShader.h" #include "SkGraphics.h" #include "...
<commit_before>#ifndef __CLUSTERING_ADMINISTRATION_NAMESPACE_METADATA_HPP__ #define __CLUSTERING_ADMINISTRATION_NAMESPACE_METADATA_HPP__ #include <map> #include "utils.hpp" #include <boost/uuid/uuid.hpp> #include <boost/bind.hpp> #include "clustering/administration/datacenter_metadata.hpp" #include "clustering/admin...
<commit_before>/*============================================================================*/ /* Copyright (C) 2008 by Vinnie Falco, this file is part of VFLib. See the file GNU_GPL_v2.txt for full licensing terms. This program is free software; you can redistribute it and/or modify it under the terms of the...
<commit_before>/************************************************************************ filename: CEGUIRenderer.cpp created: 20/2/2004 author: Paul D Turner purpose: Some base class implementation for Renderer objects *************************************************************************/ /*****************...
<commit_before>#include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" #include <iostream> using namespace cv; using namespace std; static void help() { cout << "\nThis program demonstrates circle finding with the Hough transform.\n" "Usage:\n" "./houghcircles <image...
<commit_before>#include "common/lazyworld.h" #include <cstdio> void LazyWorld::DoStep() { // Collision check against player } void LazyWorld::CheckCollision(Entity *entity) { PositionedBlock *block; for (std::list<PositionedBlock*>::iterator it = VisibleBlocks.begin(); it != VisibleBlocks.end(); ++it...
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <outputtype.h> #include <pubkey.h> #include <script/scri...
<commit_before>/* * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS....
<commit_before>/* Copyright (c) 2013, Pierre KRIEGER 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 of condit...
<commit_before>#include "swftStatusWindowWidget.h" #include "ui_swftStatusWindowWidget.h" #include <QHeaderView> #include <QLineEdit> #include <QStringList> #include "vtkCommand.h" #include "vtkEventQtSlotConnect.h" #include <vtksys/SystemTools.hxx> #include "vtkPVArrayInformation.h" #include "vtkPVCompositeDataInfo...
<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 <windows.h> #include "base/file_util.h" #include "base/path_service.h" #include "base/process_util.h" #include "base/sco...
<commit_before><commit_msg>WaE: -Wunused-variable<commit_after><|endoftext|>
<commit_before>/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2012, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the f...
<commit_before>/************************************************************************* * * $RCSfile: graphsh.hxx,v $ * * $Revision: 1.1.1.1 $ * * last change: $Author: hr $ $Date: 2000-09-18 16:44:59 $ * * The Contents of this file are made available subject to the terms of * either of the following li...
<commit_before>/*ckwg +29 * Copyright 2016 by Kitware, 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 ...
<commit_before>/* Deathray - An Avisynth plug-in filter for spatial/temporal non-local means de-noising. * * version 1.01 * * Copyright 2013, Jawed Ashraf - Deathray@cupidity.f9.co.uk */ #include "device.h" #include "buffer.h" #include "buffer_map.h" #include "CLKernel.h" #include "MultiFrame.h" extern int g_d...
<commit_before>#ifndef ARABICA_PARSERCONFIG_H #define ARABICA_PARSERCONFIG_H #ifdef ARABICA_USE_LIBXML2 #include <SAX/wrappers/saxlibxml2.hpp> #undef DEF_SAX_P #define DEF_SAX_P libxml2_wrapper #ifdef _MSC_VER #pragma message("Including libxml2") #pragma comment(lib, "libxml2.lib") #endif #endif #ifdef ARABICA_USE_MS...
<commit_before>/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2013, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided tha...
<commit_before>/** * @file * FunctionBlockTest.cpp * * @date: Dec 18, 2013 * @author: sblume */ #include "FunctionBlockTest.h" #include "brics_3d/core/Logger.h" #include "brics_3d/worldModel/sceneGraph/DotGraphGenerator.h" namespace unitTests { // Registers the fixture into the 'registry' CPPUNIT_TEST_SUITE_R...
<commit_before>#ifndef TOUCH_HPP #define TOUCH_HPP #include <VBE/math.hpp> #include <vector> class InputImpl; /// /// \brief The Touch class provides support to read multi-touch gestures /// class Touch { public: /// /// \brief The Finger class represents one of the user's fingers /// class Finger { publ...
<commit_before>#include <core/stdafx.h> #include <core/mapi/cache/namedPropCache.h> #include <core/mapi/cache/namedProps.h> #include <core/interpret/guid.h> #include <core/mapi/mapiMemory.h> #include <core/mapi/mapiFunctions.h> #include <core/utility/registry.h> #include <core/utility/strings.h> #include <core/utility/...
<commit_before>/*! * \file dependency_list.hpp * \brief file dependency_list.hpp * * Copyright 2016 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 distributed with * this file, You can ob...
<commit_before>// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome_frame/chrome_launcher.h" #include <windows.h> #include <shellapi.h> #include <shlwapi.h> #include "policy/policy_con...
<commit_before>/********************************************************************************* * * Copyright (c) 2017 Josef Adamsson, Denise Härnström * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2017 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and bina...
<commit_before>/*************************************************************************/ /* grid_container.cpp */ /*************************************************************************/ /* This file is part of: */ /...
<commit_before>/* KPeople Copyright (C) 2012 Aleix Pol Gonzalez <aleixpol@blue-systems.com> Copyright (C) 2013 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 t...
<commit_before>#include "ElectrocardioIC.h" #include <math.h> template<> InputParameters validParams<ElectrocardioIC>() { InputParameters params = validParams<InitialCondition>(); return params; } ElectrocardioIC::ElectrocardioIC(const std::string & name, InputParameters parameters) : Ini...
<commit_before>#include <iostream> #include <typeclass/functor.h> #include <typeclass/functor_list.h> #include <typeclass/functor_vector.h> #include <typeclass/functor_optional.h> #include <typeclass/eq_primitive.h> #include <typeclass/eq_list.h> #include <typeclass/eq.h> #include <typeclass/monoid.h> #include <typecla...
<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 <string> #include "base/memory/scoped_ptr.h" #include "base/message_loop.h" #include "base/string16.h" #include "base/string_...
<commit_before>#include <QDataStream> #include "Connections/Bootstrapper.hpp" #include "Connections/Connection.hpp" #include "Transports/AddressFactory.hpp" #include "Transports/EdgeListenerFactory.hpp" #include "BaseOverlay.hpp" using Dissent::Transports::AddressFactory; using Dissent::Transports::EdgeListenerFacto...
<commit_before>#include <stdio.h> #include <Navigation.h> // Nodes #include <nodes/Gps.h> Gps gps; Navigation::Navigation(){ } void Navigation::cycle(int hz )//, nSync pointer) { switch(hz) { case 400: { //printf("Navigation: 400\n"); break; } c...
<commit_before>#include "King.h" #include "Rook.h" #include "Board.h" namespace Chess { King::King(const Position& position, bool white) : Piece(position, white) { _hasMoved = false; } void King::move(const Position& newPosition) { position = newPosition; _hasMoved = true; } bool King::hasMoved() const { ...
<commit_before><?hh //strict /** * This file is part of package. * * (c) Noritaka Horio <holy.shared.design@gmail.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace package; use \ReflectionClass; use \ReflectionException; final cl...
<commit_before>/** * @file main.cpp * @brief Simple packet sniffer/monitor using ESP8266 in * promiscuous mode. * * @author Simon Lövgren * @license MIT * * Based on "PacketMonitor" by Stefan Kremser: * https://github.com/spacehuhn/PacketMonitor */ /** * ------------------------------------...
<commit_before>// Copyright 2010-2021, 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...
<commit_before>#include "Reader/IniConfigReader.hpp" namespace Utils { IniConfigReader::IniConfigReader(std::string filePath): Reader(filePath) { } bool IniConfigReader::Read() { //TODO: écrire le parser de fichier ini return true; } Config IniConfigReader::GetConfig() const { return m_config; } ...
<commit_before>#include "ComPortScanner.h" #include "simpleserial.h" #include <sstream> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/ini_parser.hpp> #include <boost/foreach.hpp> ComPortScanner::ComPortScanner() { } std::string ComPortScanner::CheckPort(boost::asio::io_service &io_service, con...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkCell.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyrigh...