text stringlengths 7 961k |
|---|
#include <algorithm>
#include <utility>
#include <memory>
#include "ScheduleFunctions.h"
#include "ApplySplit.h"
#include "CodeGen_GPU_Dev.h"
#include "ExprUsesVar.h"
#include "Func.h"
#include "IREquality.h"
#include "IRMutator.h"
#include "IROperator.h"
#include "IRPrinter.h"
#include "Inline.h"
#include "Qualify.h"... |
#include <fltKernel.h>
//#include "../HyperPlatform/kernel_stl.h"
#include "main.h"
#include "../../Shared/Protocol.h"
CEventList *m_EventList = NULL;
extern PFLT_PORT m_pClientPort;
CEventList::CEventList()
{
ExInitializeFastMutex(&m_MsgLock);
KeInitializeEvent(&m_MsgEvent, SynchronizationEvent, FALSE);
m_Stop... |
// 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/extensions/api/identity/identity_api.h"
#include <stddef.h>
#include <memory>
#include <set>
#include <string>
#include <ut... |
/*
* Copyright (c) 2013, 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 conditi... |
#pragma once
#include <sys/stat.h>
#include <boost/filesystem.hpp>
namespace bfs = boost::filesystem;
namespace eosio::resource_monitor {
class system_file_space_provider {
public:
system_file_space_provider()
{
}
// Wrapper for Linux stat
int get_stat(const char *path, struct st... |
// Copyright (c) 2019 by Robert Bosch GmbH. 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... |
// Copyright (c) 2019-2022, NVIDIA CORPORATION & AFFILIATES. 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
//
/... |
//==============================================================================
// Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II
// Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI
//
// Distributed under the Boost Software License, Version 1.0.
// ... |
// Copyright (c) 2011-2016 The Cryptonote developers
// Copyright (c) 2015-2016 XDN developers
// Copyright (c) 2016-2021 Karbo developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <QFileDialog>
#include <QMes... |
// Copyright (c) Andreas Fertig.
// SPDX-License-Identifier: MIT
#include <compare>
struct Point
{
float x;
int y;
constexpr bool operator==(const Point&) const noexcept = default;
constexpr auto operator<=>(const Point& rhs) const noexcept = default;
};
constexpr Point a{2, 3};
constexpr Poi... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-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 "pow.h"
#include "chainparams.h"
#include "arith_uint256.h"
#include "c... |
#include "Room.h"
myMaze::Room::Room(const MazeMath::Point &point, int width, int height) : position(MazeMath::Rect(point, width, height)) {}
std::vector<myMaze::RoomEntrance> myMaze::Room::getPossibleEntrance(int side) {
return possibleEntrances[side];
}
void myMaze::Room::addPossibleEntrance(myMaze::RoomSides ... |
// Copyright (c) 2021 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
//
// ---------------------------------------------------------------------------
//
// This file was generated by the CEF translato... |
// 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/nacl/nacl_ipc_adapter.h"
#include <limits.h>
#include <string.h>
#include "base/basictypes.h"
#include "base/bind.h"
#include "base... |
// (c) Copyright Juergen Hunold 2011
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE.txt or copy at
// https://www.bfgroup.xyz/b2/LICENSE.txt)
#define BOOST_TEST_MODULE QtMultimedia
#include <QApplication>
#include <QDeclarativeView>
#inc... |
#include <opencv2/opencv.hpp>
#include <iostream>
#include <windows.h>
#include <cstdlib>
using namespace std;
using namespace cv;
int main() {
Mat frame;
char ascii_chars[] = {' ', ' ', ' ', ' ', '.', '\'', '`', '^', '"', ',', ':', ';', 'I', 'l', '!', 'i', '>', '<', '~', '+', '_', '-', '?', ']', '[', '}', '{... |
// Copyright (c) 2016 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 <bench/bench.h>
#include <config.h>
#include <consensus/validation.h>
#include <streams.h>
#include <validation.h>
name... |
// Copyright (c) 2019, QuantStack and Mamba Contributors
//
// Distributed under the terms of the BSD 3-Clause License.
//
// The full license is in the file LICENSE, distributed with this software.
#include "common_options.hpp"
#include "constructor.hpp"
#include "mamba/api/configuration.hpp"
#include "mamba/api/ins... |
// This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Limited.
#include "exec/vectorized/chunks_sorter.h"
#include <type_traits>
#include "column/column_helper.h"
#include "column/type_traits.h"
#include "exprs/expr.h"
#include "gutil/casts.h"
#include "runtime/runtime_state.h"
#i... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Darkcoin developers
// Copyright (c) 2017-2022 The CryptoCoderz Team
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "xnodecomponent.h"
#inc... |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/trace_event/process_memory_dump.h"
#include <stddef.h>
#include "base/memory/aligned_memory.h"
#include "base/memory/ptr_util.h"
#include... |
/*
* Copyright (C) 2009 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... |
/*
* Copyright 2001-2020 Haiku, Inc.
* Distributed under the terms of the MIT License.
*
* Authors:
* Stephan Aßmus, superstippi@gmx.de
* DarkWyrm, bpmagic@columbus.rr.com
* Ryan Leavengood, leavengood@gmail.com
* Philippe Saint-Pierre, stpere@gmail.com
* John Scipione, jscipione@gmail.com
* Ingo Weinho... |
/*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... |
#include<stdio.h>
int main()
{
long int n;
scanf("%ld",&n);
if(n%10==0)
{
printf("2\n");
}
else
{
printf("1\n");
printf("%ld\n",(n%10));
}
return 0;
} |
/**
* Copyright 2019 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... |
// Copyright 2011 Google Inc. All Rights Reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and ... |
// Copyright (c) 2011-2016 The Cryptonote developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <System/Dispatcher.h>
#include <System/ContextGroup.h>
#include <System/Event.h>
#include <System/InterruptedExcep... |
/* La bossa de les paraules */
#include <iostream>
#include <string>
#include <map>
using namespace std;
int main() {
map<string,int> m;
string s;
while (cin >> s) {
if (s == "store") {
string word;
cin >> word;
m[wor... |
/*
* Copyright (C) 2008, 2009 Apple Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... |
#pragma once
#include <map>
#include <string>
#include <raylib.h>
#include <DataStructures/HashTable.hpp>
typedef unsigned int ResourceID;
const ResourceID InvalidResourceID = (unsigned int)-1;
class ResourceManager
{
static LCDS::HashTable<ResourceID, Sound> m_Sounds;
static LCDS::HashTable<ResourceID, Texture> m_... |
////////////////////////////////////////////////////////////
//
// SFML3D - Simple and Fast Multimedia Library
// Copyright (C) 2007-2014 Laurent Gomila (laurent.gom@gmail.com)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damage... |
/*
* Copyright (C) 2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/helpers/hw_helper.h"
#include "shared/source/os_interface/hw_info_config.h"
#include "shared/test/common/test_macros/test.h"
#include "opencl/test/unit_test/fixtures/cl_device_fixture.h"
#include "opencl/test/... |
// The MIT License (MIT)
// Copyright (c) 2014-2020 Omar Cornut
// 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, co... |
//
// Created by bernardo on 1/25/17.
//
#include "Simulation.h"
#include "../Utils/Utils.h"
#include <ctime>
#include <algorithm>
#include <numeric>
#include <omp.h>
#include <set>
#ifdef PARALLEL
#include <mpi.h>
#endif
Simulation::Simulation(
vector<WaterSource *> &water_sources, Graph &water_sources_gra... |
// Distributed under the MIT License.
// See LICENSE.txt for details.
#include "Framework/TestingFramework.hpp"
#include <algorithm>
#include <array>
#include <cstddef>
#include <functional>
#include <string>
#include <type_traits>
#include "DataStructures/DataVector.hpp"
#include "Domain/Structure/Direction.hpp"
#i... |
/* Copyright 2019 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... |
#ifndef SPRAY_UTIL_CUDA_ASSERT_HPP
#define SPRAY_UTIL_CUDA_ASSERT_HPP
#include <spray/util/log.hpp>
#include <cuda_runtime.h>
#include <stdexcept>
#include <string>
namespace spray
{
namespace util
{
inline void cuda_assert(cudaError_t err)
{
if(err != cudaSuccess)
{
spray::log(spray::log_level::error... |
// Warning! This file is autogenerated.
#include <boost/text/collation_table.hpp>
#include <boost/text/collate.hpp>
#include <boost/text/data/all.hpp>
#ifndef LIMIT_TESTING_FOR_CI
#include <boost/text/save_load_table.hpp>
#include <boost/filesystem.hpp>
#endif
#include <gtest/gtest.h>
using namespace boost::text;
... |
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
#include <CListBox.hpp>
START_ATF_NAMESPACE
struct CCheckListBox : CListBox
{
int m_cyText;
unsigned int m_nStyle;
};
END_ATF_NAMESPACE |
// Copyright (c) 2019-2020 Xenios SEZC
// https://www.veriblock.org
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "veriblock/blockchain/alt_block_tree.hpp"
#include <unordered_set>
#include "veriblock/blockchain/pop... |
/////////////////////////////////////////////////////////////////////////////////
//
// Thor C++ Library
// Copyright (c) 2011-2013 Jan Haller
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this... |
/***
* Copyright (C) Microsoft. All rights reserved.
* Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
*
* File:BaseModelSource.cpp
****/
#include "pch.h"
#include "BaseModelSource.h"
#include <foundation/library/logger_macros.h>
// {D0C18A80-6953-471E-9629-8C1476... |
// 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... |
/*
* Copyright (c) 2019 by flomesh.io
*
* Unless prior written consent has been obtained from the copyright
* owner, the following shall not be allowed.
*
* 1. The distribution of any source codes, header files, make files,
* or libraries of the software.
*
* 2. Disclosure of any source codes pertaini... |
#include "vsrtl_netlistdelegate.h"
#include "vsrtl_defines.h"
#include "vsrtl_netlistmodel.h"
#include "vsrtl_radix.h"
#include "vsrtl_registermodel.h"
#include <QApplication>
#include <QLineEdit>
namespace vsrtl {
NetlistDelegate::NetlistDelegate(QObject* parent) : QStyledItemDelegate(parent) {
// The validato... |
/******************************************************************************
/ Console.cpp
/
/ Copyright (c) 2011 and later Tim Payne (SWS), Jeffos
/
/
/ 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 t... |
#include "stdafx.h"
#include "CDnsLookup.h"
int main(int argc, char** argv)
{
WSADATA wsaData;
if (WSAStartup(MAKEWORD(2, 2), &wsaData) == SOCKET_ERROR)
{
return 0;
}
std::map<std::string, std::string> iplist;
CDnsLookup DnsLookup;
DnsLookup.Lookup("114.114.114.114", "www.baidu.com", iplist);
for (auto i ... |
#include "PxView.h"
using namespace Upp;
PxRecordView::PxRecordView() {
modified = false;
WhenMenuBar = [=](Bar &bar) { StatusMenuBar(bar); };
WhenEnter = WhenLeftDouble = [=] { EditData(); };
httpClient.MaxContentSize(INT_MAX);
httpClient.WhenContent = [=](const void *ptr, int size) { HttpContent(ptr, size); ... |
//===--- SILGenForeignError.cpp - Error-handling code emission ------------===//
//
// 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... |
#include <kernels_rpp.h>
#include <vx_ext_rpp.h>
#include <stdio.h>
#include <iostream>
#include "internal_rpp.h"
#include "internal_publishKernels.h"
#include </opt/rocm/rpp/include/rpp.h>
#include </opt/rocm/rpp/include/rppdefs.h>
#include </opt/rocm/rpp/include/rppi.h>
struct SubtractbatchPSLocalData {
RPPCommon... |
/* Copyright 2017 R. Thomas
* Copyright 2017 Quarkslab
*
* 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 appli... |
/**
* 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, distribute, sublicense, and/or ... |
#include "StdAfx.h"
#include "EDLCompress.h"
/*#define DATATABLE_32BIT /*some older systems just don't support long long*/
/*#define DEBUGGERY /*debug: allocated what[]*/
#define INTEL /*assumes your PC uses INTEL formatting*/
/*I don't feel like passing these flags around
so, now its a glob... |
// Copyright (c) 2014 The Bitcoin Core developers
// Copyright (c) 2017-2019 The Raven Core developers
// Copyright (c) 2019 The Alphacon Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "crypto/hmac_sha2... |
// Copyright (C) 2017 - 2018 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., University of Heidelberg, and University of
// of Connecticut School of Medicine.
// All rights reserved.
// Copyright (C) 2010 - 2016 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., University of Heidelberg,... |
/*
written by Pankaj Kumar.
country:-INDIA
*/
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
typedef long long ll ;
typedef vector<ll> vl;
#define speed cin.tie(0);cout.tie(0);ios_base::sync_with_stdio(0);
/... |
//
// 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 BOOST_BEAST_... |
//////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2016-22, Lawrence Livermore National Security, LLC and Umpire
// project contributors. See the COPYRIGHT file for details.
//
// SPDX-License-Identifier: (MIT)
////////////////////////////////////////////////////////////////... |
#include <cmath>
#include <vector>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <dirent.h>
#include "ospcommon/vec.h"
#include "util.h"
using namespace ospcommon;
AppState::AppState() : fbSize(1024), cameraChanged(false), quit(false),
fbSizeChanged(false), tfcnChanged(false), timestepCh... |
// RUN: %clang_cc1 -triple=i386-pc-solaris2.11 -w -emit-llvm %s -o - | FileCheck %s
extern "C" {
struct statvfs64 {
int f;
};
#pragma redefine_extname statvfs64 statvfs
int statvfs64(struct statvfs64 *);
}
void some_func() {
struct statvfs64 st;
statvfs64(&st);
// Check that even if there is a structure... |
#include "daisy_field.h"
#ifndef SAMPLE_RATE
#define SAMPLE_RATE DSY_AUDIO_SAMPLE_RATE /**< & */
#endif
//// Rev1 Pins
//// Hardware related defines.
//#define SW_1_PIN 29 /**< & */
//#define SW_2_PIN 28 /**< & */
//#define SW_3_PIN 27 /**< & */
//#define GATE_OUT_PIN 0 /**< & */
//#define GATE_IN_PIN 1 /**<... |
// Copyright (c) 2019 The groom developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "qt/groom/settings/settingswalletrepairwidget.h"
#include "qt/groom/settings/forms/ui_settingswalletrepairwidget.h"
#include "qt... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2013-2017 The Anoncoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "alert.h"
#include "chain... |
#include <Functions/FunctionFactory.h>
#include <Functions/FunctionBase64Conversion.h>
#include "config_functions.h"
#if USE_BASE64
#include <DataTypes/DataTypeString.h>
namespace DB
{
void registerFunctionBase64Encode(FunctionFactory & factory)
{
tb64ini(0, 1);
factory.registerFunction<FunctionBase64Conversi... |
/*=========================================================================
*
* 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... |
/*
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright noti... |
/****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the documentation of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms ... |
//===-- ThumbRegisterInfo.cpp - Thumb-1 Register Information -------------===//
//
// 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) 2018-present Baidu, Inc. 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 require... |
#include "com_movlad_pcl_Point2d.h"
#include "sptr_wrapper.h"
#include <pcl/point_types.h>
void Java_com_movlad_pcl_Point2d_alloc
(JNIEnv *env, jobject obj)
{
pcl::PointXY *pt_ptr = new pcl::PointXY();
set_handle(env, obj, pt_ptr);
}
void Java_com_movlad_pcl_Point2d_dispose
(JNIEnv *env, jobject obj)
{
pcl::Poin... |
// Copyright (C) 2019-2020 Zilliz. 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 l... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Copyright (c) 2017 The Cryptomiles Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "cleanse.h"
#incl... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "orttraining/training_ops/cuda/activation/bias_gelu_grad.h"
#include "core/common/common.h"
#include "orttraining/training_ops/cpu/activation/gelu_computation_mode.h"
#include "orttraining/training_ops/cuda/activa... |
#include "Lightning.hpp"
namespace Lightning
{
//***************************************************************************
PlasmaThreadLocal bool BuildingLibrary = false;
//***************************************************************************
NativeBindingList::NativeBindingList()
{
}
//*******... |
#pragma once
#include <LuminoEditor/Plugin.hpp>
namespace lna {
class AssetBrowserNavigator;
class LevelEditorModelFactory
: public ln::AssetEditorModelFactory
{
public:
bool checkTargetType(const ln::TypeInfo* assetType) override;
Ref<lna::AssetEditorModel> createAssetEditorModel() override;
};
class ... |
/*
* Distributed under the OSI-approved Apache License, Version 2.0. See
* accompanying file Copyright.txt for details.
*
* ADIOSTypes.inl : inline implementatios for ADIOSTypes.h
*
* Created on: Feb 20, 2019
* Author: Kai Germaschewski <kai.germaschewski@unh.edu>
* Chuck Atkins chuck.atkins... |
// Copyright 2010-2016 RethinkDB, all rights reserved.
#include "crypto/initialization_guard.hpp"
#ifdef _WIN32
#include "windows.hpp"
#endif
#include <openssl/err.h>
#include <openssl/opensslv.h>
#include <openssl/ssl.h>
#include <vector>
#include "arch/io/concurrency.hpp"
#include "arch/runtime/runtime.hpp"
#if ... |
// Scintilla source code edit control
// Copyright 1998-2002 by Neil Hodgson <neilh@scintilla.org>
/*
This is the Lexer for Gui4Cli, included in SciLexer.dll
- by d. Keletsekis, 2/10/2003
To add to SciLexer.dll:
1. Add the values below to INCLUDE\Scintilla.iface
2. Run the include/HFacer.py script
3. Run the src/lexGe... |
/*++
Copyright (c) 1998 Microsoft Corporation
Module Name:
peakfind.cpp
Abstract:
SIS Groveler peak finder
Authors:
John Douceur, 1998
Environment:
User Mode
Revision History:
--*/
#include "all.hxx"
PeakFinder::PeakFinder(
double accuracy,
double range)
{
ASSERT(this != 0);
... |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2012-2013 Esteban Tovagliari, Jupiter Jazz Limited
// Copyright (c) 2014-2018 Esteban Tovagliari, The appleseedhq Organizati... |
//
// Created by edoardo biasio on 2021-03-24.
//
#ifndef HEXGAME_MULTILINE_TEXT_HPP
#define HEXGAME_MULTILINE_TEXT_HPP
#include "text.hpp"
#include <vector>
class GUI_MultilineText {
private:
std::vector<GUI_Text* > lines;
int l_offset;
public:
~GUI_MultilineText();
GUI_MultilineText(TTF_Font* font... |
#include "bucket.h"
#include "../config.h"
Bucket::Bucket(int worldX, int worldZ, PerlinNoise* noise, TerrainTexturePack* pack,
TerrainTexture* blendMap, MasterRenderer* _renderer)
: terrain(worldX/config.bucketSize, worldZ/config.bucketSize,
pack, blendMap, noise),
renderer(_renderer)
{
shared_ptr<TexturedM... |
// Copyright 2021 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/quick_pair/message_stream/message_stream.h"
#include <memory>
#include "ash/quick_pair/common/logging.h"
#include "ash/quick_pair/message_... |
/*
$info$
tags: frontend|x86-tables
$end_info$
*/
#include "Interface/Core/X86Tables/X86Tables.h"
#include <FEXCore/Debug/X86Tables.h>
#include <FEXCore/Core/Context.h>
#include <iterator>
#include <stdint.h>
namespace FEXCore::X86Tables {
using namespace InstFlags;
void InitializeH0F3ATables(Context::OperatingMod... |
#include "Scene3D/Entity.h"
#include "Particles/ParticleEmitter.h"
#include "Scene3D/Components/CameraComponent.h"
#include "Scene3D/Components/LightComponent.h"
#include "Scene3D/Lod/LodComponent.h"
#include "Scene3D/Components/RenderComponent.h"
#include "Scene3D/Components/ParticleEffectComponent.h"
#include "Scene3... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkImageBSplineInterpolator.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
Th... |
/**
* @file IxConfigProtocol.cpp
* @author Group(SW_Browser) <gsw_browser@humaxdigital.com>
* @brief
*
* (c) 2017 Humax Co., Ltd.
* This program is produced by Humax Co., Ltd. ("Humax") and
* the proprietary Software of Humax and its licensors. Humax provides you, as an Authorized Licensee,
* non-assignable, ... |
/****************************************************************************************************************************************************
* Copyright (c) 2014 Freescale Semiconductor, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are ... |
// (C) Copyright John Maddock and Dave Abrahams 2002.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// See http://www.boost.org/libs/config for most recent version.
// MA... |
//
// Copyright (c) 2008-2015 the Urho3D project.
//
// 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, m... |
/*
Copyright (C) 2013-2018 Draios Inc dba Sysdig.
This file is part of sysdig.
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 ap... |
/** This library is under the 3-Clause BSD License
Copyright (c) 2017, Johannes Heinecke
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... |
/*
Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed i... |
class Uncopyable
{
protected:
Uncopyable() = default;
~Uncopyable() = default;
private:
Uncopyable(const Uncopyable&) = delete;
Uncopyable& operator=(const Uncopyable&) = delete;
Uncopyable(Uncopyable&&) = delete;
Uncopyable& operator=(Uncopyable&&) = delete;
}; |
/*******************************************************************************
* Copyright 2021 Kyrylo Rud
*
* 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... |
/*
Buzzer driver
*/
/*
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope... |
/*
* 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 2018-2020 Jan Feitsma (Falcons)
// SPDX-License-Identifier: Apache-2.0
/*
* rtdbStructs.hpp
*
* Created on: Nov 1, 2018
* Author: Jan Feitsma
*
*/
#ifndef RTDBSTRUCTS_HPP_
#define RTDBSTRUCTS_HPP_
// sharedTypes
#include "ballMeasurement.hpp"
#include "obstacleMeasurement.hpp"
#include "robot... |
// Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: MultiplayerLocalInact... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.