text stringlengths 7 961k |
|---|
/****************************************************************************
*
* Copyright (c) 2021 PX4 Development 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:
*
* 1. Redistri... |
// RUN: %clang_cc1 %s -std=c++17 -fsyntax-only -verify
// RUN: %clang_cc1 %s -DPEDANTIC -pedantic -fsyntax-only -verify
#if PEDANTIC
void g() {
if (true)
[[likely]] {} // expected-warning {{use of the 'likely' attribute is a C++20 extension}}
else
[[unlikely]] {} // expected-warning {{use of the 'unlikely'... |
// RUN: %clang_cc1 -verify -fopenmp %s -Wuninitialized
// RUN: %clang_cc1 -verify -fopenmp-simd %s -Wuninitialized
int foo();
int main() {
#pragma omp taskgroup
;
#pragma omp taskgroup unknown // expected-warning {{extra tokens at the end of '#pragma omp taskgroup' are ignored}}
foo();
{
#pragma omp ta... |
// The copyright in this software is being made available under the BSD License, included below.
// This software may be subject to other third party and contributor rights, including patent rights,
// and no such rights are granted under this license.
//
// Copyright (c) 2013, Microsoft Open Technologies, Inc.
// ... |
//===--- RequirementEnvironment.cpp - Requirement Environments ------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... |
/*
Copyright 2010-2013 SourceGear, LLC
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 agreed to in writing, softwar... |
/**********************************************************************
* Copyright (c) 2008-2015, Alliance for Sustainable Energy.
* All rights reserved.
*
* 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... |
#include "CData.h"
#include "MailCore/MCCore.h"
#include "CBase+Private.h"
#include <typeinfo>
#define nativeType mailcore::Data
#define structName CData
C_SYNTHESIZE_CONSTRUCTOR()
C_SYNTHESIZE_COBJECT_CAST()
CData CData_dataWithBytes(const char* bytes, unsigned int length) {
CData result;
result.instance =... |
/*
* DataDistribution.actor.cpp
*
* This source file is part of the FoundationDB open source project
*
* Copyright 2013-2018 Apple Inc. and the FoundationDB project authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Y... |
#include "xshtoolbar.h"
// Tnz6 includes
#include "xsheetviewer.h"
#include "tapp.h"
#include "menubarcommandids.h"
#include "commandbarpopup.h"
// TnzLib includes
#include "toonz/preferences.h"
#include "toonz/toonzscene.h"
#include "toonz/tscenehandle.h"
#include "toonz/childstack.h"
// Qt includes
#include <QWidg... |
//
// Created by Martin Drewes on 05/05/2020.
//
#include "model.hpp"
namespace Model {
Database *DB;
void SetDB(Database *db) {
DB = db;
}
std::ostream &operator<<(std::ostream &os, const User &u) {
return os << "User<" << u.id << "/" << u.username << "/" << u.password << "/" << u.... |
#include "phylip.h"
#include "dist.h"
#include <QtCore/QString>
/* version 3.6. (c) Copyright 1993-2004 by the University of Washington.
Written by Joseph Felsenstein, Akiko Fuseki, Sean Lamont, and Andrew Keeffe.
Permission is granted to copy and use this program provided no fee is
charged for it and provid... |
/*
//@HEADER
// ************************************************************************
//
// KokkosKernels 0.9: Linear Algebra and Graph Kernels
// Copyright 2017 Sandia Corporation
//
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
// the U.S. Government retain... |
// fstprint.cc
// 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 agreed to in writing, software... |
//------------------------------------------------------------------------------
/*
This file is part of MUSO: https://github0.com/MUSO/MUSO
Copyright (c) 2012-2016 MUSO Labs Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, p... |
#include <QGuiApplication>
#include "window.h"
int main(int argc, char *argv[])
{
QCoreApplication::setApplicationName("cube");
QCoreApplication::setApplicationVersion("0.1");
QGuiApplication app(argc, argv);
QSurfaceFormat format = QSurfaceFormat::defaultFormat();
#if defined(Q_OS_ANDROID) || defi... |
#ifndef BOOST_MPL_AUX_VECTOR_ITERATOR_HPP_INCLUDED
#define BOOST_MPL_AUX_VECTOR_ITERATOR_HPP_INCLUDED
// 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)
//
// See http:/... |
#ifndef _SDVIZ_HPP_
# define _SDVIZ_HPP_
# include <string>
# include <map>
# include <memory>
# include <vector>
# include <cstdint>
# include <stdexcept>
# include <initializer_list>
namespace sdviz
{
struct Config
{
int http_port = 8080;
int http_threads = 2;
int ws_port = 8888;
... |
/*
* 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... |
// This file is part of the dune-gdt project:
// https://github.com/dune-community/dune-gdt
// Copyright 2010-2017 dune-gdt developers and contributors. All rights reserved.
// License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
// or GPL-2.0+ (http://opensource.org/lice... |
/* Execution time 0.01 sec. solved using two stack in O(n) time */
void printSpiral(Node *root)
{
//Your code here
if(root == NULL) return;
stack<Node *>s1;
stack<Node *> s2;
s1.push(root);
while(!s1.empty() || !s2.empty()){
while(!s1.empty()){
... |
#include "cbase.h"
#include "EstrangedHUDBase.h"
#include "vgui/ISurface.h"
#include "vgui/IScheme.h"
#include "vgui_controls/AnimationController.h"
#include "iclientmode.h"
#include "fmtstr.h"
EstrangedHUDBase::EstrangedHUDBase(const char *pElementName, const char *pHudElementName, float pUnitWide, float pUnitTall, i... |
#include "threadpool11/threadpool11.hpp"
#include <algorithm>
#include <array>
#include <cstdio>
#include <cmath>
#include <future>
#include <iostream>
#include <mutex>
#include <thread>
#include <vector>
namespace {
std::mutex coutMutex;
void test1Func() {
coutMutex.lock();
// heavy job that takes 1 second
... |
#include "stdafx.h"
#include "Renderer/DebugGui/DebugGuiManager.h"
#include "Renderer/DebugGui/DebugGuiHelper.h"
#include "Renderer/Resource/Texture/TextureResourceManager.h"
#include "Core/File/IFileManager.h"
#include "Renderer/Core/IProfiler.h"
#include "Renderer/IRenderer.h"
#include "Renderer/Context.h"
#include <... |
#include "uploadfiledialog.h"
#include "ui_uploadfiledialog.h"
#include "clientmodel.h"
#include "walletmodel.h"
#include "optionsmodel.h"
#include "bitcoinunits.h"
#include "ui_sendcoinsentry.h"
#include "sendcoinsentry.h"
#include "aboutdialog.h"
#include "util.h"
#include "version.h"
#include "version.h"
UploadFil... |
/*************************************************************************
* Detouring::Helpers
* C++ helpers for detouring member functions.
*------------------------------------------------------------------------
* Copyright (c) 2017-2020, Daniel Almeida
* All rights reserved.
*
* Redistribution and use in source an... |
#ifndef __complex_arithmic__H_
#define __complex_arithmic__H_
#include "Type.hpp"
#include "cytnx_error.hpp"
namespace cytnx{
// operator overload for CPU code. for COMPLEX type arithmic.
//cytnx_complex128 operator+(const cytnx_complex128 &ln, const cytnx_complex128 &rn);
cytnx_complex128 operator+(const c... |
/*
*
* Copyright 2015-2016 gRPC 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... |
/*
** EPITECH PROJECT, 2020
** B-CPP-501-NAN-5-1-rtype-arthur.bertaud
** File description:
** Players.hpp
*/
#ifndef PLAYERS_HPP_
#define PLAYERS_HPP_
#include "entityType.hpp"
class Players
{
public:
enum State
{
ACTIVE,
OFF,
READY
};
public:
Players(const entityType& type, c... |
/*
* Copyright (c) 2010-2013 OTClient <https://github.com/edubart/otclient>
*
* 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... |
// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE
#define FILENAME(line) FILENAME_FOR_EXCEPTIONS("src/python/content.cpp", line)
#include <pybind11/numpy.h>
#include <pybind11/complex.h>
#include <pybind11/chrono.h>
#include "awkward/type/Type.h"
#include "awkward/Reducer.h"
#i... |
/*
* Copyright 2021, Oak Ridge National Laboratory.
* MGARD-X: MultiGrid Adaptive Reduction of Data Portable across GPUs and CPUs
* Author: Jieyang Chen (chenj3@ornl.gov)
* Date: December 1, 2021
*/
#include "FillArraySequence.hpp"
#include "GenerateCL.hpp"
#include "GenerateCW.hpp"
#include "GetFirstNonzeroIndex... |
// Copyright 2018 The MACE 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... |
#ifndef SPRITE_HPP
#define SPRITE_HPP 1
#include <SFML/Graphics.hpp>
#include <memory>
namespace isk {
class Sprite {
private:
std::shared_ptr<sf::Texture> texture;
std::unique_ptr<sf::Sprite> sprite;
public:
Sprite() = delete; // define this if we need it
Sprite(const Sprite& src) = delete;
Sprite(const std::s... |
/**
* Copyright (c) 2017 Darius Rückert
* Licensed under the MIT License.
* See LICENSE file for more information.
*/
#include "saiga/core/Core.h"
#include "saiga/core/math/Eigen_Compile_Checker.h"
#include "saiga/core/time/all.h"
#include "saiga/core/util/fileChecker.h"
#include "saiga/vision/reconstruction/Robus... |
///////////////////////////////////////////////////////////////////////////////
// BSD 3-Clause License
//
// Copyright (c) 2019, Nefelus 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:
//... |
// -------------------------------------------------------------------------------------------------
// Copyright 2016 - NumScale SAS
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE.txt or copy at
// ... |
// Copyright 2014 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 "components/sync/engine_impl/model_type_connector_proxy.h"
#include <utility>
#include "base/bind.h"
#include "base/location.h"
#include "compo... |
#include "../.././GUI/DPDisplay3d/DPWindow3dFormat.hh" |
#include <Rcpp.h>
#include "ZeroMQ.hpp"
class CMQWorker { // : public ZeroMQ {
public:
CMQWorker(std::string addr): ctx(new zmq::context_t(1)) {
sock = zmq::socket_t(*ctx, ZMQ_REQ);
sock.set(zmq::sockopt::connect_timeout, 10000);
sock.connect(addr);
int rc = zmq_socket_monitor(sock... |
/****************************************************************************
Copyright 2013-2016 Chukong Technologies Inc.
http://www.cocos2d-x.org
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 Softwa... |
#include "socialnetworkmanagerpage.h"
#include "ui_socialnetworkmanagerpage.h"
#include "clientmodel.h"
#include "walletmodel.h"
#include "bitcoinunits.h"
#include "optionsmodel.h"
#include "transactiontablemodel.h"
#include "transactionfilterproxy.h"
#include "guiutil.h"
#include "guiconstants.h"
#include <QAbstract... |
//////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2007-2016 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... |
// Copyright (c) 2017-2021, The Monero Project
//
// 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
/... |
/*
Copyright (c) 2009 Peter "Corsix" Cawley
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, distr... |
#include <qf_config_internal.h>
#include "CQF_Field.h"
QF_BEGIN_NAMESPACE(QF)
IQF_Field* QF_CreateFieldObject()
{
IQF_Field* p = new CQF_Field ;
assert(p) ;
return p ;
}
QF_END_NAMESPACE |
/* Copyright 2017 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 applicable law or a... |
/**
* Autogenerated by Thrift for src/module.thrift
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated @nocommit
*/
#include "thrift/compiler/test/fixtures/visitation/gen-cpp2/module_types.h"
#include "thrift/compiler/test/fixtures/visitation/gen-cpp2/module_types.tcc"
#include <th... |
#include <iostream>
#define endl '\n'
using namespace std;
int main(){
return 0;
} |
// Copyright 2014 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 "spdy/core/hpack/hpack_static_table.h"
#include <set>
#include <vector>
#include "absl/strings/string_view.h"
#include "common/platform/api/qui... |
/*
* Copyright 2018 Laika, LLC. Authored by Peter Stuart
*
* Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
* http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
* http://opensource.org/licenses/MIT>, at your option. This file may not be
* copied, modified, or distr... |
/*
* Copyright (c) 2011-2021, The DART development contributors
* All rights reserved.
*
* The list of contributors can be found at:
* https://github.com/dartsim/dart/blob/master/LICENSE
*
* This file is provided under the following "BSD-style" License:
* Redistribution and use in source and binary forms, w... |
///////////////////////////////////////////////////////////////////////////////
/// \file end.hpp
/// Proto callables for boost::end()
//
// Copyright 2012 Eric Niebler. 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... |
/**
* @file binary_space_tree_impl.hpp
*
* Implementation of generalized space partitioning tree.
*/
#ifndef __MLPACK_CORE_TREE_BINARY_SPACE_TREE_BINARY_SPACE_TREE_IMPL_HPP
#define __MLPACK_CORE_TREE_BINARY_SPACE_TREE_BINARY_SPACE_TREE_IMPL_HPP
// In case it wasn't included already for some reason.
#include "binar... |
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2015-2018 PIVX Developers
// Copyright (c) 2018 -2019 MERGE Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "activemasternode.h"
#include... |
/*
MIT License
Copyright (c) 2021 Rohfel Adyaraka
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, p... |
#include <gtest/gtest.h>
#include <src/node/testing.hpp>
#include <thread>
TEST (system, generate_mass_activity)
{
germ::system system (24000, 1);
system.wallet (0)->insert_adhoc (germ::test_genesis_key.prv);
size_t count (20);
system.generate_mass_activity (count, *system.nodes[0]);
size_t accounts (0);
germ::... |
/*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... |
// Generated from /POI/java/org/apache/poi/ss/formula/functions/CountUtils.java
#pragma once
#include <fwd-POI.hpp>
#include <org/apache/poi/ss/formula/eval/fwd-POI.hpp>
#include <org/apache/poi/ss/formula/functions/fwd-POI.hpp>
#include <java/lang/Object.hpp>
struct poi::ss::formula::functions::CountUtils_I_MatchPr... |
#include "stdafx.h"
#include "cdm.h"
#include "SettingPage3.h"
#include "Setting.h"
#define STR(i) (theSetting.m_Lang.m_Str[LP_SET + i])
IMPLEMENT_DYNAMIC ( CSettingPage3, CDialog )
CSettingPage3::CSettingPage3 ( CWnd* pParent /*=NULL*/ )
: CDialog ( CSettingPage3::IDD, pParent )
, m_BufferSizeText ( _T ( "" ... |
//
// Project Name: KratosPoromechanicsApplication $
// Last Modified by: $Author: Ignasi de Pouplana $
// Date: $Date: January 2017 $
// Revision: $Revision: 1.0 $
//
#if !defined(KRATOS_TRILINOS_NEWMARK_QUASISTATIC_DAMPED_U_PW_SCHEME )
#def... |
// 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 "extensions/browser/api/declarative_webrequest/webrequest_condition_attribute.h"
#include <stddef.h>
#include <utility>
#include <vector>
... |
#include "mjolnir/bssbuilder.h"
#include "baldr/graphconstants.h"
#include "baldr/graphid.h"
#include "midgard/pointll.h"
#include "mjolnir/graphtilebuilder.h"
#include <algorithm>
#include <limits>
#include <list>
#include <mutex>
#include <thread>
#include <tuple>
#include <vector>
#include <boost/range/algorithm.h... |
#include <iostream>
#include <cstdio>
#include <algorithm>
#include <cstring>
#include <sstream>
#include <vector>
#include <iomanip>
#include <cmath>
#include <set>
#include <map>
#include <queue>
using namespace std;
typedef long long LL;
typedef pair<int,int> pii;
#define pb push_back
#define mp make_pair
#define... |
/*
* 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 "PathOpsTestCommon.h"
#include "SkOpSegment.h"
#include "SkTArray.h"
#include "Test.h"
static const SkPoint cubics[][4] = {
/* 0 */ {{0, 1}, {2, 6}, {4, 2}, {5, 3}... |
// Copyright 2018 The Amber 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed... |
//
// buffered_read_stream.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2013 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 ASIO_BUFFER... |
// license:BSD-3-Clause
// copyright-holders:
/***********************************************************************************************************************************
Skeleton driver for Data General Dasher 400 series terminals.
*****************************************************************************... |
// 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 may... |
#include "Application.h"
namespace Spacious {
Application::Application()
{
}
Application::~Application()
{
}
void Application::Run()
{
while (true);
}
} |
/*
* Copyright 2019 Xilinx, 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 law or agreed to... |
// Example of using the GeographicLib::GARS class
#include <iostream>
#include <iomanip>
#include <exception>
#include <string>
#include <GeographicLib/GARS.hpp>
using namespace std;
using namespace GeographicLib;
int main() {
try {
{
// Sample forward calculation
double lat = 57.64911, lon = 10.40... |
/**
* Copyright (C) 2016 MongoDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITH... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkArcParallelEdgeStrategy.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
Thi... |
#include <iostream>
#include <vector>
#include <algorithm>
#include <functional>
int increment(int i)
{
return ++i;
}
int main()
{
std::vector<int> vector_a(10, 3);
std::vector<int> vector_b(10, 7);
std::vector<int> vector_c(10, 0);
std::transform(vector_a.begin(), vector_a.end(),
vector_b.begin(), vector_c.b... |
#include "stdafx.h"
#include "Bullet.h"
#include "player/LPlayer.h"
#include "move/LPhysicWalker.h"
#include "Manager/MemoryManager.h"
#include "LBulletStyles.h"
Bullet::Bullet(IGameObject* pParent)
: LCollideObject(pParent)
, m_life(99 * 60)
{
m_spWalker = LWalker::CreatePhysicWalker();
m_renderArg.uDepth = Dept... |
#include <iostream>
#include "reorderdrive.h"
using namespace std;
using namespace prefixMatching;
/**
* main process
*/
void drive(string readsfile,file_format format,string outprefix){
vector<string> fq;
fq.push_back(readsfile);
std::shared_ptr<kmers_InitParam> param(new kmers_InitParam());
par... |
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
// unit/quantity manipulation and conversion
//
// Copyright (C) 2003-2008 Matthias Christian Schabel
// Copyright (C) 2008 Steven Watanabe
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.tx... |
#include "custom_utilities/bezier_utils.h"
#include "custom_utilities/bspline_utils.h"
#include "custom_utilities/tsplines/tsvertex.h"
#include "custom_utilities/tsplines/tshedge.h"
#include "custom_utilities/tsplines/tsvedge.h"
#include "custom_utilities/tsplines/tsvirtualhedge.h"
#include "custom_utilities/tsplines/t... |
--- libgnucash/core-utils/gnc-locale-utils.cpp.orig 2020-12-27 19:35:55 UTC
+++ libgnucash/core-utils/gnc-locale-utils.cpp
@@ -19,10 +19,7 @@
* 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
* Boston, MA 02110-1301, USA gnu@gnu.org *
\**********************************... |
#pragma once
#include <iostream>
#include <fstream>
#include <unordered_map>
#include "proclib.hpp"
#include "datastructs/utils.hpp"
#include "datastructs/utils_pid.hpp"
#include "include/filedescriptor.hpp"
#define MAPS "/maps"
#define BUFFER_READ_UTILS 15
/**
* @brief manipulation of process
*
*/
class Pmap : p... |
// Autogenerated from CppHeaderCreator on 7/27/2020 3:09:54 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.Object
#include "System/Object.hpp"
// Including type... |
/// @file
/// @brief Window implementation for windows.
/// @author Fedorov Alexey
/// @date 19.04.2017
// =============================================================================
// MIT License
//
// Copyright (c) 2017-2018 Fedorov Alexey
//
// Permission is hereby granted, free of charge, to any person obtainin... |
#include <algorithm>
using namespace std;
// Definition for a binary tree node.
struct TreeNode
{
int val;
TreeNode *left;
TreeNode *right;
TreeNode() : val(0), left(nullptr), right(nullptr) {}
TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l... |
#pragma once
#include <ctime>
#include <map>
#include <memory>
#include <string>
#include "domain/body/FormdataRequestBody.hpp"
#include "domain/BeforeRequestPipeline.hpp"
#include "domain/RequestData.hpp"
#include "gui/widget/BodyWidget/FormdataBodyTab/IFormdataBodyTabView.hpp"
namespace getit::gui::widget::BodyWid... |
// Copyright (c) 2014-2017 The Dash Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "core_io.h"
#include "governance.h"
#include "governance-classes.h"
#include "governance-object.h"
#include "govern... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkPSimpleBondPerceiver.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This s... |
/*
* typical - C++ template meta programming library
*
* Copyright Björn Fahller 2018
*
* 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)
*
* Project home: https://github... |
/*
* Copyright (c) 2004 Apple Computer, Inc. All Rights Reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file except i... |
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/sync_file_system/drive_backend_v1/fake_drive_service_helper.h"
#include "base/bind.h"
#include "base/file_util.h"
#include "base... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
/****************************Module*Header***********************************\
* Module Name: SCICOMM.C
*
* Module Description:
*
* Warnings:
*
* Created:
*
* Author:
\*******************************************************... |
// SimpleMidiFilterConsumer.cpp
// ----------------------------
// Implements the SimpleMidiFilterConsumer class.
//
// Copyright 1999, Be Incorporated. All Rights Reserved.
// This file may be used under the terms of the Be Sample Code License.
#include <Debug.h>
#include "SimpleMidiFilterConsumer.h"
#include "Simp... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Finanz Informatik. All rights reserved.
* Licensed under the Apache-2.0 License. See License.txt in the project root for license information.
*------------------------------------------------------------... |
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <algorithm>
#include <cctype>
#include <windows.h>
#include <winioctl.h>
#include "base/win/scoped_handle.h"
#include "base/win/windows_ver... |
// SPDX-License-Identifier: Apache-2.0
//
// Copyright 2000-2014 Matt Wells
// Copyright 2004-2013 Gigablast, Inc.
// Copyright 2013 Web Research Properties, LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obta... |
/*=========================================================================
*
* Copyright NumFOCUS
*
* 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.or... |
/*
Plot out the radial mean and variance
Li-Yi Wei
07/04/2007
*/
#include <iostream>
#include <fstream>
#include <vector>
#include <string>
using namespace std;
#include <stdlib.h>
#include <math.h>
#include <assert.h>
//#include <float.h>
//#include <limits.h>
#include "Exception.hpp"
#include "FrameBuffer.... |
/*
Copyright (c) 2005-2015, University of Oxford.
All rights reserved.
University of Oxford means the Chancellor, Masters and Scholars of the
University of Oxford, having an administrative office at Wellington
Square, Oxford OX1 2JD, UK.
This file is part of Chaste.
Redistribution and use in source and binary forms... |
#include "duckdb/planner/expression/bound_aggregate_expression.hpp"
#include "duckdb/planner/expression/bound_function_expression.hpp"
#include "duckdb/function/scalar/nested_functions.hpp"
#include "duckdb/function/aggregate/nested_functions.hpp"
#include "duckdb/planner/expression_binder.hpp"
#include "duckdb/catalog... |
// FluidTextAdventureCPP.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include "StdIncludes.h"
#include "Player.h"
#include "Screens/GameScreen.h"
#include "Screens/IntroScreen.h"
WORD Console::_wStartConsoleAttributes;
int main()
{
std::cout << "Hello World!\n";
C... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.