text
stringlengths
54
60.6k
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkPProbeFilter.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
<commit_before>#ifndef _KUKA_FRI_ #define _KUKA_FRI_ #include <chrono> #include <stdexcept> #include <boost/units/physical_dimensions/torque.hpp> #include <boost/units/physical_dimensions/plane_angle.hpp> #include <boost/units/physical_dimensions/torque.hpp> #include <boost/lexical_cast.hpp> #include <boost/asio.hpp>...
<commit_before>// Copyright (c) 2011, Christian Rorvik // Distributed under the Simplified BSD License (See accompanying file LICENSE.txt) #ifndef CRUNCH_CONCURRENCY_PLATFORM_WIN32_ATOMIC_OPS_X86_HPP #define CRUNCH_CONCURRENCY_PLATFORM_WIN32_ATOMIC_OPS_X86_HPP #include "crunch/base/assert.hpp" #include "crunch/concur...
<commit_before>/* * ClutterMozHeadless; A headless Mozilla renderer * Copyright (c) 2009, Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU Lesser General Public License, * version 2.1, as published by the Free Software Found...
<commit_before>#pragma once #include <cstddef> #include <memory> #include <functional> #include <ratio> #include <iterator> #include <initializer_list> #include <circular_iterator.hpp> namespace helene { template <class T, std::size_t Size, template <class, class, std::size_t> class StoragePolic...
<commit_before>#define BOOST_TEST_MODULE forward_models sphere #include <boost/test/included/unit_test.hpp> #include "algebra.h" #include "map.h" #include "optimization.h" #include "forward_models/sphere.h" #include "utility.h" #include "test_types.h" #include <iostream> constexpr double EPS = 1e-9; constexpr int ntes...
<commit_before>/*========================================================================= * * Copyright Leiden University Medical Center, Erasmus University Medical * Center and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance w...
<commit_before>#pragma once #ifndef LIGHTPTR_HPP # define LIGHTPTR_HPP #include <cassert> #include <atomic> #include <memory> #include <utility> #include <type_traits> namespace detail { using counter_type = ::std::size_t; using atomic_type = ::std::atomic<counter_type>; using deleter_type = void (*)(void...
<commit_before>extern "C" { #include "nyara.h" } #include <ruby/re.h> #include <ruby/encoding.h> #include <vector> #include <map> #include "inc/str_intern.h" struct RouteEntry { // note on order: scope is supposed to be the last, but when searching, is_sub is checked first bool is_sub; // = last_prefix.start_with?...
<commit_before>#include <algorithm> #include <iomanip> #include <ios> #include <iostream> #include <map> #include <sstream> #include <string> #include <vector> #include <stdint.h> #include <stdio.h> namespace { const char kToplevel[] = "$total$"; const char kOverhead[] = "$overhead$"; const char kIgnore[] = "$i...
<commit_before>#include <sys/types.h> #include <sys/socket.h> #include <arpa/inet.h> #include <unistd.h> #include <stdio.h> #include <errno.h> #include <string.h> bool socketError = false; int DDV_Listen(int port){ int s = socket(AF_INET, SOCK_STREAM, 0); struct sockaddr_in addr; addr.sin_family = AF_INET; a...
<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 "include/core/SkExecutor.h" #include "include/gpu/GrContextOptions.h" #include "tools/flags/CommonFlags.h" DEFINE_int(gpuThreads, 2, ...
<commit_before>// This file is a part of the IncludeOS unikernel - www.includeos.org // // Copyright 2015-2016 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...
<commit_before>//===-- IOStream.cpp --------------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===------------...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: wrap_itkImageSource.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights reserved. See ...
<commit_before>#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <string> #include <iostream> #include <cstring> #include <signal.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #include "clientCommands.cpp" void closeSocket(int atmSock...
<commit_before><commit_msg>ByteString->rtl::OString<commit_after><|endoftext|>
<commit_before><commit_msg>WaE: unreferenced formal parameter<commit_after><|endoftext|>
<commit_before>/* * ApiClient.cpp */ #include "ApiClient.h" ApiClient::ApiClient() { request_buffer.reserve(BUFF_SIZE); } unsigned int ApiClient::request() { return 0; //return runShellCommand(request_buffer); } unsigned int ApiClient::get(const __FlashStringHelper *url) { return request(); } unsigned int Ap...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/usr/diag/prdf/common/framework/register/prdfHomRegisterAcc...
<commit_before>//====================================================================== //----------------------------------------------------------------------- /** * @file record_property_tests.cpp * @brief iutest RecordProperty 対応テスト * * @author t.shirayanagi * @par copyright * Copyr...
<commit_before>#include <unistd.h> #include <process.hpp> #include <iostream> #include <climits> #include <cstdlib> #include <stdexcept> #include <glog/logging.h> #include <boost/lexical_cast.hpp> #include "fatal.hpp" #include "master_detector.hpp" #include "messages.hpp" using namespace nexus; using namespace ne...
<commit_before>// // Z80AllRAM.cpp // Clock Signal // // Created by Thomas Harte on 16/05/2017. // Copyright © 2017 Thomas Harte. All rights reserved. // #include "Z80AllRAM.hpp" #include <algorithm> using namespace CPU::Z80; AllRAMProcessor::AllRAMProcessor() : ::CPU::AllRAMProcessor(65536) {} int AllRAMProces...
<commit_before>// Ylikuutio - A 3D game and simulation engine. // // Copyright (C) 2015-2021 Antti Nuortimo. // // 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 ...
<commit_before>#include <stdint.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <sys/time.h> #include <util.h> #include <FtdiLink.hh> #include <Proto.hh> class Handler : public ProtoHandler { private: uint8_t status; bool done; public: virtual ~Handler() {} void resetDone(void) { done ...
<commit_before>/* * Copyright (c) 2007, 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>// RUN: clang-tidy -checks='-*,modernize-use-override' %s.nonexistent.cpp -- | FileCheck -check-prefix=CHECK1 -implicit-check-not='{{warning:|error:}}' %s // RUN: clang-tidy -checks='-*,clang-diagnostic-*,google-explicit-constructor' %s -- -fan-unknown-option | FileCheck -check-prefix=CHECK2 -implicit-ch...
<commit_before>class Solution { public: /** * @param s: a string * @return: an integer */ std::map<char, int> mapCtoSub; int lengthOfLongestSubstring(string s) { // write your code here int i,j,k; } };<commit_msg>solving 384<commit_after>class Solution { public: /**...
<commit_before>#include "keyconmode_select.h" void Keyconmode_select::Change_to_keyconmode() { if (*menue_var == this_menue_var && (CheckHitKey(KEY_INPUT_Z) || CheckHitKey(KEY_INPUT_RETURN) || CheckHitKey(KEY_INPUT_SPACE) || *p_push_joyshot_flag == true)) { *p_system_var = 1; } } void Keyconmode_select::Getinput_...
<commit_before>#include "FAP.h" #include "Util.h" namespace Neolib { FastAPproximation::FastAPproximation() { } void FastAPproximation::addUnitPlayer1(FAPUnit fu) { player1.push_back(fu); } void FastAPproximation::addUnitPlayer2(FAPUnit fu) { player2.push_back(fu); } void FastAPproximation::simulate(i...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>/* 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 at http://mozilla.org/MPL/2.0/. */ #include <assert.h> #include <stdio.h> #include <string.h> #include <windows.h> #include <msctf.h> ...
<commit_before>// Copyright (c) 2015, Matthew Malensek. // Distributed under the BSD 2-Clause License (see LICENSE.txt for details) #include "Updater.h" #pragma comment(lib, "Urlmon.lib") #pragma comment(lib, "Version.lib") #pragma comment(lib, "wininet.lib") #include <Windows.h> #include <WinInet.h> #include <sstre...
<commit_before><commit_msg>INTEGRATION: CWS ooo19126 (1.3.452); FILE MERGED 2005/09/05 15:00:31 rt 1.3.452.1: #i54170# Change license header: remove SISSL<commit_after><|endoftext|>
<commit_before>// Copyright (c) 2013 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "xwalk/runtime/browser/xwalk_browser_main_parts.h" #include <string> #include "base/bind.h" #include "base/command_line.h" #inc...
<commit_before>#pragma once #include <vpp/core/vector.hh> #include <vpp/draw/square.hh> #include <vpp/draw/symbols.hh> #include <list> namespace vpp { using namespace vpp; using namespace draw; template <typename V, typename U> void line2d_hough(vint2 a, vint2 b, V paint, U paint_border,image2d<unsigned char> grad , ...
<commit_before>/* * Copyright (C) 2008, 2010 Apple Inc. All Rights Reserved. * Copyright (C) 2009 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: * 1. Redistributions of source ...
<commit_before>/* * Copyright 2014 Real Logic Ltd. * * 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 la...
<commit_before>/* * Copyright (c) 2017, Arm Limited and affiliates. * 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://www.apache.org...
<commit_before>#include <bts/db/object_database.hpp> #include <bts/db/undo_database.hpp> #include <fc/reflect/variant.hpp> namespace bts { namespace db { void undo_database::enable() { _disabled = false; } void undo_database::disable() { _disabled = true; } undo_database::session undo_database::start_undo_session()...
<commit_before>/* ESP8266WebServer.cpp - Dead simple web-server. Supports only one simultaneous client, knows how to handle GET and POST. Copyright (c) 2014 Ivan Grokhotkov. All rights reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General...
<commit_before>/** * Throughout these tests, you might see some notation indicating the state of * a placement allocator. General things to know: * * - R = active region structure in memory * - S = inactive region structure in the stack * - space = a free piece of memory * * I denote disjoint regions using brac...
<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>/* * Copyright 2012 Google 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 applicable l...
<commit_before>/** * \file BaseFilter.cpp */ #include "BaseFilter.h" #include <cassert> #include <cstdint> #include <iostream> #include <stdexcept> #if ATK_USE_THREADPOOL == 1 #include <tbb/task_group.h> #endif namespace ATK { BaseFilter::BaseFilter(unsigned int nb_input_ports, unsigned int nb_output_ports) :...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2012. All rights reserved */ #include "../../StroikaPreComp.h" #include "../../Characters/Format.h" #include "Writer.h" using namespace Stroika; using namespace Stroika::Foundation; using namespace Stroika::Foundation::Characters;...
<commit_before>/* Copyright (C) 2005-2007, Thorvald Natvig <[email protected]> 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 co...
<commit_before>#include <ModuleFramework/Module.h> #include "ModuleFramework/ModuleManager.h" #include "Tools/StrategyTools.h" #include <gtest/gtest.h> using namespace std; class StrategyToolsTest : public ::testing::Test { public: StrategyTools* strategyTools; protected: StrategyToolsTest(){} virtual void SetU...
<commit_before>#include "aquila/global.h" #include "aquila/filter/MelFilter.h" #include "aquila/filter/MelFilterBank.h" #include <unittestpp.h> #include <cstddef> #include <vector> template <std::size_t N> void testMelFilterBankOutput() { Aquila::FrequencyType sampleFrequency = 44100.0; Aquila::MelFilterBank f...
<commit_before>// This test case fails unless an implementation of TLS backend is installed. // (Exception caught: TLS support is not available.) // Module glib-networking implements TLS backend. // // Even if glib-networking is installed, it's possible that glib does not find it. // That's very probable if glib and gl...
<commit_before>/************************************************************************* * * $RCSfile: filprp.cxx,v $ * * $Revision: 1.1 $ * * last change: $Author: kso $ $Date: 2000-10-16 14:53:36 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>/* bzflag * Copyright (c) 1993 - 2005 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 LICENSE that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ...
<commit_before>// request.cpp // #include "request.h" #include "requestfields.h" #include "player.h" #include "event/types.h" #include "network/response.h" #include <string> namespace xim { namespace network { using namespace xim::event; /* * Excerpt from the Official Unwrittten Boostcraft Style Guide: * * Prep...
<commit_before>#ifndef MJOLNIR_TEST_MAKE_EMPTY_INPUT_HPP #define MJOLNIR_TEST_MAKE_EMPTY_INPUT_HPP #include <extlib/toml/toml.hpp> #include <mjolnir/util/string.hpp> namespace mjolnir { namespace test { // make a minimal input file that contains no particle, no forcefield. // It contains only parameters that are need...
<commit_before>/* * Copyright 2016 CodiLime * * 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 ag...
<commit_before>/** \copyright * Copyright (c) 2013, Balazs Racz * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright notice,...
<commit_before>/* * Copyright (c) 2013-2015, The University of Oxford * 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 noti...
<commit_before>/** * @file ProcessTest.cpp * @brief Process & PipeProcess class tester. * @author zer0 * @date 2016-05-19 */ #include <gtest/gtest.h> #include <libtbag/process/Process.hpp> #include <libtbag/process/PipeProcess.hpp> #include <libtbag/filesystem/Path.hpp> #include <libtbag/predef.hpp> #includ...
<commit_before>#ifndef Cropping #define Cropping #define _CRT_SECURE_NO_DEPRECATE #include "croppingTool.h" #include "ClassifierTraining.h" #include "opencv2/objdetect.hpp" //#include "opencv2/videoio.hpp" #include "opencv2/highgui.hpp" #include "opencv2/imgproc.hpp" #include <iostream> #include <stdio.h> #include <o...
<commit_before>#ifndef __EVENT_HXX #define __EVENT_HXX #include <sal/types.h> #include <cppuhelper/implbase1.hxx> #include <cppuhelper/implbase2.hxx> #include <cppuhelper/implbase3.hxx> #include <com/sun/star/uno/Reference.h> #include <com/sun/star/uno/Exception.hpp> #include <com/sun/star/xml/dom/events/XEventTarget...
<commit_before>///////////////////////////////////////////////////////////////////////////// // Original authors: SangGi Do([email protected]), Mingyu Woo([email protected]) // (respective Ph.D. advisors: Seokhyeong Kang, Andrew B. Kahng) // Rewrite by James Cherry, Parallax Software, Inc. // BSD 3-Clause ...
<commit_before>#include <stdio.h> #include <memory.h> #include <assert.h> #include <stdlib.h> #include "halide_benchmark.h" #include "process.h" void usage(char *prg_name) { const char usage_string[] = " Run a bunch of small filters\n\n" "\t -m -> hvx_mode - options are hvx64, hvx1...
<commit_before>/* * Copyright (C) 2013-2015 Daniel Nicoletti <[email protected]> * * 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 o...
<commit_before>#include "catch.hpp" #include <shadow.hpp> #include <vector> #include <iostream> struct tca1 { int i; char c; }; class tca2 { public: tca2() : c_('a') { } tca2(char c) : c_(std::move(c)) { } char get_c() const { return c_; } private: char...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: aquavclevents.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: kz $ $Date: 2007-10-09 15:07:55 $ * * The Contents of this file are ...
<commit_before>/************************************************************************* * * $RCSfile: salcolorutils.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: pluby $ $Date: 2001-03-13 09:44:40 $ * * The Contents of this file are made available subject to the terms of * either of the followi...
<commit_before><commit_msg>Remove unused #define<commit_after><|endoftext|>
<commit_before>#include "Halide.h" namespace { // Compile a simple pipeline to an object and to C code. HalideExtern_2(int, an_extern_func, int, int); class Pipeline : public Halide::Generator<Pipeline> { public: ImageParam input{UInt(16), 2, "input"}; Func build() { Var x, y; Func f, g, h; ...
<commit_before>#include "LargeRAWFile.h" using namespace std; #define BLOCK_COPY_SIZE (UINT64(128*1024*1024)) LargeRAWFile::LargeRAWFile(const std::string& strFilename, UINT64 iHeaderSize) : m_strFilename(strFilename), m_bIsOpen(false), m_bWritable(false), m_iHeaderSize(iHeaderSize) { } LargeRAWFile::LargeR...
<commit_before>// RUN: %check_clang_tidy %s cppcoreguidelines-pro-type-member-init %t -- -config="{CheckOptions: [{key: "cppcoreguidelines-pro-type-member-init.UseAssignment", value: 1}]}" struct T { int i; }; struct S { bool b; // CHECK-FIXES: bool b = false; char c; // CHECK-FIXES: char c = 0; signed ch...
<commit_before>/* * Copyright 2015 - 2016 [email protected] * * 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 at http://mozilla.org/MPL/2.0/. */ #pragma once #include <ox/std/std.hpp> namespac...
<commit_before>/* * Use and distribution licensed under the Apache license version 2. * * See the COPYING file in the root project directory for full text. */ #include <iostream> #include <cctype> #include <sstream> #include "parser/error.h" #include "parser/parse.h" #include "parser/symbol.h" #include "parser/to...
<commit_before>/// /// @file pi_deleglise_rivat_parallel1.cpp /// @brief Parallel implementation of the Lagarias-Miller-Odlyzko /// prime counting algorithm with the improvements of Deleglise /// and Rivat. This implementation is based on /// pi_deleglise_rivat1.cpp and the paper: Tomás Oliveira ...
<commit_before>// Copyright (c) 2013 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "atom/renderer/atom_renderer_client.h" #include <string> #include <vector> #include "atom/common/api/api_messages.h" #include "atom/common/api/atom_bindings.h...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a ...
<commit_before><commit_msg>fdo#56832 Explicitly mention Ogg Audio and Video<commit_after><|endoftext|>
<commit_before>//===----------------------------------------------------------------------===// // // 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. // //===-------------------------...
<commit_before>/* * message queues * * Based on wine/server/queue.c * Copyright (C) 2000 Alexandre Julliard * * Modifications for ring3k * Copyright 2006-2009 Mike McCormack * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Licens...
<commit_before>/* simple hash table for kmail. inspired by QDict */ /* Author: Ronen Tzur <[email protected]> */ #include "kmdict.h" #include <string.h> //----------------------------------------------------------------------------- KMDict::KMDict(int size) { init(size); } //--------------------------------------...
<commit_before>#pragma once #include <tuple> #include <utility> #include <core/function_traits.hpp> #include <core/traits.hpp> #include <core/tuple_meta.hpp> namespace fc { template <class... ports> struct mux_port; template <class op> struct unloaded_merge_port; template <class op, class... ports> struct loaded_merg...
<commit_before>//! Copyright (c) 2014 ASMlover. 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, thi...
<commit_before>#pragma once #include <bts/blockchain/types.hpp> namespace bts { namespace blockchain { static std::map<uint32_t, bts::blockchain::block_id_type> CHECKPOINT_BLOCKS { { 1, bts::blockchain::block_id_type( "8523e28fde6eed4eb749a84e28c9c7b56870c9cc" ) }, { 25001, bts::blockchain::block_id_t...
<commit_before>/** * @file */ #include "bi/visitor/Resolver.hpp" #include "bi/visitor/Gatherer.hpp" #include "bi/exception/all.hpp" bi::Resolver::Resolver(Scope* scope) : inInputs(false), membershipScope(nullptr) { if (scope) { push(scope); } } bi::Resolver::~Resolver() { // } void bi::Resolver:...
<commit_before>// // Projectname: amos-ss16-proj5 // // Copyright (c) 2016 de.fau.cs.osr.amos2016.gruppe5 // // This file is part of the AMOS Project 2016 @ FAU // (Friedrich-Alexander University Erlangen-Nürnberg) // // This program is free software: you can redistribute it and/or modify // it under the terms of the G...
<commit_before>/* * 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 later version. * * Written (W) 1999-2009 Soeren Sonnenburg * W...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: http://www.qt-project.org/ ** ** ** GNU Lesser General Public License Usage ** ** This file may be used ...
<commit_before>// Copyright (c) 2015 Chaobin Zhang. All rights reserved. // Use of this source code is governed by the BSD license that can be // found in the LICENSE file. #include "slave/slave_main_runner.h" #include <set> #include <vector> #include "base/bind.h" #include "base/files/file_util.h" #include "base/ha...
<commit_before>// // Copyright (c) 2012 Kim Walisch, <[email protected]>. // All rights reserved. // // This file is part of primesieve. // Homepage: http://primesieve.googlecode.com // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following c...
<commit_before>/**************************************************************************** * * (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * **********************...
<commit_before>/* This file is part of Strigi Desktop Search * * Copyright (C) 2006 Jos van den Oever <[email protected]> * * 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; eithe...
<commit_before>/******************************************************************************* * SOFA, Simulation Open-Framework Architecture, version 1.0 beta 1 * * (c) 2006-2007 MGH, INRIA, USTL, UJF, CNRS * * ...
<commit_before>/* ExtendOSC.cpp Created by Joshua Shinavier, 2014 Released into the public domain. */ #include "ExtendOSC.h" #ifdef BOARD_HAS_USB_SERIAL #include <SLIPEncodedUSBSerial.h> SLIPEncodedUSBSerial SLIPSerial(thisBoardsSerialUSB); #else #include <SLIPEncodedSerial.h> SLIPEncodedSerial SLIPSerial(Seria...
<commit_before>#include "instanciate.h" using namespace Yuni; namespace ny { namespace Pass { namespace Instanciate { namespace { void pragmaBodyStart(SequenceBuilder& seq) { assert(seq.frame != nullptr); assert(not seq.signatureOnly); assert(seq.codeGenerationLock == 0 and "any good reason to not gen...
<commit_before>/* Copyright (c) 2013, Ford Motor Company 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 conditi...
<commit_before>/* kopeteballoon.cpp - Nice Balloon Copyright (c) 2002 by Duncan Mac-Vicar Prett <[email protected]> Kopete (c) 2002 by the Kopete developers <[email protected]> Portions of this code based on Kim Applet code Copyright (c) 2000-2002 by Malte Starostik <malte@...
<commit_before>//===- StandardTypes.cpp - MLIR Standard Type Classes ---------------------===// // // Copyright 2019 The MLIR Authors. // // 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>/////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use th...
<commit_before>#include "THClKernels.h" #include "EasyCL.h" #include "THClTensor.h" #include <stdexcept> #include "THClReduceApplyUtils.h" #include "CLKernel_structs.h" using namespace std; // Constructor THClKernels::THClKernels(THClState *state, CLKernel *kernel) : state(state), kernel(kernel) { } THClKernels::...
<commit_before>//===- Pattern.cpp - Pattern wrapper class --------------------------------===// // // Copyright 2019 The MLIR Authors. // // 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><commit_msg>Use the positions of the root bone in world space, contrarily to the other bones that are in bone space. This does not seem to be defined in the BVH specifications, but seems more commonly used by the different mocap systems.<commit_after><|endoftext|>