text stringlengths 7 961k |
|---|
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "default_providers.h"
#include "providers.h"
#include "core/session/onnxruntime_cxx_api.h"
#include "core/providers/providers.h"
namespace onnxruntime {
std::shared_ptr<IExecutionProviderFactory> CreateExecutionP... |
/*
* Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* 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 ... |
// It's to access a member function or member variable of an object through a pointer, as opposed to a regular variable or reference.
// For example: with a regular variable or reference, you use the . operator to access member functions or member variables.
// std::string s = "abc";
// std::cout << s.length() << std... |
#include "teacher.h"
using namespace std;
void Teacher::output()
{
cout<<"I am a teacher"<<endl;
}
Teacher::Teacher()
{
cout<<"Teacher created\n";
} |
/*
* 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
... |
/*
-- MAGMA (version 2.2.0) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date November 2016
@author Azzam Haidar
@author Adrien Remy
@generated from src/zgetf2_nopiv_batched.cpp, normal z -> c, Sun Nov 20 20:20:26 2016
*/
#include "magma_internal.h... |
/*
written by Pankaj Kumar.
country:-INDIA
*/
#include <bits/stdc++.h>
using namespace std;
typedef long long ll ;
typedef vector<ll> vl;
#define pan cin.tie(0);cout.tie(0);ios_base::sync_with_stdio(0);
// define values.
// #define mod 1000000007
#define phi 1.618
/* Abbrevations */
#define ff first
#define s... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "rwbase.h"
#include "rwerror.h"
#include "rwplg.h"
#include "rwpipeline.h"
#include "rwobjects.h"
#include "rwengine.h"
#define PLUGIN_ID 0
namespace rw {
// NB: this has padding and cannot be streamed directly!
struct BMPheader... |
#include <umbrella/logging/logging.h>
int main() {
umbrella::logging::info("info");
umbrella::logging::warning("warning");
umbrella::logging::error("error");
return 0;
} |
// SPDX-FileCopyrightText: 2021 Jorrit Rouwe
// SPDX-License-Identifier: MIT
#include <TestFramework.h>
#include <Tests/General/ContactManifoldTest.h>
#include <Jolt/Physics/Body/BodyCreationSettings.h>
#include <Jolt/Physics/Collision/Shape/BoxShape.h>
#include <Jolt/Physics/Collision/Shape/CapsuleShape.h>
#include ... |
/* file: spatial_average_pooling2d_layer_backward_fpt.cpp */
/*******************************************************************************
* Copyright 2014-2017 Intel Corporation
* All Rights Reserved.
*
* If this software was obtained under the Intel Simplified Software License,
* the following terms apply:
*
*... |
/*
* Copyright (C) 2014 The Android Open Source Project
* Copyright@ Samsung Electronics 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/license... |
{
gROOT->Reset();
gROOT->SetStyle("Plain");
gStyle->SetOptTitle(0);
gStyle->SetOptStat(0);
gStyle->SetFillColor(0);
gStyle->SetPadBorderMode(0);
m = (TH1F*)gROOT->FindObject("h");
if (m) m->Delete();
TCanvas *c1 = new TCanvas("c1","Normalization of gamma-transmission coefficient",600,600);
... |
/*
***********************************************************************************************************************
*
* Copyright (c) 2014-2021 Advanced Micro Devices, Inc. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associ... |
/**
@author Shin'ichiro Nakaoka
*/
#include "ItemManager.h"
#include "Item.h"
#include "RootItem.h"
#include "ItemTreeView.h"
#include "MenuManager.h"
#include "AppConfig.h"
#include "MainWindow.h"
#include "MessageView.h"
#include "CheckBox.h"
#include <cnoid/FileUtil>
#include <cnoid/ExecutablePath>
#include <cno... |
#pragma once
#include <limits>
#include "model/geometry/point.hpp"
#include "model/geometry/rectangle.hpp"
#include "model/geometry/ring.hpp"
#include "model/geometry/polygon.hpp"
#include "model/geometry/multipolygon.hpp"
using namespace model::geometry;
namespace functions
{
/**
* Calculates the envelop... |
/**
* \copyright
* Copyright (c) 2012-2017, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#include <vector>
#include <memory>
#include <gte... |
// Copyright 2022 The IREE Authors
//
// Licensed 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
#include "iree/compiler/Dialect/VM/IR/VMOps.h"
#include "iree/compiler/Dialect/VM/Transforms/Pass... |
/****************************************************************************
Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd.
http://www.cocos.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated engine source code (the "Software"), a limited,
wo... |
//
// detail/posix_fd_set_adapter.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2016 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)
//
#ifnd... |
/**
* @file
*
* @brief Plugin which acts as proxy and calls other plugins written in python
*
* @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
*
*/
#ifndef SWIG_TYPE_TABLE
#error Build system error, SWIG_TYPE_TABLE is not defined
#endif
#include <Python.h>
#ifndef HAVE_KDBCONFIG
#includ... |
/******************************************************************************
* $Id$
*
* Project: CPL - Common Portability Library
* Purpose: Implement VSI large file api for HTTP/FTP files
* Author: Even Rouault, even.rouault at mines-paris.org
*
***********************************************************... |
#include <stdio.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_system.h"
#include "esp_spi_flash.h"
#include "freertos/event_groups.h"
#include "esp_wifi.h"
#include "esp_event.h"
#include "esp_http_server.h"
#include "esp_log.h"
#include "nvs_flash.h"
#include "../../_components/nvs_compon... |
/* Copyright 2016 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 <cstdint>
#include <cstdlib>
#include <iostream>
#include <iomanip>
#include <cfloat>
#include <cmath>
#include <cstring>
#include <limits>
#include <memory>
#include <AMReX_FArrayBox.H>
#include <AMReX_FabConv.H>
#include <AMReX_ParmParse.H>
#include <AMReX_FabConv.H>
#include <AMReX_FPC.H>
#include <AMReX_... |
/// @copyright
/// Copyright (C) 2020 Assured Information Security, Inc.
///
/// @copyright
/// 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 limita... |
#ifndef SYSMEL_ENVIRONMENT_LOCAL_VARIABLE_HPP
#define SYSMEL_ENVIRONMENT_LOCAL_VARIABLE_HPP
#pragma once
#include "FunctionVariable.hpp"
namespace Sysmel
{
namespace Environment
{
/**
* I am a variable program entity.
*/
class SYSMEL_COMPILER_LIB_EXPORT LocalVariable : public SubtypeOf<FunctionVariable, LocalVaria... |
/*
SELECT EmployeeStr(all_employees.name,all_employees.id), STR(all_employees.id), STR(all_employees) FROM Example1.Company
with (document = parseFromFile()) {
for each all_employee in document.all_employees {
tuples.add(STR(all_employees))
for each each_id in all_employee.all_employees.id {
tuples.add... |
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
//
// Copyright (c) ... |
#include <iostream>
void swap_ref(int& x, int& y) {
int t = x;
x = y;
y = t;
}
void swap_ptr(int* px, int* py) {
int t = *px;
*px = *py;
*py = t;
}
void swap_ref_ptr(int* &x, int* &y) {
int t = *x;
*x = *y;
*y = t;
}
void display(int& x, int& y) {
std::cout << "x = " << x << ", y = " << y << std... |
#include "gtest/gtest.h"
#include "mixture_distribution.h"
#include "gaussian_distribution.h"
using namespace rtHMM;
TEST(mixture_distribution_test, test_dist)
{
const double weights[] = { 1.0, 2.0 };
const double means[] = { 5.0, 10.0 };
const double sigmas[] = { 16.0, 10.0 };
const double testval = ... |
// 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/common/startup_metric_utils.h"
#include "base/containers/hash_tables.h"
#include "base/logging.h"
#include "base/metrics/histogram.h... |
//======================================================================
#include "Intersection.h"
#include "Config.h"
#include "Hash.h"
#include "Projection.h"
#include "State.h"
#include <engines/contour/Engine.h>
#include <engines/contour/Interpolation.h>
#include <gis/Box.h>
#include <gis/OGR.h>
#include <grid-co... |
// Copyright (c) 2009-2017 The Bitcoin Core developers
// Copyright (c) 2016-2019 The Bontecoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include "config/bontecoin-config.h"
#endif
#... |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "storagelink.h"
#include "bucketmessages.h"
#include <vespa/vespalib/util/backtrace.h>
#include <sstream>
#include <vespa/log/bufferedlogger.h>
LOG_SETUP(".application.link");
using std::sh... |
//
// buffer.hpp
// ~~~~~~~~~~
//
// Copyright (c) 2003-2016 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_HPP
#define ASIO_BUFFER_HPP... |
/*
* Copyright (C) 2018 The Android Open Source Project
*
* 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 app... |
// 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 "libcef/renderer/url_loader_throttle_provider_impl.h"
#include "libcef/common/extensions/extensions_util.h"
#include "libcef/renderer/render_thr... |
#include "buildLIZandCommLists.hpp"
#include <cmath>
#include <cstdio>
#include <vector>
#include "Real.hpp"
// for buildLIZ see LSMS_1 neighbors_c.f
int buildLIZ(CrystalParameters &crystal, int idx,std::vector<LIZInfoType> &LIZ)
{
const Real rtol=1.0e-8;
const int n_max=5;
int nrsclu=0;
Real r1,r2,r3,p1,p2... |
//
// Created by pzz on 2021/11/18.
//
#include <iostream>
#include <algorithm>
#include <vector>
#include <stack>
#include <queue>
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode() : val(0), left(nullptr), right(nullptr) {}
TreeNode(int x) : val(x), le... |
#pragma once
#include <assert.h>
#include <inttypes.h>
#include <map>
#include <tuple>
#include <mutex>
#include <boost/smart_ptr/make_shared_object.hpp>
#include <boost/range.hpp>
#include "boost/serialization/version.hpp"
#include "boost/serialization/split_member.hpp"
#include <boost/serialization/shared_ptr.hpp>... |
#include "HTTPDictionarySource.h"
#include <DataStreams/IBlockOutputStream.h>
#include <DataStreams/OwningBlockInputStream.h>
#include <DataStreams/formatBlock.h>
#include <IO/ConnectionTimeouts.h>
#include <IO/ConnectionTimeoutsContext.h>
#include <IO/ReadWriteBufferFromHTTP.h>
#include <IO/WriteBufferFromOStream.h>
#... |
/*
* Copyright (c) 2007-2017, 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, p... |
// Copyright (C) 2020 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <cmath>
#include <memory>
#include <string>
#include <vector>
#include <unordered_set>
#include <ngraph/ngraph.hpp>
#include <ngraph/pattern/matcher.hpp>
#include <ngraph/opsets/opset1.hpp>
#include "ngraph_ops/ty... |
//
// This file is part of Easylogging++ samples
//
// Demonstration on how locale gives output
//
// Revision 1.1
// @author mkhan3189
//
#ifndef ELPP_UNICODE
# define ELPP_UNICODE
#endif
#include "easylogging++.h"
INITIALIZE_EASYLOGGINGPP
int main(int argc, const char** argv) {
START_EASYLOGGINGPP(arg... |
/* This file is part of uformat library
* Copyright 2020-2022 Andrei Ilin <ortfero@gmail.com>
*
* 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 lim... |
#pragma once
#include <vector>
std::vector<double> MoveZeroesToEnd(std::vector<double> input)
{
std::vector<double> result(input.size(), 0);
for (size_t i = 0, r = 0; i < input.size(); i++)
{
if (input[i] != 0)
result[r++] = input[i];
}
return result;
} |
/*
This file is part of:
NoahFrame
https://github.com/ketoo/NoahGameFrame
Copyright 2009 - 2020 NoahFrame(NoahGameFrame)
File creator: lvsheng.huang
NoahFrame is open-source software and you can redistribute it and/or modify
it under the terms of the License; b... |
// 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
// distributed und... |
//
// client.cpp
// ~~~~~~~~~~
//
// 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)
//
#include <cstdlib>
#include <iostream>
#include... |
#include <SDL.h>
#include <SDL_image.h>
#include <iostream>
#include <wsjcpp_core.h>
#include "render_window.h"
// -----------------------------------------------------------------
// RenderWindow
RenderWindow::RenderWindow(const char* title, int w, int h) {
window = NULL;
window = SDL_CreateWindow(title, ... |
// Copyright 1996-2021 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... |
/*
Copyright (c) 2005-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://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable la... |
// SortUtils.cpp
#include "StdAfx.h"
#include "../../../Common/Wildcard.h"
#include "SortUtils.h"
static int CompareStrings(const unsigned *p1, const unsigned *p2, void *param)
{
const UStringVector &strings = *(const UStringVector *)param;
return CompareFileNames(strings[*p1], strings[*p2]);
}
void SortFileNa... |
// Copyright 2020 Western Digital Corporation or 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 requi... |
/*
* Copyright 2010-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... |
#include <FalconEngine/Graphics/Renderer/Resource/TextureArray.h>
namespace FalconEngine
{
/************************************************************************/
/* Constructors and Destructor */
/************************************************************************/
Te... |
// Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.Enum
#include "System/Enum.h... |
#include "gtest/gtest.h"
#include <Core/Geometry/ImplicitSurface.hpp>
#include <Core/Geometry/ImplicitSurfaceSet.hpp>
#include <Core/Geometry/Sphere.hpp>
#include <Core/Solver/LevelSet/LevelSetLiquidSolver2.hpp>
#include <Core/Solver/LevelSet/LevelSetLiquidSolver3.hpp>
using namespace CubbyFlow;
TEST(LevelSetLiquidS... |
// Copyright (c) 2017-2018, The Masari Project
// 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... |
/*
* Copyright (C) [2021] Futurewei Technologies, Inc. All rights reserved.
*
* OpenArkCompiler is licensed under the Mulan Permissive Software License v2.
* You can use this software according to the terms and conditions of the MulanPSL - 2.0.
* You may obtain a copy of MulanPSL - 2.0 at:
*
* https://opensour... |
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com) |
| Copyrigh... |
// generic C
#include <cassert>
#include <cstdlib>
// Google Test library
#include <gtest/gtest.h>
// uArchSim modules
#include <func_memory.h>
static const char * valid_elf_file = "./mips_bin_exmpl.out";
//
// Check that all incorect input params of the constructor
// are properly handled.
//
TEST( Func_memory_ini... |
/*************************************************************************/
/* collision_solver_2d_sat.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
#include "model_parser.h"
namespace vw_slim
{
model_parser::model_parser(const char* model, size_t length)
: _model_begin(model), _model(model), _model_end(model + length), _checksum(0)
{
#ifdef MODEL_PARSER_DEBUG
std::cout << "moder_parser("
<< "0x" << std::hex << std::setw(8) << (uint64_t)_model_be... |
/**
* KinectOutline.cpp
*
* Created by Marek Bereza on 25/06/2012.
*/
#include "KinectThresholder.h"
#include "ofxSimpleGuiToo.h"
#ifdef _WIN32
#include "ofxKinectNuiDraw.h"
#endif
#include "TimeProfiler.h"
using namespace tricks::util;
void KinectThresholder::setup(bool useSkellingtons) {
#ifdef _WIN32
/*ofxK... |
/*
* Copyright (c) 2020, 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 ... |
#include "Pch.hpp"
#include <d2d1_1.h>
#include <dwrite_1.h>
#include <EasyDx/LinkWithDirectX.hpp>
#include "MainScene.hpp"
int main()
{
dx::IndependentGraphics independent;
auto& loop = dx::EventLoop::GetInstanceInCurrentThread();
auto window = dx::MakeUnique<dx::GameWindow>(loop);
auto game = dx::Mak... |
#include <algorithm>
#include <cstdio>
#include <cstring>
using namespace std;
struct player
{
char n[32];
int a, d;
bool operator<(const player x) const
{
return (a > x.a) || (a == x.a && d < x.d) ||
(a == x.a && d == x.d && strcmp(n, x.n) < 0);
}
} p[16];
bool sortname(cons... |
/*
* 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 the li... |
#include "../BetterEdit.hpp"
#include "passTouch.hpp"
#include "ScaleTextDelegate.hpp"
#include "../tools/GroupIDFilter/groupfilter.hpp"
#include "../tools/GridSize/gridButton.hpp"
#include "../tools/LevelPercent/levelPercent.hpp"
#include "../tools/GlobalClipboard/clipboardHook.hpp"
#include "../tools/EditorLayerInput... |
#include <Arduino.h>
#include <Wire.h>
#include <TimeLib.h>
#include <AutoConnect.h>
#include <Dive.hpp>
#include <hal/TSYS01.hpp>
#include <hal/MS5837.hpp>
#include <hal/remora-hal.h>
#include <Storage/SecureDigital.hpp>
#include <Navigation/GNSS.hpp>
#include <Utils.hpp>
#include <Wake.hpp>
//this is so bad, I know... |
/*
* Copyright 2011-2021 Branimir Karadzic. All rights reserved.
* License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
*/
#include "common.h"
#include "bgfx_utils.h"
#include "imgui/imgui.h"
#include <bx/rng.h>
namespace
{
static float s_texelHalf = 0.0f;
struct PosColorTexCoord0Vertex
{
float m_x;
... |
#include "AdjCellsTypeStore.h"
namespace datastores {
AdjCellsTypeStore::AdjCellsTypeStore() {
}
void AdjCellsTypeStore::createArrays(size_t size) {
cellTypes_.create(size);
}
ArrayAdt<EnumAdjacentCellTypes>& AdjCellsTypeStore::getCellType() {
return cellTypes_;
}
} |
// Copyright (c) 2014-2021 Josh Blum
// SPDX-License-Identifier: BSL-1.0
#pragma once
#include <Pothos/Config.hpp>
#include <QTreeWidget>
#include <QJsonArray>
#include <QJsonObject>
#include <QString>
#include <QList>
#include <map>
class QTimer;
class QMimeData;
class BlockTreeWidgetItem;
class GraphEditorTabs;
//... |
/*
* Copyright 2011 - 2019 Centreon (https://www.centreon.com/)
*
* 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 ... |
// AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from core.djinni
#ifndef DJINNI_GENERATED_LEDGERCORE_HPP
#define DJINNI_GENERATED_LEDGERCORE_HPP
#include <cstdint>
#include <string>
namespace ledger { namespace core { namespace api {
class LedgerCore {
public:
virtual ~LedgerCore() {}
... |
//===----------------------------------------------------------------------===//
//
// 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
//
//===---------------------------... |
#include "test.h"
#include "baldr/graphid.h"
#include "midgard/point2.h"
using namespace std;
using namespace valhalla::baldr;
namespace {
void TestValues() {
GraphId target(123, 2, 8);
if (target.tileid() != 123)
throw runtime_error("Tile Id does not match value set");
if (target.level() != 2)
throw ... |
#ifdef AVALON_CONFIG_ADS_PROVIDER_CHARTBOOST_ENABLED
#include <avalon/ads/provider/Chartboost.h>
#include <jni.h>
#include "cocos2d.h"
#include "platform/android/jni/JniHelper.h"
#include <boost/assert.hpp>
using namespace cocos2d;
namespace avalon {
namespace ads {
namespace provider {
/**
* C++ -->> Java
*/
nam... |
#include "../common/baseApp.hpp"
#include "../common/flyThroughCamera.hpp"
#include "../common/objParser.hpp"
#include "../common/texture.hpp"
#include <fstream>
#include <iostream>
#include <sstream>
#include <string>
#define WINDOW_WIDTH 1366
#define WINDOW_HEIGHT 768
#define N_LIGHTING_MODELS 8
void onKey(GLFWwi... |
/****************************************************************************
** Meta object code from reading C++ file 'walletmodel.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.6)
**
** WARNING! All changes made in this file will be lost!
*********************************************************... |
// Copyright (c) 2011-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "arith_uint256.h"
#include "uint256.h"
#include "version.h"
#include "test/test_cbdhealthnetwork.h"
#include <boost/... |
// 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 "ash/wm/cursor_manager_test_api.h"
#include "ash/shell.h"
#include "ash/shell_test_api.h"
#include "ash/wm/native_cursor_manager_ash.h"
#inc... |
// ir-legalize-types.cpp
// This file implements type legalization for the IR.
// It uses the core legalization logic in
// `legalize-types.{h,cpp}` to decide what to do with
// the types, while this file handles the actual
// rewriting of the IR to use the new types.
//
// This pass should only be applied to IR that ... |
#pragma once
// test_helpers.cpp : functions to aid in testing and test reporting
//
// Copyright (C) 2017-2020 Stillwater Supercomputing, Inc.
//
// This file is part of the universal numbers project, which is released under an MIT Open Source license.
#include <iostream>
#include <iomanip>
// test reporting helper
... |
#include <Open3D/Geometry/BoundingVolume.h>
#include <Open3D/Visualization/Utility/DrawGeometry.h>
#include <iostream>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <Open3D/Open3D.h>
#include <exception>
#include <fstream>
#include <memory>
#include "src/registration_params.h"
#include "src/surface_mesh.h"
#i... |
/*
* Copyright 2018- The Pixie 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 ag... |
/*
* Copyright (c) 2020-2021 Gustavo Valiente gustavo.valiente@protonmail.com
* zlib License, see LICENSE file.
*/
#include "bn_core.h"
#include "bn_math.h"
#include "bn_keypad.h"
#include "bn_display.h"
#include "bn_blending.h"
#include "bn_regular_bg_ptr.h"
#include "bn_rect_window_actions.h"
#include "bn_sprite_... |
/*
* Copyright (c) 2020, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibCore/ArgsParser.h>
#include <LibCore/DirIterator.h>
#include <LibCore/System.h>
#include <LibMain/Main.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
ErrorOr<int> serenity_main(Main::Argume... |
/******************************************************************************
Copyright (c) 2019 Georgia Instititue of Technology
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 restricti... |
#include "Etterna/Globals/global.h"
#include "Core/Services/Locator.hpp"
#include "RageUtil.h"
#include "RageUtil_CharConversions.h"
#ifdef _WIN32
#include "archutils/Win32/ErrorStrings.h"
#include <windows.h>
/* Convert from the given codepage to UTF-8. Return true if successful. */
static bool
CodePageConvert(std... |
/* Copyright 2007-2015 QReal Research Group
*
* 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... |
/*
* vehicle_exp2.cc
*
* created on: 30.09.2015
* author: rungger
*/
/*
* information about this example is given in the readme file
*
*/
#include <array>
#include <iostream>
#include "cuddObj.hh"
#include "SymbolicSet.hh"
#include "SymbolicModelGrowthBound.hh"
#include "TicToc.hh"
#include "RungeKut... |
/*
* MIT License
* Copyright (c) 2005- Claybird
* 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, ... |
//
// 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.
// * Redistributions in bin... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "codegen/embedding_forward_split_cpu.h"
#include "fbgemm/FbgemmEmbedding.h"
#include "fbgemm/T... |
/* Copyright © 2017-2021 ABBYY Production 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,... |
// --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... |
/*
* Copyright (c) 2018-present, aliminabc@gmail.com.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "AlBinaryParams.h"
AlBinaryParams::AlBinaryParams(int32_t flags) : Object(), flags(flags) {
}
AlBinaryParams::AlBinaryParams... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.