text stringlengths 54 60.6k |
|---|
<commit_before>/*************************************************************************
*
* $RCSfile: tolayoutanchoredobjectposition.cxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: hr $ $Date: 2004-03-08 14:02:28 $
*
* The Contents of this file are made available subject to the terms of
* either ... |
<commit_before>#include "consoleui.h"
using namespace std;
ConsoleUI::ConsoleUI()
{
}
void ConsoleUI::OnlyTakeOneInput()
{
cin.clear();
fflush(stdin);
}
void ConsoleUI::run()
{
bool run = true;
while (run)
{
cout << " ================================" << endl;
cout << " Press 1 to ... |
<commit_before>#include <iostream>
#include <string>
#include "consoleui.h"
#include "performer.h"
using namespace std;
ConsoleUI::ConsoleUI()
{
}
// Should not contain logic for individual commands, that should be in separate functions!
void ConsoleUI::run()
{
cout << "Please enter one of the following command... |
<commit_before>#include "controller.h"
// Constructor
// Allows for Verbose Debugging Mode
// @param bool debug_flag, true will enable verbose debugging
// @warn assert will end program prematurely
// @note axis is rendered in debugging mode
Controller::Controller(const int window_width, const int windo... |
<commit_before>#include "iconnconfigmain.h"
#include <QApplication>
#include <QCommandLineParser>
#include <QLibraryInfo>
#include <QLocale>
#include <QSettings>
#include <QTranslator>
int main(int argc, char *argv[]) {
QApplication app(argc, argv);
QCoreApplication::setOrganizationName("punkt-k");
QCoreApplicatio... |
<commit_before>#include "common.h"
#include "x86_helpers.h"
xed_reg_enum_t GetUnusedRegister(xed_reg_enum_t used_register, int operand_width) {
switch (operand_width) {
case 16:
if (used_register == XED_REG_AX) return XED_REG_CX;
return XED_REG_AX;
case 32:
if (used_register == XED_REG_EAX) ... |
<commit_before>// Copyright 2018 Google LLC
//
// 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 o... |
<commit_before>//
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2010, 2012 Alessandro Tasora
// Copyright (c) 2013 Project Chrono
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file at the top level of the distribution
// ... |
<commit_before>#include<iostream>
#include<string.h>
#include<string>
#include<vector>
#include<sys/types.h>
#include<sys/wait.h>
#include<sys/stat.h>
#include<stdio.h>
#include<unistd.h>
#include<stdlib.h>
#include<cstring>
#include<algorithm>
#include<iterator>
#include<sstream>
using namespace std;
bool run_test(... |
<commit_before>#include <iostream>
#include <vector>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string>
#include <string.h>
#include <sys/wait.h>
#include <sys/types.h>
#include <limits>
using namespace std;
void displayPrompt(){
char *user = getlogin(); //I assign the... |
<commit_before>#include <silicium/async_process.hpp>
#include <silicium/http/generate_response.hpp>
#include <silicium/http/receive_request.hpp>
#include <silicium/asio/tcp_acceptor.hpp>
#include <silicium/asio/writing_observable.hpp>
#include <silicium/sink/iterator_sink.hpp>
#include <silicium/observable/spawn_corout... |
<commit_before>#include <iostream>
#include <cstring>
#include <cstdio>
#include <queue>
#include <cstdlib>
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <errno.h>
#include "rshell.h"
using namespace std;
//Function which finds all the connectors in a char string and puts
//them in a queue... |
<commit_before>// Copyright (c) 2020 by Robert Bosch GmbH. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// ... |
<commit_before>#include <bitcoin/script.hpp>
#include <stack>
#include <bitcoin/messages.hpp>
#include <bitcoin/transaction.hpp>
#include <bitcoin/util/elliptic_curve_key.hpp>
#include <bitcoin/util/assert.hpp>
#include <bitcoin/util/logger.hpp>
#include <bitcoin/util/ripemd.hpp>
#include <bitcoin/util/sha256.hpp>
n... |
<commit_before>#include <util/PlatformUtils.hpp>
#include <XalanTransformer/XalanTransformer.hpp>
#include <cstdio>
#if defined(XALAN_OLD_STREAM_HEADERS)
#include <iostream.h>
#else
#include <iostream>
#endif
// This is a simple class that illustrates how XalanTransformer's "callback" API
// is used. This ex... |
<commit_before>/**
* \file null_block_allocator.hpp
*
* \brief todo: fill in documentation
*
* \author Matthew Rodusek (matthew.rodusek@gmail.com)
*/
#ifndef BIT_MEMORY_BLOCK_ALLOCATORS_NULL_BLOCK_ALLOCATOR_HPP
#define BIT_MEMORY_BLOCK_ALLOCATORS_NULL_BLOCK_ALLOCATOR_HPP
#include "../memory.hpp"
#include "../me... |
<commit_before>#ifndef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS
#endif
#ifndef __STDC_CONSTANT_MACROS
#define __STDC_CONSTANT_MACROS
#endif
#include <fstream>
#include "clang/Frontend/FrontendActions.h"
#include "clang/Tooling/CommonOptionsParser.h"
#include "clang/Tooling/Tooling.h"
#include "clang/AST/ASTCo... |
<commit_before>/**************************************************************************
**
** Copyright (C) 2012, 2013 BlackBerry Limited. All rights reserved
**
** Contact: BlackBerry (qt@blackberry.com)
** Contact: KDAB (info@kdab.com)
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licens... |
<commit_before>//=======================================================================
// Copyright (c) 2015 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//========================================================... |
<commit_before>/*
* ============================================================================
* Filename: server.hxx
* Description: Server side implementation for flihabi network
* Version: 1.0
* Created: 04/20/2015 06:21:00 PM
* Revision: none
* Compiler: gcc
* ... |
<commit_before>/**
* @file
*
* @brief Read key sets using yaml-cpp
*
* @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
*/
#include "read.hpp"
#include "yaml-cpp/yaml.h"
#include <kdb.hpp>
#include <kdbease.h>
#include <kdblogger.h>
#include <kdbplugin.h>
#include <sstream>
using namespac... |
<commit_before>#include <iostream>
#include <string>
#include "consoleui.h"
#include "scientist.h"
using namespace std;
ConsoleUI::ConsoleUI()
{
}
// Should not contain logic for individual commands, that should be in separate functions!
void ConsoleUI::run()
{
string command;
do
{
cout << "Sele... |
<commit_before>#include <iostream>
#include <string>
#include "consoleui.h"
#include "scientist.h"
using namespace std;
ConsoleUI::ConsoleUI()
{
_service.getScientists(); // gets information from file so it's used from the beginning.
}
// Should not contain logic for individual commands, that should be in separ... |
<commit_before>// -----------------------------------------------------------------
// libpion: a C++ framework for building lightweight HTTP interfaces
// -----------------------------------------------------------------
// Copyright (C) 2007 Atomic Labs, Inc.
//
// This library is free software; you can redistribute... |
<commit_before>//
// This file is part of the Marble Desktop Globe.
//
// This program is free software licensed under the GNU LGPL. You can
// find a copy of this license in LICENSE.txt in the top directory of
// the source code.
//
// Copyright 2004-2007 Torsten Rahn <tackat@kde.org>"
// Copyright 2007 Inge Wall... |
<commit_before>/* libvisio
* Copyright (C) 2011 Fridrich Strba <fridrich.strba@bluewin.ch>
*
* 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 (... |
<commit_before>/*
* Copyright (C) 2009 Marc Boris Duerner, Tommi Maekitalo
*
* 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 of the License, or (at your option... |
<commit_before>////////////////////////////////////////////////////////////////////////////////
// Name: test-lexers.cpp
// Purpose: Implementation for wxExtension cpp unit testing
// Author: Anton van Wezenbeek
// Copyright: (c) 2015 Anton van Wezenbeek
///////////////////////////////////////////////////////... |
<commit_before>/*===================================================================
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 imp... |
<commit_before><commit_msg>Fix loading screen_ratio_pixel_count lod strategy from mesh<commit_after><|endoftext|> |
<commit_before>#include "../include/Slider.hpp"
int main(int argc, char** argv)
{
Console::Init(argv);
Lua::Init(Console::Path);
printf("aldhaksdh");
bool instructions_closed;
Lua::RunAsync(Console::Path+"..\\bin\\Lua\\instructions.lua", NULL, &instructions_closed);
std::vector<char *> ellipses_anim = {".", ".... |
<commit_before>#include "solver.h"
// Solver helper function
static bool satisfyAlready(const vector<int> &cls) {
unordered_set<int> checker;
for(auto &v : cls) {
if( checker.find(-v) != checker.end() )
return true;
checker.insert(v);
}
return false;
}
// Init solver with... |
<commit_before>#ifndef STREAM_H
#define STREAM_H
// from http://www.mail-archive.com/protobuf@googlegroups.com/msg03417.html
#include <cassert>
#include <iostream>
#include <fstream>
#include <functional>
#include <vector>
#include <list>
#include "google/protobuf/stubs/common.h"
#include "google/protobuf/io/zero_cop... |
<commit_before>//------------------------------------------------------------------------------
/// \file string.cpp
//------------------------------------------------------------------------------
/// \brief Implementation of general purpose functions for string processing
//------------------------------------------... |
<commit_before>/**
* A class which describes the properties and actions of an SSL server socket.
*
* @date August 22, 2014
* @author Joeri HERMANS
* @version 0.1
*
* Copyright 2014 Joeri HERMANS
*
* Licensed under the Apache License, Version 2.0 (the "License... |
<commit_before>/*
* Copyright (C) 2013 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 ... |
<commit_before>#include "SpikeAndSlabPrior.h"
#include <SmurffCpp/IO/MatrixIO.h>
#include <SmurffCpp/IO/GenericIO.h>
#include <SmurffCpp/Utils/Error.h>
using namespace smurff;
using namespace Eigen;
SpikeAndSlabPrior::SpikeAndSlabPrior(std::shared_ptr<Session> session, uint32_t mode)
: NormalOnePrior(session, mod... |
<commit_before><commit_msg>coverity#1266492 Untrusted value as argument<commit_after><|endoftext|> |
<commit_before>#/*****************************************************************************
* SV_Bedpe.cpp
* (c) 2012 - Ryan M. Layer
* Hall Laboratory
* Quinlan Laboratory
* Department of Computer Science
* Department of Biochemistry and Molecular Genetics
* Department of Public Health Sciences and Center fo... |
<commit_before>#include <cstdio>
#include <cstdlib>
#include <unistd.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <stdint.h>
#include <math.h>
// For lightweight communication with the FPGA:
#define FPGA_MANAGER_BASE 0xFF706000
#define FPGA_GPO_OFFSET 0x10
#define FPGA_GPI_OFFSET 0x14
// HPS-to-FPGA:
#define ... |
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2015. All rights reserved
*/
#include "Stroika/Frameworks/StroikaPreComp.h"
#include <iostream>
#include "Stroika/Foundation/Characters/String2Float.h"
#include "Stroika/Foundation/DataExchange/JSON/Writer.h"
#include "Stroika/Foundation/... |
<commit_before>#include "CullWorker.h"
#include "layers/Layer.h"
#include "renderers/MapRenderer.h"
#include "utils/Const.h"
#include "utils/GeomUtils.h"
#include "utils/Log.h"
#include "utils/ThreadUtils.h"
namespace carto {
CullWorker::CullWorker() :
_layerWakeupMap(),
_firstCull(true),
... |
<commit_before>#include "cookiejar.h"
CookieJar::CookieJar(QObject *parent) :
QNetworkCookieJar(parent)
{
jarfile = new QFile("/tmp/test", this);
if (jarfile->open(QIODevice::ReadWrite | QIODevice::Append | QIODevice::Text))
{
//Lägg till en massa cookies
//QNetworkCookie nc()
}
}
... |
<commit_before>/*
This file is part of the ORK library.
Full copyright and license terms can be found in the LICENSE.txt file.
*/
#include "ork/geometry.hpp"
#include "ork/test/catch_include.hpp"
#include "glm/vec3.hpp"
using namespace ork;
TEST_CASE("Length conversion", "[geometry]")
{
const double dmm = 50.8... |
<commit_before>/*
This file is part of VROOM.
Copyright (c) 2015-2022, Julien Coupey.
All rights reserved (see LICENSE).
*/
#include <mutex>
#include <set>
#include <thread>
#include "algorithms/heuristics/heuristics.h"
#include "algorithms/local_search/local_search.h"
#include "problems/vrptw/operators/cross_exch... |
<commit_before>/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: itkDummyImageToListAdaptorTest.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2002 Insight Consortium. All rights reserved.... |
<commit_before>#include <blackhole/formatter/string.hpp>
#include <blackhole/log.hpp>
#include <blackhole/logger.hpp>
#include <blackhole/logger/wrapper.hpp>
#include <blackhole/record.hpp>
#include <blackhole/sink/stream.hpp>
#include "global.hpp"
using namespace blackhole;
namespace {
class logger_factory_t {
pub... |
<commit_before>#include <possumwood_sdk/node_implementation.h>
#include <CGAL/squared_distance_3.h>
#include <CGAL/Surface_mesh_simplification/edge_collapse.h>
#include <CGAL/Surface_mesh_simplification/Policies/Edge_collapse/Count_stop_predicate.h>
#include <CGAL/Surface_mesh_simplification/Policies/Edge_collapse/C... |
<commit_before>/*
*******************************************************************************
*
* Copyright (C) 1999-2001, International Business Machines
* Corporation and others. All Rights Reserved.
*
*******************************************************************************
* file name: scrp... |
<commit_before><commit_msg>No need to trim capacity any more; it's allocated to the exact size.<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* $RCSfile: editsrc.cxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: nn $ $Date: 2001-02-15 18:07:09 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licens... |
<commit_before>/*
* Copyright (c) 2010, Willow Garage, 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
* ... |
<commit_before>/*
* Copyright (c) 2010, Willow Garage, 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
* ... |
<commit_before>// $Id$
// The libMesh Finite Element Library.
// Copyright (C) 2002-2008 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner
// 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 Foun... |
<commit_before>#include "table.h"
#include "ui_table.h"
table::table(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::table),
m_fileName("")
{
ui->setupUi(this);
ui->tableView->move(0, 0);
m_model = new TeamModel(ui->actionSave, this);
ui->tableView->setModel(m_model);
ui->actionSave-... |
<commit_before>// $Id$
//
// Copyright (C) 2004-2006 Rational Discovery LLC
//
// @@ All Rights Reserved @@
//
#define NO_IMPORT_ARRAY
#include <boost/python.hpp>
#include <GraphMol/RDKitBase.h>
#include <RDGeneral/types.h>
#include <RDBoost/Exceptions.h>
#include <GraphMol/MolChemicalFeatures/MolChemicalFeatureFa... |
<commit_before>/* Copyright (c) 2010-2013, AOYAMA Kazuharu
* All rights reserved.
*
* This software may be used and distributed according to the terms of
* the New BSD License, which is incorporated herein by reference.
*/
#include <QString>
#include <QByteArray>
#include <QDateTime>
#include <QFile>
#include <QD... |
<commit_before>/*
* Copyright (c) 2015 Cryptonomex, Inc., and contributors.
*
* The MIT License
*
* 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... |
<commit_before>#include "lemonbuddy.hpp"
#include "bar.hpp"
#include "utils/math.hpp"
#include "utils/macros.hpp"
#include "modules/volume.hpp"
using namespace modules;
VolumeModule::VolumeModule(std::string name_) : EventModule(name_)
{
// Load configuration values {{{
auto master_mixer = config::get<std::string... |
<commit_before>#include <iostream>
#include <fstream>
#include <vector>
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/algorithm/string/replace.hpp>
#include <boost/algorithm/string/split.hpp>
#include <boost/foreach.hpp>
#include <boost/preprocessor... |
<commit_before>// Copyright 2012 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/v8.h"
#include "src/version.h"
// These macros define the version number for the current version.
// NOTE these macros ar... |
<commit_before>#include "internal.hpp"
#include "macros.hpp"
#include "message.hpp"
namespace CaDiCaL {
// Vivification is a special case of asymmetric tautology elimination. It
// strengthens and removes irredundant clauses proven redundant through unit
// propagation. The original algorithm is due to a paper by P... |
<commit_before>#include "internal.hpp"
#include "macros.hpp"
#include "message.hpp"
namespace CaDiCaL {
// Vivification is a special case of asymmetric tautology elimination. It
// strengthens and removes irredundant clauses proven redundant through unit
// propagation. The original algorithm is due to a paper by P... |
<commit_before>#include "internal.hpp"
#include "macros.hpp"
#include "message.hpp"
namespace CaDiCaL {
// Vivification is a special case of asymmetric tautology elimination. It
// strengthens and removes irredundant clauses proven redundant through unit
// propagation. The original algorithm is due to a paper by P... |
<commit_before>#ifndef SOFA_COMPONENTS_LagrangianMultiplierContactConstraint_INL
#define SOFA_COMPONENTS_LagrangianMultiplierContactConstraint_INL
#include "LagrangianMultiplierContactConstraint.h"
#include "Sofa/Core/Constraint.inl"
#include "Sofa/Core/MechanicalObject.inl"
#include "Common/config.h"
#include <assert... |
<commit_before>#include "rubykokuban/BindImage.hpp"
#include "mruby.h"
#include "mruby/class.h"
#include "mruby/data.h"
#include "mruby/string.h"
#include "ofMain.h"
namespace rubykokuban {
namespace {
void free(mrb_state *mrb, void *p)
{
if (p) {
delete ((ofImage*)p);
}
}
struct mrb_data_type data_... |
<commit_before>/******************************************************************************
* SOFA, Simulation Open-Framework Architecture, version 1.0 RC 1 *
* (c) 2006-2011 MGH, INRIA, USTL, UJF, CNRS *
* ... |
<commit_before>/*
Copyright (c) 2017 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Gabriel Ebner
*/
#include "util/log_tree.h"
#include "util/task_builder.h"
#include <vector>
#include <string>
namespace lean {
void log_tree::notify_core(std::... |
<commit_before>#include "rubykokuban/BindImage.hpp"
#include "mruby.h"
#include "mruby/class.h"
#include "mruby/data.h"
#include "mruby/string.h"
#include "ofMain.h"
namespace rubykokuban {
namespace {
void free(mrb_state *mrb, void *p)
{
if (p) {
delete ((ofImage*)p);
}
}
struct mrb_data_type data_... |
<commit_before>/*
* Copyright 2006-2008 The FLWOR Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
<commit_before>//* This file is part of the MOOSE framework
//* https://www.mooseframework.org
//*
//* All rights reserved, see COPYRIGHT for full restrictions
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
//*
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgp... |
<commit_before>#include <jni.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <srt/srt.h>
#define DEBUG
#ifdef DEBUG
#include <android/log.h>
#define LOG_TAG "SRT-JNI"
#define LOGI(...) __android_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__)
#define LOGD(...) __android_log_print(ANDROID_LOG_... |
<commit_before>/* vi:set ts=8 sts=8 sw=8 noet:
*
* Practical Music Search
* Copyright (c) 2006-2011 Kim Tore Jensen
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of ... |
<commit_before>#include "Updater.h"
#pragma comment(lib, "Version.lib")
#pragma comment(lib, "wininet.lib")
#include <Windows.h>
#include <WinInet.h>
#include <sstream>
#include "Settings.h"
#include "StringUtils.h"
#include "Logger.h"
const std::wstring Updater::LATEST_URL
= L"https://3rvx.com/releases/latest_v... |
<commit_before>// 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 "chrome/browser/tab_contents/chrome_tab_contents_view_wrapper_gtk.h"
#include "chrome/browser/browser_shutdown.h"
#include "c... |
<commit_before>/*
* Copyright (c) 2013 Fredrik Mellbin
*
* This file is part of VapourSynth.
*
* VapourSynth 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 of the License, or (at y... |
<commit_before>#include <glt/window.hpp>
#include <glt/app.hpp>
#include <algorithm>
#include <sstream>
#include <iostream>
namespace glt {
void setupCallbacks(GLFWwindow *window)
{
glfwSetKeyCallback(window, OnKeyEvent);
glfwSetCharCallback(window, OnTextInput);
glfwSetCursorEnterCallback(window, OnCurso... |
<commit_before>#include "stdafx.h"
#include "AlembicXform.h"
#include "CommonProfiler.h"
using namespace XSI;
using namespace MATH;
void SaveXformSample(XSI::CRef parentKineStateRef, XSI::CRef kineStateRef, AbcG::OXformSchema & schema,AbcG::XformSample & sample, double time, bool xformCache, bool globalSpace, bool ... |
<commit_before>// Copyright 2015-2018 Elviss Strazdins. All rights reserved.
#include "core/Setup.h"
#if OUZEL_COMPILE_DIRECT3D11
#include "DepthStencilStateResourceD3D11.hpp"
#include "RenderDeviceD3D11.hpp"
namespace ouzel
{
namespace graphics
{
static D3D11_COMPARISON_FUNC getCompareFunction(Dept... |
<commit_before>#ifndef WIZARDBATTLE_RULES_WIZARD_H
#define WIZARDBATTLE_RULES_WIZARD_H
namespace WizardBattle
{
namespace Rules
{
class Wizard
{
private:
public:
const unsigned int x, y;
const bool alive;
Wizard(unsigned int x, unsigned int y)
: x(x), y(y), alive(false) { };
const Wizard ki... |
<commit_before>#include "File.h"
#include "Index.h"
#include "RegExpIndexer.h"
#include "ConsoleLog.h"
#include "FieldIndexer.h"
#include <tclap/CmdLine.h>
#include <iostream>
#include <stdexcept>
#include <limits.h>
#include "ExternalIndexer.h"
using namespace std;
using namespace TCLAP;
namespace {
string getRea... |
<commit_before>#ifndef slic3r_GUI_Utils_hpp_
#define slic3r_GUI_Utils_hpp_
#include <memory>
#include <string>
#include <ostream>
#include <functional>
#include <boost/optional.hpp>
#include <wx/frame.h>
#include <wx/dialog.h>
#include <wx/event.h>
#include <wx/filedlg.h>
#include <wx/gdicmn.h>
#include <wx/panel.h>... |
<commit_before>#include <common/buffer.h>
#include <ssh/ssh_algorithm_negotiation.h>
#include <ssh/ssh_mac.h>
#include <ssh/ssh_session.h>
namespace {
struct ssh_mac_algorithm {
const char *rfc4250_name_;
CryptoMAC::Algorithm crypto_algorithm_;
unsigned size_;
};
static const struct ssh_mac_algorithm ssh_ma... |
<commit_before>/**
* Copyright (c) 2011-2014 libbitcoin developers (see AUTHORS)
*
* This file is part of libbitcoin-explorer.
*
* libbitcoin-explorer is free software: you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License with
* additional permissions to the one pub... |
<commit_before>/*
The MIT License (MIT)
Copyright (c) 2014 Conrado Miranda
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, cop... |
<commit_before>/**
* ofxSoundObject.cpp
*
* Created by Marek Bereza on 10/08/2013.
*/
#include "ofxSoundObject.h"
//----------------------------------------------------
// ofxSoundObject
ofxSoundObject::ofxSoundObject() {
inputObject = NULL;
outputObjectRef = NULL;
}
ofxSoundObject &ofxSoundObject::conn... |
<commit_before>/*******************************************************
SPIDAR-mouse-server for Linux, FreeBSD and Mac OS X
Copyright (c) 2013 Naoto Hieda
March 3, 2013
Licensed under MIT license.
https://github.com/micuat/SPIDAR-mouse-UNIX
ofxSpidarMouse.cpp
************************************************... |
<commit_before>
// The files containing the tree of child classes of |DynamicFrame| must be
// included in the order of inheritance to avoid circular dependencies. This
// class will end up being reincluded as part of the implementation of its
// parent.
#ifndef PRINCIPIA_PHYSICS_DYNAMIC_FRAME_HPP_
#include "physics/d... |
<commit_before>/*
* AscEmu Framework based on ArcEmu MMORPG Server
* Copyright (c) 2014-2020 AscEmu Team <http://www.ascemu.org>
* Copyright (C) 2008-2012 ArcEmu Team <http://www.ArcEmu.org/>
* Copyright (C) 2005-2007 Ascent Team
*
* This program is free software: you can redistribute it and/or modify
* it under... |
<commit_before>/**
* @file statistics.hpp
* @brief An implemenation of statistics operations
* @author seonho.oh@gmail.com
* @date 2013-07-01
* @version 1.0
*
* @section LICENSE
*
* Copyright (c) 2007-2013, Seonho Oh
* All rights reserved.
*
* Redistribution and use in source and binary forms, with... |
<commit_before>#include "openmc/tallies/tally_filter.h"
#include <string>
#include "openmc/constants.h" // for MAX_LINE_LEN;
#include "openmc/tallies/tally_filter_azimuthal.h"
#include "openmc/tallies/tally_filter_cell.h"
#include "openmc/tallies/tally_filter_cellborn.h"
#include "openmc/tallies/tally_filter_cellfro... |
<commit_before>#include <cassert>
#include <ctime>
#include <iostream>
#include <cstdlib>
#include <vector>
#include "../slitherlink/SlitherlinkDatabase.h"
#include "../slitherlink/SlitherlinkDatabaseMethod.hpp"
#include "../slitherlink/SlitherlinkField.h"
#include "../slitherlink/SlitherlinkProblem.h"
#incl... |
<commit_before>#if !FEATURE_IPV4
#error [NOT_SUPPORTED] IPV4 not supported for this target
#endif
#include <algorithm>
#include "mbed.h"
#include "EthernetInterface.h"
#include "TCPSocket.h"
#include "greentea-client/test_env.h"
#include "unity/unity.h"
namespace {
// Test connection information
const cha... |
<commit_before>/*
*The MIT License (MIT)
*
* Copyright (c) <2016> <Stephan Gatzka>
*
* 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 limitatio... |
<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>/*
*****************************************************************************
* ___ _ _ _ _
* / _ \ __ _| |_| |__(_) |_ ___
* | (_) / _` | / / '_ \ | _(_-<
* \___/\__,_|_\_\_.__/_|\__/__/
* ... |
<commit_before>// Copyright (c) 2007, 2008, 2009 libmv authors.
//
// 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, c... |
<commit_before>#ifndef STAN_MATH_PRIM_MAT_PROB_ORDERED_LOGISTIC_GLM_LPMF_HPP
#define STAN_MATH_PRIM_MAT_PROB_ORDERED_LOGISTIC_GLM_LPMF_HPP
#include <stan/math/prim/scal/meta/is_constant_struct.hpp>
#include <stan/math/prim/scal/meta/partials_return_type.hpp>
#include <stan/math/prim/scal/meta/operands_and_partials.hpp... |
<commit_before>#include "util/bitmap.h"
#include "util/trans-bitmap.h"
#include "context-box.h"
#include "util/font.h"
#include <math.h>
#include "util/token.h"
static const double FONT_SPACER = 1.3;
static const int GradientMax = 50;
static Graphics::Color selectedGradientStart(){
static Graphics::Color color ... |
<commit_before>// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "storagecomponent.h"
#include <vespa/storage/storageserver/prioritymapper.h>
#include <vespa/vespalib/util/exceptions.h>
#include <vespa/vespalib/stllike/asciistream.h>
#inclu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.