text
stringlengths
54
60.6k
<commit_before>////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2018, Image Engine Design 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:...
<commit_before>// =============================== // PC-BSD REST API Server // Available under the 3-clause BSD License // Written by: Ken Moore <ken@pcbsd.org> 2015-2016 // ================================= #include "EventWatcher.h" #include "globals.h" // === PUBLIC === EventWatcher::EventWatcher(){ qRegisterMet...
<commit_before>/* * PoolConn.cpp * * Created on: Apr 7, 2009 * Author: rasmussn */ #include "PoolConn.hpp" #include <assert.h> #include <string.h> namespace PV { PoolConn::PoolConn(const char * name, HyPerCol * hc, HyPerLayer * pre, HyPerLayer * post, int channel) { this->connId = hc...
<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, ...
<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/debugger/devtools_http_protocol_handler.h" #include "base/compiler_specific.h" #include "base/logging.h" #inc...
<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/extensions/sandboxed_extension_unpacker.h" #include <set> #include "base/base64.h" #include "base/crypto/sig...
<commit_before>#include <vw/Plate/ToastDem.h> #include <vw/Plate/PlateManager.h> #include <vw/Plate/PlateFile.h> #include <vw/Core.h> #include <boost/shared_ptr.hpp> #include <boost/foreach.hpp> #include <boost/program_options.hpp> namespace po = boost::program_options; #include <iostream> using namespace std; using...
<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 <gtk/gtk.h> #include "chrome/browser/browser.h" #include "chrome/browser/browser_window.h" #include "chrome/browser/gtk/view_...
<commit_before>/**************************************************************************** ** ** Copyright (C) Qxt Foundation. Some rights reserved. ** ** This file is part of the QxtWeb module of the Qt eXTension library ** ** This library is free software; you can redistribute it and/or modify it ** under the term...
<commit_before><commit_msg>[Sketcher] Solver message updated when toggling driving in datum dialog<commit_after><|endoftext|>
<commit_before>#pragma once #include "TextureAtlas.hpp" #include <vector> #include <string> #include <memory> #include "ft2build.h" #include FT_FREETYPE_H #include "vec.hpp" namespace rffalcon { struct GlyphKerning { wchar_t charCode; float kerning; }; struct TextureGlyph { wchar_t charCode; int o...
<commit_before>/// HEADER #include <csapex/msg/input.h> /// COMPONENT #include <csapex/msg/output.h> #include <csapex/command/delete_connection.h> #include <csapex/command/command.h> #include <csapex/utility/assert.h> /// SYSTEM #include <iostream> using namespace csapex; Input::Input(Settings& settings, const UUID...
<commit_before>/////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2013, PAL Robotics S.L. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // * Redistributions of source...
<commit_before>// // Copyright 2016 Francisco Jerez // // 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,...
<commit_before>//#define _GRIBCXX_DEBUG #include <algorithm> #include <cctype> #include <climits> #include <cmath> #include <complex> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <deque> #include <functional> #include <iostream> #include <iomanip> #include <list> #include <map> #inc...
<commit_before>#include "interpreterTest.h" #include <src/interpreter/interpreter.h> #include <src/textLanguage/robotsBlockParser.h> using namespace qrTest::robotsTests::interpreterCoreTests; using namespace interpreterCore::interpreter; using namespace ::testing; void InterpreterTest::SetUp() { mQrguiFacade.rese...
<commit_before>/** * @file * @brief Implementation of CorryvreckanWriter module * @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 privi...
<commit_before>/************************************************************************* * * $RCSfile: WinClipboard.cxx,v $ * * $Revision: 1.10 $ * * last change: $Author: tra $ $Date: 2001-07-24 07:53:23 $ * * The Contents of this file are made available subject to the terms of * either of the following...
<commit_before> #include "GLTexture.h" #include "Image.h" #include "GLDriver.h" #include "GLTypeMappings.h" namespace Demi { DiGLTextureDrv::DiGLTextureDrv(DiTexture* parent) :mGLFormat(GL_NONE), mGLTextureType(GL_TEXTURE_2D), mTextureID(0), mImageSize(0), mBuffer(nullptr), ...
<commit_before>#include "libtorrent/upnp.hpp" #include "libtorrent/socket.hpp" #include "libtorrent/connection_queue.hpp" #include <boost/bind.hpp> #include <boost/ref.hpp> #include <boost/intrusive_ptr.hpp> using namespace libtorrent; void callback(int tcp, int udp, std::string const& err) { std::cerr << "tcp: " <<...
<commit_before>/* Copyright (c) 2014, 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 (c) 2020 The Orbit 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 "OrbitClientData/TracepointData.h" #include "OrbitBase/Logging.h" #include "OrbitBase/ThreadConstants.h" using orbit_client_pro...
<commit_before>/** * Copyright (C) 2016 3D Repo Ltd * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * T...
<commit_before>// spatial_type.cpp // #include "common/common.h" #include "spatial_type.h" #include "page_info.h" namespace sdl { namespace db { namespace { namespace hilbert { //FIXME: make static array to map (X,Y) <=> distance //https://en.wikipedia.org/wiki/Hilbert_curve // The following code performs...
<commit_before>#include "rltk.hpp" #include "texture.hpp" #include <memory> namespace rltk { std::unique_ptr<sf::RenderWindow> main_window; std::unique_ptr<virtual_terminal> root_console; sf::RenderWindow * get_window() { return main_window.get(); } virtual_terminal * get_root_console() { return root_console.g...
<commit_before>#include "udpping.h" #include <time.h> #include <windows.h> #include <mswsock.h> #include <Mstcpip.h> #include <pcap.h> bool getAddress(const QString &address, sockaddr_any *addr); PingProbe receiveLoop(pcap_t *capture, PingProbe probe, sockaddr_any destination); UdpPing::UdpPing(QObject *parent) ...
<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/command_line.h" #include "chrome/browser/browser.h" #include "chrome/browser/debugger/devtools_client_host.h" #include "...
<commit_before>/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * ...
<commit_before>#include <elves/factorize/BigInt.h> #include <elves/factorize/cuda/Factorize.h> #include <elves/factorize/cuda/NumberHelper.h> #include <elves/cuda-utils/Memory.h> #include <gtest/gtest.h> #include <functional> #include <cstdlib> extern void testAdd(PNumData left, PNumData right, PNumData result); exter...
<commit_before>/************************************************************************** The MIT License (MIT) Copyright (c) 2015 Dmitry Sovetov https://github.com/dmsovetov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** Commercial Usage ** ** Licensees holding valid Qt Commercial...
<commit_before>#include <iostream> #include <iomanip> // << fixed << setprecision(xxx) #include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ; #include <vector> #include <string> // to_string(nnn) // substr(m, n) // stoi(nnn) #include <complex> #include <tuple> // get<n>(xxx) #include <queue> #include <st...
<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/command_line.h" #include "chrome/browser/browser.h" #include "chrome/browser/debugger/devtools_client_host.h" #include "...
<commit_before>/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2017 Couchbase, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License a...
<commit_before>/**************************************************************************** This file is part of the QtMediaHub project on http://www.gitorious.org. Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).* All rights reserved. Contact: Nokia Corporation (qt-info@nokia.com)** You may use ...
<commit_before> #ifndef __BUFFER_CACHE_WRITEBACK_TCC__ #define __BUFFER_CACHE_WRITEBACK_TCC__ template <class config_t> writeback_tmpl_t<config_t>::writeback_tmpl_t( cache_t *cache, bool wait_for_flush, unsigned int flush_timer_ms, unsigned int flush_threshold) : flush_timer(NULL), ...
<commit_before>// Implementation for Touch_Buttons // // attention, to be fast, this needs the -O3 compiler option to be set! // // author: ulno // created: 2016-03-01 #include <Arduino.h> #include "Touch_Buttons.h" #define ulno_do_2x(exp) {exp;exp;} #define ulno_do_5x(exp) {exp;exp;exp;exp;exp;} #define ulno_do_10x(...
<commit_before>/******************************************************************************* * This file is part of "Patrick's Programming Library", Version 7 (PPL7). * Web: http://www.pfp.de/ppl/ * ******************************************************************************* * Copyright (c) 2022, Patrick Fed...
<commit_before>#include "../core_include/api.h" #include "../core_include/rect.h" #include "../core_include/resource.h" #include "../core_include/theme.h" static const FONT_INFO* s_font_map[FONT_MAX]; static const BITMAP_INFO* s_bmp_map[BITMAP_MAX]; static unsigned int s_color_map[COLOR_MAX]; int c_theme::ad...
<commit_before>#include <iostream> #include <iomanip> // << fixed << setprecision(xxx) #include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ; #include <vector> #include <string> // to_string(nnn) // substr(m, n) // stoi(nnn) #include <complex> #include <tuple> // get<n>(xxx) #include <queue> #include <st...
<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/dom_ui/clear_browser_data_handler.h" #include "app/l10n_util.h" #include "base/basictypes.h" #include "base/v...
<commit_before>/* * Copyright (c) 2014, Matias Fontanini * 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>// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "Lic...
<commit_before>/* tweenerhandler.cpp - Negociation with Passport to get the login ticket. Copyright (c) 2006 by Michaël Larouche <michael.larouche@kdemail.net> ************************************************************************* * ...
<commit_before>/** * This file is part of the "libfnord" project * Copyright (c) 2015 Paul Asmuth * * FnordMetric is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License v3.0. You should have received a * copy of the GNU General Public License along with th...
<commit_before>/* * Restructuring Shogun's statistical hypothesis testing framework. * Copyright (C) 2014 Soumyajit De * * 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 o...
<commit_before>/* * TTBlue 3rd order Butterworth Lowpass Filter Object * Copyright © 2008, Trond Lossius * * License: This code is licensed under the terms of the "New BSD License" * http://creativecommons.org/licenses/BSD/ */ #include "TTLowpassButterworth3.h" #define thisTTClass TTLowpassButterworth3 #defi...
<commit_before>/* * This file is a part of the open source stm32plus library. * Copyright (c) 2011,2012,2013 Andy Brown <www.andybrown.me.uk> * Please see website for licensing terms. */ #include "config/stm32plus.h" #include "config/net_http.h" #include "config/timing.h" #include "config/sdcard.h" #include "confi...
<commit_before>#include "ShowText.h" #include "loadLibrary.hpp" #include "GdiplusInitializer.hpp" #include "BitmapLockWrapper.hpp" #include <algorithm> #include <vector> #include <memory> #include <atlstr.h> #pragma comment(lib, "gdiplus.lib") namespace { void DrawChar(Gdiplus::Bitmap * canvas, WCHAR chr) { Gdip...
<commit_before>/*************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (directui@nokia.com) ** ** This file is part of duihome. ** ** If you have questions regarding the use...
<commit_before>// Copyright (c) 2011 - 2017, GS Group, https://github.com/GSGroup // Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, // provided that the above copyright notice and this permission notice appear in all copies. // THE SOFTWARE IS PRO...
<commit_before>/** * Copyright 2013 Da Zheng * * This file is part of SA-GraphLib. * * SA-GraphLib is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option)...
<commit_before>#include <iostream> #include <iomanip> // << fixed << setprecision(xxx) #include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ; #include <vector> #include <string> // to_string(nnn) // substr(m, n) // stoi(nnn) #include <complex> #include <tuple> // get<n>(xxx) #include <queue> #include <st...
<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/extensions/extension_apitest.h" #include "chrome/browser/browser.h" #include "chrome/browser/pref_service.h" ...
<commit_before>#include "a_star.h" using namespace std; /* Constructor */ AStar::AStar() { // TODO: throw error } AStar::AStar(State &init) { root_ = init; //solutionLeaf_ = NULL; debugLevel_ = 0; /* Initialize costs of root node */ root_.setGCost(0); root_.setHCost(root_.computeHCost()); root_.setFCos...
<commit_before>/************************************************************************* * * $RCSfile: xmlenums.hxx,v $ * * $Revision: 1.1 $ * * last change: $Author: mtg $ $Date: 2001-05-16 11:46:28 $ * * The Contents of this file are made available subject to the terms of * either of the following lice...
<commit_before>#include "Test.h" #include "SkPath.h" #include "SkParse.h" #include "SkSize.h" static void check_convex_bounds(skiatest::Reporter* reporter, const SkPath& p, const SkRect& bounds) { REPORTER_ASSERT(reporter, p.isConvex()); REPORTER_ASSERT(reporter, p.getBounds() =...
<commit_before>/** * File : F.cpp * Author : Kazune Takahashi * Created : 2018-2-26 20:57:11 * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> // << fixed << setprecision(xxx) #include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ; #include <vector> #include <string> //...
<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/extensions/extension_apitest.h" #include "chrome/browser/browser.h" #include "chrome/browser/prefs/pref_servi...
<commit_before>#include <iostream> #include <vector> #include <future> #include <algorithm> #include <chrono> #include <thread> #include <thread> #include "BTree.h" int main() { std::default_random_engine generator; std::uniform_int_distribution<int> distribution(0, 10000); BTree tree4(4); // A B-Tree with minium d...
<commit_before>////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2010-2012, Image Engine Design Inc. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // ...
<commit_before>/************************************************************************* * Copyright (C) 2011-2014 by Paul-Louis Ageneau * * paul-louis (at) ageneau (dot) org * * * * ...
<commit_before>// The libMesh Finite Element Library. // Copyright (C) 2002-2019 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner // 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; eit...
<commit_before>#include <limits> #include <fstream> #include <vector> #include <Eigen/Core> #include <pcl/point_types.h> #include <pcl/point_cloud.h> #include <pcl/io/pcd_io.h> #include <pcl/kdtree/kdtree_flann.h> #include <pcl/filters/passthrough.h> #include <pcl/filters/voxel_grid.h> #include <pcl/features/normal_3d....
<commit_before>/* =========================================================================== Daemon GPL Source Code Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company. This file is part of the Daemon GPL Source Code (Daemon Source Code). Daemon Source Code is free software: you can redistribute it and...
<commit_before>#include <rcc/rcc.h> #include <gpio/gpio.h> #include <interrupt/interrupt.h> #include <timer/timer.h> #include <os/time.h> #include <usb/usb.h> #include <usb/descriptor.h> #include "report_desc.h" #include "usb_strings.h" #include "configloader.h" #include "config.h" static uint32_t& reset_reason = *(u...
<commit_before>/************************************************************************* * * $RCSfile: componentdef.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: hr $ $Date: 2004-08-03 14:37:25 $ * * The Contents of this file are made available subject to the terms of * either of the following l...
<commit_before>#include <iomanip> #include <stdexcept> #include "performance.h" using namespace std; using namespace cv; void TestSystem::setWorkingDir(const string& val) { working_dir_ = val; } void TestSystem::setTestFilter(const string& val) { test_filter_ = val; } void TestSystem:...
<commit_before>// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "resultconfig.h" #include <vespa/vespalib/util/exceptions.h> #include <vespa/vespalib/stllike/hash_map.hpp> #include <vespa/log/log.h> LOG_SETUP(".searchlib.docsummary.resultc...
<commit_before>/** * File : F.cpp * Author : Kazune Takahashi * Created : 2018-4-15 23:25:04 * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> // << fixed << setprecision(xxx) #include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ; #include <vector> #include <string> //...
<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 <gtk/gtk.h> #include "app/l10n_util.h" #include "base/message_loop.h" #include "base/gfx/gtk_util.h" #include "chrome/browser...
<commit_before>// btlso_defaulteventmanager_devpoll.cpp -*-C++-*- // ---------------------------------------------------------------------------- // NOTICE // // This component is not up to date with current BDE coding standards, and // should not be used ...
<commit_before>#include <iostream> #include <stdlib.h> #include <stddef.h> #include <libpstack/dwarf.h> #include <libpstack/proc.h> #include <python2.7/Python.h> #include <python2.7/frameobject.h> static bool pthreadTidOffset(const Process &proc, size_t *offsetp) { static size_t offset; static enum { notDone, ...
<commit_before>#include <boost/test/unit_test.hpp> #include "SoftXMT.hpp" #include "Addressing.hpp" #include "Cache.hpp" #include "ForkJoin.hpp" #include "GlobalAllocator.hpp" BOOST_AUTO_TEST_SUITE( ForkJoin_tests ); #define MEM_SIZE 1<<24; struct func_initialize : public ForkJoinIteration { GlobalAddress<int64_t>...
<commit_before>// Copyright (c) 2019 by Robert Bosch GmbH. 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 // // ...
<commit_before>/* * Copyright (c) 2011 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>/***************************************************************************************** * * * GHOUL * * General Helpful Open Utili...
<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/remoting/remoting_options_handler.h" #include "base/utf_string_conversions.h" #include "base/values.h" #inclu...
<commit_before>// FRAGMENT(includes) #include <iostream> #include <seqan/align.h> #include <seqan/index.h> #include <seqan/misc/misc_random.h> using namespace seqan; // FRAGMENT(matrix_init) template <typename TStringSet, typename TIndexSpec> void qgramCounting(TStringSet &set, TIndexSpec) { typedef Inde...
<commit_before>#ifndef b_array_View_hxx_ #define b_array_View_hxx_ #include "b/b_assert.hxx" #include "b/Unsigned.hxx" namespace b { namespace array { template <typename Element> struct View { //--------------------------------------------------------------------------------------------// // Constructors ...
<commit_before>// Copyright 2010-2013 RethinkDB, all rights reserved. #ifndef THROTTLING_SEMAPHORE_HPP_ #define THROTTLING_SEMAPHORE_HPP_ #include "containers/scoped.hpp" #include "concurrency/semaphore.hpp" #include "concurrency/signal.hpp" #include "concurrency/wait_any.hpp" #include "containers/intrusive_list.hpp" ...
<commit_before>#include <sstream> #include <vector> #include <limits> #include "person.hpp" #include "PersonsFile.hpp" using Buckets = std::vector<std::vector<person>>; using Persons = std::vector<person>; using Output_Files = std::vector<std::ofstream>; class Database_Sorter { bool is_database_empty; std::string d...
<commit_before>/* * This is part of the FL library, a C++ Bayesian filtering library * (https://github.com/filtering-library) * * Copyright (c) 2014 Jan Issac (jan.issac@gmail.com) * Copyright (c) 2014 Manuel Wuthrich (manuel.wuthrich@gmail.com) * * Max-Planck Institute for Intelligent Systems, AMD Lab * Univer...
<commit_before>// Copyright (c) 2020 by Robert Bosch GmbH. 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 // // ...
<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 <image_cloud/common/small_helpers.hpp> #include <image_cloud/common/type.hpp> #include <image_cloud/common/calibration/multi_score.hpp> #include <image_cloud/common/calibration/structs.hpp> #include <deque> #include <opencv2/core/core.hpp> #include <math.h> #ifndef SEARCH_GRID_6D_H_ #define S...
<commit_before>#include "VideoArea.h" #include "ui_VideoArea.h" #include "tcam_qt4.h" #include <iostream> using namespace tcam; VideoArea::VideoArea (QWidget* parent, DeviceInfo* i) : QWidget(parent), ui(new Ui::VideoArea), device(nullptr), received_new_image(false), playing(false) { ...
<commit_before>/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with ...
<commit_before>#ifndef UTIL_RECT_H__ #define UTIL_RECT_H__ #include <sstream> #include <iostream> #include "point.hpp" namespace util { template <typename T> struct rect { /** * Default constructor. */ rect() {}; rect(const T& minX_, const T& minY_, const T& maxX_, const T& maxY_) : minX(minX_), minY(m...
<commit_before>//////////////////////////////////////////////////////////////////// // nth_prime.cpp // Find the nth prime. // Usage: $ ./nth_prime 999 #include <primesieve/soe/PrimeSieve.h> #include <iostream> #include <cstdlib> #include <limits> #include <exception> class stop_primesieve : public std::exception { }...
<commit_before>/* * #%L * %% * Copyright (C) 2011 - 2020 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) 1998, 1999 by Jorrit Tyberghein This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any la...
<commit_before>#ifndef ORM_ATTR_HPP #define ORM_ATTR_HPP #include <ostream> #include <utility> #include <string> #include <ORM/fields/private/VAttr.hpp> namespace orm { class Query; /** * \brief Store a value ass database row **/ template<typename T> class Attr : public VAttr { ...
<commit_before>/************************************************************************* * * $RCSfile: regactivex.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: mav $ $Date: 2004-05-27 14:47:14 $ * * The Contents of this file are made available subject to the terms of * either of the following li...
<commit_before>#include <vw/Plate/ToastDem.h> #include <vw/Plate/PlateManager.h> #include <vw/Plate/PlateFile.h> #include <vw/Core.h> #include <boost/shared_ptr.hpp> #include <boost/foreach.hpp> #include <boost/program_options.hpp> namespace po = boost::program_options; #include <iostream> using namespace std; using...
<commit_before>#include "UniformCompliance.inl" #include <sofa/defaulttype/VecTypes.h> #include <sofa/core/ObjectFactory.h> namespace sofa { namespace component { namespace forcefield { using namespace sofa::defaulttype; // Register in the Factory int UniformComplianceClass = core::RegisterObject("Uniform compliance...
<commit_before>/* * fiberrenderer.cpp * * Created on: 28.12.2012 * @author Ralph Schurade */ #include "fiberrenderer.h" #include "fiberrendererthread.h" #include "glfunctions.h" #include "../../data/enums.h" #include "../../data/models.h" #include "../../data/datasets/fiberselector.h" #include "....
<commit_before>#define DEBUG 1 /** * File : F.cpp * Author : Kazune Takahashi * Created : 2019-5-25 21:27:40 * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> // << fixed << setprecision(xxx) #include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ; #include <vector> #in...
<commit_before>#include <convert.hpp> #include <errors.hpp> #include <debug.hpp> #include <ingridientWindow.hpp> #include "ui_ingridientWindow.h" IngridientWindow::IngridientWindow(QWidget* parent) : QDialog {parent}, ui {new Ui::IngridientWindow}, measureList {QStringList()} { setupMeasureList(); ...
<commit_before>#define DEBUG 1 /** * File : E.cpp * Author : Kazune Takahashi * Created : 2019-5-26 21:31:42 * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> // << fixed << setprecision(xxx) #include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ; #include <vector> #in...