text
stringlengths
54
60.6k
<commit_before>// //#include <unistd.h> #include <cstdio> #include <cstdlib> #include <string> #include <ctime> #include <algorithm> #include <cmath> #include "GPIOClass.h" using namespace std; void Pulse(GPIOClass* pin, double cycles); void Wait(double seconds); clock_t timer; double time_to_complete;...
<commit_before>/** \file extract_normdata_translations.cc * \brief Extract IxTheo and MACS translations from the normdata file and write it to * language specific text files * \author Johannes Riedl */ /* Copyright (C) 2016, Library of the University of Tübingen This program is free sof...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses...
<commit_before>#ifndef STAN_MATH_PRIM_META_COMPILER_ATTRIBUTES_HPP #define STAN_MATH_PRIM_META_COMPILER_ATTRIBUTES_HPP #ifdef __GNUC__ #define likely(x) __builtin_expect(!!(x), 1) #define unlikely(x) __builtin_expect(!!(x), 0) #ifdef __has_attribute #if __has_attribute (noinline) && __has_attribute (cold) #define STAN...
<commit_before>// bslstl_function_cpp03.t.cpp -*-C++-*- // Automatically generated file. **DO NOT EDIT** //============================================================================= // TEST PLAN //--------------------------------------------------...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2012 - 2013 Jolla Ltd. ** Contact: http://jolla.com/ ** ** This file is part of Qt Creator. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Le...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: cupsmgr.hxx,v $ * * $Revision: 1.8 $ * * last change: $Author: hr $ $Date: 2006-06-19 10:22:34 $ * * The Contents of this file are made a...
<commit_before>#include "libnanocv/nanocv.h" #include "libnanocv/tasks/task_synthetic_shapes.h" #include "libnanocv/util/thread.h" #include "libnanocv/util/measure.hpp" #include "libnanocv/util/tabulator.h" #include "libnanocv/trainers/batch.h" #include "libnanocv/trainers/minibatch.h" #include "libnanocv/trainers/stoc...
<commit_before>/* * Copyright (C) 2007-2008 Martin Pieuchot * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later vers...
<commit_before>#include "../domain.h" #include <memory> #include <gtest/gtest.h> #include "../../test_helpers/gmock_wrapper.h" #include "../../domain/tests/mesh_mock.h" #include "../../domain/tests/finite_element_mock.h" using ::testing::_; class DomainTest : public ::testing::Test { protected: std::unique_ptr...
<commit_before>// Copyright 2015 The Crashpad 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 // // Unle...
<commit_before>// Copyright (c) 2012, Sergey Zolotarev // 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 // ...
<commit_before>// Copyright (c) 2011 - 2019, 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>#include "cellmlplugin.h" #include "coreutils.h" #include "cellml-api-cxx-support.hpp" #include "CellMLBootstrap.hpp" #include "IfaceCellML_APISPEC.hxx" #include "IfaceCIS.hxx" #include "CISBootstrap.hpp" #include <QDebug> #include <QDir> #include <QThread> #include <QUrl> namespace OpenCOR { namespac...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2012 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** ** GNU Lesser General Public License Usage ** ** This file m...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in **...
<commit_before>/* * Copyright 2013 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkFontConfigInterface.h" #include "SkFontConfigTypeface.h" #include "SkFontDescriptor.h" #include "SkFontMgr.h" #include "SkFontMgr_FontConfigInterfac...
<commit_before>/*-------------neuralnet.cpp--------------------------------------------------// * * Neural Net -- A computational model of a neural network * * Purpose: Before building a purely analog circuit with the BIAS project, we * decided to first develop a computational model of how we expe...
<commit_before>//------------------------------------------------------------------------------ // oryol-shdc //------------------------------------------------------------------------------ #include "ExportUtil/CmdLineArgs.h" #include "ExportUtil/Log.h" #include "spirv_hlsl.hpp" #include "spirv_msl.hpp" #include "pys...
<commit_before>/* Copyright (c) 2006, 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>/** @addtogroup Synchronization * @{ * \copyright TU Dresden ZIH. All rights reserved. * \authors Martin Flehmig, Marc Hartung, Marcus Walther * \date Oct 2015 */ #ifndef INCLUDE_SYNCHRONIZATION_SERIALDATAHISTORY_HPP_ #define INCLUDE_SYNCHRONIZATION_SERIALDATAHISTORY_HPP_ #include "Stdafx.hpp"...
<commit_before>#include "os/win32/win32.h" #include <windowsx.h> #include <assert.h> #include "GL/glew.h" #include "GL/wglew.h" Sigma::event::KeyboardInputSystem IOpSys::KeyboardEventSystem; // Handles keyboard events Sigma::event::MouseInputSystem IOpSys::MouseEventSystem; // Handles keyboard events double IOpSys::c...
<commit_before>/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2005 Robert Osfield * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file *...
<commit_before>/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2014 Robert Osfield * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * inc...
<commit_before>/** * @file llnotificationscripthandler.cpp * @brief Notification Handler Class for Simple Notifications and Notification Tips * * $LicenseInfo:firstyear=2000&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. * * This library is free software; you ...
<commit_before>/** * @file llviewerhelputil_test.cpp * @brief LLViewerHelpUtil tests * @author Tofu Linden * * $LicenseInfo:firstyear=2001&license=viewergpl$ * * Copyright (c) 2001-2009, Linden Research, Inc. * * Second Life Viewer Source Code * The source code in this file ("Source Code") is provided by L...
<commit_before>/************************************************************************* * * Copyright 2016 Realm 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....
<commit_before>#include <new> #include <limits> #include <algorithm> #include <stdexcept> #include <realm/util/safe_int_ops.hpp> #include <realm/util/string_buffer.hpp> using namespace realm; using namespace realm::util; char StringBuffer::m_zero = 0; void StringBuffer::append(const char* data, size_t size) { ...
<commit_before>//http://codeforces.com/problemset/problem/601/A #include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; int main(int argc, char const *argv[]) { return 0; } <commit_msg>adding<commit_after>//http://codeforces.com/problemset/problem/601/A #include <iostream> #i...
<commit_before>/* Copyright 2019 The TensorFlow 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 required by appl...
<commit_before>// REQUIRES: system-windows // RUN: %check_clang_tidy %s hicpp-no-assembler %t void f() { _asm { mov al, 2; // CHECK-MESSAGES: :[[@LINE-2]]:3: warning: do not use inline assembler in safety-critical code [hicpp-no-assembler] } } <commit_msg>[clang-tidy] Marking hicpp-no-assembler-msvc unsupp...
<commit_before>// RUN: %check_clang_tidy %s misc-unused-using-decls %t // ----- Definitions ----- template <typename T> class vector {}; namespace n { class A; class B; class C; class D; class D { public: static int i; }; template <typename T> class E {}; template <typename T> class F {}; class G { public: static void...
<commit_before>#pragma once /* * Author(s): * - Chris Kilner <ckilner@aldebaran-robotics.com> * - Cedric Gestes <gestes@aldebaran-robotics.com> * - Herve Cuche <hcuche@aldebaran-robotics.com> * * Copyright (C) 2010, 2011 Aldebaran Robotics */ /** @file * @brief Convenient log macro */ #ifndef LOG_HPP...
<commit_before>/******************************************************* * Copyright (c) 2014, 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>/* Copyright 2015 The TensorFlow 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 required by appl...
<commit_before>/* * The MIT License (MIT) * * Copyright (c) 2016 nyorain * * 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 ...
<commit_before>// https://github.com/KubaO/stackoverflown/tree/master/questions/local-pipe-32317081 // This project is compatible with Qt 4 and Qt 5 #include <QtTest> #include <private/qiodevice_p.h> #include <private/qringbuffer_p.h> #include <algorithm> #include <climits> #ifndef Q_DECL_OVERRIDE #define Q_DECL_OVERR...
<commit_before>//===--- InstructionDeleter.cpp - InstructionDeleter utility --------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<commit_before>/* * Copyright (c) 2006, Mathieu Champlon * 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 ...
<commit_before>/** @file iterativeSolvers.cpp @brief Example on how the solve a system of linear equation with the MINRES, GMRes and CG method. This file is part of the G+Smo library. 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 dis...
<commit_before>// -*- Mode: C++; tab-width: 2; -*- // vi: set ts=2: // #include <BALL/FORMAT/molFileFactory.h> #include <BALL/FORMAT/genericMolFile.h> #include <BALL/FORMAT/dockResultFile.h> #include <BALL/FORMAT/commandlineParser.h> #include <BALL/KERNEL/molecule.h> #include "version.h" using namespace BALL; using n...
<commit_before>/* * Java Genetic Algorithm Library (@__identifier__@). * Copyright (c) @__year__@ Franz Wilhelmstötter * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * ve...
<commit_before>/****************************************************************************** * The MIT License (MIT) * * Copyright (c) 2015-2016 Baldur Karlsson * Copyright (c) 2014 Crytek * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated docum...
<commit_before>// Copyright Contributors to the OpenVDB Project // SPDX-License-Identifier: MPL-2.0 #include <cppunit/extensions/HelperMacros.h> #include <openvdb/openvdb.h> #include <openvdb/tree/Tree.h> #include <openvdb/tree/LeafNode.h> #include <openvdb/Types.h> #include <openvdb/Exceptions.h> class TestGridBbo...
<commit_before>// https://www.youtube.com/watch?v=uwv1uvi1OTU #include <cstdio> #include <type_traits> #include <vector> // https://en.wikipedia.org/wiki/Special_member_functions#Signatures struct S { S(int) { puts("S(int)"); } // Default constructor S() { puts("S()"); } // Copy constructor S(S const &) { ...
<commit_before>// // Copyright (C) 2013 // Alessio Sclocco <a.sclocco@vu.nl> // // 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 option) any lat...
<commit_before>#include <stan/math/prim.hpp> #include <test/unit/math/prim/prob/vector_rng_test_helper.hpp> #include <test/unit/math/prim/prob/VectorIntRNGTestRig.hpp> #include <gtest/gtest.h> #include <boost/random/mersenne_twister.hpp> #include <boost/math/distributions.hpp> #include <limits> #include <vector> #inclu...
<commit_before>/** * @file * @copyright defined in eos/LICENSE.txt */ #pragma once #include <eosio/chain/action.hpp> #include <eosio/chain/action_receipt.hpp> #include <eosio/chain/block.hpp> namespace eosio { namespace chain { struct base_action_trace { base_action_trace( const action_receipt& r ):rec...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: pickerhistory.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: obo $ $Date: 2006-09-17 14:49:57 $ * * The Contents of this file are...
<commit_before>/************************************************************************* * * $RCSfile: dsntypes.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: oj $ $Date: 2000-11-21 15:02:06 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>// This file is part of the dune-hdd project: // http://users.dune-project.org/projects/dune-hdd // Copyright holders: Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_STUFF_TEST_MAIN_CATCH_EXCEPTIONS # define DUNE_STUFF_TEST_MAIN_CATCH_EXCEPT...
<commit_before>// Check that with empty ASAN_OPTIONS, ASan reports on Linux don't crash // the process (abort_on_error=0). See also Darwin/abort_on_error.cc. // RUN: %clangxx_asan %s -o %t // Intentionally don't inherit the default ASAN_OPTIONS. // RUN: ASAN_OPTIONS="" not run %t 2>&1 | FileCheck %s // When we use li...
<commit_before>#include <stdlib.h> #include <stdio.h> #include <vector> #include <string> #include <sstream> #include <iostream> #include <stdexcept> #include <Eigen/Geometry> #include <ros/ros.h> #include <moveit_msgs/GetPlanningScene.h> #include <urdf_model/model.h> #include <moveit/robot_model_loader/robot_model_loa...
<commit_before>#include "treeapprox_binsearch.h" #include <cstdio> #include <vector> #include "gtest/gtest.h" using std::vector; using treeapprox::binsearch_options; using treeapprox::treeapprox_binsearch; template <typename T, size_t N> T* begin(T(&arr)[N]) { return &arr[0]; } template <typename T, size_t N> T* en...
<commit_before>#include "screens/item_details.hpp" #include "../string.hpp" namespace bookwyrm::tui::screen { item_details::item_details(const core::item &item, int padding_top) : base(padding_top, default_padding_bot, 0, 0), item_(item) { } bool item_details::action(const int ch) { ...
<commit_before>// This is a work in progress. // C.M.Cantalupo #ifndef sorter_threaded_hpp #define sorter_threaded_hpp #include "sorter_threaded.hpp" #include "partition_wall.hpp" #include "partition.hpp" #include "partition_gang.hpp" void SorterThreaded::sort(std::vector<double>::iterator begin, ...
<commit_before>/* predictor.C * * Copyright (C) 2009 Marcel Schumann * * This file is part of QuEasy -- A Toolbox for Automated QSAR Model * Construction and Validation. * QuEasy is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the ...
<commit_before>#include <stdio.h> #include "geom.h" #include "time.h" #include "bigtest.h" #include "io.h" /** * Run relate between two large geometries to test the performance * of the sweepline intersection detection algorithm */ void run(int nPts, GeometryFactory *fact) { clock_t startTime, endTime; double siz...
<commit_before>// Time: O(n) // Space: O(n) class Solution { public: /** * @param nums: a vector of integers * @return: the maximum difference */ int maximumGap(vector<int> nums) { if (nums.size() < 2) { return 0; } // Init bucket. int max_va...
<commit_before>#include "unittest/gtest.hpp" #include "clustering/immediate_consistency/branch/broadcaster.hpp" #include "clustering/immediate_consistency/branch/listener.hpp" #include "clustering/immediate_consistency/branch/replier.hpp" #include "clustering/immediate_consistency/query/master.hpp" #include "clusterin...
<commit_before>#include "any.hpp" #include "dyn_lib.hpp" #include <gtest/gtest.h> struct A { explicit A(int i) : m_i(i) {} int m_i; }; TEST(any, readme_example) { static_any<32> a; // on g++ 5.x sizeof(std::string) is 32 static_assert(sizeof(a) == 32 + sizeof(std::ptrdiff_t), "impossible"); ...
<commit_before>/***************************************************************************** * Project: RooFit * * * * This code was autogenerated by RooClassFactory ...
<commit_before>/* * ChronoGraph.cpp * * Copyright (C) 2010 by Universitaet Stuttgart (VIS). * Alle Rechte vorbehalten. */ #include "stdafx.h" #define _USE_MATH_DEFINES #include "vislib/graphics/gl/IncludeAllGL.h" #include "mmcore/view/special/ChronoGraph.h" #include "mmcore/CoreInstance.h" #include "...
<commit_before>/** * Conflicting Intervals/Appointments (Google) * O(nlogn) solution to count conflicts (sorting + binary search) * O(n**2) for printing all possible conflicting pairs */ #include <bits/stdc++.h> // using GCC/G++ #include "custom/prettyprint.hpp" // G++11 only using namespace std; struct Interval {...
<commit_before> #include "stdio.h" #include <iostream> #include <boost/shared_ptr.hpp> #include <boost/enable_shared_from_this.hpp> #include <ext/hash_map> using boost::enable_shared_from_this; using namespace std; using namespace __gnu_cxx; struct eqstr { bool operator()(const char* s1, const char* s2) const {...
<commit_before> #include "neighborhoods.h" // apply valid and feasable move to the current solution (this) void Neighborhoods::applyMove(const Move& m) { switch (m.getmtype()) { case Move::Ins: { // Get a copy of the node we are going to remove // remove if fr...
<commit_before>#include "../ParserTestsBase.h" #include "compiler/constructs/DataType.h" class ParserTests_Operators : public ParserTestsBase { }; TEST_F(ParserTests_Operators, MultiplyExpression) { FunctionDefinitionNode* node = this->parseSingleFunction("def test(Int x, Int y)\n" ...
<commit_before>/************************************************************************* * * $RCSfile: vclunohelper.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: kz $ $Date: 2004-10-04 17:34:45 $ * * The Contents of this file are made available subject to the terms of * either of the following l...
<commit_before>/* * SharedMemoryController.cpp * * Created on: 31 May 2016 * Author: gnx91527 */ #include <SharedMemoryController.h> namespace filewriter { /** Constructor. * The constructor sets up logging used within the class. */ SharedMemoryController::SharedMemoryController(boost::shared_pt...
<commit_before>#include "upperlayer.hpp" #include <map> #include <utility> #include <vector> #include <algorithm> #include <ostream> #include <cassert> #include <functional> #include <initializer_list> #include <boost/asio.hpp> #include "upperlayer_properties.hpp" #include "upperlayer_statemachine.hpp" namespace u...
<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 "sandbox/win/tests/common/controller.h" #include <string> #include "base/process.h" #include "base/process_util.h" #include ...
<commit_before>#ifndef AB_MEMORY_HPP_ #define AB_MEMORY_HPP_ #include <Pith/Address.hpp> #include <Pith/Assert.hpp> #include <Pith/Page.hpp> #include <Pith/Result.hpp> #include <cstdint> namespace Ab { struct MemoryConfig { Pith::Span<Pith::Page> reservedPages_; std::size_t initialPageCount_; inline auto verify(...
<commit_before>#include "FpsStat.h" #include "common/color_config.h" #include "common/Vector.h" #include "render/LabelNew.h" #include "view/Screen.h" #include <sstream> namespace d2d { FpsStat::FpsStat(float interval) { m_interval = interval * CLOCKS_PER_SEC; m_last_time = 0; m_tot_cost = m_count = 0; } void ...
<commit_before>// Author: Enrico Guiraud, 2021 /************************************************************************* * Copyright (C) 1995-2021, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * Version: MPL 1.1 / GPLv3+ / LGPLv3+ * * 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 or as spec...
<commit_before>// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // // Copyright (C) 2018 Intel Corporation #ifndef OPENCV_GAPI_OWN_MAT_HPP #define OPENCV_GAPI_OWN_MAT_HPP #...
<commit_before>/* * Copyright (C) 2019 pengjian.uestc @ gmail.com */ /* * SPDX-License-Identifier: AGPL-3.0-or-later */ #include <seastar/core/coroutine.hh> #include "redis/keyspace_utils.hh" #include "schema_builder.hh" #include "types.hh" #include "exceptions/exceptions.hh" #include "cql3/statements/ks_prop_def...
<commit_before>//===-- DynamicLoader.cpp ---------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#include <cassert> #include <vector> #include <TacoGL/get.h> #include <TacoGL/Framebuffer.h> using namespace gl; using namespace TacoGL; //=========// // Manager // //=========// FramebufferManager::FramebufferManager() { } FramebufferManager::~FramebufferManager() { } bool FramebufferManager::i...
<commit_before>#include "main.hpp" #include "WaveEffect.hpp" constexpr const char *WaveEffect::Name; const char *WaveEffect::getName() const { return Name; } const char *WaveEffect::getDescriptiveName() const { return "Wave"; } const char *WaveEffect::getDescription() const { return "A wave passes through the pa...
<commit_before>/** @file @brief Implementation @date 2015 @author Sensics, Inc. <http://sensics.com/osvr> */ // Copyright 2015 Sensics, 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 ...
<commit_before>#include "SimpleFilterAudioProcessor.h" #include <ostream> using namespace std; SimpleFilterAudioProcessor::SimpleFilterAudioProcessor() : Parameterized({ {"gain_in", make_shared<Parameter<double>>("Input Gain (dB)", 0.0, -24.0, 24.0)}, {"freq", make_shared<WarpedParame...
<commit_before>// $Id$ /* Copyright (c) 2007-2009, Trustees of The Leland Stanford Junior University 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...
<commit_before>/* * File: RawClient.cpp * Author: Paolo D'Apice * * Created on December 31, 2011, 2:46 PM */ #include "net/sf1r/Errors.hpp" #include "RawClient.hpp" #include <boost/array.hpp> #include <glog/logging.h> #include <sys/time.h> #include <boost/bind.hpp> NS_IZENELIB_SF1R_BEGIN namespace bs = boo...
<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 © 2001-2014, Canal TP and/or its affiliates. All rights reserved. This file is part of Navitia, the software to build cool stuff with public transport. Hope you'll enjoy and contribute to this project, powered by Canal TP (www.canaltp.fr). Help us simplify mobility and open publ...
<commit_before>/*************************************************** This is a library for the CAP1188 I2C/SPI 8-chan Capacitive Sensor Designed specifically to work with the CAP1188 sensor from Adafruit ----> https://www.adafruit.com/products/1602 These sensors use I2C/SPI to communicate, 2+ pins are r...
<commit_before>#include <seqan/seeds.h> #include <seqan/file.h> #include <fstream> using namespace seqan; using namespace std; template <typename TSeedSet, typename TSegment, typename TSize> TSize findSeeds(TSeedSet & seedset, TSegment const & seg_0, TSegment const & seg_1, TSize q, TSize...
<commit_before>/* * Copyright (C) 2013 midnightBITS * * 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, * mod...
<commit_before>#include <LibUtilities/BasicUtils/SessionReader.h> #include <LibUtilities/Communication/Comm.h> #include <MultiRegions/ExpList2D.h> #include <vtkPolyDataReader.h> #include <vtkPolyData.h> #include <vtkPointData.h> #include <vtkPoints.h> #include <vtkCellArray.h> #include <vtkCellDataToPointData.h> #incl...
<commit_before>/************************************************************************* * * * I|*j^3Cl|a "+!*% qt Nd gW * * l]{y+l?MM* !#Wla\NNP NW MM I| * * ...
<commit_before>// @(#)root/alien:$Name: $:$Id: TAlienFile.cxx,v 1.13 2005/10/27 10:00:41 rdm Exp $ // Author: Andreas Peters 11/09/2003 /************************************************************************* * Copyright (C) 1995-2003, Rene Brun and Fons Rademakers. * * All rights reserved. ...
<commit_before>#include "vm.hpp" #include "vm/object_utils.hpp" #include "builtin/array.hpp" #include "builtin/fixnum.hpp" #include "builtin/io.hpp" #include "objectmemory.hpp" #include "primitives.hpp" #include "capi/capi.hpp" #include "capi/include/ruby.h" #include <fcntl.h> using namespace rubinius; using namesp...
<commit_before>#include "ROOT/RDataFrame.hxx" #include "TChain.h" #include "TEntryList.h" #include "TFile.h" #include "TROOT.h" #include "TSystem.h" #include "TTree.h" #include "gtest/gtest.h" #include <vector> // Write to disk file filename with TTree "t" with nEntries of branch "e" assuming integer values [0..nEntr...
<commit_before>/* Copyright © 2001-2014, Canal TP and/or its affiliates. All rights reserved. This file is part of Navitia, the software to build cool stuff with public transport. Hope you'll enjoy and contribute to this project, powered by Canal TP (www.canaltp.fr). Help us simplify mobility and open publ...
<commit_before>#include "FROG/Collision/BoxCollider.hpp" #include "FROG/Transform.hpp" namespace frog{ BoxCollider::BoxCollider(const sf::Vector2f& dimensions, const sf::Vector2f& _gap, std::function<void(Collision)> fun ) : Collider(fun), gap(_gap) { ...
<commit_before>/* * C S O U N D V S T * * A VST plugin version of Csound, with Python scripting. * * L I C E N S E * * This software 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 * ...
<commit_before>// Copyright (c) 2011-2014 The Bitcoin Core developers // Copyright (c) 2019 The PIVX developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. // // Unit tests for denial-of-service detection/prevention code...
<commit_before>// This file is part of the dune-gdt project: // http://users.dune-project.org/projects/dune-gdt // Copyright holders: Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_GDT_PROLONGATIONS_HH #define DUNE_GDT_PROLONGATIONS_HH #include <vector> ...