text
stringlengths
54
60.6k
<commit_before> #include <nstd/Console.h> #include <nstd/Process.h> #include "Tools/Word.h" #include "Client.h" void_t help() { Console::printf("listUsers - Show list of users.\n"); Console::printf("addUser <name> <pw> - Add a new user.\n"); Console::printf("list - Show list of tables.\n"); Console::printf("...
<commit_before>#include <cstdio> int main(){ double n, d[] = {100.0, 50.0, 20.0, 10.0, 5.0, 2.0}, m[] = {1.0, 0.5, 0.25, 0.10, 0.05, 0.01}; int t = 0, c; scanf("%lf", &n); printf("NOTAS:\n"); do { printf("%d nota(s) de R$ %.2f\n", (int)n / (int)d[t], d[t]); if (n >= d[t]) ...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: ImageRegistration13.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights reserved. See ...
<commit_before>// Copyright (c) 2015 Baidu, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicabl...
<commit_before>#pragma once //=====================================================================// /*! @file @brief 固定サイズ文字列クラス @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2017, 2020 Kunihito Hiramatsu @n Released under the MIT license @n https://github.com/hirakuni45/RX/blob/maste...
<commit_before>// Copyright (c) 2015 Semi Essessi #include "Image.h" bool Image::LoadFromCompressedVoyagerData( const void* const /*pFileData*/ ) { return false; } <commit_msg>unfinished broken data loader (some mad pointer thing i need to work out from the reference code and docs)<commit_after>// Copyright (c) 2...
<commit_before>/****************************************************************************** * This file is part of the Gluon Development Platform * Copyright (c) 2010 Arjen Hiemstra <> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public ...
<commit_before>//===---- CGBuiltin.cpp - Emit LLVM Code for builtins ---------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>//===--- Link.cpp - Link in transparent SILFunctions from module ----------===// // // 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>//===-- asan_linux.cc -----------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2017. All rights reserved */ #ifndef _Stroika_Foundation_Streams_InternallySyncrhonizedOutputStream_inl_ #define _Stroika_Foundation_Streams_InternallySyncrhonizedOutputStream_inl_ 1 /* *******************************************************************...
<commit_before>/* * WrapperIO.cpp * This file is part of FRESteamWorks. * * Created by Ventero <http://github.com/Ventero> * Copyright (c) 2012-2014 Level Up Labs, LLC. All rights reserved. */ #include "WrapperIO.h" #include <algorithm> #include <fstream> #include <iostream> #include <ios> #include <iostrea...
<commit_before>#pragma once #include "controllers/hotkeys/HotkeyCategory.hpp" #include <QKeySequence> #include <QString> namespace chatterino { class Hotkey { public: Hotkey(HotkeyCategory category, QKeySequence keySequence, QString action, std::vector<QString> arguments, QString name); virtual ~...
<commit_before>#include <cuda/api/device_properties.hpp> #include <string> #include <unordered_map> #include <utility> namespace cuda { namespace device { const char* compute_architecture_t::name(unsigned architecture_number) { static std::unordered_map<unsigned, std::string> arch_names = { { 1, "Tesla" }, {...
<commit_before><commit_msg>Fix front_timestamp becoming less than start_timestamp<commit_after><|endoftext|>
<commit_before>/*************************************************************************** * Copyright (C) 2003 by * * Unai Garro (ugarro@users.sourceforge.net) * * Cyril Bosselut (bosselut@b1project.com) * * Jaso...
<commit_before>/* This file is part of the Pangolin Project. * http://github.com/stevenlovegrove/Pangolin * * Copyright (c) 2011 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> #include "bmi160.hpp" #include <board_config.h> /** driver 'main' command */ extern "C" { __EXPORT int bmi160_main(int argc, char *argv[]); } /** * Local functions in support of the shell command. */ namespace bmi160 { BMI160 *g_dev_int; // on internal bus BMI160 *g_dev_ext; // on external bus vo...
<commit_before>#include "master.hpp" namespace factor { /* Simple non-optimizing compiler. This is one of the two compilers implementing Factor; the second one is written in Factor and performs advanced optimizations. See core/compiler/compiler.factor. The non-optimizing compiler compiles a quotation at a time by c...
<commit_before>#include "atlas/utils/Application.hpp" #include "atlas/utils/Scene.hpp" #include "atlas/core/Log.hpp" #include "atlas/core/Platform.hpp" #include "atlas/gl/GL.hpp" #include "atlas/core/GLFW.hpp" #include "atlas/core/Float.hpp" #include <vector> namespace atlas { namespace utils { typed...
<commit_before>/* mbed Microcontroller Library * Copyright (c) 2020 ARM Limited * 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://ww...
<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>// 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 <shlwapi.h> #include <sstream> #include <string> #include "base/command_line.h" #include "base/file_util.h" #include "ba...
<commit_before>// // Aspia Project // Copyright (C) 2020 Dmitry Chapyshev <dmitry@aspia.ru> // // 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 ...
<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/history/history_database.h" #include <algorithm> #include <set> #include <string> #include "app/sql/transacti...
<commit_before>#ifndef HOG_READER_HPP_GUARD #define HOG_READER_HPP_GUARD //===----------------------------------------------------------------------===// // // The Descent map loader // // NAME : HogReader // PURPOSE : Providing a decoder and wrapper for the Descent .HOG format. // COPY...
<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 "app/system_monitor.h" #include "base/command_line.h" #include "base/file_util.h" #include "base/message_loop.h" #include...
<commit_before>#include <pcl/point_cloud.h> #include <pcl/point_types.h> #include <pcl/io/openni_grabber.h> #include <pcl/visualization/cloud_viewer.h> #include <pcl/io/octree_pointcloud_compression.h> #include <stdio.h> #include <sstream> #include <stdlib.h> using namespace std; using namespace pcl; using namespace...
<commit_before>#include "vulkan.hpp" #include "vulkan_symbol_wrapper.h" #include <stdexcept> #include <vector> #include "vulkan_events.hpp" #ifdef HAVE_GLFW #include <GLFW/glfw3.h> #endif #ifdef HAVE_DYLIB #include <dlfcn.h> #endif using namespace std; #undef VULKAN_DEBUG namespace Vulkan { Context::Context(const ...
<commit_before>#pragma once using namespace std; #include <vector> #include <regex> #include "IEventHandler.hpp" #include "ICommand.hpp" #include "Line.hpp" #include "Utility.hpp" namespace OCScript { // OCScript̃RANXłB class Core { private: vector<ICommand*> _Commands; vector<Line> _ScriptStorage; unsigne...
<commit_before>#include "RedBlackTree.h" #include <algorithm> #include <cassert> #include <iostream> #include <string> #include <utility> #define RED 'R' #define BLACK 'B' RbNode RBNIL = {BLACK, -1, &RBNIL, &RBNIL, &RBNIL}; static RbNode *Next(RbNode *e) { RbNode *p = e->right; while (not_nil(p->left)) { p =...
<commit_before>#include <gtest/gtest.h> #include "Communicator.h" #include "Message.h" #include "GenException.h" #include <string> #include <map> using namespace std; class TrackerMessage : public Message { public: TrackerMessage(MessageDir dir, Communicator* originator) : ...
<commit_before>// // Copyright (c) 2015-2016 CNRS // // This file is part of Pinocchio // Pinocchio 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 License, or (at your opti...
<commit_before>// 8 april 2015 #include "uipriv_windows.hpp" struct uiEntry { uiWindowsControl c; HWND hwnd; void (*onChanged)(uiEntry *, void *); void *onChangedData; BOOL inhibitChanged; }; static BOOL onWM_COMMAND(uiControl *c, HWND hwnd, WORD code, LRESULT *lResult) { uiEntry *e = uiEntry(c); if (code != ...
<commit_before>/* * settings_container.hpp * * Created on: Mar 31, 2016 * Author: jschwan */ #ifndef SRC_UTIL_SETTINGS_CONTAINER_HPP_ #define SRC_UTIL_SETTINGS_CONTAINER_HPP_ #include <flexcore/utils/generic_container.hpp> #include <flexcore/utils/settings/settings.hpp> namespace fc { /** * \brief Conta...
<commit_before>/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: registerservices.cxx,v $ * $Revi...
<commit_before>/*========================================================================= * * Copyright Insight Software 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>/* -------------------------------------------------------------------------- * * OpenSim: Constraint.cpp * * -------------------------------------------------------------------------- * * The OpenSim API is a toolkit for musculoskeletal modeling and ...
<commit_before> /************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<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 "base/file_util.h" #include "base/memory/scoped_ptr.h" #include "base/path_service.h" #include "base/test/trace_event_analyzer...
<commit_before>#ifndef BEATWAVE_EMPTYCIRCLE_HPP_ #define BEATWAVE_EMPTYCIRCLE_HPP_ #include <core/animatedgroup.hpp> class EmptyCircle: public AnimatedGroup<float, sf::Vector2f, sf::Color> { public: enum Property { Radius = 0, Position, Color }; using AnimatedGroup::AnimatedGr...
<commit_before>// Copyright (c) 2012-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 <bench/bench.h> #include <interfaces/chain.h> #include <node/context.h> #include <optional.h> #includ...
<commit_before>// Copyright (c) 2022 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 <bench/bench.h> #include <interfaces/chain.h> #include <node/context.h> #include <test/util/mining.h> #inc...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qbs. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holding valid commercial Qt licenses m...
<commit_before>/* * Copyright (C) 2010 Apple Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list ...
<commit_before>#include "ovkCLogManager.h" #include <iostream> using namespace OpenViBE; using namespace OpenViBE::Kernel; using namespace std; CLogManager::CLogManager(const IKernelContext& rKernelContext) :TKernelObject<ILogManager>(rKernelContext) ,m_eCurrentLogLevel(LogLevel_Info) { } boolean CLogManager::isA...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: VIndexColumn.cxx,v $ * * $Revision: 1.10 $ * * last change: $Author: hr $ $Date: 2006-06-20 02:10:46 $ * * The Contents of this file are ...
<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 "content/browser/gpu/gpu_surface_tracker.h" #include "base/logging.h" GpuSurfaceTracker::GpuSurfaceTracker() : next_surf...
<commit_before>/* -*- Mode: C; indent-tabs-mode: s; c-basic-offset: 4; tab-width: 4 -*- */ /* vim:set et ai sw=4 ts=4 sts=4: tw=80 cino="(0,W2s,i2s,t0,l1,:0" */ #include "dcpappletbuttons.h" #include <Pages> #include <DcpAppletDb> #include <DcpBriefComponent> #include <DcpAppletMetadata> #include <DcpApplet> #include...
<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>#include "tests.h" #include "coroutine_system.h" using swoole::Coroutine; using swoole::coroutine::System; TEST(coroutine_gethostbyname, resolve_with_cache) { coro_test([](void *arg) { System::set_dns_cache_capacity(10); std::string addr1 = System::gethostbyname("www.baidu.com...
<commit_before>/******************************************************* * Copyright (c) 2015, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause *******************************...
<commit_before>#include <DO/Sara/Core/EigenExtension.hpp> #include <DO/Sara/Core/Math/NewtonRaphson.hpp> #include <DO/Sara/Core/Math/UnivariatePolynomial.hpp> #include <complex> #include <ctime> #include <memory> namespace DO { namespace Sara { // Cauchy's method to calculate the polynomial lower bound. auto co...
<commit_before>#include <memory> #include "celero/Celero.h" #include <blackhole/log.hpp> #include <blackhole/logger.hpp> #include <blackhole/sink/null.hpp> #include <blackhole/repository.hpp> using namespace blackhole; enum level { debug, info, warning, error, critical }; const int N = 200000; ...
<commit_before>#include "mo/SmellFinder.h" #include "mo/TraverseAST.h" #include "mo/util/FileUtil.h" #include "mo/exception/MessageBasedException.h" #include <iostream> SmellFinder::SmellFinder() { _index = clang_createIndex(0, 0); _translationUnit = 0; } SmellFinder::~SmellFinder() { clang_disposeTranslationU...
<commit_before>/* * Copyright 2014 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkPictureShader.h" #include "SkBitmap.h" #include "SkBitmapProcShader.h" #include "SkCanvas.h" #include "SkImageGenerator.h" #include "SkMatrixUtils....
<commit_before>//===------------------------- cxa_default_handlers.cpp -------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // // // This file implements the...
<commit_before>// // Created by max on 23/03/17. // #include <fstream> #include "SettingsManager.h" SettingsManager * SettingsManager::instance = nullptr; SettingsManager::SettingsManager() { QString const userHome = []() -> QString { struct passwd *pw = getpwuid(getuid()); const char *homedir = ...
<commit_before>/* Copyright (c) <2013-2014>, <BenHJ> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of co...
<commit_before>// This file is a part of the IncludeOS unikernel - www.includeos.org // // Copyright 2015 Oslo and Akershus University College of Applied Sciences // and Alfred Bratterud // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the Lice...
<commit_before>#include <os> #include <kprint> #include <util/crc32.hpp> #define SOFT_RESET_MAGIC 0xFEE1DEAD #define SOFT_RESET_LOCATION 0x7000 namespace hw { extern uint32_t apic_timer_get_ticks() noexcept; extern void apic_timer_set_ticks(uint32_t) noexcept; } struct softreset_t { uint32_t checksum; ...
<commit_before>/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* libvisio * Version: MPL 1.1 / GPLv2+ / LGPLv2+ * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License o...
<commit_before>/* This file is part of the Ofi Labs X2 project. Copyright (C) 2010 Ariya Hidayat <ariya.hidayat@gmail.com> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must r...
<commit_before>#include "client.h" #include "controller/controlcontroller.h" #include "controller/reportcontroller.h" #include "controller/logincontroller.h" #include "controller/registrationcontroller.h" #include "controller/configcontroller.h" #include "network/networkmanager.h" #include "task/taskexecutor.h" #includ...
<commit_before>/* RawSpeed - RAW file decoder. Copyright (C) 2009-2014 Klaus Post Copyright (C) 2014 Pedro Côrte-Real 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; e...
<commit_before><commit_msg>Use RecursiveMutex for CLAP UI events<commit_after><|endoftext|>
<commit_before>/* Copyright (c) 2015-2017 by the parties listed in the AUTHORS file. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #ifndef TOAST_MEMORY_HPP #define TOAST_MEMORY_HPP namespace toast { namespace mem { // Byte alignment f...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkScaleTransformTest.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 2002 Insight Consortium. All rights reserved. See IT...
<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-2014 Torus Knot Software Ltd Permission is hereby granted, free of charge, to ...
<commit_before><commit_msg>fix some MSVC warnings<commit_after><|endoftext|>
<commit_before>// Copyright 2015 The Bazel 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 r...
<commit_before><commit_msg>Shifting code a bit to make it more readable<commit_after><|endoftext|>
<commit_before><commit_msg>EXP-1577 FOLLOWUP Making default My Profile window size the same as size of other residents' profile floaters.<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * $RCSfile: QueryDesignView.hxx,v $ * * $Revision: 1.18 $ * * last change: $Author: vg $ $Date: 2005-02-16 16:01:23 $ * * The Contents of this file are made available subject to the terms of * either of the followi...
<commit_before>/************************************************************************* * * $RCSfile: querycontroller.hxx,v $ * * $Revision: 1.29 $ * * last change: $Author: pjunck $ $Date: 2004-10-22 12:06:52 $ * * The Contents of this file are made available subject to the terms of * either of the fol...
<commit_before>/************************************************************************* * * $RCSfile: UserSettingsDlg.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: obo $ $Date: 2005-03-18 10:11:54 $ * * The Contents of this file are made available subject to the terms of * either of the followi...
<commit_before>#define BOOST_TEST_MODULE #include <boost/test/included/unit_test.hpp> #include <bluetoe/sm/security_manager.hpp> #include "test_sm.hpp" /** * using the example data from Core (V5), Vol 3, Part H, 2.2.3 Confirm value generation function c1 for LE Legacy Pairing * p1 is 0x05000800000302070710000001010...
<commit_before>//---------------------------- sparse_decomposition.cc --------------------------- // Copyright (C) 1998, 1999, 2000, 2001, 2002 // by the deal.II authors and Stephen "Cheffo" Kolaroff // // This file is subject to QPL and may not be distributed // without copyright and license information...
<commit_before>#ifndef COFFEE_MILL_DCD_CONVERT #define COFFEE_MILL_DCD_CONVERT #include <mill/dcd/DCDReader.hpp> #include <mill/pdb/PDBReader.hpp> #include <mill/pdb/PDBWriter.hpp> #include <mill/util/file_extension.hpp> #include <toml/toml.hpp> #include <string_view> #include <deque> namespace mill { inline const c...
<commit_before>/******************************************************************************* * Copyright 2017-2018 Intel Corporation * * 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>//===----------------------------------------------------------------------===// // // PelotonDB // // simple_optimizer.cpp // // Identification: /peloton/src/optimizer/simple_optimizer.cpp // // Copyright (c) 2016, Carnegie Mellon University Database Group // //===---------------...
<commit_before>#include "osg/LightSource" #include "osgDB/Registry" #include "osgDB/Input" #include "osgDB/Output" using namespace osg; using namespace osgDB; // forward declare functions to use later. bool LightSource_readLocalData(Object& obj, Input& fr); bool LightSource_writeLocalData(const Object& obj, Output& ...
<commit_before>/* Copyright (c) 2013, David C Horton 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 use, copy, modify, merge, publi...
<commit_before>/* * Listener on a TCP port. * * author: Max Kellermann <mk@cm4all.com> */ #include "ServerSocket.hxx" #include "SocketDescriptor.hxx" #include "SocketAddress.hxx" #include "StaticSocketAddress.hxx" #include "fd_util.h" #include "pool.hxx" #include "util/Error.hxx" #include <socket/util.h> #include...
<commit_before> #include <v8.h> #include <node.h> #include <node_buffer.h> #include <node_object_wrap.h> #include "speex/speex_jitter.h" #include "common.h" #include <nan.h> #include <string.h> using namespace node; using namespace v8; class NodeJitterBuffer : public ObjectWrap { private: JitterBuffer* jitterBuff...
<commit_before>/** ** \file object/call-class.cc ** \brief Creation of the URBI object call. */ #include <boost/numeric/conversion/converter.hpp> #include <libport/foreach.hh> #include <libport/ufloat.hh> #include "object/call-class.hh" #include "object/alien.hh" #include "object/atom.hh" #include "object/object...
<commit_before>/** * @file * @brief Implementation of object with digitized pixel hit * @copyright Copyright (c) 2017 CERN and the Allpix Squared authors. * This software is distributed under the terms of the MIT License, copied verbatim in the file "LICENSE.md". * In applying this license, CERN does not waive the...
<commit_before>/* * Copyright (c) 2013 New Designs Unlimited, LLC * Opensource Automated License Plate Recognition [http://www.openalpr.com] * * This file is part of OpenAlpr. * * OpenAlpr is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License * ...
<commit_before>#pragma once /* * Copyright (c) 2012 Aldebaran Robotics. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the COPYING file. */ /** * \file * \brief Various macros for qi. (deprecated, export API, disallow copy, ..) * \includename{qi/macro.hp...
<commit_before>/* This is free and unencumbered software released into the public domain. */ #ifdef HAVE_CONFIG_H #include <config.h> #endif #include "rdf++/reader/trix.h" #include "rdf++/quad.h" #include "rdf++/term.h" #include "rdf++/triple.h" #include "xml_reader.h" #include <memory> /* for std::unique_ptr */ ...
<commit_before>#include "inc/relabel_to_front.h" using namespace std; RelabelToFront::RelabelToFront(const ResidualNetwork &A) : E(ResidualNetwork(A)) { this->Source = E.getSource(); this->Sink = E.getSink(); this->VertexCount = E.getCount(); this->PushCount = 0; this->RelabelCount = 0; this-...
<commit_before>// // Copyright (c) 2009, Markus Rickert // 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>/* -------------------------------------------------------------------------- */ /* Copyright 2002-2008, Distributed Systems Architecture Group, Universidad */ /* Complutense de Madrid (dsa-research.org) */ /* ...
<commit_before>#pragma once class hid_report { public: struct __attribute__((packed)) keyboard_input { uint8_t modifiers; uint8_t reserved; uint8_t keys[6]; }; }; <commit_msg>add hid_report::keyboard_input constructor<commit_after>#pragma once class hid_report { public: class __attribute__((packed))...
<commit_before>//Copyright (c) 2016 Ultimaker B.V. //CuraEngine is released under the terms of the AGPLv3 or higher. #include "sliceDataStorage.h" #include "FffProcessor.h" //To create a mesh group with if none is provided. #include "infill/SubDivCube.h" // For the destructor namespace cura { Polygons& SliceLayerP...
<commit_before>//Copyright (c) 2016 Ultimaker B.V. //CuraEngine is released under the terms of the AGPLv3 or higher. #include "sliceDataStorage.h" #include "FffProcessor.h" //To create a mesh group with if none is provided. #include "infill/SubDivCube.h" // For the destructor namespace cura { Polygons& SliceLayerP...
<commit_before>#include "deploy.h" #include <boost/filesystem.hpp> #include <boost/intrusive_ptr.hpp> #include "authenticate.h" #include "logging/logging.h" #include "ostree_object.h" #include "rate_controller.h" #include "request_pool.h" #include "treehub_server.h" #include "utilities/utils.h" bool CheckPoolState(c...
<commit_before>// File: tao_unittests.cc // Author: Tom Roeder <tmroeder@google.com> // // Description: Unit tests for TPMTao and SoftTao. // // Copyright (c) 2013, Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in complian...
<commit_before>// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published...
<commit_before>#include <gtest/gtest.h> #include <string> #include <cpr.h> #include "multipart.h" #include "server.h" static Server* server = new Server(); auto base = server->GetBaseUrl(); TEST(UrlEncodedPostTests, UrlPostSingleTest) { auto url = Url{base + "/url_post.html"}; auto response = cpr::Post(ur...