text stringlengths 54 60.6k |
|---|
<commit_before>#include <other/core/value/Prop.h>
#include <other/core/value/Listen.h>
#include <other/core/array/NdArray.h>
#include <other/core/array/view.h>
#include <other/core/python/Class.h>
#include <other/core/python/numpy.h>
#include <other/core/python/Ptr.h>
#include <other/core/structure/Tuple.h>
#include <o... |
<commit_before>/* bzflag
* Copyright (c) 1993 - 2005 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
* IMPLI... |
<commit_before>#include "HOTP.h"
/**
* Converts a 64bit int to char
*/
const unsigned char * HOTP::toChar(int64_t number) const
{
unsigned char *temp=new unsigned char[8];//8bytes (64bit)
for(int i=8-1;i>=0;--i)//loop through number and copy to char
{
temp[i]=(number&0xff);
number>>=8;
}
return temp;
}
/**... |
<commit_before>// Copyright 2015-2020 Elviss Strazdins. All rights reserved.
#include <vector>
#include "GamepadDeviceIOKit.hpp"
#include "InputSystemMacOS.hpp"
#include "../GamepadConfig.hpp"
#include "../../utils/Utils.hpp"
namespace ouzel::input::macos
{
namespace
{
constexpr float thumbDeadzone = ... |
<commit_before>//-----------------------------------------------------------------------------
// Copyright (c) 2013 GarageGames, LLC
//
// 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 Softwar... |
<commit_before>/* Copyright 2019 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 appl... |
<commit_before>/*****************************************************************************
YASK: Yet Another Stencil Kernel
Copyright (c) 2014-2018, Intel Corporation
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), t... |
<commit_before>#include <math.h>
#include <BRepPrimAPI_MakeBox.hxx>
#include <BRepPrimAPI_MakeSphere.hxx>
#include <BRepPrimAPI_MakeTorus.hxx>
#include <SMESH_Gen.hxx>
#include <StdMeshers_AutomaticLength.hxx>
#include <StdMeshers_TrianglePreference.hxx>
#include <StdMeshers_NumberOfSegments.hxx>
#include <StdMeshers_... |
<commit_before>#include "components/RatingComponent.h"
#include "Renderer.h"
#include "Window.h"
#include "Util.h"
#include "resources/SVGResource.h"
RatingComponent::RatingComponent(Window* window) : GuiComponent(window)
{
mFilledTexture = TextureResource::get(":/star_filled.svg", true);
mUnfilledTexture = TextureR... |
<commit_before>#include "MicroBit.h"
extern "C" {
void mp_run(void);
void microbit_display_event(void);
}
static void event_listener(MicroBitEvent evt) {
if (evt.value == MICROBIT_DISPLAY_EVT_ANIMATION_COMPLETE) {
microbit_display_event();
}
}
void app_main() {
uBit.MessageBus.listen(MIC... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the Qt Mobility Components.
**
** $QT_BEGIN_LICENSE:LG... |
<commit_before>// Petter Strandmark 2012.
#include <cstring>
#include <iostream>
#include <limits>
#include <memory>
#include <random>
#include <stdexcept>
#include <Eigen/Dense>
#include <Eigen/Eigenvalues>
#include <Eigen/Sparse>
#include <spii/spii.h>
#include <spii/solver.h>
namespace spii {
void Solver::solve... |
<commit_before>/*
* D-Bus AT-SPI, Qt Adaptor
*
* Copyright 2008-2011 Nokia Corporation and/or its subsidiary(-ies).
*
* 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
* vers... |
<commit_before>// GeometricAlgebraEnv.cpp
/*
* Copyright (C) 2012 Spencer T. Parkin
*
* This software has been released under the MIT License.
* See the "License.txt" file in the project root directory
* for more information about this license.
*
*/
#include "../../CalcLib.h"
using namespace CalcLib;
//=====... |
<commit_before>/*
* Copyright 2014 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkRecordDraw.h"
#include "SkTSort.h"
void SkRecordDraw(const SkRecord& record,
SkCanvas* canvas,
const SkBBoxHier... |
<commit_before>/*
* Copyright (c) 2018, The OpenThread Authors.
* 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
* ... |
<commit_before>/*
==============================================================================
ADSR.cpp
Created: 5 Dec 2014 4:16:24pm
Author: Penguinum-tea
==============================================================================
*/
#include "ADSR.h"
#include <stdio.h>
namespace... |
<commit_before>#include "easypr/core/plate_detect.h"
#include "easypr/util/util.h"
namespace easypr {
CPlateDetect::CPlateDetect() {
m_plateLocate = new CPlateLocate();
m_maxPlates = 3;
m_type = 0;
m_showDetect = false;
}
CPlateDetect::~CPlateDetect() { SAFE_RELEASE(m_plateLocate); }
int C... |
<commit_before>/*
* Copyright (c) 2012-2020 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 ... |
<commit_before>/*
* Copyright (c) 2012 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>/*!
* @file cudapolisher.cpp
*
* @brief CUDA Polisher class source file
*/
#include <future>
#include <iostream>
#include <chrono>
#include <cuda_profiler_api.h>
#include "sequence.hpp"
#include "cudapolisher.hpp"
#include <cudautils/cudautils.hpp>
#include "bioparser/bioparser.hpp"
namespace rac... |
<commit_before>
#include "MenuItem.hpp"
#include "Menu.hpp"
#include "Message.hpp"
#include "Window.hpp"
#include "registory.hpp"
#include "convert.hpp"
#include "deleting.hpp"
#include "ownership.hpp"
namespace rbe
{
namespace gc
{
template<>
void Deleting<BMenuItem, BMenu>(BMenuItem *o, BMenu *t)
{
if (o-... |
<commit_before>#ifndef __BH_VE_CPU_SPECIALIZER
#define __BH_VE_CPU_SPECIALIZER
#include <ctemplate/template.h>
void specializer_init()
{
ctemplate::mutable_default_template_cache()->SetTemplateRootDirectory(template_path);
ctemplate::LoadTemplate("license.tpl", ctemplate::STRIP_BLANK_LINES);
ctemplate::L... |
<commit_before>#include "Zero.hpp"
#include "Funcs.hpp"
/*
* Implements gsetvar vnds function.
* gsetvar var mod val
* Modifier is '=' '+' or '-' in script, simplify to ('-':-1, '=':0, '+':1).
* MAY need to be UTF8 friendly
*/
void op_setvar(char* var, int* modifier, char* value) {
if (GetData()->if_fail != 0)... |
<commit_before>#include "pocketcalculator.h"
#include "calc.h"
#include "sevensegment.h"
#include <iostream>
#include <string>
#include <stdexcept>
#include <cstdlib>
namespace pocketcalculator {
void calc(std::istream& input, std::ostream& output, unsigned const scale_factor)
try {
auto const result = ::calc(inpu... |
<commit_before>/******************************************************************************
* Copyright 2017 The Apollo 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 ... |
<commit_before>// Original class author: A.M. Jokisaari, O. Heinonen
#include "SimpleEigenStrainMaterial.h"
template<>
InputParameters validParams<SimpleEigenStrainMaterial>()
{
InputParameters params = validParams<EigenStrainBaseMaterial>();
params.addRequiredParam<Real>("epsilon0", "Initial eigen strain value")... |
<commit_before>#include <stdio.h>
#include "datapool.h"
using namespace ys;
int main() {
dataPool<unsigned int> intpool(10, 1000);
//intpool.push_back(1);
//intpool.push_back(2);
//intpool.push_back(3);
//intpool.push_back(4);
//intpool.push_back(5);
//intpool.push_back(6);
//intpool.p... |
<commit_before>#include "main.h"
#include <SD.h>
#include <EEPROM.h>
#include <stdio.h>
File dataFile;
uint32_t last_tick;
char filename[16];
void initLogger() {
if (!SD.begin(10)) {
Serial.println("Card failed, or not present");
// don't do anything more:
return;
}
Serial.println("ca... |
<commit_before>#include <debugger/impl.h>
#include <debugger/io/base.h>
#include <debugger/capabilities.h>
#include <debugger/luathread.h>
namespace vscode
{
void debugger_impl::response_initialize(rprotocol& req)
{
if (req.HasMember("__norepl") && req["__norepl"].IsBool() && req["__norepl"].GetBool())
{
seq+... |
<commit_before>//===-- examples/clang-interpreter/main.cpp - Clang C Interpreter Example -===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>// Copyright (c) 2020 by Robert Bosch GmbH. All rights reserved.
// Copyright (c) 2020 - 2021 by Apex.AI Inc. 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 Lice... |
<commit_before>/*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distributed WIT... |
<commit_before>/* Copyright 2016 Stanford University, NVIDIA Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... |
<commit_before>//
// Copyright 2012 Francisco Jerez
//
// 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,... |
<commit_before>/*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distr... |
<commit_before>#include <cassert>
#include <cstdio>
#include <memory>
#include <SDL.h>
#include <SDL_ttf.h>
#include "config.h"
#include "input.h"
#include "game.h"
#include "draw.h"
/////////////////////////////
//
// TODO: Logger class from gurka/gameserver
//
/////////////////////////////
using Window = std::un... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: inspectorhelpwindow.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: vg $ $Date: 2006-12-15 02:13:45 $
*
* The Contents of this fil... |
<commit_before>
#ifndef __BUFFER_CACHE_WRITEBACK_IMPL_HPP__
#define __BUFFER_CACHE_WRITEBACK_IMPL_HPP__
template <class config_t>
writeback_tmpl_t<config_t>::writeback_tmpl_t(cache_t *cache,
bool wait_for_flush, unsigned int flush_interval_ms)
: wait_for_flush(wait_for_flush),
interval_ms(flush_inter... |
<commit_before>/*
* Satisfier.cc
*
* Copyright (C) 2015 Linas Vepstas
*
* Author: Linas Vepstas <linasvepstas@gmail.com> January 2009
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License v3 as
* published by the Free Software Fo... |
<commit_before><commit_msg>Revert of Remove unneeded DocumentLoader null check in WindowProxy. (patchset #1 id:1 of https://codereview.chromium.org/797483003/)<commit_after><|endoftext|> |
<commit_before>#include "BarcodeFormat.h"
// Reader
#include "DecodeHints.h"
#include "GenericLuminanceSource.h"
#include "HybridBinarizer.h"
#include "MultiFormatReader.h"
#include "Result.h"
// Writer
#include "BitMatrix.h"
#include "MultiFormatWriter.h"
#include "TextUtfEncoding.h"
#include <pybind11/pybind11.h>
... |
<commit_before>/////////////////////////////////////////////////////////////////////////////
// This file is part of the hdf5 data handler for the OPeNDAP data server.
//
// Author: Hyo-Kyung Lee <hyoklee@hdfgroup.org>
// Copyright (c) 2007 The HDF Group
//
///////////////////////////////////////////////////////////... |
<commit_before>// Copyright 2016-2017 Jean-Francois Poilpret
//
// 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>// 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/files/file_path.h"
#include "base/strings/string_ut... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: extendapplicationenvironment.cxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: obo $ $Date: 2008-01-07 09:48:23 $
*
* The Contents o... |
<commit_before>#pragma once
#include <stdint.h>
/** @file bts/blockchain/config.hpp
* @brief Defines global constants that determine blockchain behavior
*/
#define BTS_BLOCKCHAIN_VERSION (104)
#define BTS_WALLET_VERSION (100)
#define BTS_BLOCKCHAIN_DATABASE_VER... |
<commit_before>#include "AutoGenerated.inc"
#include "llvm/System/Path.h"
#include "llvm/Support/raw_ostream.h"
using namespace llvm;
namespace llvmc {
extern char *ProgramName;
}
// Returns the platform specific directory separator via #ifdefs.
static std::string GetDirSeparator(void) {
return "/";
}
namespac... |
<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 "base/utf_string_conversions.h"
#include "chrome/test/live_sync/live_autofill_sync_test.h"
IN_PROC_BROWSER_TEST_F(TwoClientLi... |
<commit_before>#include "SampleCode.h"
#include "SkCanvas.h"
#include "SkParsePath.h"
#include "SkPath.h"
#include "SkRandom.h"
#include "SkView.h"
#include "SkBlurMaskFilter.h"
#include "SkBlurMask.h"
static void test_blur() {
uint8_t cell[9];
memset(cell, 0xFF, sizeof(cell));
SkMask src;
src.fImage ... |
<commit_before>/****************************************************************************
** Copyright (c) 2000-2003 Wayne Roth
** Copyright (c) 2004-2007 Stefan Sander
** Copyright (c) 2007 Michal Policht
** Copyright (c) 2008 Brandon Fosdick
** Copyright (c) 2009-2010 Liam Staskawicz
** Copyright (c) 2011 Debao Zh... |
<commit_before>// Main.cpp
// UniversalPauseButton
// Ryan Ries, 2015
// ryan@myotherpcisacloud.com
//
// Must compile in Unicode.
#include <Windows.h>
#include <Psapi.h>
#include <stdio.h>
#include "resource.h"
#define WM_TRAYICON (WM_USER + 1)
// WARNING: Undocumented Win32 API functions!
// Microsoft may change t... |
<commit_before>#include "Players/Genetic_AI.h"
#include <iostream>
#include <fstream>
#include <vector>
#include "Moves/Move.h"
#include "Game/Board.h"
#include "Game/Clock.h"
#include "Exceptions/Checkmate_Exception.h"
#include "Exceptions/Game_Ending_Exception.h"
#include "Exceptions/End_Of_File_Exception.h"
#inc... |
<commit_before>#include "Players/Minimax_AI.h"
#include <iostream>
#include "Players/Game_Tree_Node_Result.h"
#include "Game/Board.h"
#include "Game/Clock.h"
#include "Game/Game_Result.h"
#include "Moves/Move.h"
#include "Utility.h"
const Move& Minimax_AI::choose_move(const Board& board, const Clock& clock) const
{... |
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* 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 ... |
<commit_before>#include "Energia.h"
#include "Ethernet.h"
#include "EthernetClient.h"
#include "EthernetServer.h"
#include "driverlib/interrupt.h"
/* directives for disabling and enabling interrupts */
#define INT_PROTECT_INIT(x) int x = 0
#define INT_PROTECT(x) x=IntMasterDisable()
#define INT_UNPROTECT(... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_L... |
<commit_before>#include <pcl/console/parse.h>
#include <pcl/point_types.h>
#include <pcl/point_cloud.h>
#include <pcl/point_representation.h>
#include <pcl/io/pcd_io.h>
#include <pcl/ros/conversions.h>
#include <pcl/keypoints/uniform_sampling.h>
#include <pcl/features/normal_3d.h>
#include <pcl/features/fpfh.h>
#inclu... |
<commit_before>#pragma once
#include <vector>
#include <string>
#include <string_view>
#include <functional>
#include <mutex>
#include <condition_variable>
#include "config/config.hpp"
#include "base/type.h"
namespace autocxxpy
{
template <class tag, size_t size>
struct get_string
{
auto &operato... |
<commit_before>// Copyright (c) 2019 The Syscoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <uint256.h>
#include <arith_uint256.h>
#include <ethereum/ethereum.h>
#include <ethereum/sha3.h>
#include ... |
<commit_before>#include <ros/ros.h>
#include <walrus_stair_detector/walrus_stair_detector.h>
#include <pcl/io/io.h>
#include <pcl/io/pcd_io.h>
#include <gtest/gtest.h>
#include "yaml-cpp/yaml.h"
#include <boost/filesystem.hpp>
std::string pcd_file;
std::string config_file;
namespace YAML {
template<>
struct convert<E... |
<commit_before>#include "Subsystems/Chassis.h"
#include "Commands/DefaultDrive.h"
Chassis* Chassis::m_pInstance = NULL;
Chassis* Chassis::GetInstance()
{
if(!m_pInstance) m_pInstance = new Chassis;
return m_pInstance;
}
Chassis::Chassis() : PIDSubsystem("Chassis", 0.05, 0.01, 0.15)
{
m_leftMotorFront = new CANTal... |
<commit_before>/*
* AliEmcalAnalysisFactory.cxx
*
* Created on: Feb 23, 2016
* Author: markus
*/
#include "AliAODTrack.h"
#include "AliESDtrackCuts.h"
#include "AliEmcalTrackSelection.h"
#include "AliEmcalTrackSelectionESD.h"
#include "AliEmcalTrackSelectionAOD.h"
#include "AliEmcalTriggerOfflineSelection.h... |
<commit_before>/**
* \file
* \brief ThreadList class header
*
* \author Copyright (C) 2014-2015 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
*
* \par License
* 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
* distribute... |
<commit_before>/*
Copyright (c) 2003, Magnus Jonsson
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 cond... |
<commit_before>/*
Copyright © 2010, 2011, 2012 Vladimír Vondruš <mosra@centrum.cz>
This file is part of Magnum.
Magnum is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License version 3
only, as published by the Free Software Foundation.
... |
<commit_before>/*
Copyright (C) 2013 Martin Klapetek <mklapetek@kde.org>
Copyright (C) 2014 David Edmundson <davidedmundson@kde.org>
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 ... |
<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 "cpu/view.h"
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <ppapi/cpp/completion_callback.h>
#include <p... |
<commit_before>
#include <cv.h>
#include "opencv2/opencv.hpp"
#include <SongLoader.h>
#include <SongPlayer.h>
//for the rasperry pi
#ifndef INT64_C
#define INT64_C(c) (c ## LL)
#define UINT64_C(c) (c ## ULL)
#endif
extern "C" {
#include <SDL.h>
#include <SDL_thread.h>
#include <SDL_ttf.h>
}
#include <iostream>
#i... |
<commit_before>/*
* Copyright (c) 2014 Kyle Isom <kyle@tyrfingr.is>
*
* 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 "... |
<commit_before>/// random
// Random implements a pseudo random number generator (PRNG).
// The PRNG is a nonlinear additive feedback random number generator using 256 bytes of state
// information and a period of up to 2^69.
// @module random
#include "Random.h"
#include <Poco/Exception.h>
int luaopen_poco_random(lua... |
<commit_before>//===--- AccessSummaryAnalysis.cpp - SIL Access Summary Analysis ----------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http... |
<commit_before>/** ==========================================================================
* 2013 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more inf... |
<commit_before>
/**********************************************************************************
* Project: TMVA - a Root-integrated toolkit for multivariate data analysis *
* Package: TMVA *
* Classes: PDEFoamDistr ... |
<commit_before>#include "gamelib/core/Game.hpp"
#include <SFML/Graphics.hpp>
#include <climits>
#include "gamelib/core/GameState.hpp"
#include "gamelib/utils/log.hpp"
#include "gamelib/core/event/EventManager.hpp"
#include "gamelib/events/SFMLEvent.hpp"
#include "gamelib/core/input/InputSystem.hpp"
#include "imgui-SFML... |
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* 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 ... |
<commit_before>/* mbed Microcontroller Library
* Copyright (c) 2018 ARM Limited
*
* 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><commit_msg>Control: fix return status for mpc controller submodule<commit_after><|endoftext|> |
<commit_before>// The libMesh Finite Element Library.
// Copyright (C) 2002-2015 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 Foundation; eit... |
<commit_before>/******************************************************************************
SDL Rectangle Primitive
Copyright (c) 2013 Jeffrey Carpenter
All rights reserved.
******************************************************************************/
#include "SDL_Rectangle.hpp"
nom::Rectangle::Rectan... |
<commit_before>#include "x_client_thumbnail_gl.hpp"
#include <xcb/composite.h>
#include <xcb/xcb_renderutil.h>
x_client_thumbnail::x_client_thumbnail(x_connection & c,
const rectangle & rect,
const xcb_window_t & window,
... |
<commit_before>/*************************************************************************
*
* $RCSfile: accessiblestatesethelper.cxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: sab $ $Date: 2002-02-20 12:45:28 $
*
* The Contents of this file are made available subject to the terms of
* either of th... |
<commit_before>// Copyright 2018 The SwiftShader 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
//
// Un... |
<commit_before>#include "xchainer/python/device.h"
#include <memory>
#include <sstream>
#include "xchainer/backend.h"
#include "xchainer/context.h"
#include "xchainer/device.h"
#include "xchainer/python/common.h"
namespace xchainer {
namespace py = pybind11; // standard convention
class PyDeviceScope {
public:
... |
<commit_before>//**************************************************************************************************
//
// OSSIM Open Source Geospatial Data Processing Library
// See top level LICENSE.txt file for license information
//
//**************************************************************************... |
<commit_before>/**
* This file is part of the "FnordMetric" project
* Copyright (c) 2014 Paul Asmuth, Google Inc.
*
* Licensed under the MIT license (see LICENSE).
*/
#include <stdlib.h>
#include <assert.h>
#include "barchart.h"
#include "domain.h"
/**
* todo:
* - stacked
* - labels inside/outside
* - ca... |
<commit_before>/*****************************************************************************
* Licensed to Qualys, Inc. (QUALYS) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* QUALYS licenses this fil... |
<commit_before>/*****************************************************************************
* Licensed to Qualys, Inc. (QUALYS) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* QUALYS licenses this fil... |
<commit_before>/*************************************************************************
*
* $RCSfile: EventThread.hxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: fs $ $Date: 2001-08-22 13:57:07 $
*
* The Contents of this file are made available subject to the terms of
* either of the following li... |
<commit_before>#include "Flow.hpp"
#include <cmath>
#include <assert.h>
namespace Slic3r {
/* This constructor builds a Flow object from an extrusion width config setting
and other context properties. */
Flow
Flow::new_from_config_width(FlowRole role, const ConfigOptionFloatOrPercent &width, float nozzle_diameter,... |
<commit_before>#include <assert.h>
#include <stdio.h>
#include <atomic>
#include <new>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <limits.h>
#include <pthread.h>
#include <signal.h>
#include <setjmp.h>
#include <errno.h>
#include <sys/wait.h>
#include <sys/mman.h>
#include "mtrace.h"
#include ... |
<commit_before>/** @file gsGeometry.hpp
@brief Provides implementation of Geometry default operatiions.
This file is part of the G+Smo library.
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 obt... |
<commit_before>#include <debug.hpp>
#include <newDishWindow.hpp>
#include "ui_newDishWindow.h"
NewDishWindow::NewDishWindow(QWidget *parent) :
QDialog {parent},
ui {new Ui::NewDishWindow},
foodStringList {new QStringList},
itemListModel {new QStringListModel {*foodStringList, NULL}} {
ui->setupUi... |
<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 2018 The Apollo 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 ... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: vtkHardwareSelectionPolyDataPainter.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.ht... |
<commit_before>/** Copyright (C) 2017-2018 European Spallation Source */
//===----------------------------------------------------------------------===//
///
/// \file
/// Unit tests for MultiBladeEventBuilder using Google Test.
/// Here the various counters are tested.
///
/// Author: Carsten Søgaard, Niels Bohr Inst... |
<commit_before>#ifndef PLUGIN_H
#define PLUGIN_H
#include <functional>
#include <memory>
#include "wayfire/util.hpp"
#include "wayfire/bindings.hpp"
#include <wayfire/nonstd/wlroots.hpp>
class wayfire_config;
namespace wf
{
class output_t;
/**
* Plugins can set their capabilities to indicate what kind of plugin th... |
<commit_before>/*
* Software License Agreement (BSD License)
*
* Copyright (c) 2012, 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... |
<commit_before>/*
* Copyright (c) 2013 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.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.