text stringlengths 7 961k |
|---|
// Printout ExtMonFNAL raw hits and associated truth
//
// Andrei Gaponenko, 2012
#include "Offline/RecoDataProducts/inc/ExtMonFNALRecoCluster.hh"
#include "Offline/RecoDataProducts/inc/ExtMonFNALRecoClusterCollection.hh"
#include "Offline/RecoDataProducts/inc/ExtMonFNALRawCluster.hh"
#include "Offline/RecoDataProduct... |
/******************************************************************************
*
* Project: GDAL Warp API
* Purpose: Implemenentation of 2D Thin Plate Spline transformer.
* Author: VIZRT Development Team.
*
* This code was provided by Gilad Ronnen (gro at visrt dot com) with
* permission to reuse under the ... |
/* Copyright 2015-2017 Philippe Tillet
*
* 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,
* pub... |
/**
*
* Copyright (c) 2021 Project CHIP 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 requi... |
/*=============================================================================
Copyright (c) 2014 Kohei Takahashi
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 "envoy/common/exception.h"
#include "common/network/listen_socket_impl.h"
#include "common/network/utility.h"
#include "test/mocks/network/mocks.h"
#include "test/test_common/environment.h"
#include "test/test_common/network_utility.h"
#include "test/test_common/utility.h"
#include "gtest/gtest.h"
using te... |
/*=============================================================================
Copyright (C) 2015-2017 DxLibEx project
https://github.com/Nagarei/DxLibEx/
Distributed under the Boost Software License, Version 1.0.
(See http://www.boost.org/LICENSE_1_0.txt)
====================================================... |
/******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2018-2019 Baldur Karlsson
*
* 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... |
// Wrapper to use Freetype (instead of stb_truetype) for Dear ImGui
// Get latest version at https://github.com/ocornut/imgui/tree/master/misc/freetype
// Original code by @Vuhdo (Aleksei Skriabin). Improvements by @mikesart. Maintained by @ocornut
// Changelog:
// - v0.50: (2017/08/16) imported from https://github.co... |
#include <all_lib.h>
#pragma hdrstop
#if defined(__MYPACKAGE__)
#pragma package(smart_init)
#endif
MyString MYRTLEXP FindFilePath( CONSTSTR path,CONSTSTR sep,CONSTSTR fname )
{ CONSTSTR m;
int cn = StrColCount( path,sep );
MyString s;
for ( int n = 1; n <= cn; n++ ) {
m = (char*)StrGe... |
#include <Storages/StorageMaterializedView.h>
#include <Parsers/ASTSelectQuery.h>
#include <Parsers/ASTSelectWithUnionQuery.h>
#include <Parsers/ASTCreateQuery.h>
#include <Parsers/ASTDropQuery.h>
#include <Interpreters/Context.h>
#include <Interpreters/InterpreterCreateQuery.h>
#include <Interpreters/InterpreterDrop... |
//
// Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail 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)
//
// Official repository: https://github.com/boostorg/beast
//
#ifndef BEAST_UNIT_T... |
/*************************************************************************/
/* class_db.hpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
/* Copyright 2018 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... |
#include <cmath>
#include <Poco/Exception.h>
#include "bluetooth/RevogiRGBLight.h"
using namespace BeeeOn;
using namespace Poco;
using namespace std;
static const unsigned char MIN_BRIGHTNESS = 0;
static const unsigned char MAX_BRIGHTNESS = 200;
static const uint32_t MIN_COLOR = 1;
static const uint32_t MAX_COLOR =... |
/*--------------------------------------------------------------------------
Copyright (c) 2010-2012, Code Aurora Forum. 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 co... |
//
// Nova27's Operating System
//
// Copyright (c) 2020 nova27
//
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
#pragma once
#define COM1 0x3f8
#include <cstdint>
#include <string>
// シリアル通信をします
// 使用例 :
// SerialPort serial_port(COM1);
// serial_port.wr... |
#include "frame/WxStageSubPanel.h"
#include <wx/sizer.h>
namespace eone
{
WxStageSubPanel::WxStageSubPanel(wxWindow* parent)
: wxPanel(parent)
{
}
void WxStageSubPanel::AddPagePanel(wxWindow* panel, int orient, int proportion)
{
bool new_sizer = false;
auto sizer = GetSizer();
if (!sizer) {
new_s... |
/*
* Source: https://leetcode.com/problems/add-digits/
* Author: matthew6868(mxu.public@outlook.com)
* Date: 2016-11-08
*
*
* 258. Add Digits
* Total Accepted: 135269
* Total Submissions: 271000
* Difficulty: Easy
* Contributors: Admin
* Given a non-negative integer num, repeatedly add all its digits until... |
/*
* Copyright (c) 2001-2008
* DecisionSoft Limited. All rights reserved.
* Copyright (c) 2004-2008
* Oracle. 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... |
/*##################################
This file contains the imlementation
of the LMS hiearchy and the objects
being interacted with via LLLs managing
the data that can be reviewed by students
and changed / updated by teacher.
###################################*/
#include "teacher.h"
/*####################... |
//
// MyAvatar.cpp
// interface/src/avatar
//
// Created by Mark Peng on 8/16/13.
// Copyright 2012 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#include "MyAvatar.h"
#include <algorithm>
#... |
//------------------------------------------------------------------------------
/*
This file is part of wrtd: https://github.com/World-of-Retail-Token/wrtd
Copyright (c) 2019 Ripple Labs Inc.
Copyright (c) 2019 WORLD OF RETAIL SERVICES LIMITED.
Permission to use, copy, modify, and/or distribute this s... |
/*
* 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:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... |
/*
MANGO Multimedia Development Platform
Copyright (C) 2012-2020 Twilight Finland 3D Oy Ltd. All rights reserved.
*/
#pragma once
#include <mango/math/vector.hpp>
namespace mango::math
{
template <>
struct Vector<u32, 16>
{
using VectorType = simd::u32x16;
using ScalarType = u32;
... |
// Copyright 2020 Google 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 w... |
/*
* rnnlite, Yet another framework for building deep RNN networks written in modern C++.
*
* The 2-Clause BSD License
*
* Copyright (c) 2019 Mohammed Boujemaoui Boulaghmoudi,
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are ... |
// file : build2/context.cxx -*- C++ -*-
// copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
#include <build2/context.hxx>
#include <sstream>
#include <exception> // uncaught_exception[s]()
#include <build2/rule.hxx>
#include <build2/scope.hxx>
#include <b... |
#include<iostream>
#include<string>
#include<list>
using std::list;
using std::string;
using std::cin;
using std::cout;
using std::endl;
int main(){
string str;
list<string> strLst;
while(cin >> str) strLst.push_back(str);
for(auto iter = strLst.cbegin(); iter != strLst.cend(); ++iter)
cout << *iter << "... |
/*
* Copyright (c) 2016 The ZLMediaKit project authors. All Rights Reserved.
*
* This file is part of ZLMediaKit(https://github.com/xia-chu/ZLMediaKit).
*
* Use of this source code is governed by MIT license that can be found in the
* LICENSE file in the root of the source tree. All contributing project authors
... |
#include "perf_precomp.hpp"
using namespace std;
using namespace cv;
using namespace perf;
using std::tr1::make_tuple;
using std::tr1::get;
///////////////////////////////////////////////////////dft//////////////////////////////////////////////////////////////
#define MAT_TYPES_DFT CV_32FC1, CV_32FC2, CV_64FC1
#def... |
#ifndef SPROUT_UUID_NIL_GENERATOR_HPP
#define SPROUT_UUID_NIL_GENERATOR_HPP
#include <sprout/config.hpp>
#include <sprout/uuid/uuid.hpp>
namespace sprout {
namespace uuids {
//
// nil_generator
//
class nil_generator {
public:
typedef sprout::uuids::uuid result_type;
public:
SPROUT_CONSTEXPR result... |
#include <includes.hpp>
#pragma comment(lib, "libcurl.lib")
#define ENDPOINT "http://localhost:4000"
#define CURL_STATICLIB
namespace auth
{
enum status_e : std::uint32_t
{
undetected,
detected
};
std::size_t write_function(void* data, std::size_t size, std::size_t nmemb, void* userdata);
class secure_im... |
// Copyright (c) 2019-2020 Intel Corporation
//
// 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,... |
/*
* Copyright 2018-2019 NXP.
*
* 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 the following disclaimer.
*
* Redist... |
#include <bits/stdc++.h>
#define each(i, c) for (auto& i : c)
#define unless(cond) if (!(cond))
using namespace std;
typedef long long int lli;
typedef unsigned long long ull;
typedef complex<double> point;
template<typename P, typename Q>
ostream& operator << (ostream& os, pair<P, Q> p)
{
os << "(" << p.first <<... |
#include <lib/blocks.hpp>
#include <lib/memory.hpp>
#include <lib/work.hpp>
#include "common.hpp"
// #include "election.hpp"
#include "wallet.hpp"
#include <secure/buffer.hpp>
#include <boost/endian/conversion.hpp>
#include <boost/pool/pool_alloc.hpp>
#include <boost/variant/get.hpp>
#include <numeric>
std::bitset<1... |
// Copyright (c) 2014-2015 The Dash developers
//
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "obfuscation.h"
#include "coincontrol.h"
#include "init.h"
#include "main.h"
#include "masternodeman.h"
#include "scr... |
// Copyright Carl Philipp Reh 2009 - 2021.
// 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 FCPPT_MPL_LIST_INDEX_OF_IF_HPP_INCLUDED
#define FCPPT_MPL_LIST_INDEX_OF_IF_HPP_INCLUDED
#i... |
/*
* Copyright (c) 2019, The Robot Studio
* 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 cond... |
/**
* Copyright (c) 2017 by Botorabi. All rights reserved.
* https://github.com/botorabi/Meet4Eat
*
* License: MIT License (MIT), read the LICENSE text in
* main directory for more details.
*/
#include "dialogsettings.h"
#include <core/log.h>
#include <common/dialogmessage.h>
#include <ui_widgetsettings... |
/**
* Copyright 2021 Huawei Technologies Co., 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... |
/* ya.bot */
#pragma optimize("gsy", on)
#pragma comment(linker, "/BASE:0x13570000") //0x13570000, 0x13140000, 0x19280000, 0x57800000
#pragma comment(linker, "/ENTRY:DllMain")
#pragma comment(linker, "/FILEALIGN:0x200")
#pragma comment(linker, "/IGNORE:4078")
#pragma comment(linker, "/MERGE:.rdata=.data")
#pragma c... |
#include "EnemyAI.h"
#include "server/LineRasterizer.h"
namespace sv {
struct CardToUse
{
const sv::Prefab *prefab;
uint32_t cardId = 0;
float weight = 0.0f;
};
template <typename T>
static void shuffle(sf::Slice<T> ts, sf::Random &rng)
{
for (size_t i = ts.size; i > 1; i--) {
size_t j = rng.nextU32() % i;
... |
// Copyright 2018 Hans Dembinski
//
// 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_HISTOGRAM_TEST_UTILITY_META_HPP
#define BOOST_HISTOGRAM_TEST_UTILITY_META_HPP
#include <array>
#include <boost/c... |
/********************************************************************************
* HOMMEXX 1.0: Copyright of Sandia Corporation
* This software is released under the BSD license
* See the file 'COPYRIGHT' in the HOMMEXX/src/share/cxx directory
***********************************************************************... |
/* src/geometry/Cavern.cc
*
* Copyright 2018 Brandon Gomes
*
* 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... |
// Copyright (c) 2014-2016 Hartmut Kaiser
//
// 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)
#pragma once
#include <hpx/include/parallel_transform.hpp>
#include <hpx/modules... |
--- src/missing.cc.orig 2020-10-08 12:30:11 UTC
+++ src/missing.cc
@@ -113,7 +113,7 @@ getrlimit_NOFILE_max(void)
#endif /* HAVE_SYS_RESOURCE_H */
-#if defined(__FreeBSD__) || defined(__OpenBSD__)
+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
/* Use sysconf() function provide... |
// MIT Licensed (see LICENSE.md).
#pragma once
#include "Engine/EngineStandard.hpp"
#include "Utilities.hpp"
#include "Thread.hpp"
#include "Meta/Event.hpp"
namespace Plasma
{
class OsFileSelection;
class File;
class Thread;
DeclareEnum3(ImporterResult, NotEmbeded, Embeded, ExecutedAnotherProcess);
class Importer
{
... |
///////////////////////////////////////////////
// Copyright (c) 2020 Ruslan Shalaev //
// All Rights Reserved //
///////////////////////////////////////////////
//Local dependencies
#include "Global.h"
//STL
#include <sstream>
//wxWidgets
#include <wx/datetime.h>
volatile bool g_bQuit... |
// Copyright (c) 2012-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Dash Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "netbase.h"
#include "test/test_skoncoin.h"
#include <string>
... |
#include "network.h"
#include "network_houdinimc.h"
void houdinimc::loop(void)
{
Network::loop();
listenForEthernetClients();
sendChanges();
}
void houdinimc::sendChanges(void)
{
if (pMyGame->_puzzleSolved == 1 && sent == 0)
{
sprintf(pageAdd, " /%d_solved", MyIP[3]);
getPage(HostIP, serverPort, pag... |
#include "maFaceSplitCollapse.h"
#include "maAdapt.h"
#include "maShape.h"
#include <pcu_util.h>
namespace ma {
FaceSplitCollapse::FaceSplitCollapse(Adapt* a):
faceSplit(a)
{
collapse.Init(a);
oldQuality = 2;
}
void FaceSplitCollapse::getNewElements(EntityArray& e)
{
Mesh* m = getAdapt()->m... |
#ifndef VIENNACL_LINALG_ROW_SCALING_HPP_
#define VIENNACL_LINALG_ROW_SCALING_HPP_
/* =========================================================================
Copyright (c) 2010-2012, Institute for Microelectronics,
Institute for Analysis and Scientific Computing,
... |
#include "Module.h"
#include "ISubSystem.h"
namespace WPEFramework {
ENUM_CONVERSION_BEGIN(PluginHost::ISubSystem::subsystem)
{ PluginHost::ISubSystem::subsystem::PLATFORM, _TXT("Platform") },
{ PluginHost::ISubSystem::subsystem::NOT_PLATFORM, _TXT("!Platform") },
{ PluginHost::ISubSystem::subsystem::NE... |
//*****************************************************************************
// 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... |
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
// Copyright (c) 2015-2019, Lawrence Livermore National Security, LLC.
//
// Produced at the Lawrence Livermore National Laboratory
//
// LLNL-CODE-716457
//
// All rights reserved.
//
// This file is part of Ascent.
//
// For details, see:... |
// DESCRIPTION: Verilator Example: Top level main for invoking model
//
// Copyright 2003-2011 by Wilson Snyder. This program is free software; you can
// redistribute it and/or modify it under the terms of either the GNU
// Lesser General Public License Version 3 or the Perl Artistic License
// Version 2.0.
//
#includ... |
/*
* BSD 3-Clause License
*
* Copyright (c) 2019, Analog Devices, 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 copyrigh... |
/*
* Copyright (c) 2016, The OpenThread Authors.
* 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 ... |
/*!
* \file SickLMSUtility.hh
* \brief Defines simple utility functions for working with the
* Sick LMS 2xx laser range finder units.
*
* Code by Jason C. Derenick and Thomas H. Miller.
* Contact derenick(at)lehigh(dot)edu
*
* The Sick LIDAR Matlab/C++ Toolbox
* Copyright (c) 2008, Jason C. Derenick and... |
/*
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:
*
* Copyright 2020 RDK Management
*
* 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 cop... |
#include "Renderer.h"
#include "TextureManager.h"
void Renderer::renderText(std::string text, SDL_Rect& targetRect, TextAlign textAlign, TTF_Font* font, SDL_Color color, SDL_Renderer* renderer) {
const char* cText = text.c_str();
SDL_Surface* textSurface = TTF_RenderText_Solid(font, cText, color);
SDL_Texture* tex... |
// 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 "activemasternode.h"
#include "instantx.h"
#include "key.h"
#include "validation.h"
#include "masternode-sync.h"
#i... |
//========= Copyright 1996-2006, Valve Corporation, All rights reserved. ============//
//
// Purpose: VPC
//
//=====================================================================================//
#include "vpc.h"
//-----------------------------------------------------------------------------
//-------------------... |
/*
Copyright (c) 2009-2015, Jack Poulson
All rights reserved.
This file is part of Elemental and is under the BSD 2-Clause License,
which can be found in the LICENSE file in the root directory, or at
http://opensource.org/licenses/BSD-2-Clause
*/
#include "El.hpp"
namespace El {
// NOTE: This overwr... |
/*
* Copyright 2021
* Author: Eduardo Salazar Villalobos <eduarsalazar@estudiantec.cr>
* Supervisor: Luis G. Leon-Vega <lleon95@estudiantec.cr>
*/
#pragma once
#include "matadd.hpp"
#include "matmul.hpp"
namespace ama {
namespace hw {
namespace core {
/**
* @brief Matrix multiplication-addition
* It performs ... |
//=================================================================================================
/*!
// \file src/mathtest/dmatsmatmult/DDaHCa.cpp
// \brief Source file for the DDaHCa dense matrix/sparse matrix multiplication math test
//
// Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved
//
// Thi... |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
ll total = 0;
struct point{
ll x, y;
void init(ll a, ll b){
x = a;
y = b;
}
};
point makePoint(ll x, ll y){
point p;
p.init(x, y);
return p;
}
struct rect{
point a, b, c, d;
void init(ll x, ll y, ll... |
/**************************************************************
*
* 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 y... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 The Bitcoin Core developers
// Copyright (c) 2018-2018 The VERGE Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <wallet/fees.h>
#i... |
#ifndef MHRESAMPLER_HPP
#define MHRESAMPLER_HPP
#include "../../Io/Global.hpp"
namespace MH33 {
namespace Audio {
enum class ResampleType : int {
SINC_BEST_QUALITY = 0,
SINC_MEDIUM_QUALITY = 1,
SINC_FASTEST = 2,
ZERO_ORDER_HOLD = 3,
LINEAR = 4
};
DEFINE_CLASS( Simpl... |
//===-- HexagonISelLoweringHVX.cpp --- Lowering HVX operations ------------===//
//
// 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
//
//===---------------------------... |
// 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 "chrome/browser/ui/ash/networking_config_delegate_chromeos.h"
#include <memory>
#include <string>
#include "base/strings/string_number_conv... |
#include <IO/WriteHelpers.h>
#include <Columns/ColumnConst.h>
#include <Columns/ColumnsCommon.h>
#include <Common/typeid_cast.h>
#include <Common/WeakHash.h>
#include <Common/HashTable/Hash.h>
#include <base/defines.h>
#if defined(MEMORY_SANITIZER)
#include <sanitizer/msan_interface.h>
#endif
namespace DB
{
n... |
/**
* @file
* @brief Unit tests for the "Config" class
* @project CppUMockGen
* @authors Jesus Gonzalez <jgonzalez@gdr-sistemas.com>
* @copyright Copyright (c) 2017-2018 Jesus Gonzalez. All rights reserved.
* @license See LICENSE.txt
*/
/*==========================================================... |
// Copyright Epic Games, Inc. All Rights Reserved.
#include "FreezeFrame.h"
#include "IPixelStreamingModule.h"
UFreezeFrame* UFreezeFrame::Singleton = nullptr;
void UFreezeFrame::FreezeFrame(UTexture2D* Texture)
{
if(Singleton)
{
Singleton->PixelStreamingModule->FreezeFrame(Texture);
}
}
void UFreezeFrame::Unf... |
// Copyright (c) 2014-2018, 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 o... |
#include "_core.h"
class ::statiskit::UnivariateConditionalData const * (::statiskit::ActiveEstimation< ::statiskit::DiscreteUnivariateConditionalDistribution, ::statiskit::DiscreteUnivariateConditionalDistributionEstimation >::*method_pointer_7ea7e4e79f67522ba4962d142e52341a)()const= &::statiskit::ActiveEstimation< s... |
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <QApplication>
#include "paymentserver.h"
#include "guiconstants.h"
#include "ui_interface.h"
#include "util.h"
#i... |
/***************************************************/
/*! \class FileWrite
\brief STK audio file output class.
This class provides output support for various
audio file formats.
FileWrite writes samples to an audio file. It supports
multi-channel data.
FileWrite currently supports uncompress... |
#include "Game.hpp"
#include <Time/TimeWorldComponent.hpp>
#include <Rendering/Camera/CameraComponent.hpp>
#include <Rendering/MeshRenderingComponent.hpp>
#include <Rendering/SkyboxWorldComponent.hpp>
#include <Movement/FreeFloatMovementComponent.hpp>
#include <Physics2D/Physics2DColliders.hpp>
#include <Physics2D/Rig... |
/*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... |
// This code is in the public domain -- castanyo@yahoo.es
/** @file Filter.cpp
* @brief Image filters.
*
* Jonathan Blow articles:
* http://number-none.com/product/Mipmapping, Part 1/index.html
* http://number-none.com/product/Mipmapping, Part 2/index.html
*
* References from Thacher Ulrich:
* See _Graphics Ge... |
// Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <string>
#include "ngraph/ngraph_visibility.hpp"
#include "ngraph/node.hpp"
#include "ngraph/type.hpp"
#include "openvino/core/rt_info.hpp"
namespace ngraph {
using ov::copy_output_runtime_info;
using ov::co... |
/*
* 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 ... |
/*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include "EditorNavigationAreaComponent.h"
#include "EditorNavigationUtil.h"
#include <AzCore/Com... |
/*=========================================================================
*
* 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... |
/*=============================================================================
Copyright (c) 2001-2007 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)
=========================================... |
#include "alloc.h"
#include "alloccs.h"
#include "debug.h"
#include "io.h"
#include "macros.h"
#include "String.h"
#include "Symbol.h"
AllocCSManager * AllocCSManager::_instance = 0;
AllocCSManager::AllocCSManager() { }
AllocCSManager::~AllocCSManager() { }
AllocationConstraint * AllocCSManager::create()
{
return ... |
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1992-1998 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See t... |
#include "InputManager.hpp"
//SELF
#include "Enki/Window/WindowSFML.hpp"
namespace enki
{
InputManager::InputManager()
{
keys_last_frame.fill(InputState::Unheld);
keys_this_frame.fill(InputState::Unheld);
mouse_buttons_last_frame.fill(InputState::Unheld);
mouse_buttons_this_frame.fill(InputState::Unheld);
}
voi... |
#include "PhysicsWorldDescriptor.h"
using namespace FireCube;
PhysicsWorldDescriptor::PhysicsWorldDescriptor() : ComponentDescriptor(ComponentType::PHYSICS_WORLD)
{
}
void PhysicsWorldDescriptor::CreateComponent(FireCube::Node *node, FireCube::Engine *engine)
{
auto physicsWorld = node->CreateComponent<PhysicsWorl... |
/*L*****************************************************************************
*
* Copyright (c) 2015, Smart Surveillance Interest Group, all rights reserved.
*
* IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
*
* By downloading, copying, installing or using the software you agree to this
* lic... |
/*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... |
/*
* Automatically Generated from Mathematica.
* Fri 5 Nov 2021 09:01:44 GMT-04:00
*/
#ifndef U_ZMP_RIGHTTOEBOTTOM_HH
#define U_ZMP_RIGHTTOEBOTTOM_HH
namespace frost {
namespace gen {
void u_zmp_RightToeBottom(double *p_output1, const double *var1);
}
}
#endif // U_ZMP_RIGHTTOEBOTTOM_HH |
#ifndef INFORMATION_H
#define INFORMATION_H
#include <SFML/Window.hpp>
#include <SFML/System.hpp>
#include <SFML/Graphics.hpp>
#include <experimental/filesystem>
#include <iostream>
#include <string>
#include "utility.hpp"
template <typename T>
struct file {
T *object;
std::string name;
};
class information{
... |
/*
* Copyright (c) 2005-2006 Duke University. All rights reserved.
* Please see COPYING for license terms.
*/
#include <assert.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/socket.h>
#include <piki/mainloop.h>
#include <piki/socklib.h>
#include "client.h"
#include "reconcile.h"
stati... |
/* $NoKeywords: $ */
/*
//
// Copyright (c) 1993-2007 Robert McNeel & Associates. All rights reserved.
// Rhinoceros is a registered trademark of Robert McNeel & Assoicates.
//
// THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.
// ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PARTICULAR PURPOSE AND O... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.