text stringlengths 5 1.04M |
|---|
/////////////////////////////////////////////////////////////////////////////
// Name: src/common/rgncmn.cpp
// Purpose: Methods of wxRegion that have a generic implementation
// Author: Robin Dunn
// Modified by:
// Created: 27-Mar-2003
// RCS-ID: $Id$
// Copyright: (c) Robin Dunn
// Licence... |
/*** Copyright (c), The Regents of the University of California ***
*** For more information please refer to files in the COPYRIGHT directory ***/
/* definitions for osauth routines */
#ifdef __cplusplus
extern "C" {
#endif
#define OS_AUTH_FLAG "##OS_AUTH"
#define OS_AUTH_CMD "genOSAuth"
#define ... |
// generate_table.cpp
//
// Copyright (c) 2009
// Steven Watanabe
//
// 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 <vector>
#include <utility>
#include <iostream>
#include <cstring>
#incl... |
#include <array>
#include <string>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <pybind11/operators.h>
#include <ruckig/ruckig.hpp>
#ifdef WITH_REFLEXXES
#include <ruckig/reflexxes_comparison.hpp>
#endif
namespace py = pybind11;
using namespace pybind11::literals; // to bring in the `_a` l... |
// Copyright 2019 The Fuchsia 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 <fidl/fuchsia.input.report/cpp/wire.h>
#include <lib/async-loop/cpp/loop.h>
#include <lib/async-loop/default.h>
#include <lib/ddk/device.h>
#inclu... |
#include "../../TensorShaderAvxBackend.h"
using namespace System;
__forceinline __m128 _mm256d_sum(__m256d hi, __m256d lo) {
__m256d u = _mm256_hadd_pd(lo, hi);
__m256d v = _mm256_hadd_pd(u, _mm256_setzero_pd());
__m128d w = _mm_add_pd(_mm256_extractf128_pd(v, 1), _mm256_castpd256_pd128(v));
return _... |
//===--- XRefs.cpp ----------------------------------------------*- C++-*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===--------------------------------------------------------... |
/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
/* If you are missing that file, acquire a complete release at teeworlds.com. */
#include "layers.h"
CLayers::CLayers()
{
m_GroupsNum = 0;
m_GroupsStart = 0;
m_LayersNum = 0;
m_LayersStart = 0;
m_pGameGr... |
// Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2018 The XIM developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-licen... |
// clientgame.cpp: core game related stuff
#include "cube.h"
int nextmode = 0; // nextmode becomes gamemode after next map load
VAR(gamemode, 1, 0, 0);
void mode(int n) { addmsg(1, 2, SV_GAMEMODE, nextmode = n); };
COMMAND(mode, ARG_1INT);
bool intermission = false;
dynent *player1 = newdynent(); ... |
#include <Functions/FunctionFactory.h>
namespace DB
{
void registerFunctionsArithmetic(FunctionFactory &);
void registerFunctionsArray(FunctionFactory &);
void registerFunctionsTuple(FunctionFactory &);
void registerFunctionsBitmap(FunctionFactory &);
void registerFunctionsCoding(FunctionFactory &);
void registerFunc... |
//
// Generic listener interface for monitoring, debugging and profiling.
//
#ifndef GRAPHLAB_IMONITOR_HPP
#define GRAPHLAB_IMONITOR_HPP
#include <graphlab/graph/graph.hpp>
#include <graphlab/tasks/update_task.hpp>
#include <graphlab/scope/iscope.hpp>
namespace graphlab {
// Predecleration
template<typen... |
/*
Meddly: Multi-terminal and Edge-valued Decision Diagram LibrarY.
Copyright (C) 2009, Iowa State University Research Foundation, Inc.
This library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
by the Free Softwar... |
//------------------------------------------------------------------------------
/*
This file is part of rippled: https://github.com/ripple/rippled
Copyright (c) 2018 Ripple Labs Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby grante... |
/*=========================================================================
*
* 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... |
// Classic Shell (c) 2009-2017, Ivo Beltchev
// Open-Shell (c) 2017-2018, The Open-Shell Team
// Confidential information of Ivo Beltchev. Not for disclosure or distribution without prior written consent from the author
#include "stdafx.h"
#include "ExplorerBand.h"
#include "ExplorerBHO.h"
#include "SettingsUI.h"
#inc... |
// Copyright (c) 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 "quiche/quic/core/frames/quic_stop_sending_frame.h"
#include "quiche/quic/core/quic_error_codes.h"
namespace quic {
QuicStopSendingFrame::... |
#include <consumers/spectrum.h>
#include <core/util/logger.h>
namespace DAQuiri {
Spectrum::Spectrum()
: Consumer()
{
Setting base_options = metadata_.attributes();
SettingMeta name("name", SettingType::text, "Name");
base_options.branches.add(name);
SettingMeta vis("visible", SettingType::boolean, "Vi... |
/*
* Copyright (c) 2010, 2012-2013, 2017-2018 ARM Limited
* Copyright (c) 2013 Advanced Micro Devices, Inc.
* All rights reserved
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to in... |
//==============================================================================
// 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.
// ... |
#pragma once
#include <memory>
#include "ResourceManager.hpp"
namespace creamyLib::engine::resource
{
template<class T>
class ResourcePrefab
{
private:
std::shared_ptr<T> resource_;
public:
ResourcePrefab(const std::shared_ptr<Resource>& resource): resource_(std::dynamic_pointer_... |
// Copyright (c) 2014-2019 Coin Sciences Ltd
// FFF_Core code distributed under the GPLv3 license, see COPYING file.
#include "v8/v8ubjson.h"
#include "utils/define.h"
#include "v8/v8blob.h"
#include "v8/v8utils.h"
#include <cstring>
const int MAX_FORMATTED_DATA_DEPTH = 100;
extern void _v8_internal_Print_Object(void... |
/*! \class VSpectralFitter
\brief fitter class for energy spectra
*/
#include "VSpectralFitter.h"
ClassImp( VSpectralFitter )
VSpectralFitter::VSpectralFitter( string fitname )
{
fFitFunction = 0;
fFitFunction_lin = 0;
fFitFunction_CovarianceMatrix = 0;
fFitName = fitname;
setSpectral... |
/** @file cones_inexact.cpp
* A test application that computes the cone boundaries inexactly given the number of cones
* and the initial direction.
*
* Authors: Weisheng Si and Quincy Tse, University of Western Sydney
*/
#include <cstdlib>
#include <iostream>
#include <iterator>
#include <vector>
#include <CGAL/Ex... |
/**************************************************************
*
* 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... |
/*=============================================================================
Library: CppMicroServices
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in complia... |
#include "litesql-gen-xml.hpp"
#include <fstream>
using namespace std;
using namespace xml;
using namespace litesql;
void XmlGenerator::setOutputFilename(const std::string& filename)
{
m_outputFilename=filename;
}
bool generate(xml::Field* const field, ostream& os,size_t indent)
{
string indent_string(indent,'... |
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QFileDialog>
#include <QStandardPaths>
#include <QDir>
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
{
ui->setupUi(this);
QIcon play, rec;
QPixmap qpm;
//Inizializzazione dei... |
#include "WaterControle.hpp"
WaterControle::WaterControle()
{
thermo = new Thermo(tPIN, tType, tVCC, tGND); //pin, DHT Version [DHT11, DHT22], pinVCC, pinGND
lcd = new Display(dAddress, dCol, dRow); //Address, colomn, row
dt = new DateTime(dt_DataPin, dt_SclkPin); //SDA, SCL pins
to = new ThermoOut(to_OneWireBus,... |
// mojo/public/cpp/bindings/tests/flush_async_unittest.test-mojom-blink.cc is auto generated by mojom_bindings_generator.py, do not edit
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#if defined(__cl... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
//
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "libzerocoin/Params.h"
#include ... |
#include "mull/Parallelization/Tasks/FunctionFilterTask.h"
#include "mull/Filters/FunctionFilter.h"
#include "mull/Parallelization/Progress.h"
using namespace mull;
FunctionFilterTask::FunctionFilterTask(FunctionFilter &filter)
: filter(filter) {}
void FunctionFilterTask::operator()(iterator begin, iterator end... |
/*-------------------------------------------------------------------------
* Vulkan Conformance Tests
* ------------------------
*
* Copyright (c) 2015 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may o... |
/*------------------------------------------------------------------------*/
/* Copyright 2010, 2011 Sandia Corporation. */
/* Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive */
/* license for use of this work by or on behalf of the U.S. Government. */
/* Ex... |
// (C) Copyright Samuli-Petrus Korhonen 2017.
// 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)
//
// The author gratefully acknowleges the support of NMR Solutions, Inc., in
// producing this work.
// Revisio... |
// Copyright 2017 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/connectivity/network/mdns/service/transport/mdns_interface_transceiver_v6.h"
#include <arpa/inet.h>
#include <errno.h>
#include <lib/syslog/... |
// Copyright 2016 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/chromeos/extensions/gfx_utils.h"
#include "base/containers/cxx20_erase.h"
#include "base/cxx17_backports.h"
#include "base/lazy_... |
// Copyright 2018 The Crashpad 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 ... |
// Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "behavior/ov_infer_request/callback.hpp"
using namespace ov::test::behavior;
namespace {
const std::vector<std::map<std::string, std::string>> configs = {
{},
};
const std::vector<std::map<std::string, std::strin... |
// syncclusterconnection.cpp
/*
* Copyright 2010 10gen Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hop... |
/**************************************************************
*
* 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... |
#pragma once
#include <cstdint>
namespace NWNXLib {
namespace API {
struct FILE4LONG_EXTENDSt
{
char space[6];
};
}
}
|
#include "Halide.h"
using namespace Halide;
using namespace Halide::ConciseCasts;
using namespace Halide::Internal;
Expr narrow(Expr a) {
Type result_type = a.type().narrow();
return Cast::make(result_type, std::move(a));
}
void check(Expr test, Expr expected, Type required_type) {
// Some of the below t... |
/**
* spoonacular API
* The spoonacular Nutrition, Recipe, and Food API allows you to access over 380,000 recipes, thousands of ingredients, 800,000 food products, and 100,000 menu items. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such a... |
#include <math.h>
#include <uWS/uWS.h>
#include <chrono>
#include <iostream>
#include <thread>
#include <vector>
#include "Eigen-3.3/Eigen/Core"
#include "Eigen-3.3/Eigen/QR"
#include "MPC.h"
#include "json.hpp"
using namespace Eigen;
// for convenience
using json = nlohmann::json;
// For converting back and forth b... |
// Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "../../../include/fpdfapi/fpdf_module.h"
#include "../../../include/f... |
/* Copyright (c) Microsoft 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 law or agreed to in writing, so... |
#include "hb-fuzzer.hh"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include "hb-subset.h"
static void
trySubset (hb_face_t* face,
const hb_codepoint_t text[],
int text_length,
bool drop_hints,
bool drop_layout,
bool retain_gid... |
#include <router/abstractrouter.hpp>
namespace llarp
{
} // namespace llarp
|
/// @brief Include to save KTX textures to files or memory.
/// @file gli/save_ktx.hpp
#pragma once
#include "texture.hpp"
namespace gli
{
/// Save a texture storage_linear to a KTX file.
///
/// @param Texture Source texture to save
/// @param Path Path for where to save the file. It must include the filaname a... |
/**
* @file lltoolgun.cpp
* @brief LLToolGun class implementation
*
* $LicenseInfo:firstyear=2001&license=viewerlgpl$
* Second Life Viewer Source Code
* Copyright (C) 2010, Linden Research, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser Ge... |
#include "Adapter.h"
#include "Adaptee.h"
using namespace adapter;
Adapter::Adapter()
{
m_Adaptee = new Adaptee();
}
Adapter::~Adapter()
{
delete m_Adaptee;
}
void Adapter::ExistingMethod()
{
m_Adaptee->ForeignMethod();
}
|
#include <memory>
#include "rclcpp/rclcpp.hpp"
#include "tutorial_interfaces/msg/num.hpp"
using std::placeholders::_1;
class MinimalSubscriber : public rclcpp::Node
{
public:
MinimalSubscriber() : Node("minimal_subscriber")
{
subscription_ = this->create_subscription<tutorial_interfaces::msg::Num>(
"... |
// bdlde_base64encoder.t.cpp -*-C++-*-
// ----------------------------------------------------------------------------
// NOTICE
//
// This component is not up to date with current BDE coding standards, and
// should not be used as an example f... |
#include "../common/framework.hpp"
#include "../../ThirdParty/AntTweakBar/include/AntTweakBar.h"
int main( void )
{
GLFWwindow* window = initWindow("Tutorial 17 - Rotations");
// Initialize the GUI
TwInit(TW_OPENGL_CORE, NULL);
TwWindowSize(1024, 768);
TwBar * EulerGUI = TwNewBar("Euler settings");
... |
/*===================================================================
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... |
// 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) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org>
* Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; eit... |
/******************************************************************************
* $Id$
*
* Project: OpenGIS Simple Features Reference Implementation
* Purpose: Implements OGRODBCTableLayer class, access to an existing table.
* Author: Frank Warmerdam, warmerdam@pobox.com
*
***********************************... |
/* $Id$ */
/*
* Copyright (C) 2009-2011 Teluu Inc. (http://www.teluu.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any late... |
// Copyright 2018 The Abseil 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... |
#include "sdbusplus/server/transaction.hpp"
namespace sdbusplus
{
namespace server
{
namespace transaction
{
namespace details
{
// Transaction Id
thread_local uint64_t id = 0;
} // namespace details
uint64_t get_id()
{
// If the transaction id has not been initialized, generate one.
if (!details::id)
{... |
/*
* Copyright (C) 2014, 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... |
class Solution {
public:
int singleNumber(vector<int>& nums) {
int ans = 0;
for (int& num : nums)
ans ^= num;
return ans;
}
};
|
/*
* Copyright 2021 IBM 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 law or agreed... |
/*
* Copyright (C) 2005-2017 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 ... |
// RUN: %clang_cc1 -fsyntax-only -std=c++17 -verify %s
// RUN: %clang_cc1 -fsyntax-only -std=c++20 -verify %s
// p1099 'using SCOPEDENUM::MEMBER;'
namespace Zero {
namespace Bob {
enum class Kevin {
Stuart,
AlsoStuart
#if __cplusplus >= 202002L
// expected-note@-3{{target of using declaration}}
// expected-note@-... |
// Copyright (c) 2017-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... |
/*=========================================================================
*
* 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... |
/*
* Certificate Message
* (C) 2004-2006,2012,2020 Jack Lloyd
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#include <botan/tls_messages.h>
#include <botan/tls_extensions.h>
#include <botan/tls_exceptn.h>
#include <botan/tls_alert.h>
#include <botan/internal/tls_reader.h>
#include <botan/... |
/******************************************************************************
*
* Copyright (C) 2010-2014 Broadcom 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 a... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#include "dirent.h"
#include <sched.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <dlfcn.h>
#include <fcntl.h>
#include <unistd.h>
#include <limits.h>
#include <stddef.h>
#include <sys/... |
//
// GameSelectScene.cpp
// PehlaSchool
//
// Created by Gunho Lee on 09/12/17.
//
//
#include <functional>
#include "CCAppController.hpp"
#include "Utils/TodoUtil.h"
#include "CustomDirector.h"
#include "CoopScene.hpp"
#include "GameSelectScene.hpp"
#include "GradeSelector.hpp"
#include "Bird.hpp"
#include "C... |
#include <vtkActor.h>
#include <vtkActor2D.h>
#include <vtkArrowSource.h>
#include <vtkConeSource.h>
#include <vtkCubeSource.h>
#include <vtkCylinderSource.h>
#include <vtkDiskSource.h>
#include <vtkLineSource.h>
#include <vtkNamedColors.h>
#include <vtkNew.h>
#include <vtkPolyDataMapper.h>
#include <vtkProperty.h>
#in... |
#include <cstdio>
#include <assert.h>
#include "z80.h"
/////////////////////////////////////////////////////////////////////////////
//
// Callback functions for KMZ80
//
static UINT32 memread(void *user, UINT32 a) {
Z80_CPU *z80 = static_cast<Z80_CPU *>(user);
UINT32 val;
z80->Read(a, val, Z80_CPU::DEVICE_MEM)... |
#include <string>
#include <SDL_image.h>
#include "Game.h"
#include "Color.h"
#include "Constants.h"
#include "Input.h"
Game::Game()
{
}
Game::~Game()
{
net.clear();
TTF_CloseFont(font);
TTF_Quit();
}
void Game::load(SDL_Renderer& renderer)
{
for (int i = 0; i < 8; ++i) {
net.push_back(std::make_unique<Drawab... |
/**
* @file oglplus/fwd.hpp
* @brief Forward declarations
*
* @author Matus Chochlik
*
* Copyright 2010-2014 Matus Chochlik. 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
#ifndef OGLP... |
/////////////////////////////////////////////////////////////////////
//
// SFGE - Simple and Fast Game Engine
//
// Copyright (c) 2016-2017 DonRumata710
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to de... |
#pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_PrimalItemStructure_AdobeRamp_classes.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Parameters
//----------------------------------------... |
//
// Created by login on 2021/6/10.
//
#include "module_merge.h"
#include<iostream>
#include<sqlite3.h>
#include <fstream>
#include <sstream>
#include <algorithm>
#include <cstring>
#include"Database/database.h"
#include"Database/file_system.h"
#include"module_checkout.h"
using namespace std;
//按照originpath升序排列
bool... |
// Copyright (c) 2011-2020 The Beans Core 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/beans-config.h>
#endif
#include <qt/optionsmodel.h>
#include <qt/beansunits.h>
#i... |
#include "MergeTreeDataPartChecksum.h"
#include <Common/SipHash.h>
#include <Common/hex.h>
#include <IO/ReadHelpers.h>
#include <IO/WriteHelpers.h>
#include <IO/ReadBufferFromString.h>
#include <IO/WriteBufferFromString.h>
#include <IO/CompressedReadBuffer.h>
#include <IO/CompressedWriteBuffer.h>
#include <Poco/File.h>... |
// 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: System.Multica... |
/*===================================================================
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 <iostream>
#include <iterator>
#include <algorithm>
using namespace std;
int main() {
ios::sync_with_stdio(false);
string a, b;
cin >> a >> b;
cout << std::distance(a.begin(),
std::search(a.begin(), a.end(), b.begin(), b.end())) +
1 << endl;
ret... |
#include "includes/DCDManager.hpp"
#include "includes/SuperImposer.hpp"
using namespace arabica;
int main(int argc, char *argv[])
{
if(argc != 2)
{
std::cout << "Arabica DCD SuperImposer" << std::endl;
std::cout << "Usage: ./superimpose <filename>.dcd" << std::endl;
std::cout << "Info ... |
/*
* Copyright 2003-2013, Axel Dörfler, axeld@pinc-software.de.
* Distributed under the terms of the MIT License.
*/
#include <boot/partitions.h>
#include <errno.h>
#include <unistd.h>
#include <string.h>
#include <boot/FileMapDisk.h>
#include <boot/platform.h>
#include <boot/stage2.h>
#include <boot/stdio.h>
#i... |
#include <iostream>
#include <complex>
#include <vector>
#include <htool/htool.hpp>
using namespace std;
using namespace htool;
class MyMatrix: public IMatrix<double>{
const vector<R3>& p1;
const vector<R3>& p2;
public:
MyMatrix(const vector<R3>& p10,const vector<R3>& p20 ):IMatrix<double>(p10.size(),p20.size()... |
#include <libclientserver.h>
#include <TestServer.h>
int main(int argc, char **argv)
{
TestServer TS;
ClientBase *Client = Client::Create("unix:/tmp/TestServer");
Client->Connect();
Client->WaitForConnect();
Client->Disconnect();
delete Client;
return 0;
}
|
/*
* Copyright (c) 2016, Fabian Langguth
* TU Darmstadt - Graphics, Capture and Massively Parallel Computing
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD 3-Clause license. See the LICENSE.txt file for details.
*/
#include <set>
#include <iostream>
#inclu... |
/*
* Warhammer Age of Sigmar battle simulator.
*
* Copyright (C) 2019 by Rick Weyrauch - rpweyrauch@gmail.com
*
* This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
*/
#include <cassert>
#include <Dice.h>
#include <AgeOfSigmarSim.h>
std::random_device Dice::s_rd;
std::mt19937 ... |
#include <SDL.h> // SDL2
#include <windows.h>
#include "vkmap.hpp"
#include "btnmap.hpp"
#include "ini.hpp"
#include <iostream>
#include <stdlib.h>
void send_key(WORD vk, bool is_press)
{
static HKL hkl = GetKeyboardLayout(0);
INPUT ip;
ip.type = INPUT_KEYBOARD;
ip.ki.wVk = vk;
ip.ki.wScan = MapVirtualKeyE... |
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
extern const int32_t ... |
#include <string>
using namespace std;
class Solution
{
public:
string interpret(string command)
{
string parser = "";
for (int i = 0; i < command.size(); i++)
{
if (command[i] == '(')
{
if (command[i + 1] == ')')
{
... |
/*
Demone che gestisce l'inserimento in coda dei messaggi
*/
#include <iostream>
#include "class/bot.class.h"
using namespace std;
// Cosa fa : Estrapola le richieste (messaggi) inviati al bot e le aggiunge in coda
int main(){
string sJson;
Bot *oBot = new Bot();
bool bRet;
while(true){
cout << "Aggiorn... |
#include "DetectorDescription/Core/interface/DDExpandedView.h"
#include <memory>
#include <ostream>
#include "DetectorDescription/Core/interface/DDComparator.h"
#include "DetectorDescription/Core/interface/DDLogicalPart.h"
#include "DetectorDescription/Core/interface/DDPosData.h"
#include "DataFormats/Math/interface/... |
//------------------------------------------------------------------------------
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//------------------------------------------------------------------------------
#i... |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
/* This file is part of the library KASKADE 7 */
/* see http://www.zib.de/projects/kaskade7-finite-element-toolbox */
... |
/*
*
* Copyright 2019 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
#include "com/mapswithme/maps/Framework.hpp"
#include "com/mapswithme/core/jni_helper.hpp"
#include "com/mapswithme/maps/UserMarkHelper.hpp"
#include "com/mapswithme/maps/bookmarks/data/BookmarkManager.hpp"
#include "com/mapswithme/opengl/androidoglcontextfactory.hpp"
#include "com/mapswithme/platform/Platform.hpp"
#in... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.