text stringlengths 5 1.04M |
|---|
/**********************************************************
DO NOT EDIT
This file was generated from stone specification "files"
Part of "Ardi - the organizer" project.
osoft4ardi@gmail.com
www.prokarpaty.net
***********************************************************/
#include "dropbox/files/FilesSaveCopyReferen... |
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// TF Arrow
//
//=============================================================================
#include "cbase.h"
#include "tf_projectile_arrow.h"
#include "soundent.h"
#include "tf_fx.h"
#include "props.h"
#include "baseobject_shared.h"
#i... |
// 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 "ui/views/controls/progress_bar.h"
#include <algorithm>
#include <cmath>
#include <memory>
#include <string>
#include "base/check_op.h"
#in... |
/* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... |
#include "TeWidgetProperties.h"
#include "../TeEditorResManager.h"
#include "../TeEditorUtils.h"
#include "Resources/TeResourceManager.h"
#include "Resources/TeBuiltinResources.h"
#include "String/TeUnicode.h"
#include "Utility/TeFileSystem.h"
#include "Scene/TeSceneManager.h"
#include "Scene/TeSceneObject.h"
#include... |
/*
*
* Copyright (C) 2000-2021, OFFIS e.V.
* All rights reserved. See COPYRIGHT file for details.
*
* This software and supporting documentation were developed by
*
* OFFIS e.V.
* R&D Division Health
* Escherweg 2
* D-26121 Oldenburg, Germany
*
*
* Module: ofstd
*
* Author: Marco Eich... |
//
// 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) 2010-2013 Francois Beaune, Jupiter Jazz Limited
// Copyright (c) 2014-2018 Francois Beaune, The appleseedhq Organization
//... |
#include "OsmLogger.hpp"
#include "Eigen/Core"
#include <array>
#include <vector>
#include <set>
int main(void)
{
std::array<double, 2> arr{410, 420};
OsmLogger::instance().log(arr);
std::vector<double> vec{69, 402};
OsmLogger::instance().log(vec);
const Eigen::Vector3d pt(8800, 1, 2);
OsmLo... |
#pragma once
#include "SFML/Graphics.hpp"
#include <cstdio>
namespace gio
{
class Bullet
{
public:
Bullet(bool right);
void OnDraw(sf::RenderWindow& w, float timestep);
void OnEvent(sf::Event e);
void SetPosition(sf::Vector2f);
sf::Vector2f GetPosition() const;
private:
sf::RectangleShape b... |
/* Copyright 2021 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... |
// Copyright 2017 the V8 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.
#include "src/compiler-dispatcher/optimizing-compile-dispatcher.h"
#include "src/api/api-inl.h"
#include "src/base/atomic-utils.h"
#include "src/base/p... |
/*
* algorithm-bubblesort.cpp
*
* Created by Mateus Nunes de B Magalhaes on 3/14/17.
* Copyright © 2017 mateusnbm. All rights reserved.
*
*/
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include "bubblesort.h"
int main(int argc, const char * argv[]) {
int i;
int numbersCount = 10;
... |
/*
* Copyright (C) 2016 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... |
#include <Magick++.h>
#include <napi.h>
#include <list>
using namespace std;
using namespace Magick;
Napi::Value Trump(const Napi::CallbackInfo &info) {
Napi::Env env = info.Env();
try {
Napi::Object obj = info[0].As<Napi::Object>();
Napi::Buffer<char> data = obj.Get("data").As<Napi::Buffer<char>>();
... |
//
// CPXOPF.cpp
// Gravity
//
// Created by Hassan Hijazi on Nov 17 2018
//
//
#include <stdio.h>
#include <PowerNet.h>
#include <gravity/solver.h>
using namespace std;
using namespace gravity;
int main (int argc, char * argv[])
{
string fname = string(prj_dir)+"/data_sets/Power/nesta_case5_pjm.m", mtype ... |
/*
* gravity_compensation_node.cpp
*
* Created on: Nov 12, 2013
* Authors: Francisco Viña
* fevb <at> kth.se
*/
/* Copyright (c) 2013, Francisco Viña, CVAP, KTH
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided t... |
//===- InputFiles.cpp -----------------------------------------------------===//
//
// 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 <iostream>
#include <sstream>
#include <thread>
#include <vector>
#include <boost/test/unit_test.hpp>
#include <sudoku/solution_queue.h>
#include "util.h"
BOOST_AUTO_TEST_CASE(SolutionQueue_Constructor)
{
sudoku::SolutionQueue q(1);
}
BOOST_AUTO_TEST_CASE(SolutionQueue_PushAndPop_SingleThread)
{
sudo... |
#include <stdexcept>
#include <sstream>
#include <limits.h>
#include "OnlineDB/EcalCondDB/interface/LMFSeqDat.h"
#include "OnlineDB/EcalCondDB/interface/DateHandler.h"
using namespace std;
using namespace oracle::occi;
LMFSeqDat::LMFSeqDat() : LMFUnique()
{
setClassName("LMFSeqDat");
m_runIOV = RunIOV();
m_int... |
#include "ImGuiLayer.h"
#include <imgui.h>
#include "Cuboid/Core/Application.h"
#include "glad/glad.h"
#include <imgui_impl_sdl.h>
#include <imgui_impl_opengl3.h>
#include <Cuboid/Renderer/RendererAPI.h>
#include <imgui_impl_dx11.h>
#include <Cuboid/Platform/DirectX/Renderer/D3DGraphicsContext.h>
#include <SDL.h>
#incl... |
/* ============================================================================
* Copyright (c) 2014 William Lenthe
* Copyright (c) 2014 DREAM3D Consortium
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following condit... |
/*=========================================================================
*
* 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... |
#ifndef _ISOTROPIC_GAUSSIAN_TPP_
#define _ISOTROPIC_GAUSSIAN_TPP_
//--------------------------------------------------------------------------
template<class Point>
double IsotropicGaussian::
Eval(const Point &x, const Point &y, double lambda) const {
if (x.GetD() != y.GetD()) {
printf("IsotropicGaussian::Eval.... |
// The MIT License (MIT)
//
// Copyright (c) 2015-2017 Simon Ninon <simon.ninon@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitat... |
//
// detail/task_io_service_thread_info.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2014 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICEN... |
// @HEADER
// ***********************************************************************
//
// Panzer: A partial differential equation assembly
// engine for strongly coupled complex multiphysics systems
// Copyright (2011) Sandia Corporation
//
// Under the terms of Contract DE-AC04... |
// Onut
#include <onut/Files.h>
#include <onut/Settings.h>
#include <onut/Strings.h>
#include <onut/Window.h>
#include <onut/Maths.h>
// STL
#include <algorithm>
#include <fstream>
#include <sstream>
#include <string.h>
// Third party
#if defined(WIN32)
#include <dirent/dirent.h>
#include <windows.h>
#include <shlobj... |
#include "gps_imu_fixed_lag_fuser.h"
#include "gps_source.h"
#include "imu_source.h"
#include "nav/attitude.h"
#include "trigonometry.h"
int main()
{
// Create data sources.
GpsSource gps_src("../data/GPS_Data_0000.bin");
ImuSource imu_src("../data/IMU_Data_0000.bin");
// Skip GPS data before init_time.
con... |
#ifndef COMMON_CURSOR_POSITION_CHANGED_HPP
#define COMMON_CURSOR_POSITION_CHANGED_HPP
#include "Event.hpp"
class CursorPositionChanged : public Event {
private:
double xPosition, yPosition;
public:
CursorPositionChanged (double xPosition, double yPosition);
EventType type();
double getXPosition();
... |
// Copyright (C) 2018 Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0
//
#include <gtest/gtest.h>
#include <gmock/gmock-spec-builders.h>
#include "mkldnn_plugin/mkldnn_graph.h"
#include "mock_mkldnn_primitive.hpp"
#include "single_layer_common.hpp"
#include <mkldnn_plugin/mkldnn_extension_utils.h>
#includ... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common
* Development and Distribution License("CDDL") (... |
// (C) Copyright 2003 by Autodesk, Inc.
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that the above copyright notice appears in all copies and
// that both that copyright notice and the limited warranty ... |
/* ----------------------------------------------------------------------------
* GTSAM Copyright 2010, Georgia Tech Research Corporation,
* Atlanta, Georgia 30332-0415
* All Rights Reserved
* Authors: Frank Dellaert, et al. (see THANKS for the full author list)
* See LICENSE for the license information
* ----... |
// See LICENSE_CELLO file for license and copyright information
/// @file data_Data.cpp
/// @author James Bordner (jobordner@ucsd.edu)
/// @date 2013-03-10
/// @brief Implementation of Data class
#include "data.hpp"
//----------------------------------------------------------------------
Data::Data(int... |
/****************************************************************************/
/*
For direct access (i.e. non sysfile) to pins SEL0..2 and RX_RESETPIN
see : https://www.iot-programmer.com/index.php/books/22-raspberry-pi-and-the-iot-in-c/chapters-raspberry-pi-and-the-iot-in-c/59-raspberry-pi-and-the-iot-in-c-memory-ma... |
/**
* @file
*/
#pragma once
#include "libbirch/external.hpp"
#include "libbirch/assert.hpp"
#include "libbirch/memory.hpp"
#include "libbirch/Atomic.hpp"
#include "libbirch/Init.hpp"
#include "libbirch/LabelPtr.hpp"
namespace libbirch {
class Label;
/**
* Base class providing reference counting, cycle breaking, a... |
/*
* 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) 2018 Kai Luo <gluokai@gmail.com>. All rights reserved.
#include "re6/IterativeMatcher.h"
#include "re6/re.h"
#include <queue>
namespace re6 {
bool IterativeMatcher::Match() const {
// TODO: Make matching parallel
std::queue<State> worklist;
worklist.push({
.nfa_state = start_,
.sl... |
// Copyright (c) 2011-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Wavi 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/wavi-config.h"
#endif
#inclu... |
/* Generated by Cython 0.29.21 */
/* BEGIN: Cython Metadata
{
"distutils": {
"depends": [
"/n/home09/achakravarthy/.conda/envs/sipmask/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h",
"/n/home09/achakravarthy/.conda/envs/sipmask/lib/python3.7/site-packages/numpy/... |
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
IOSAudioBuffer.cpp: Unreal IOSAudio buffer interface object.
=============================================================================*/
/*--------------------------------... |
#ifndef V9990_HH
#define V9990_HH
#include "MSXDevice.hh"
#include "Schedulable.hh"
#include "VideoSystemChangeListener.hh"
#include "IRQHelper.hh"
#include "V9990DisplayTiming.hh"
#include "V9990ModeEnum.hh"
#include "SimpleDebuggable.hh"
#include "Clock.hh"
#include "serialize_meta.hh"
#include "openmsx.hh"
#include... |
/****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commercia... |
// 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) 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 "sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.h"
#include <errno.h>
#include <fcntl.h>
#include <linux/net.h>
#include ... |
//--------------------------------------------------------------------
// DebugWPrintf - implementation
// Copyright (C) Microsoft Corporation, 2001
//
// Created by: Duncan Bryce (duncanb), 11-11-2001
//
// Various print routines
//
#include "pch.h"
typedef BOOLEAN (WINAPI * SetThreadUILanguageFunc)(DWORD... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/assign/list_of.hpp>
#include "base58.h"
#include "bitcoinrpc.h"
#inclu... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "gtest/gtest.h"
#include "test/providers/provider_test_utils.h"
#include "Featurizers/RobustScalerFeaturizer.h"
namespace onnxruntime {
namespace test {
TEST(FeaturizersTests, RobustScalerTransformer_default_wit... |
//==================================================================================================
/*
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
*/
//==================================================================================================
#in... |
//
// Base3DOverlay.cpp
// interface/src/ui/overlays
//
// Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#include "Base3DOverlay.h"
#include <RegisteredMetaTypes.h>
#include <... |
#include <iostream>
using namespace std;
// Guessing the number game
int main()
{
// this program finds that the user selects from 1 to 8
char answer;
cout<<"pick a number from 1 to 8." << endl;
cout<<"its is less than 5 ? (y|n):";
cin>>answer;
if(answer == 'y')
{
cout<<"is it les... |
//#####################################################################
// Copyright 2009, Avi Robinson-Mosher, Craig Schroeder.
// This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt.
//#####################################################... |
#ifndef ASLAM_BACKEND_COMPRESSED_COLUMN_JACOBIAN_TRANSPOSE_BUILDER_HPP
#define ASLAM_BACKEND_COMPRESSED_COLUMN_JACOBIAN_TRANSPOSE_BUILDER_HPP
#include "JacobianBuilder.hpp"
#include "CompressedColumnMatrix.hpp"
namespace aslam {
namespace backend {
/**
* \class CompressedColumnJacobianTransposeBuilder
... |
/*
* Copyright 2017 MapD Technologies, 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 o... |
/*
* Copyright (c) 2010-2016, MIT Probabilistic Computing Project
*
* Lead Developers: Dan Lovell and Jay Baxter
* Authors: Dan Lovell, Baxter Eaves, Jay Baxter, Vikash Mansinghka
* Research Leads: Vikash Mansinghka, Patrick Shafto
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you ma... |
// Copyright (c) 2007-2016 Hartmut Kaiser
//
// 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)
/// \file parallel/algorithms/for_loop_induction.hpp
#if !defined(HPX_PARALLEL_ALGORITHM_FOR_LOOP_INDUCTION_MAR_05_20... |
/*
Copyright (c) 2021 NetFoundry, 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
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softwa... |
//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... |
#ifndef gh_detail_stream_future_status_hpp
#define gh_detail_stream_future_status_hpp
#include <future>
#include <iostream>
// Technically reopening the std:: namespace is a violation of the standard, I think that is Okay in tests.
namespace std {
/// Define a streaming operator to use in tests.
inline std::ostream& ... |
#include<iostream>
using namespace std;
int main()
{
int n, i, arr[50], j, temp;
cout<<"Enter the Size (max. 50): ";
cin>>n;
cout<<"Enter "<<n<<" Numbers: ";
for(i=0; i<n; i++)
cin>>arr[i];
cout<<"\nSorting the Array using Bubble Sort Technique..\n";
for(i=0; i<(n-1); i++)... |
/**
* Copyright (c) 2020 ZxyKira
* All rights reserved.
*
* SPDX-License-Identifier: MIT
*/
#ifndef MCUF_D6412968_F88E_43C3_9B72_FA8611376187
#define MCUF_D6412968_F88E_43C3_9B72_FA8611376187
/* ****************************************************************************************
* Include
*/
#include "... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkDataReader.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is... |
/*
* 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... |
#include <bits/stdc++.h>
using namespace std;
string ltrim(const string &);
string rtrim(const string &);
vector<string> split(const string &);
/*
* Complete the 'miniMaxSum' function below.
*
* The function accepts INTEGER_ARRAY arr as parameter.
*/
void miniMaxSum(vector<int> arr) {
for(int i = 0; i < 5; ++i... |
// -------------------------------------------------------------------------------------------------
// Copyright 2017 - NumScale SAS
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE.txt or copy at
// ... |
// Copyright surrealwaffle 2018 - 2020.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)
#pragma once
#include <cstddef> // offsetof
#include <sentinel/types.hpp>
#include <sen... |
// 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 "third_party/zlib/google/zip_reader.h"
#include <utility>
#include "base/bind.h"
#include "base/files/file.h"
#include "base/logging.h"
#in... |
/*
* Copyright 2010-2017 Amazon.com, Inc. or its 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... |
/***************************************************//**
* @file OBPGetSaturationExchange.cpp
* @date March 2016
* @author Ocean Optics, Inc.
*
* LICENSE:
*
* SeaBreeze Copyright (C) 2016, Ocean Optics Inc
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this softwa... |
//
// VulkanBackend.cpp
// MNN
//
// Created by MNN on 2019/01/31.
// Copyright © 2018, Alibaba Group Holding Limited
//
#include "backend/vulkan/backend/VulkanBackend.hpp"
#include <mutex>
#include "core/Execution.hpp"
#include "core/Macro.h"
#include <MNN/Tensor.hpp>
#include "core/TensorUtils.hpp"
#include "cor... |
#include "IPC_TCP_Server.h"
//Comment out to get the console window (use for debugging)
#pragma comment(linker, "/SUBSYSTEM:windows /ENTRY:mainCRTStartup")
int main(void)
{
TCP_Server *app(nullptr);
try
{
app = new TCP_Server();
}
catch (...)
{
return 1;
}
app->Run();
delete app;
return... |
/* Copyright (c) 2018, NVIDIA CORPORATION. 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 condi... |
// Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.Linq.Expressions.Interpreter... |
#ifdef PEGASUS_OS_FREEBSD
#ifndef __UNIX_DNSGENERALSETTINGDATA_PRIVATE_H
#define __UNIX_DNSGENERALSETTINGDATA_PRIVATE_H
#endif
#endif
|
// $Id$
#include "ace/Local_Tokens.h"
#if defined (ACE_HAS_TOKENS_LIBRARY)
#include "ace/Thread.h"
#include "ace/Token_Manager.h"
#include "ace/OS_NS_unistd.h"
#if !defined (__ACE_INLINE__)
#include "ace/Local_Tokens.inl"
#endif /* __ACE_INLINE__ */
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
void
ACE_Tokens::dump (void)... |
/**
* Copyright (C) 2016 Turi
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD license. See the LICENSE file for details.
*/
#ifndef GRAPHLAB_SFRAME_QUERY_MANAGER_PROJECT_HPP
#define GRAPHLAB_SFRAME_QUERY_MANAGER_PROJECT_HPP
#include <flexible_type/flexible_ty... |
/*===================================================================
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... |
/* ###
* IP: GHIDRA
*
* 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 writin... |
#ifndef STLPLUS_PRINT_LIST
#define STLPLUS_PRINT_LIST
////////////////////////////////////////////////////////////////////////////////
// Author: Andy Rushton
// Copyright: (c) Southampton University 1999-2004
// (c) Andy Rushton 2004 onwards
// License: BSD License, see ../docs/licen... |
/*
* Copyright 2018-2021 Membrane Software <author@membranesoftware.com> https://membranesoftware.com
*
* 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... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "base58.h"
#include "rpcserver.h"
#include "init.h"
#include "net.h"
#include ... |
// Copyright (c) 2017 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "shell/browser/api/electron_api_browser_view.h"
#include <vector>
#include "shell/browser/api/electron_api_web_contents.h"
#include "shell/browser/browser.h"
#include "shell... |
//
// VRODiffuseIrradianceTest.cpp
// ViroKit
//
// Created by Raj Advani on 1/18/18.
// Copyright © 2018 Viro Media. All rights reserved.
//
// 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 ... |
// Copyright (c) 2013 Intel Corporation. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "xwalk/extensions/browser/xwalk_extension_function_handler.h"
#include "base/location.h"
#include "base/memory/ptr_util.h"
#include "base/threa... |
#pragma data_seg(".shader")
const char* post =
"#version 130\n"
"uniform sampler2D f;"
"out vec4 v;"
"float t(float f)"
"{"
"return fract(sin(dot(f,12.9898))*43758.5);"
"}"
"void main()"
"{"
"v=vec4(0);"
"for(int s=0;s<25;s++)"
"{"
"vec2 i=gl_FragCoord.xy/vec2(1280,720);"
"float d=t(... |
#include "Runtime/Character/CAdditiveBodyState.hpp"
#include "Runtime/CStateManager.hpp"
#include "Runtime/Character/CBodyController.hpp"
#include "Runtime/Character/CAnimTreeNode.hpp"
#include "Runtime/Character/CPASDatabase.hpp"
#include "Runtime/Character/CPASAnimParmData.hpp"
namespace urde {
void CABSAim::Start... |
// Copyright (c) 2001-2011 Hartmut Kaiser
//
// 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)
#if !defined(BOOST_SPIRIT_KARMA_AUTO_NOV_29_2009_0339PM)
#define BOOST_SPIRIT_KARMA_AUTO_NOV_29_2009_0339PM
#... |
#include "testtlrucache.h"
#include "mere/cache/tlrucache.hpp"
void TestTLRUCache::initTestCase()
{
}
void TestTLRUCache::cleanupTestCase()
{
}
void TestTLRUCache::testset()
{
}
void TestTLRUCache::testevict()
{
}
|
Given a non-negative integer x, compute and return the square root of x.
Since the return type is an integer, the decimal digits are truncated, and only the integer part of the result is returned.
Note: You are not allowed to use any built-in exponent function or operator, such as pow(x, 0.5) or x ** 0.5.
Solution... |
///////////////////////////////////////////////////////////////////////////////
///
/// Authors: Joshua Davis
/// Copyright 2015, DigiPen Institute of Technology
///
///////////////////////////////////////////////////////////////////////////////
#pragma once
namespace Zero
{
class HeightMap;
class UpdateE... |
// Copyright (C) 2009, 2016 Tim Blechmann
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_LOCKFREE_PREFIX_HPP_INCLUDED
#define BOOST_LOCKFREE_PREFIX_HPP_INCLUDED
/* this file defin... |
// 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 "components/policy/core/common/schema_registry.h"
#include "base/logging.h"
#include "extensions/features/features.h"
namespace policy {
Schem... |
/**
* Autogenerated by Thrift for src/module.thrift
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated @nocommit
*/
#pragma once
#include "thrift/compiler/test/fixtures/basic-annotations/gen-cpp2/module_types.h"
#include <thrift/lib/cpp2/gen/module_types_tcc.h>
namespace cpp2 {
... |
// Copyright 2018-present MongoDB 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 t... |
// Copyright (C) Ipion Software GmbH 1999-2000. All rights reserved.
#ifndef _IVP_POINT_HASH_INCLUDED
#define _IVP_POINT_HASH_INCLUDED
#ifndef WIN32
# pragma interface
#endif
#ifndef _IVP_VHASH_INCLUDED
# include "ivu_vhash.hxx"
#endif
class IVP_Poly_Point;
class IVP_point_hash: protected IVP... |
/******************************************************************************
*
* Project: OpenGIS Simple Features Reference Implementation
* Purpose: The OGRFeature class implementation.
* Author: Frank Warmerdam, warmerda@home.com
*
*************************************************************************... |
#include "../../include/valve/hl1bspasset.h"
#include "../../include/valve/hl1bspinstance.h"
#define STB_RECT_PACK_IMPLEMENTATION
#include "../../include/stb/stb_rect_pack.h"
#include <iostream>
#include <sstream>
#include <GL/glextl.h>
#include <glm/gtc/type_ptr.hpp>
using namespace valve::hl1;
BspAsset::BspAsset(D... |
/**
* Copyright (C) 2008 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 hope that it will be useful,
* ... |
#include "system.h"
#include <unistd.h>
#include <cstddef>
#include <set>
#include <string>
#include <vector>
#include "linux_parser.h"
#include "process.h"
#include "processor.h"
using std::set;
using std::size_t;
using std::string;
using std::vector;
// TODO: Return the system's CPU
Processor& System::Cpu() { re... |
#if !defined(TARGET_RASPBERRY_PI)
#include "EngineGLFW.h"
GLuint EngineGLFW::g_FontTexture = 0;
unsigned int EngineGLFW::g_VaoHandle = 0;
void EngineGLFW::setup()
{
if(isSetup) return;
ImGuiIO& io = ImGui::GetIO();
io.KeyMap[ImGuiKey_Tab] = GLFW_KEY_TAB;
io.KeyMap[ImGuiKey_LeftArrow] = GLFW... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.