text
string
meta
dict
// (C) Copyright Edward Diener 2012,2013 // Use, modification and distribution are subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt). #if !defined(BOOST_TTI_DETAIL_FTCLASS_HPP) #define BOOST_TTI_DETAIL_FTCLASS_H...
{ "language": "C++" }
// balm_category.t.cpp -*-C++-*- // ---------------------------------------------------------------------------- // NOTICE // // This component is not up to date with current BDE coding standards, and // should not be used as an example f...
{ "language": "C++" }
#pragma once // Copyright 2016 Stellar Development Foundation and contributors. Licensed // under the Apache License, Version 2.0. See the COPYING file at the root // of this distribution or at http://www.apache.org/licenses/LICENSE-2.0 #include "xdr/Stellar-ledger-entries.h" #include "xdr/Stellar-transaction.h" #inc...
{ "language": "C++" }
/************************************************************************* * Copyright (c) 2014 Zhang Dongdong * 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 *...
{ "language": "C++" }
//***************************************************************************** // Copyright 2017-2020 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 // // http://w...
{ "language": "C++" }
/* * Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT) * All rights reserved. * * This software may be modified and distributed under the terms of the * BSD-3-Clause license. See the accompanying LICENSE file for details. */ // This is an automatically generated file. #ifndef YARP_ROSMSG_deprecated2...
{ "language": "C++" }
#pragma once #include "d3d10_util.h" namespace dxvk { class D3D11BlendState; class D3D11Device; class D3D10BlendState : public ID3D10BlendState1 { public: D3D10BlendState(D3D11BlendState* pParent) : m_d3d11(pParent) { } HRESULT STDMETHODCALLTYPE QueryInterface( REFIID ...
{ "language": "C++" }
#include <STC15F2K60S2.H> #include <OS_Core.h> #include <OS.h> #include <stdlib.h> // 开辟栈空间 uint8_t idata SystemStack[StackSize]; //系统栈,系统进程使用 uint8_t idata UserStack[StackSize]; //用户进程栈,用户进程使用,中转用 // 开辟堆空间 uint8_t xdata HeapMemory[HeapSize]; // 开辟CPU现场保存到进程PCB的中转站 uint8_t PSW_Backups; uint8_t R0_Backups; uint8_t...
{ "language": "C++" }
#ifndef MSA_H #define MSA_H #include <boost/multi_array.hpp> #include "needle.h" #include "gotoh.h" namespace torali { inline int32_t lcs(std::string const& s1, std::string const& s2) { uint32_t m = s1.size(); uint32_t n = s2.size(); int32_t prevdiag = 0; int32_t prevprevdiag = 0; std::vector...
{ "language": "C++" }
// Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #define IDD_JS_MSGBOX 25600 #define IDD_RESPONSE ...
{ "language": "C++" }
/* --------------------------------------------------------------------------- Open Asset Import Library (assimp) --------------------------------------------------------------------------- Copyright (c) 2006-2020, assimp team All rights reserved. Redistribution and use of this software in source and binary forms,...
{ "language": "C++" }
/* * Copyright 2011 The LibYuv 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. All contributing p...
{ "language": "C++" }
// // SuperTuxKart - a fun racing game with go-kart // Copyright (C) 2011-2015 Joerg Henrichs // // 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 ...
{ "language": "C++" }
/* * (C) 2018 Jack Lloyd * * Botan is released under the Simplified BSD License (see license.txt) */ #include "tests.h" #if defined(BOTAN_HAS_BLOWFISH) #include <botan/blowfish.h> namespace Botan_Tests { class Blowfish_Salted_Tests final : public Text_Based_Test { public: Blowfish_Salted_Tests() : Text...
{ "language": "C++" }
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2013, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following...
{ "language": "C++" }
// Copyright (c) 2006, 2007 Julio M. Merino Vidal // Copyright (c) 2008 Ilya Sokolov, Boris Schaeling // Copyright (c) 2009 Boris Schaeling // Copyright (c) 2010 Felipe Tanus, Boris Schaeling // Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling // Copyright (c) 2016 Klemens D. Morgenstern // // Distributed under the...
{ "language": "C++" }
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2017-present Facebook, Inc. (http://www.facebook.com) | +---------...
{ "language": "C++" }
/* * Copyright (C) 1999-2001 Harri Porten (porten@kde.org) * Copyright (C) 2003-2006, 2008-2009, 2013, 2016 Apple Inc. All rights reserved. * Copyright (C) 2007 Samuel Weinig <sam@webkit.org> * Copyright (C) 2009 Google, Inc. All rights reserved. * Copyright (C) 2012 Ericsson AB. All rights reserved. * Copy...
{ "language": "C++" }
/* This file is part of PyMesh. Copyright (c) 2015 by Qingnan Zhou */ #pragma once #include <string> #include <Core/EigenTypedef.h> #include <Core/Exception.h> #include <Assembler/Materials/OrthotropicMaterial.h> #include "MaterialTest.h" class OrthotropicMaterialTest : public MaterialTest { protected: ...
{ "language": "C++" }
// Copyright 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: // // * Redistributions of source code must retain the above copyright // notice, this list of conditions and ...
{ "language": "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 // //===---------------------------...
{ "language": "C++" }
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2006 Torus Knot Software Ltd Also see acknowledgements in Readme.html This program is fre...
{ "language": "C++" }
// Copyright 2014 the V8 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. #include "src/compiler/backend/move-optimizer.h" #include "src/codegen/register-configuration.h" namespace v8 { namespace internal { namespace compile...
{ "language": "C++" }
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/gamelift/GameLift_EXPORTS.h> #include <aws/gamelift/GameLiftRequest.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { namespace GameLif...
{ "language": "C++" }
// Mantid Repository : https://github.com/mantidproject/mantid // // Copyright &copy; 2018 ISIS Rutherford Appleton Laboratory UKRI, // NScD Oak Ridge National Laboratory, European Spallation Source, // Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS // SPDX - License - Identifier: GPL - 3.0 ...
{ "language": "C++" }
/** * Yaafe * * Copyright (c) 2009-2010 Institut Télécom - Télécom Paristech * Télécom ParisTech / dept. TSI * * Author : Benoit Mathieu * * This file is part of Yaafe. * * Yaafe is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published...
{ "language": "C++" }
// Copyright 2018 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/macros.h" #include "base/strings/string_util.h" #include "base/strings/utf_string_conversions.h" std::string output_std_string; std::wstri...
{ "language": "C++" }
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
{ "language": "C++" }
/*========================================================================= Library: CTK Copyright (c) Kitware 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...
{ "language": "C++" }
/*============================================================================= Copyright (c) 2001-2011 Joel de Guzman Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ========================================...
{ "language": "C++" }
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // ...
{ "language": "C++" }
/** * 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 * "License"); you...
{ "language": "C++" }
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\...
{ "language": "C++" }
/* * Copyright (C) 2002, 2003 The Karbon Developers * Copyright (C) 2006 Alexander Kellett <lypanov@kde.org> * Copyright (C) 2006, 2007 Rob Buis <buis@kde.org> * Copyright (C) 2007, 2009, 2015 Apple Inc. All rights reserved. * Copyright (C) Research In Motion Limited 2010. All rights reserved. * * This library i...
{ "language": "C++" }
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/devicefarm/DeviceFarm_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { namespace Utils { namespace Json { class JsonValue; ...
{ "language": "C++" }
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
{ "language": "C++" }
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
{ "language": "C++" }
// Copyright 2007, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditions ...
{ "language": "C++" }
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #pragma once // External depe...
{ "language": "C++" }
/* Open Asset Import Library (assimp) ---------------------------------------------------------------------- Copyright (c) 2006-2015, assimp team All rights reserved. Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions ...
{ "language": "C++" }
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
{ "language": "C++" }
// Boost.Geometry (aka GGL, Generic Geometry Library) // Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands. // Copyright (c) 2008-2012 Bruno Lalande, Paris, France. // Copyright (c) 2009-2012 Mateusz Loskot, London, UK. // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library ...
{ "language": "C++" }
#include <torch/serialize/tensor.h> #include <torch/extension.h> #define CHECK_CUDA(x) do { \ if (!x.type().is_cuda()) { \ fprintf(stderr, "%s must be CUDA tensor at %s:%d\n", #x, __FILE__, __LINE__); \ exit(-1); \ } \ } while (0) #define CHECK_CONTIGUOUS(x) do { \ if (!x.is_contiguous()) { \ fprintf...
{ "language": "C++" }
// Ceres Solver - A fast non-linear least squares minimizer // Copyright 2015 Google Inc. All rights reserved. // http://ceres-solver.org/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of so...
{ "language": "C++" }
#include <osg/StencilTwoSided> #include <osgDB/ObjectWrapper> #include <osgDB/InputStream> #include <osgDB/OutputStream> BEGIN_USER_TABLE( Function, osg::StencilTwoSided ); ADD_USER_VALUE( NEVER ); ADD_USER_VALUE( LESS ); ADD_USER_VALUE( EQUAL ); ADD_USER_VALUE( LEQUAL ); ADD_USER_VALUE( GREATER );...
{ "language": "C++" }
// Copyright Aleksey Gurtovoy 2000-2004 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // Preprocessed version of "boost/mpl/plus.hpp" header // -- DO NOT modify by hand! namespace boost { ...
{ "language": "C++" }
/* * Copyright (C) 2007, 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 of c...
{ "language": "C++" }
//===- PhiValuesTest.cpp - PhiValues unit tests ---------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
{ "language": "C++" }
/** * @file src/llvmir2hll/semantics/semantics/win_api_semantics/get_name_of_param/h.cpp * @brief Implementation of the initialization of WinAPI functions. * @copyright (c) 2017 Avast Software, licensed under the MIT license */ #include "retdec/llvmir2hll/semantics/semantics/win_api_semantics/get_name_of_param/h.h" n...
{ "language": "C++" }
// Vita3K emulator project // Copyright (C) 2018 Vita3K team // // 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 2 of the License, or // (at your option) any later version. // /...
{ "language": "C++" }
//===-- IOStream.h ----------------------------------------------*- 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 // //===---------------------------...
{ "language": "C++" }
/* * Copyright Andrey Semashev 2007 - 2015. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) */ /*! * \file keywords/max_size.hpp * \author Andrey Semashev * \date 30.06.2009 * * Th...
{ "language": "C++" }
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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/. */ // // Eric Vaughan // Netscape Com...
{ "language": "C++" }
#include <string> #include <memory> #include <logicalaccess/readerproviders/readerprovider.hpp> #include <logicalaccess/plugins/cards/icode1/icode1chip.hpp> #include <logicalaccess/plugins/cards/icode1/lla_cards_icode1_api.hpp> extern "C" { LLA_CARDS_ICODE1_API char *getLibraryName() { return (char *)"iCode1"; } ...
{ "language": "C++" }
#ifndef __drishti_eye_EyeImpl_h__ #define __drishti_eye_EyeImpl_h__ 1 #include "drishti/eye/Eye.h" DRISHTI_EYE_NAMESPACE_BEGIN template <class Archive> void EyeModel::serialize(Archive& ar, const unsigned int version) { ar& GENERIC_NVP("roi", roi); ar& GENERIC_NVP("eyelids", eyelids); ar& GENERIC_NVP("c...
{ "language": "C++" }
#pragma once #include <set> #include <string> struct WordExpansion : std::set<std::string> { WordExpansion(const char *expression = nullptr); WordExpansion(const std::string &expression); void Expand(const char *expression); };
{ "language": "C++" }
/** * 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 * "license"); you...
{ "language": "C++" }
#pragma once #include "VaultSearchResults.h" #include "ThumbnailSorter.h" #include "Editor/ThreadMechanism.h" namespace Helium { namespace Editor { class ThumbnailView; class ThumbnailTileCreator : public ThreadMechanism { public: ThumbnailTileCreator( ThumbnailVie...
{ "language": "C++" }
/* * Xen basic APIC support * * Copyright (c) 2012 Citrix * * Authors: * Wei Liu <wei.liu2@citrix.com> * * This work is licensed under the terms of the GNU GPL version 2 or * later. See the COPYING file in the top-level directory. */ #include "qemu/osdep.h" #include "hw/i386/apic_internal.h" #include "hw/pci...
{ "language": "C++" }
/* Copyright (c) <2003-2019> <Julio Jerez, Newton Game Dynamics> * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose...
{ "language": "C++" }
/******************************************************************************* * Copyright (c) 2020 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * * Unle...
{ "language": "C++" }
{ dimensionedScalar totalMass = fvc::domainIntegrate(rho); scalar sumLocalContErr = ( fvc::domainIntegrate(mag(rho - thermo.rho()))/totalMass ).value(); scalar globalContErr = ( fvc::domainIntegrate(rho - thermo.rho())/totalMass ).value(); cumulativeContErr[i] += globa...
{ "language": "C++" }
/*============================================================================= Copyright (c) 2001-2011 Joel de Guzman Copyright (c) 2001-2011 Hartmut Kaiser http://spirit.sourceforge.net/ Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or cop...
{ "language": "C++" }
// bslmf_util.t.cpp -*-C++-*- #include <bslmf_util.h> #include <bsls_objectbuffer.h> #include <bsls_bsltestutil.h> #include <stdio.h> #include <stdlib.h> #include <new> // required to support use of "placement new" using namespace BloombergLP; //=================...
{ "language": "C++" }
/* * Copyright (c) 2018-2019 Arm Limited. * * SPDX-License-Identifier: MIT * * 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 * ri...
{ "language": "C++" }
/* ----------------------------------------------------------------------------- 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 any ...
{ "language": "C++" }
////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2004-2019 musikcube team // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redist...
{ "language": "C++" }
/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkMeshUtils.h" #include "SkCanvas.h" #include "SkPaint.h" SkMeshIndices::SkMeshIndices() { sk_bzero(this, sizeof(*this)); } SkMeshIndices::~SkMeshIndices() { ...
{ "language": "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 // //===-------------------------...
{ "language": "C++" }
// Copyright © 2017-2020 Trust Wallet. // // This file is part of Trust. The full Trust copyright notice, including // terms governing use, modification, and redistribution, is contained in the // file LICENSE at the root of the source code distribution tree. #pragma once #include "Transaction.h" #include "../Data.h"...
{ "language": "C++" }
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
{ "language": "C++" }
// Copyright John Maddock 2015. // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #ifdef _MSC_VER # pragma warning (disable : 4224) #endif #include <boost/math/special_functio...
{ "language": "C++" }
#ifndef BOOST_ARCHIVE_BASIC_XML_IARCHIVE_HPP #define BOOST_ARCHIVE_BASIC_XML_IARCHIVE_HPP // MS compatible compilers support #pragma once #if defined(_MSC_VER) # pragma once #endif /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 // basic_xml_iarchive.hpp // (C) Copyright 2002 Robert ...
{ "language": "C++" }
#ifndef THEMEMANAGERWIDGET_H #define THEMEMANAGERWIDGET_H #include <QDialog> #include <QtNetwork/QNetworkAccessManager> #include <QtNetwork/QNetworkReply> namespace Ui { class ThemeManagerWidget; } class ThemeManagerWidget : public QDialog { Q_OBJECT public: explicit ThemeManagerWidget(QWidget *parent =...
{ "language": "C++" }
// // detail/impl/select_reactor.ipp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2019 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #ifndef...
{ "language": "C++" }
// // detail/resolver_service_base.hpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2017 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #if...
{ "language": "C++" }
// Copyright 2014 the V8 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. #include "src/runtime/runtime-utils.h" #include "src/arguments.h" #include "src/conversions.h" #include "src/isolate-inl.h" #include "src/objects-inl.h...
{ "language": "C++" }
/* * QEMU model of the Milkymist SoftUSB block. * * Copyright (c) 2010 Michael Walle <michael@walle.cc> * * 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 of t...
{ "language": "C++" }
// Server.cpp // Interfaces to the cServer class encapsulating the entire "server" #include "Globals.h" #include "Server.h" #include "Connection.h" #include "../../src/Logger.h" cServer::cServer(void) { } int cServer::Init(UInt16 a_ListenPort, UInt16 a_ConnectPort) { m_ConnectPort = a_ConnectPort; #ifde...
{ "language": "C++" }
// Boost system_error.hpp --------------------------------------------------// // Copyright Beman Dawes 2006 // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_SYSTEM_ERROR_HPP #define BOOST_SYSTE...
{ "language": "C++" }
/********** 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 version. (See <http://www.gnu.org/copyleft/lesser.html>.) This libr...
{ "language": "C++" }
/* * Copyright (c) 2003, 2007-14 Matteo Frigo * Copyright (c) 2003, 2007-14 Massachusetts Institute of Technology * * 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 2 of the ...
{ "language": "C++" }
/* * Copyright (c) 2010-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #include <Swiften/VCards/VCardStorage.h> #include <Swiften/Crypto/CryptoProvider.h> #include <Swiften/StringCodecs/Hexify.h> namespace Swift { VCardStorage::VCardStorage(CryptoProvider* crypto) : c...
{ "language": "C++" }
/* * Copyright 2012 Red Hat Inc. * * 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, publish, d...
{ "language": "C++" }
#include "catch.hpp" // If this fails, download https://github.com/catchorg/Catch2/releases/download/v1.11.0/catch.hpp #include "helpers.h" #include "test_weighting_helpers.h" extern "C" void keep9() {} TEST_CASE("Test contrib windows", "[fastscaling]") { char msg[256]; flow_c context; flow_context_init...
{ "language": "C++" }
// copyright (c) 2014 Grant Mercer // // SPDX-License-Identifier: BSL-1.0 // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <hpx/hpx.hpp> #include <hpx/hpx_init.hpp> #include <hpx/include/parallel_find.h...
{ "language": "C++" }
/* Copyright (C) Tom Forsyth, 2001. * All rights reserved worldwide. * * This software is provided "as is" without express or implied * warranties. You may freely copy and compile this source into * applications you distribute provided that the copyright text * below is included in the resulting source code, for...
{ "language": "C++" }
#ifndef MULTI_SCAN2CLOUD_H #define MULTI_SCAN2CLOUD_H #include "ros/ros.h" #include "sensor_msgs/PointCloud2.h" #include "tf/transform_listener.h" #include <sensor_msgs/LaserScan.h> class ScanProcessor { public: ScanProcessor(); void SetParams(const ros::NodeHandle &nh); void ProcessScan(const sensor_...
{ "language": "C++" }
// Copyright Aleksey Gurtovoy 2000-2004 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // Preprocessed version of "boost/mpl/apply_fwd.hpp" header // -- DO NOT modify by hand! namespace boost { namesp...
{ "language": "C++" }
// Boost.Geometry (aka GGL, Generic Geometry Library) // Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands. // Use, modification and distribution is subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifnd...
{ "language": "C++" }
name: gpu_mem_total ID: 639 format: field:unsigned short common_type; offset:0; size:2; signed:0; field:unsigned char common_flags; offset:2; size:1; signed:0; field:unsigned char common_preempt_count; offset:3; size:1; signed:0; field:int common_pid; offset:4; size:4; signed:1; field:uint32_t gpu_id; offset:8; s...
{ "language": "C++" }
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // //********************************************************* #pragma once #include "Scenario1_OvenClient.g.h" namespace SDKTemplate { namespace WRLInProcessWinRTComponent { p...
{ "language": "C++" }
//===- PDBSymbolTypeBaseClass.cpp - -----------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
{ "language": "C++" }
/* * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
{ "language": "C++" }
/*********************************************************************** * * Copyright (c) 2012-2020 Barbara Geller * Copyright (c) 2012-2020 Ansel Sermersheim * * Copyright (c) 2015 The Qt Company Ltd. * Copyright (c) 2012-2016 Digia Plc and/or its subsidiary(-ies). * Copyright (c) 2008-2012 Nokia Corporation and/or i...
{ "language": "C++" }
/* MollenOS * * Copyright 2018, Philip Meulengracht * * 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. * *...
{ "language": "C++" }
#include <metal_stdlib> #include <simd/simd.h> using namespace metal; struct _3 { int4 _m0; uint4 _m1; }; struct _4 { uint4 _m0; int4 _m1; }; kernel void main0(device _3& _5 [[buffer(0)]], device _4& _6 [[buffer(1)]]) { int4 _22 = _5._m0; uint4 _23 = _5._m1; _6._m0 = _23 >> uint4(_22); ...
{ "language": "C++" }
{ stdenv , fetchFromGitHub , buildPythonApplication , docopt, anytree }: buildPythonApplication rec { pname = "catcli"; version = "0.6.0"; src = fetchFromGitHub { owner = "deadc0de6"; repo = pname; rev = "v${version}"; sha256 = "0myhvflph4fayl2bg8m9a7prh5pcnvnb75p0jb4jpmbx7jyn7ihp"; }; pro...
{ "language": "C++" }
// Copyright 1996-2020 Cyberbotics 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 law or agr...
{ "language": "C++" }
// --------------------------------------------------------------------- // // Copyright (C) 2004 - 2018 by the deal.II authors // // This file is part of the deal.II library. // // The deal.II library is free software; you can use it, redistribute // it, and/or modify it under the terms of the GNU Lesser General // Pu...
{ "language": "C++" }