text stringlengths 54 60.6k |
|---|
<commit_before><commit_msg>Delete scientific - original.hpp<commit_after><|endoftext|> |
<commit_before>/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Module: FGPosition.cpp
Author: Jon S. Berndt
Date started: 01/05/99
Purpose: Integrate the EOM to determine instantaneous position
Called by: FGFDMExec
------------- Copyright (C) 1999 Jon S. B... |
<commit_before>#ifndef APPLICATION_INCLUDED
#define APPLICATION_INCLUDED
#include <map>
#include "InputHandlers.hpp"
#include "renderer/OpenGL.hpp"
#include "renderer/Texture.hpp"
/*
* main application
*/
class Application
{
public:
Application::Application() : m_running(true)
{
}
~Application();
... |
<commit_before>// Copyright (c) 2010 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 "views/animation/bounds_animator.h"
#include "app/slide_animation.h"
#include "base/scoped_ptr.h"
#include "views/view.h"
//... |
<commit_before>#include <Player.h>
#include <Globals.h>
using namespace uth;
pmath::Vec2 control()
{
pmath::Vec2 retVal;
if (uthInput.Keyboard.IsKeyDown(Keyboard::Numpad1))
{
retVal.x -= 1;
retVal.y += 1;
}
if (uthInput.Keyboard.IsKeyDown(Keyboard::Numpad2) || uthInput.Keyboard.IsKeyDown(Keyboard::Down))
{... |
<commit_before>#include <array>
#include <vector>
#include <iostream>
#include <random>
#include <SFML/Graphics.hpp>
#include <noise/noise.h>
#include "force.h"
#include "particle.h"
#include "util.h"
using namespace noise;
constexpr int cell_size = 5;
namespace util {
double map(double val, double from_min, d... |
<commit_before><commit_msg>fix update of TPC track parameters after propagation through ITS material: we should update the TPCInner param which are defined at the vertex and leave the Inner param (defined at inner end of TPC) unchanged<commit_after><|endoftext|> |
<commit_before>#include "StdAfx.h"
#include "CheckButton.h"
CDuiCheckButton::CDuiCheckButton(HWND hWnd, CDuiObject* pDuiObject)
: CControlBaseFont(hWnd, pDuiObject)
{
m_bTabStop = TRUE; // Ӧtab
m_bIsFocus = FALSE;
m_bShowFocus = TRUE;
m_enButtonState = enBSNormal;
m_pImage = NULL;
m_bDown = false;
m_bM... |
<commit_before>// 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.
// For information about interceptions as a whole see
// http://wiki/Main/ChromeSandboxInterceptionDesign
#include <set>
#includ... |
<commit_before>// $Header$
#include "TPCSector3DEditor.h"
#include <Alieve/TPCSector3D.h>
#include <TVirtualPad.h>
#include <TColor.h>
#include <TGLabel.h>
#include <TGButton.h>
#include <TGNumberEntry.h>
#include <TGColorSelect.h>
#include <TGSlider.h>
#include <TGDoubleSlider.h>
using namespace Reve;
using namesp... |
<commit_before>//
// MasterSystem.cpp
// Clock Signal
//
// Created by Thomas Harte on 20/09/2018.
// Copyright © 2018 Thomas Harte. All rights reserved.
//
#include "MasterSystem.hpp"
#include "../../Processors/Z80/Z80.hpp"
#include "../../Components/9918/9918.hpp"
#include "../../Components/SN76489/SN76489.hpp... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: filetest.cxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: rt $ $Date: 2005-09-08 04:49:08 $
*
* The Contents of this file are made ... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: vtkSimple2DLayoutStrategy.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for deta... |
<commit_before>
#include "chunk_headers.hpp"
#include "glm_pod_wrappers.hpp"
#include "magic_number.hpp"
#include "msh_builder.hpp"
#include "type_pun.hpp"
#include "ucfb_reader.hpp"
namespace {
struct Collision_info {
std::uint32_t vertex_count;
std::uint32_t node_count;
std::uint32_t leaf_count;
std::ui... |
<commit_before>/*
* Copyright 2011, 2012 Esrille 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 applic... |
<commit_before>//Copyright (c) 2017 Ultimaker B.V.
//CuraEngine is released under the terms of the AGPLv3 or higher.
#include "SpaghettiInfillPathGenerator.h"
#include "../infill.h"
#include "../FffGcodeWriter.h"
namespace cura {
bool SpaghettiInfillPathGenerator::processSpaghettiInfill(const SliceDataStorage& stora... |
<commit_before>/*
The MIT License
Copyright (c) 2008 Dennis Mllegaard Pedersen <dennis@moellegaard.dk>
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 limit... |
<commit_before>#include "LinearPanel.h"
#include <algorithm>
using namespace std;
LinearPanel::LinearPanel()
{
contentSize.w = 0;
contentSize.h = 0;
orientation = OrientationHorizontal;
}
LinearPanel::~LinearPanel()
{
}
bool LinearPanel::OnInitialize()
{
ScrollView::SetOrientation(orientation);
return true;
}
... |
<commit_before>/*
open source routing machine
Copyright (C) Dennis Luxen, others 2010
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU AFFERO General Public License as published by
the Free Software Foundation; either version 3 of the License, or
any later vers... |
<commit_before>// Copyright Hugh Perkins 2014 hughperkins at gmail
//
// This Source Code Form is subject to the terms of the Mozilla Public License,
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// obtain one at http://mozilla.org/MPL/2.0/.
#include "util/StatefulTimer.h"
#include "la... |
<commit_before>/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2006 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public... |
<commit_before>// implementation of the dijkstra's algorithm.
#include <cmath>
#include <cstddef>
#include <cstdint>
#include <iostream>
#include <limits>
#include <queue>
#include <vector>
class Point {
const double x;
const double y;
public:
Point(const double &x, const double &y) : x(x), y(y) {}
double di... |
<commit_before>#include <cassert>
#include <iostream>
#include <memory>
#include <string>
#include <vector>
using namespace std;
// fwd decl
template <typename T> class object;
template <typename T> int count_object(const object<T>&);
template <typename T> T* get_object_ptr(const object<T>&);
template <typename T> c... |
<commit_before>//
// Copper.cpp
// Clock Signal
//
// Created by Thomas Harte on 16/09/2021.
// Copyright © 2021 Thomas Harte. All rights reserved.
//
#ifndef NDEBUG
#define NDEBUG
#endif
#define LOG_PREFIX "[Copper] "
#include "../../Outputs/Log.hpp"
#include "Chipset.hpp"
#include "Copper.hpp"
using namespace... |
<commit_before>/*----------------------------------------------------------------------------*/
/* Copyright (c) Kauai Labs. All Rights Reserved. */
/* */
/* Created in support of Team 2465 (Kauaibots). Go Thunderchicken! *... |
<commit_before><commit_msg>am cb262a21: am 10d817b3: mm-camera: change non-HDR frame rate to variable<commit_after><|endoftext|> |
<commit_before><commit_msg>am 4c1072ae: camera: Reduce log verbosity.<commit_after><|endoftext|> |
<commit_before><commit_msg>*** empty log message ***<commit_after><|endoftext|> |
<commit_before><commit_msg>fixed part of rereplicate<commit_after><|endoftext|> |
<commit_before>/*
* (C) Copyright 2015 ETH Zurich Systems Group (http://www.systems.ethz.ch/) and others.
*
* 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/... |
<commit_before>/*
* 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 ... |
<commit_before>// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "sparse_tensor_match.h"
namespace vespalib {
namespace tensor {
namespace {
enum class AddressOp
{
REMOVE,
PAD,
COPY
};
void
buildTransformOps(std::vector<Addr... |
<commit_before>/* The Next Great Finite Element Library. */
/* Copyright (C) 2003 Benjamin S. Kirk */
/* 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 Software Foundation; either */
/* version 2.1 o... |
<commit_before>/*
* The Biomechanical ToolKit
* Copyright (c) 2009-2013, Arnaud Barré
* 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 re... |
<commit_before><commit_msg>change level-0 file sort strategy<commit_after><|endoftext|> |
<commit_before>// Copyright (c)2008-2012, Preferred Infrastructure 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 c... |
<commit_before>#include "scraper.hpp"
#include <queue>
#include <jsoncpp/json/json.h>
#include <boost/algorithm/string.hpp>
#include <supermarx/util/stubborn.hpp>
namespace supermarx
{
Json::Value parse_json(std::string const& src)
{
Json::Value root;
Json::Reader reader;
if(!reader.parse(src, root, false))
t... |
<commit_before>#include "daemon.h"
#include <QtCore/QTimer>
#include <QtDBus/QtDBus>
#include <iostream>
void Daemon::processTransaction(QString card_number, QString amount, const QDBusMessage &msg)
{
//TODO: Lookup username from card_number.
//TODO: Load authkey from file.
//TODO: Do real calls against backend A... |
<commit_before>#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <iostream.h>
#include <fstream.h>
/**
* Requires GAlib from http://lancet.mit.edu/ga/ to run.
*/
#include <ga/ga.h>
#include <ga/GARealGenome.h>
#include <ga/GARealGenome.C>
extern "C" {
#include "tmp/scores.h"
#include "tmp/tests.... |
<commit_before>/**
* This file is part of the CernVM File System.
*/
#include "kvstore.h"
#include <assert.h>
#include <errno.h>
#include <limits.h>
#include <string.h>
#include <algorithm>
#include "util_concurrency.h"
using namespace std; // NOLINT
namespace kvstore {
bool MemoryKvStore::GetBuffer(const sha... |
<commit_before><commit_msg>added visualflags margin<commit_after><|endoftext|> |
<commit_before><commit_msg>make xDigitalWrite a bit shorter<commit_after><|endoftext|> |
<commit_before><commit_msg>Добавлена проверка успешного создания манифеста.<commit_after><|endoftext|> |
<commit_before><commit_msg>initial multiplier support in calibration<commit_after><|endoftext|> |
<commit_before>#include "DisplayContact.h"
#include <QElapsedTimer>
#include <QDebug>
#include "VCardParser.h"
DisplayContact::DisplayContact(const Contact & a_Contact):
m_Contact(a_Contact)
{
}
std::shared_ptr<DisplayContact> DisplayContact::fromContact(const Contact & a_Contact)
{
QElapsedTimer timer;
ti... |
<commit_before>#include "proxy/DataCollector.h"
#include "object/object.h"
#include <map>
namespace aten {
void DataCollector::collect(
std::vector<aten::ShapeParameter>& shapeparams,
std::vector<aten::PrimitiveParamter>& primparams,
std::vector<aten::LightParameter>& lightparams,
std::vector<aten::MaterialP... |
<commit_before>#include "FAST/Tests/catch.hpp"
#include "TubeSegmentationAndCenterlineExtraction.hpp"
#include "FAST/Importers/ImageFileImporter.hpp"
#include "FAST/Visualization/SliceRenderer/SliceRenderer.hpp"
#include "FAST/Visualization/LineRenderer/LineRenderer.hpp"
#include "FAST/Algorithms/SurfaceExtraction/Surf... |
<commit_before>/**
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed in accordance with the terms specified in
* the LICENSE file found in the root directory of this source tree.
*/
#include <osquery/core.h>
#include <osquery/filesystem/filesystem.h>
#includ... |
<commit_before>#include "eval.h"
#include "catch.hpp"
#include "defs.h"
TEST_CASE("Evaluation functions work properly") {
Board board;
SECTION("Eval returns 0 for black and white from the start pos") {
board.setToStartPos();
REQUIRE(Eval::evaluate(board, WHITE) == 0);
REQUIRE(Eval::evaluate(board, BL... |
<commit_before>////////////////////////////////////////////////////////////////////////////////
// fex_rate.cpp
// ------------
//
// Optimal combined control of the exchange rate, as formulated in [1].
//
// [1] Mundaca, Gabriela, and Bernt Øksendal. "Optimal stochastic intervention
// control with application to the ... |
<commit_before>/*
Copyright (c) 2016 Teka101
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, dist... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: sddll1.cxx,v $
*
* $Revision: 1.15 $
*
* last change: $Author: obo $ $Date: 2006-09-16 18:30:56 $
*
* The Contents of this file are made ... |
<commit_before>/*
Copyright (c) 2008 Volker Krause <vkrause@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; either version 2 of the License, or (at your
option) a... |
<commit_before>#include <stdio.h>
#include "../src/low_funct.hpp"
#define MCL_USE_VINT
#define MCL_VINT_FIXED_BUFFER
#define MCL_SIZEOF_UNIT 4
#define MCL_MAX_BIT_SIZE 768
#include <mcl/vint.hpp>
#include <cybozu/test.hpp>
#include <cybozu/xorshift.hpp>
#include <cybozu/benchmark.hpp>
template<class RG>
void setRand(... |
<commit_before>/*************************************************************************
*
* $RCSfile: workwin.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: mba $ $Date: 2001-02-19 11:54:16 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before>/*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2010-2011, Willow Garage, Inc.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the fo... |
<commit_before>#include <iostream>
#include <iomanip> // << fixed << setprecision(xxx)
#include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ;
#include <vector>
#include <string> // to_string(nnn) // substr(m, n) // stoi(nnn)
#include <complex>
#include <tuple> // get<n>(xxx)
#include <queue>
#include <st... |
<commit_before>/**
* File : D.cpp
* Author : Kazune Takahashi
* Created : 2018-4-7 15:32:10
* Powered by Visual Studio Code
*/
#include <iostream>
#include <iomanip> // << fixed << setprecision(xxx)
#include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ;
#include <vector>
#include <string> // ... |
<commit_before>#define DEBUG 1
/**
* File : C.cpp
* Author : Kazune Takahashi
* Created : 2020/6/28 20:51:44
* Powered by Visual Studio Code
*/
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cctype>
#include <chrono>
#include <climits>
#include <cmath>
#include <complex>
#include <cstdint>... |
<commit_before>//
// Copyright(c) Jackal Engine. MIT License.
//
#include "MatrixTest.hpp"
#include "Math/Matrix.hpp"
#include "Math/Vector.hpp"
#include "Math/VectorMath.hpp"
#include "Math/MatrixMath.hpp"
#include "Math/Quaternion.hpp"
#include "Math/Common.hpp"
#include "glm/common.hpp"
#include "glm/gtc/matrix_tra... |
<commit_before>/*
Q Light Controller Plus
webaccessnetwork.cpp
Copyright (c) Massimo Callegari
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/LICE... |
<commit_before><commit_msg>Properly find Frame from Node context<commit_after><|endoftext|> |
<commit_before>#include "game.hpp"
void Game::sortMoves(MoveArray& result, int depth) {
int num_attacks = result.num_attacks;
/*if(game_board.whiteMove) {
for(unsigned int i = result.num_attacks + 1; i < result.count - 1; ++i) {
for(int j = i - 1; j >= num_attacks && whiteHistorySort[result.moveArray[j]... |
<commit_before><commit_msg>Disallow setting the rate to values that would cause busy loops (< 1/16x) or rendering issues (> 16x) BUG=18362 TEST=none Review URL: http://codereview.chromium.org/164032<commit_after><|endoftext|> |
<commit_before>// Copyright (c) 2020 The Orbit 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 "TopDownViewItemModel.h"
TopDownViewItemModel::TopDownViewItemModel(std::unique_ptr<TopDownView> top_down_view,
... |
<commit_before>/***********************************************************************************
**
** FileManager.cpp
**
** Copyright (C) August 2016 Hotride
**
************************************************************************************
*/
//----------------------------------------------------------------... |
<commit_before>/*************************************************************************
*
* $RCSfile: zforscan.hxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: er $ $Date: 2000-10-17 18:46:13 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before><commit_msg>improve memory release in JNI<commit_after><|endoftext|> |
<commit_before>/* -------------------------------------------------------------------------- *
* OpenSim: testCMCArm26_Millard.cpp *
* -------------------------------------------------------------------------- *
* The OpenSim API is a toolkit for musculoskeletal modeling and ... |
<commit_before>#include "QxtAVFile.h"
#include "QxtAVPlayer.h"
#include "QxtAVPlayer_p.h"
#include <QxtCore/QxtHyperMacros>
#include <limits>
/**
\class QxtAVPlayer QxtAVPlayer
\ingroup media
\brief simple player using the QxtAVFile and SDL
example:
\code
QxtAudioPlayer player;
player.play("foo.wav");
\endcode
*/... |
<commit_before>#include <iostream>
#include <string>
#include <vector>
using namespace std;
int coins[8] = {1, 2, 5, 10, 20, 50, 100, 200};
int main()
{
int dp[9][201] = {0};
//init
for (int i = 0; i < 9; ++i)
{
for (int j = 0; j < 201; ++j)
{
dp[i][j] = 0;
}
}
... |
<commit_before>#include "stdafx.h"
#include "ClientSession.h"
#include "PacketType.h"
#include "ClientManager.h"
#include "DatabaseJobContext.h"
#include "DatabaseJobManager.h"
bool ClientSession::OnConnect(SOCKADDR_IN* addr)
{
memcpy(&mClientAddr, addr, sizeof(SOCKADDR_IN)) ;
/// ͺŷ ٲٰ
u_long arg = 1 ;
::ioctls... |
<commit_before>#include <utility>
#include "components/builder.hpp"
#include "drawtypes/label.hpp"
#include "modules/meta/base.hpp"
POLYBAR_NS
namespace modules {
// module_format {{{
string module_format::decorate(builder* builder, string output) {
if (output.empty()) {
builder->flush();
return... |
<commit_before>#include "gtest/gtest.h"
#include "util.h"
TEST(TestParseTime, Test1) {
int t;
EXPECT_TRUE(ParseTime("2h", &t));
EXPECT_EQ(3600 * 2, t);
EXPECT_TRUE(ParseTime("2hour", &t));
EXPECT_EQ(3600 * 2, t);
EXPECT_TRUE(ParseTime("3m", &t));
EXPECT_EQ(60 * 3, t);
EXPECT_TRUE(ParseTime("3min", &t)... |
<commit_before>#include "TrainSession.h"
#include <fstream>
#include <string>
#include <iomanip>
#include <SmurffCpp/Utils/omp_util.h>
#include <SmurffCpp/Utils/Distribution.h>
#include <SmurffCpp/Utils/MatrixUtils.h>
#include <SmurffCpp/Utils/counters.h>
#include <SmurffCpp/Utils/Error.h>
#include <SmurffCpp/Utils/... |
<commit_before>#include <osm/util/compressed_bitset.hpp>
#include <osm/util/quad_tile.hpp>
#include <iostream>
#define BOOST_TEST_DYN_LINK
#define BOOST_TEST_NO_MAIN
#include <boost/test/unit_test.hpp>
using namespace osm::util;
using std::set;
using std::ostream;
using std::cout;
using std::endl;
set<tile_t> random... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: compbase5.hxx,v $
*
* $Revision: 1.11 $
*
* last change: $Author: rt $ $Date: 2005-09-08 09:08:48 $
*
* The Contents of this file are mad... |
<commit_before>/*************************************************************************
*
* $RCSfile: unxcrashres.cxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: vg $ $Date: 2003-12-17 19:29:00 $
*
* The Contents of this file are made available subject to the terms of
* either of the following li... |
<commit_before>/*!
@file
@author Albert Semenov
@date 08/2008
*/
#include "precompiled.h"
#include "BaseManager.h"
#include <MyGUI_OgrePlatform.h>
#if MYGUI_PLATFORM == MYGUI_PLATFORM_WIN32
# include <windows.h>
#endif
namespace base
{
#if MYGUI_PLATFORM == MYGUI_PLATFORM_APPLE
#include <Core... |
<commit_before>#include "stdafx.h"
#include "Config.h"
#include <CDAPI.h>
Config g_config;
Config::Config()
{
LoadConfig((cd::GetPluginDir() + L"\\Data\\DesktopBrowser.ini").c_str());
}
void Config::LoadConfig(LPCWSTR path)
{
m_homePage.resize(2083);
GetPrivateProfileStringW(APPNAME, L"HomePage", L"https://git... |
<commit_before>#ifndef ___INANITY_GRAPHICS_SHADERS_FUNCTIONS_HPP___
#define ___INANITY_GRAPHICS_SHADERS_FUNCTIONS_HPP___
#include "Value.hpp"
#include "OperationNode.hpp"
#include "FragmentNode.hpp"
BEGIN_INANITY_SHADERS
#define OP0(op) ptr<Node>(NEW(OperationNode(OperationNode::operation ## op)))
#define OP1(op) pt... |
<commit_before>/*=========================================================================
Library: CTK
Copyright (c) Kitware 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
... |
<commit_before>// Copyright (c) 2011-2022 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <node/blockstorage.h>
#include <blockdb.h>
#include <chain.h>
#include <chainparams.h>
#include <config.h... |
<commit_before>// Copyright (c) 2012 Plenluno All rights reserved.
#include <gtest/gtest.h>
#include <libj/js_typed_array.h>
#include <libj/typed_array_list.h>
namespace libj {
TEST(GTestJsTypedArray, TestCreate) {
JsTypedArray<Int>::Ptr a = JsTypedArray<Int>::create();
ASSERT_TRUE(a);
}
TEST(GTestJsTypedAr... |
<commit_before>/*************************************************************************/
/* context_gl_x11.cpp */
/*************************************************************************/
/* This file is part of: */
/... |
<commit_before>#include "ZhongCai.h"
#include "..\GameGrail.h"
#include "..\UserTask.h"
ZhongCai::ZhongCai(GameGrail *engine, int id, int color): PlayerEntity(engine, id, color)
{
setCrystal(2);
GameInfo game_info;
Coder::energyNotice(id, gem, crystal, game_info);
engine->sendMessage(-1, MSG_GAME, game_in... |
<commit_before>/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2006 Torus Knot Software Ltd
Also see acknowledgements in Readme.html
This pro... |
<commit_before>#include "VulkanQuad.h"
#include "Shaders.h"
#include "Utility.h"
#include "Window.h"
#include <vector>
namespace AMD {
///////////////////////////////////////////////////////////////////////////////
void VulkanQuad::ShutdownImpl ()
{
vkDestroyPipeline (device_, pipeline_, nullptr);
vkDestroyPipelin... |
<commit_before>#include "gtest/gtest.h"
#include "ROOT/THist.hxx"
#include "ROOT/TCanvas.hxx"
#include "ROOT/TColor.hxx"
class FixtureBase: public ::testing::Test {
protected:
virtual void SetUp();
};
struct DrawTest: public FixtureBase {};
// Test drawing of histograms.
TEST_F(DrawTest, OneD)
{
using namespac... |
<commit_before>//
// Created by monty on 30/07/16.
//
#include <map>
#include <memory>
#include <functional>
#include <EASTL/vector.h>
#include <EASTL/array.h>
using eastl::vector;
using eastl::array;
#include <sg14/fixed_point>
#include <EASTL/vector.h>
#include <EASTL/array.h>
using sg14::fixed_point;
using eastl... |
<commit_before>// ----------------------------------------------------------------------------
// ------------- AI Battleground, Copyright(C) Maciej Pryc, 2016 --------------
// ----------------------------------------------------------------------------
#include <iostream>
#include "LevelInfo.h"
#include "Act... |
<commit_before>/**
* \file OversamplingFilter.hxx
*/
#include <ATK/Tools/OversamplingFilter.h>
#include <cassert>
namespace ATK
{
template<class DataType_>
Oversampling6points5order_2<DataType_>::Oversampling6points5order_2()
{
coeffs[0][0] = 0.40513396007145713;
coeffs[0][1] = 0.09251794438424393;
... |
<commit_before>#include "stdafx.h"
#include "GUIRenderer.h"
#include "mmcore/CoreInstance.h"
#include "mmcore/param/BoolParam.h"
#include "mmcore/param/ButtonParam.h"
#include "mmcore/param/ColorParam.h"
#include "mmcore/param/EnumParam.h"
#include "mmcore/param/FilePathParam.h"
#include "mmcore/param/FlexEnumParam.h"... |
<commit_before>/*
* File: SimpleFieldColorClassifier.cpp
* Author: claas
*
* Created on 15. Mrz 2011, 15:56
*/
#include "SimpleFieldColorClassifier.h"
// Debug
#include "Tools/Debug/DebugRequest.h"
#include "Tools/Debug/DebugImageDrawings.h"
#include "Tools/Debug/Stopwatch.h"
#include "Tools/Debug/DebugModify... |
<commit_before>/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (directui@nokia.com)
**
** This file is part of meegotouch-controlpanelapplets.
**
** If you have que... |
<commit_before>/* bzflag
* Copyright (c) 1993 - 2008 Tim Riker
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the license found in the file
* named COPYING that should have accompanied this file.
*
* THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
... |
<commit_before>/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2009 Torus Knot Software Ltd
Permission is hereby granted, free of cha... |
<commit_before>// @(#)root/base:$Name: $:$Id: TBrowserImp.cxx,v 1.1.1.1 2000/05/16 17:00:38 rdm Exp $
// Author: Fons Rademakers 15/11/95
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. ... |
<commit_before>// 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 "base/sys_info.h"
#include <sys/system_properties.h>
#include "base/logging.h"
#include "base/strings/string_number_conversi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.