text stringlengths 5 1.04M |
|---|
#include "WorkingWithProjects/WorkingWithProjectProperties/ReadCurrencyProperties.h"
#include <system/type_info.h>
#include <system/string.h>
#include <system/shared_ptr.h>
#include <system/reflection/method_base.h>
#include <system/object_ext.h>
#include <system/object.h>
#include <system/convert.h>
#include <system/... |
#ifndef __autoanysdkbindings_h__
#define __autoanysdkbindings_h__
#include "jsapi.h"
#include "jsfriendapi.h"
extern JSClass *jsb_anysdk_framework_PluginProtocol_class;
extern JSObject *jsb_anysdk_framework_PluginProtocol_prototype;
bool js_autoanysdkbindings_PluginProtocol_constructor(JSContext *cx, uint32_t argc... |
// 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 "media/video/gpu_memory_buffer_video_frame_pool.h"
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#include <stddef.h>
#include <stdint.h>
#in... |
/*=====================================================================
======================================================================*/
/**
* @file
* @brief Joystick interface
*
* @author Lorenz Meier <mavteam@student.ethz.ch>
* @author Andreas Romer <mavteam@student.ethz.ch>
*
*/
#include "Joys... |
#include "DXUT.h"
#include "SceneManager.h"
#include "LightManager.h"
#include "SDKmisc.h"
#include "DXUTCamera.h"
extern UINT8 g_nSkyStencilFlag;
extern ID3D11Device* g_pDevice;
extern CFirstPersonCamera g_Camera;
#pragma pack(push,1)
struct CB_VS_PER_OBJECT
{
D3DXMATRIX m_mWorldViewProjection;
D3DXMATRIX m_mWo... |
// 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/chromeos/drive/sync_client.h"
#include <vector>
#include "base/file_util.h"
#include "base/files/file_path.h"
#include "bas... |
#ifndef _TENSOR_UTILS_HPP
#define _TENSOR_UTILS_HPP
#include <vector>
#include "product.hpp"
#include "sum.hpp"
#include "Vector.hpp"
#ifndef MAX_TENSOR_DIMENSION
#define MAX_TENSOR_DIMENSION 12
#endif
// Tuple types:
typedef unsigned long* __restrict const tup_t;
typedef const unsigned long* __restrict const const... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__delete_array_struct_malloc_65b.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete_array.label.xml
Template File: sources-sinks-65b.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory ... |
/*
* 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
... |
//------------------------------------------------------------------------------
/*
This file is part of rippled: https://github.com/ripple/rippled
Copyright (c) 2016 Ripple Labs Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby grante... |
/******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2015-2017 Baldur Karlsson
* Copyright (c) 2014 Crytek
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (t... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/*============================================================================
**
** Source: test16.c
**
** Purpose:Tests sscanf_s with floats (compact notation, lowercase)
**
**
*... |
// Copyright (c) 2006, 2007 Julio M. Merino Vidal
// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling
// Copyright (c) 2009 Boris Schaeling
// Copyright (c) 2010 Felipe Tanus, Boris Schaeling
// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling
// Copyright (c) 2016 Hartmut Kaiser
//
// Distributed under the Boost S... |
/**
* @file
* @copyright defined in evt/LICENSE.txt
*/
#pragma once
#include <fc/container/flat_fwd.hpp>
#include <fc/static_variant.hpp>
#include <fc/optional.hpp>
#include <fc/variant.hpp>
#include <fc/reflect/reflect.hpp>
#include <fc/crypto/sha256.hpp>
#include <evt/chain/types.hpp>
namespace evt { namespace ... |
// EnergyPlus, Copyright (c) 1996-2018, The Board of Trustees of the University of Illinois,
// The Regents of the University of California, through Lawrence Berkeley National Laboratory
// (subject to receipt of any required approvals from the U.S. Dept. of Energy), Oak Ridge
// National Laboratory, managed by UT-Batt... |
#include <gtest/gtest.h>
#include <ecfw/world.hpp>
TEST(world, is_valid)
{
ecfw::world world{};
auto valid_entity = world.create();
ASSERT_TRUE(world.is_valid(valid_entity));
uint32_t invalid_entity = 0xDEADBEEF;
ASSERT_FALSE(world.is_valid(invalid_entity));
} |
#include <iostream>
#include <Transformer.h>
#include <boost/test/unit_test.hpp>
using namespace esrocos::transformer;
typedef AcyclicTransformer<> atf20_20;
BOOST_AUTO_TEST_SUITE(transformation_tests)
BOOST_AUTO_TEST_CASE(transform_construction)
{
atf20_20::Transformation t;
BOOST_CHECK_EQUAL(0,std::strcmp(t.... |
/**
* \file PnlWznmMtdList_blks.cpp
* job handler for job PnlWznmMtdList (implementation of blocks)
* \copyright (C) 2016-2020 MPSI Technologies GmbH
* \author Alexander Wirthmueller (auto-generation)
* \date created: 28 Nov 2020
*/
// IP header --- ABOVE
using namespace std;
using namespace Sbecore;
using names... |
#include "open_cdm_ext.h"
#include "open_cdm_impl.h"
#define ASSERT_NOT_EXECUTED() \
{ \
fprintf(stderr, "Error: didn't expect to use %s (%s:%d)!!\n", \
__PRETTY_FUNCTION__, __FILE__, __LINE... |
// Copyright (c) 2011-2018 The Limracoin 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/limracoin-config.h>
#endif
#include <qt/addressbookpage.h>
#include <qt/forms/... |
#include "fs/impl/memory/fs_memory_file_system.hpp"
#include "fs/impl/memory/fs_memory_file.hpp"
#include "fs/impl/memory/fs_memory_folder.hpp"
#include "exception/ih/exc_internal_error.hpp"
#include <memory>
#include <std_fs>
//------------------------------------------------------------------------------
namespa... |
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#include <armnn/BackendId.hpp>
#include <backendsCommon/test/JsonPrinterTestImpl.hpp>
#include <boost/test/unit_test.hpp>
#include <vector>
BOOST_AUTO_TEST_SUITE(RefJsonPrinter)
BOOST_AUTO_TEST_CASE(SoftmaxProfilerJsonPrinterC... |
// Copyright (c) 2012-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 "random.h"
#include "scheduler.h"
#include "test/test_madcoin.h"
#include <boost/bind.hpp>
#include <boost/random/... |
#include "TreeNode.h"
#include <stdio.h>
TreeNode::TreeNode(int value)
{
m_value = value;
}
TreeNode::TreeNode()
{
}
TreeNode::~TreeNode()
{
}
void TreeNode::draw(int x, int y, bool selected)
{
static char buffer[10];
Color color;
DrawCircle(x, y, 30, BLUE);
sprintf_s(buffer, "%d", m_value);
if (selected)
... |
// Copyright (c) 2006-2008 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/string_util.h"
#include "chrome/test/ui/ui_test.h"
#include "chrome/browser/automation/url_request_failed_dns_job.h"
#include "net... |
/**********************************************************************
* Copyright (c) 2008-2015, Alliance for Sustainable Energy.
* All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by t... |
#include <cosma/local_multiply.hpp>
#include <cosma/mpi_mapper.hpp>
#include <cosma/multiply.hpp>
#include <complex>
#include <random>
using namespace cosma;
template <typename T>
void fill_matrix(T* ptr, size_t size) {
std::random_device dev; // seed
std::mt19937 rng(dev()); ... |
/**
* @file XmlUtils.hpp
* @brief XmlUtils class prototype.
* @author zer0
* @date 2019-08-05
*/
#ifndef __INCLUDE_LIBTBAG__LIBTBAG_DOM_XML_XMLUTILS_HPP__
#define __INCLUDE_LIBTBAG__LIBTBAG_DOM_XML_XMLUTILS_HPP__
// MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pr... |
//$Id$
//------------------------------------------------------------------------------
// ParameterCreateDialog
//------------------------------------------------------------------------------
// GMAT: General Mission Analysis Tool
//
// Copyright (c) 2002 - 2018 United States Government a... |
// Copyright (C) 2013 Jimmie Bergmann - jimmiebergmann@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 damages arising from the use of this software.
//
// Permission is granted to anyone to use this software for any p... |
// Copyright (c) 2012 Steinwurf ApS
// All Rights Reserved
//
// Distributed under the "BSD License". See the accompanying LICENSE.rst file.
#pragma once
#include <stdint.h>
#include <cassert>
#include <algorithm>
#include "storage.hpp"
#include "convert_endian.hpp"
namespace sak
{
/// The idea behind the endian_st... |
//*****************************************************************************
/*!
* 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
*
... |
// Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: BeatmapDifficultyMask
#include "GlobalNamespace/BeatmapDifficultyMask.... |
#include "lunarlady/Game.hpp"
#include "lunarlady/System.hpp"
#include "lunarlady/StringFormat.hpp"
namespace lunarlady {
class StringFormatSystem : public System {
public:
StringFormatSystem() : System("Font format"), mFormat( Registrator().getGeneralStringPath() ) {
}
~StringFormatSystem() {
}
void step... |
/*
* Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... |
/*
* This software is distributed under BSD 3-clause license (see LICENSE file).
*
* Authors: Heiko Strathmann, Dhruv Arya
*/
#include <gtest/gtest.h>
#include <shogun/evaluation/SigmoidCalibration.h>
using namespace shogun;
TEST(SigmoidCalibrationTest, binary_calibration)
{
SGVector<float64_t> preds(10), labs(1... |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "InitCollisionFinder.h"
#include "DexUtil.h"
/**
* Some optimizations want to change the prototypes of many methods. So... |
#pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_SK_PopOutCake_AnimBlueprint_classes.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Parameters
//------------------------------------------... |
/****************************************************************************************************************************************************
* Copyright (c) 2014 Freescale Semiconductor, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permi... |
#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 10;
int parent[N], size[N];
void UNION (int x, int y) {
if (size[x] > size[y])
swap(x, y);
size[x] += size[y];
parent[y] = parent[x];
}
int FIND (const int x) {
if (x != parent[x])
parent[x] = FIND(parent[x]);
retur... |
// Copyright Aleksey Gurtovoy 2001-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/mpl for documentation.
// $Source: /physbam_repository/External_Libraries/Archive... |
#include "duckdb/execution/physical_plan_generator.hpp"
#include "duckdb/catalog/catalog_entry/scalar_function_catalog_entry.hpp"
#include "duckdb/execution/column_binding_resolver.hpp"
#include "duckdb/main/client_context.hpp"
#include "duckdb/planner/expression/bound_function_expression.hpp"
namespace duckdb {
cla... |
/*******************************************************************************
*
* MIT License
*
* Copyright (c) 2021 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* ... |
/*
* Copyright (C) 2018 The Android Open Source Project
* Copyright (C) 2020 The LineageOS 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/licen... |
//=================================================================================================
/*!
// \file src/mathtest/dvecdvecouter/V4bV3b.cpp
// \brief Source file for the V4bV3b dense vector/dense vector outer product math test
//
// Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved
//
// This... |
#include "pps_timer.h"
#include "pipes.h"
#include "pps_sysapi.h"
#include "pps_message.h"
#include "pps_service.h"
#include <thread>
#include <chrono>
#define TIMER_QUEUE_LEN 4096
#define TIMER_TASK_POOL_CAP 4096
#define TIMER_TASK_SLOT_NUM 65536
#define TIMER_MAX_TASK TIMER_TASK_SLOT_NUM-1000
struct timer_task
{
... |
#include "easypr.h"
#include "easypr/util/switch.hpp"
#include "accuracy.hpp"
#include "chars.hpp"
#include "plate.hpp"
// %OPENCV%\x86\vc12\lib opencv_world300d.lib;
namespace easypr {
namespace demo {
// interactions
int accuracyTestMain() {
std::shared_ptr<easypr::Kv> kv(new easypr::Kv);
kv->load("resource... |
////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2020 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except... |
//===-- SimplifyIndVar.cpp - Induction variable simplification ------------===//
//
// 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 "rejit_preprocessor.h"
#include "stats.h"
#include "logger.h"
#include "debugger_members.h"
namespace trace
{
// RejitPreprocessor
template <class RejitRequestDefinition>
RejitPreprocessor<RejitRequestDefinition>::RejitPreprocessor(std::shared_ptr<RejitHandler> rejit_handler,
... |
/*
UniformSphereRandomTroughFinder.cpp
Li-Yi Wei
09/06/2009
*/
#include "UniformSphereRandomTroughFinder.hpp"
#include "Random.hpp"
#include "Math.hpp"
#include "Exception.hpp"
UniformSphereRandomTroughFinder::UniformSphereRandomTroughFinder(const int num_class, const int num_trials, const bool greedy) : _num... |
// -------------------------------------------------------------------------------------------------
// Copyright 2016 - NumScale SAS
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE.txt or copy at
// ... |
// Copyright 2018 The Chromium OS 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 "cros-disks/drivefs_helper.h"
#include <base/files/file_path.h>
#include <base/logging.h>
#include <base/strings/string_number_conversions.h>... |
/* Copyright 2015-2018 Egor Yusov
*
* 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
*
* THE SOFTWARE IS PROVIDED "AS IS", ... |
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/media/midi_permission_context.h"
#include "base/prefs/pref_service.h"
#include "chrome/browser/content_settings/host_content_set... |
#ifndef HEADER_AUDIOCPP
#define HEADER_AUDIOCPP
#ifndef __ANDROID__
#include <MT2D/MT2D_Terminal_Define.h>
#include <MT2D/MT2D_Debug.h>
#else
#include "../../MT2D_Terminal_Define.h"
#endif
#ifdef _DEBUG
#include <stdio.h>
#endif
#ifdef SDL_USE_AUDIO
#if defined(linux) || defined(__EMSCRIPTEN__) && !defined(__ANDROID... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkOpenGLGPUVolumeRayCastMapper.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for detail... |
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/base/net_errors.h"
#include <errno.h>
#include <stdlib.h>
#include <string>
#include <unistd.h>
#include "base/logging.h"
#include "ba... |
/* /////////////////////////////////////////////////////////////////////////
* File: stlsoft/smartptr/scoped_handle_borland_.hpp (evolved from MLResPtr.h, ::SynesisStd)
*
* Purpose: scoped_handle - parameterisable RAII class for arbitrary
* resource types; special implementation for Borland.... |
// Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2018 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bitcoingui.h"
#includ... |
#pragma once
//----------------------------------------------------------------------------//
// Settings
//----------------------------------------------------------------------------//
// Use standard templates library
#define _USE_STL
#define USE_STL // stl always enabled
// Compile with OpenGL driver ... |
#pragma once
#include <QMBTPCH.hpp>
#include "Core/Memory/MemoryManager.hpp"
#include "Core/Types/BasicVector.hpp"
namespace QMBT
{
/**
* @brief A templated allocator that can only be used to allocate memory for a
* collection of the same type.
*
* @tparam Object
*/
template <typename Object, Resize... |
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <cstdio>
#include <cstdlib>
#include <unistd.h>
#include "shmdata.h"
#include "color.h"
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
using namespace cv; // this might break somet... |
#include <fstream>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
using std::cout;
using std::ifstream;
using std::istringstream;
using std::string;
using std::vector;
using std::abs;
enum class State {kEmpty, kObstacle};
vector<State> ParseLine(string line) {
istringstream sline(line... |
#include "hedgelib/hl_blob.h"
#include "hedgelib/io/hl_file.h"
#include <cstring>
namespace hl
{
blob& blob::operator=(const blob& other)
{
if (&other != this)
{
u8* newData = new u8[other.m_size];
std::memcpy(newData, other.m_data, other.m_size);
delete[] m_data;
m_data = newD... |
/*
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
*/
#include <boost/uuid/uuid_io.hpp>
#include <cmn/agent_cmn.h>
#include <oper/route_common.h>
#include <oper/agent_route_walker.h>
#include <oper/vrf.h>
#include <oper/mirror_table.h>
#include <controller/controller_export.h>
#include <controller... |
/*
* Copyright 2009 The WebRTC Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing ... |
// bindgen-flags: --rust-target 1.0
struct Foo_empty {};
struct Foo;
struct Bar {
Foo *f;
};
void baz_struct(Foo* f);
union Union;
void baz_union(Union* u);
class Quux;
void baz_class(Quux* q);
|
//***************************************************************************
//
// Copyright (c) 1999 - 2006 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
//
// ... |
/*
-------------------------------------------------------------------------------
This file is part of FBT (File Binary Tables).
http://gamekit.googlecode.com/
Copyright (c) 2010 Charlie C & Erwin Coumans.
-------------------------------------------------------------------------------
This software is ... |
/**
* SCILL API
* SCILL gives you the tools to activate, retain and grow your user base in your app or game by bringing you features well known in the gaming industry: Gamification. We take care of the services and technology involved so you can focus on your game and content.
*
* OpenAPI spec version: 1.0.0
* Con... |
/**************************************************************************\
* Copyright (c) Kongsberg Oil & Gas Technologies AS
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* Red... |
#include "envlight.h"
#include "image.h"
#include "distribution.h"
#include "transform.h"
#include "sampling.h"
int GetEnvLightSerializedSize() {
return 1 + // type
16 + // toWorld
16 + // toLight
1 + // uCDF0
1 + // uCDF1
1 + // v... |
// Copyright Edvard Severin Pettersen 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.md or copy at
// https://www.boost.org/LICENSE_1_0.txt)
#include <array>
#include <chrono>
#include <iostream>
#include <vector>
#include <proxc.hpp>
using ... |
//===-- StringPool.cpp - Interned string pool -----------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
/*
* Copyright (c) 2014 Hugh Bailey <obs.jim@gmail.com>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND T... |
// Copyright Epic Games, Inc. All Rights Reserved.
#include "GASTemplateCharacter.h"
#include "HeadMountedDisplayFunctionLibrary.h"
#include "Camera/CameraComponent.h"
#include "Components/CapsuleComponent.h"
#include "Components/InputComponent.h"
#include "GameFramework/CharacterMovementComponent.h"
#include "GameFra... |
/*
* Copyright 2010-2011 PathScale, 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 condi... |
#include "legacy_evaluate.h"
#include "context.h"
#include "evaluate.h"
#include "opcodes/opcodes.h"
#include "options.h"
#include "string_to_int.h"
#include "utils.h"
#include <iostream>
#include <regex>
std::regex not_an_operator{R"(^\s*([^\+\*-/#\s]+)\s*)"};
int symbol_to_int(const Context& context, const std::b... |
// Copyright 2017 The Ray Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... |
// TnzCore includes
#include "tstream.h"
#include "trop.h"
#include "tflash.h"
// TnzBase includes
#include "tdoubleparam.h"
#include "tnotanimatableparam.h"
#include "tfxparam.h"
#include "trasterfx.h"
#include "tbasefx.h"
//******************************************************************************************... |
#include "pch.hxx"
#include "strconst.h"
#include "mimeole.h"
#include "mimeutil.h"
#include <error.h>
#include <imnapi.h>
#include "goptions.h"
#include <resource.h>
#include <mso.h>
#include <envelope.h>
#include "ipab.h"
#define NO_IMPORT_ERROR
#include <newimp.h>
#include <impapi.h>
#include "storutil... |
// - lambda_traits.hpp --- Boost Lambda Library ----------------------------
//
// Copyright (C) 1999, 2000 Jaakko Jarvi (jaakko.jarvi@cs.utu.fi)
//
// 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)
//
// For more ... |
#include "pure_pursuit/subscriber/path_subscriber.hpp"
PathSubscriber::PathSubscriber(ros::NodeHandle& nh, const std::string& topic){
subscriber_ = nh_.subscribe<geometry_msgs::PoseArray>(topic.c_str(), 1, &PathSubscriber::PathCallback, this);
}
bool PathSubscriber::GetPath(std::vector<Eigen::Vector3f>& path){
... |
/*
* Copyright 2017 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
/**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... |
/*
Copyright (c) 2018 Contributors as noted in the AUTHORS file
This file is part of 0MQ.
0MQ 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 Software Foundation; either version 3 of the License, or
(at your option) any later... |
/*
043 - Maze Challenge with Lack of Sleep(★4)
https://atcoder.jp/contests/typical90/tasks/typical90_aq
Author: Keitaro Naruse
Date: 2022-01-13, 2022-01-18
MIT License
*/
// # Solution
// - Introduce 01-bfs by deque for graph searching
// - state ( h, w, q ) and four actions
// - ... |
/**
* Remplir deuxième tableau avec la somme des colonnes du 1ère tableau
*/
#include <iostream>
/* Procédure */
void remplirTab(float tab[6][6], float tab1[6], int c, int l)
{
int som;
for (int i = 0; i < l; ++i) {
som = 0;
for (int j = 0; j < c; ++j)
som += tab[j][i];
tab1[i] = som;
}... |
#include "ED.hpp"
// Default constructor
ED::ED()
{
}
// Contructor with parameters
ED::ED(std::string string_one, std::string string_two)
{
_string_one = string_one;
_string_two = string_two;
}
// Destructor
ED::~ED()
{
}
// Returns the penalty of the two characters.
int ED::penal... |
/*
* Copyright (c) 2008-2010
* Nakata, Maho
* All rights reserved.
*
* $Id: Ctgsyl.cpp,v 1.6 2010/08/07 04:48:32 nakatamaho Exp $
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributi... |
//
// Copyright (c) 2008-2020 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... |
#include <QApplication>
#include <QMainWindow>
#include <QAction>
#include <QVector>
#include <QMessageBox>
#include <QBitmap>
#include <CGAL/boost/graph/helpers.h>
#include <CGAL/boost/graph/Euler_operations.h>
#include <CGAL/Three/Scene_item.h>
#include <CGAL/Three/Viewer_interface.h>
#include <CGAL/Three/Polyhedron_... |
#ifndef UMINTL_EVALUATION_POLICY_HPP
#define UMINTL_EVALUATION_POLICY_HPP
#include <cstddef>
#include "umintl/forwards.h"
#include "umintl/optimization_context.hpp"
#include <cmath>
namespace umintl{
/** @brief The model_base class
*
* The optimization model can be either deterministic or stochastic. The latter ... |
#include <vcpkg/base/checks.h>
#include <vcpkg/base/chrono.h>
#include <vcpkg/base/system.debug.h>
#include <vcpkg/base/system.h>
#include <vcpkg/base/system.process.h>
#include <vcpkg/base/util.h>
#include <ctime>
#if defined(__APPLE__)
#include <mach-o/dyld.h>
#endif
#if defined(__FreeBSD__)
#include <sys/sysctl.h... |
// This file is part of VSTGUI. It is subject to the license terms
// in the LICENSE file found in the top-level directory of this
// distribution and at http://github.com/steinbergmedia/vstgui/LICENSE
#include "csegmentbutton.h"
#include "../cdrawcontext.h"
#include "../cframe.h"
#include "../cgraphicspath.h"
#inclu... |
// Copyright 2008, 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 ... |
/*
*Copyright (c) 2013-2016, yinqiwen <yinqiwen@gmail.com>
*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,
* t... |
#include <iostream>
using namespace std;
class Student {
private:
//attributes
int code;
char name[50];
int * grades;
int noGrades;
char* faculty;
public:
//methods
//constructor
Student() {
cout << endl << "Constructor called";
code = 0;
noGrades = 0;
this->grades = NULL;
strcpy(this->name, "John ... |
/**
* @file
* database.cc
**/
#include "AppHdr.h"
#include "database.h"
#include <cstdlib>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
#ifndef TARGET_COMPILER_VC
#include <unistd.h>
#endif
#include "clua.h"
#include "end.h"
#include "files.h"
#include "libutil.h"
#include "options.h"
#include ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.