text
stringlengths
54
60.6k
<commit_before>#include "mpdas.h" #define ROOTURL "http://ws.audioscrobbler.com/2.0/" #define APIKEY "a0ed2629d3d28606f67d7214c916788d" #define SECRET "295f31c5d28215215b1503fb0327cc01" CAudioScrobbler* AudioScrobbler = 0; #define CLEANUP() _response.clear() size_t writecb(void* ptr, size_t size, size_t nmemb, v...
<commit_before>/* Copyright (C) 2012 Aleix Pol <aleixpol@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 Foundation; either version 2.1 of the License, or (at your option) any...
<commit_before><commit_msg>INTEGRATION: CWS fwk79 (1.2.62); FILE MERGED 2007/12/13 06:18:07 cd 1.2.62.1: #i84193# Add merged command URLs to the list of dirty images<commit_after><|endoftext|>
<commit_before>/*************************************************************************** FilterPMail.cxx - Pegasus-Mail import ------------------- begin : Sat Jan 6 2001 copyright : (C) 2001 by Holger Schurig ...
<commit_before>#ifndef STAN_MATH_FWD_MAT_FUN_TRACE_QUAD_FORM_HPP #define STAN_MATH_FWD_MAT_FUN_TRACE_QUAD_FORM_HPP #include <boost/type_traits.hpp> #include <stan/math/prim/mat/err/check_multiplicable.hpp> #include <stan/math/prim/mat/err/check_square.hpp> #include <stan/math/fwd/mat/fun/multiply.hpp> #include <stan/m...
<commit_before>/* * Copyright (C) 2008 Apple Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, thi...
<commit_before>/******************************************************************* KNotes -- Notes for the KDE project Copyright (c) 1997-2005, The KNotes Developers 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...
<commit_before><commit_msg>remove SJIS text<commit_after><|endoftext|>
<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 "base/stringprintf.h" #include "base/string_piece.h" #include "chrome/test/base/v8_unit_test.h" V8UnitTest::V8UnitTest() {} ...
<commit_before><commit_msg>Pass mesh by const& in new texture extraction<commit_after><|endoftext|>
<commit_before>/* <x0/plugins/vhost.cpp> * * This file is part of the x0 web server project and is released under LGPL-3. * http://www.xzero.ws/ * * (c) 2011 Christian Parpart <trapni@gentoo.org> * * -------------------------------------------------------------------------- * * plugin type: hostname resolver ...
<commit_before>#include "process_command_line_arguments.h" #include "get_code.h" #include "parse.h" #include "translate.h" #include <iostream> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/xml_parser.hpp> #include <boost/format.hpp> using namespace thewizardplusplus::wizard_basic_3; using name...
<commit_before><commit_msg>Support drop of mails on todo list.<commit_after><|endoftext|>
<commit_before>#include "Example1.h" #include <FrameView.h> #include <TextLabel.h> #include <LinearLayout.h> #include <Button.h> #include <ScrollLayout.h> #include <Switch.h> #include <TextField.h> #include <ImageElement.h> #include <iostream> using namespace std; Example1::Example1() : FWApplication("com.sometrik....
<commit_before>/** @file A brief file description @section license License 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 fi...
<commit_before>// This is the program to simulate the dynamic of a rocking block by using the Siconos platform //================================================================================================================== #include "SiconosKernel.hpp" #include <stdlib.h> using namespace std; #define PI 3.14159 #de...
<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 WITH...
<commit_before>#ifndef REMAPFILTERFACTORY_HPP #define REMAPFILTERFACTORY_HPP #include "bridge.h" #include "ApplicationFilter.hpp" #include "ConfigFilter.hpp" #include "DeviceFilter.hpp" #include "ElapsedTimeSinceLastPressedFilter.hpp" #include "IOLogWrapper.hpp" #include "InputSourceFilter.hpp" #include "LastPressedPh...
<commit_before>#define DEBUG 1 /** * File : A.cpp * Author : Kazune Takahashi * Created : 11/2/2019, 1:43:18 PM * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> #include <algorithm> #include <vector> #include <string> #include <complex> #include <tuple> #include <queue> #include <stack...
<commit_before>#include <iostream> #include <vector> #include <map> #include <node.h> #include "PSATResult.h" #include "calculator/EstimateFLA.h" using namespace v8; using namespace std; Isolate* iso; Local<Object> inp; //todo assert exist double Get(const char *nm) { return inp->ToObject()->Get(String::NewFromUt...
<commit_before><commit_msg>Power: Fix compile error from previous push.<commit_after><|endoftext|>
<commit_before><commit_msg>INTEGRATION: CWS ooxtablefilter (1.1.2); FILE ADDED 2008/06/10 11:57:47 sj 1.1.2.2: updating license text 2008/03/28 20:02:31 sj 1.1.2.1: initial version<commit_after><|endoftext|>
<commit_before>/* -*- coding: utf-8; mode: c++; tab-width: 3; indent-tabs-mode: nil -*- Copyright 2010, 2011, 2012, 2013, 2014, 2015 Raffaello D. Di Napoli This file is part of Abaclade. Abaclade is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as publishe...
<commit_before>// Part of the apollo library -- Copyright (c) Christian Neumüller 2015 // This file is subject to the terms of the BSD 2-Clause License. // See LICENSE.txt or http://opensource.org/licenses/BSD-2-Clause #ifndef APOLLO_BUILTIN_TYPES_HPP_INCLUDED #define APOLLO_BUILTIN_TYPES_HPP_INCLUDED APOLLO_BUILTIN_T...
<commit_before>/* * The MIT License (MIT) * * Copyright (c) 2016 Julian Ganz * * 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 rig...
<commit_before>#include <ros/ros.h> #include "arduino.h" //#include <core_msgs/Odom.h> #include <buzzmobile/CarPose.h> //#include <core_msgs/MotionCommand.h> #include <std_msgs/Bool.h> using namespace std; const double ticksPerRev = 3600; const double wheelCirc = 2.198; ros::Publisher encoder_pub; ros::Subscriber co...
<commit_before>/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "gm.h" #include "SkCanvas.h" #include "SkPath.h" #include "SkGradientShader.h" #include "SkTypeface.h" static SkShader* make_heatGradient(const SkPoin...
<commit_before>// @(#)root/net:$Name: $:$Id: TGrid.cxx,v 1.9 2005/05/20 09:59:35 rdm Exp $ // Author: Fons Rademakers 3/1/2002 /************************************************************************* * Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. * * All rights reserved. ...
<commit_before>/** * \file * \brief ContiguousRange template class header * * \author Copyright (C) 2014-2016 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...
<commit_before>#include <cstdlib> #include <iostream> #include <list> #include <set> #include <vector> int g_capacity_a = 5; int g_capacity_b = 3; int g_target = 4; struct State { State(int a, int b) : a(a), b(b), parent(NULL) {} int a; int b; const State* parent; bool operator<(const State& rhs) const { ...
<commit_before>#pragma once #include <math.h> namespace lda_util { inline bool valid_probability_vector(const std::vector<float> &p){ float sum = 0; for(auto x: p){ if(std::isfinite(x) == false) return false; if(x < 0) return false; sum+=x; } ...
<commit_before>#include <iostream> #include <vector> #include <map> #include <node.h> #include "PSATResult.h" #include "calculator/EstimateFLA.h" #include "calculator/MotorCurrent.h" #include "calculator/MotorPowerFactor.h" #include "calculator/OptimalPrePumpEff.h" #include "calculator/OptimalSpecificSpeedCorrection.h...
<commit_before><commit_msg>Fix reversed bilerp setting in GrTextContext in r4773<commit_after><|endoftext|>
<commit_before><commit_msg>Fixes compilation bug.<commit_after><|endoftext|>
<commit_before>/* * \file example0.cpp * \author Mehdi Benallegue * \date 2014 * \brief This file shows the normal use of the SCH library: * The simplest proximity query * * sch-core is an Efficient implementation of GJK algorithm for * proximity queries (coll...
<commit_before>/** * @file lllandmarklist.cpp * @brief Landmark asset list class * * $LicenseInfo:firstyear=2002&license=viewergpl$ * * Copyright (c) 2002-2009, Linden Research, Inc. * * Second Life Viewer Source Code * The source code in this file ("Source Code") is provided by Linden Lab * to you under t...
<commit_before><commit_msg>Fix overloads of function to use intrinsic integer types<commit_after><|endoftext|>
<commit_before>// @(#)root/tmva $Id$ // Author: Andrzej Zemla /********************************************************************************** * Project: TMVA - a Root-integrated toolkit for multivariate data analysis * * Package: TMVA * ...
<commit_before>#pragma once //=========================================================================// /*! @file @brief Test TCP Protocol@n Copyright 2017 Kunihito Hiramatsu @author 平松邦仁 (hira@rvf-rc45.net) */ //=========================================================================// #include ...
<commit_before>#include <iostream> #include <cmath> #include <algorithm> using namespace std; #define MAX_PAIR_NUM 1000 typedef struct Record { int pos; int pixel; } Record; int pixel_pair[MAX_PAIR_NUM][2]; int img_width; Record result[MAX_PAIR_NUM * 9]; bool cmp(const Record& a, const Record& b); int get_pix...
<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>#include "mitkClippedSurfaceBoundsCalculator.h" #include "vtkPolyData.h" #include "vtkPlaneSource.h" #include "vtkPPolyDataNormals.h" #include "mitkGeometry2D.h" #include "mitkSliceNavigationController.h" #include "mitkLine.h" #include "vtkSmartPointer.h" #define ROUND_P(x) ((int)((x)+0.5)) mitk::Clipp...
<commit_before>#include "behaviour_xsensfollowing.h" #include <QtGui> #include <Behaviour_XsensFollowing/xsensfollowingform.h> #include <Framework/Angles.h> Behaviour_XsensFollowing::Behaviour_XsensFollowing(QString id, Module_ThrusterControlLoop *tcl, Module_XsensMTi *xsens) : RobotBehaviour(id) { this->xsens...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2016. All rights reserved */ #include "../StroikaPreComp.h" #include <set> #include "StroikaConfig.h" #include "../Characters/SDKString.h" #include "../Characters/Format.h" #include "../Characters/String_Constant.h" #include "../Ex...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2014. All rights reserved */ #ifndef _Stroika_Foundation_Memory_SharedByValue_inl_ #define _Stroika_Foundation_Memory_SharedByValue_inl_ 1 /* ******************************************************************************** **************************...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2017. All rights reserved */ #include "../StroikaPreComp.h" #include <algorithm> #include <cstdlib> #include "../../Foundation/Characters/Format.h" #include "../../Foundation/Characters/String_Constant.h" #include "../../Foundation/Characters/ToString.h...
<commit_before>/*========================================================================= * * 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 ...
<commit_before>/*========================================================================= * * 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 ...
<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 ...
<commit_before>/// \file AddTaskNucleiYield.C /// \brief Simple macro to add the task to a grid job /// /// The task is here added several times to analyse different particle species and to investigate /// different set of cuts in only one run. /// /// \author Maximiliano Puccio <maximiliano.puccio@cern.ch>, University...
<commit_before>/************************************************************************** * Copyright(c) 1998-2015, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>#define NDEBUG #include <QLinkedList> #include <QVector> #include <QSet> #include <QMap> #include <QHash> #include <stdlib.h> #include <stdio.h> #include <stdbool.h> #include <string.h> #include <sys/types.h> #include <sys/resource.h> #include <sys/time.h> using namespace std; unsigned long g_result;...
<commit_before>/** * Copyright (C) 2016 3D Repo Ltd * * 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 (at your option) any later version. * * T...
<commit_before>#include "QPlayControl.h" #include <QToolButton> #include <QWidget> #include <QComboBox> QPlayControl::QPlayControl( QWidget *parent /*= 0 */ ) : currentTime( 0.0 ), skipTime( 0.01 ), slomoFactor( 1.0 ), minTime( 0.0 ), maxTime( 1.0 ), autoExtendRange( false ) { playButton = new QToolButton( this ); ...
<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-2012 Torus Knot Software Ltd Permission is hereby granted, free of charge, ...
<commit_before>#include <SensekitUL/streams/Depth.h> #include <SenseKit/Plugins/plugin_capi.h> #include <SenseKit/sensekit_capi.h> #include <Sensekit/SenseKit.h> #include <SenseKit/sensekit_types.h> #include <memory> #include <chrono> #include <iostream> #include <iomanip> #include <SFML/Graphics.hpp> #include "LitD...
<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 "cinder/app/AppNative.h" #include "cinder/app/RendererGl.h" #include "cinder/gl/gl.h" #include "Choreograph.hpp" #include "cinder/Easing.h" using namespace ci; using namespace ci::app; using namespace std; using namespace choreograph; class ChoreographDevApp : public AppNative { public: v...
<commit_before>/*========================================================================= * * 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 * * ...
<commit_before>/** * @file examples/megasync.cpp * @brief sample daemon, which synchronizes local and remote folders * * (c) 2013 by Mega Limited, Wellsford, New Zealand * * This file is part of the MEGA SDK - Client Access Engine. * * Applications using the MEGA API must present a valid application key * and ...
<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>/* * FilePusher: service which monitors the file system and pushes files to * a remote repository * * 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 ...
<commit_before>#include "../include/cIGZApp.h" #include "../include/cIGZFrameWork.h" #include "../include/cISC4App.h" #include "../include/cRZCOMDllDirector.h" static const uint32_t kExtraCheatsPluginCOMDirectorID = 0x8bbd9623; static const uint32_t kGZIID_cISC4App = 0x26ce01c0; class cSC4ExtraCheatsPluginCOMDirector...
<commit_before>#include <stdlib.h> #include <time.h> #include "SDL.h" int main(int argc, char *argv[]) { SDL_Surface* Surf_Display; SDL_Window *sdlWindow; SDL_Renderer *sdlRenderer; SDL_CreateWindowAndRenderer(0, 0, SDL_WINDOW_FULLSCREEN_DESKTOP, &sdlWindow, &sdlRenderer); SDL_SetRenderDrawColor(sdlRenderer, 0,...
<commit_before>/* * Vulkan * * Copyright (C) 2014 LunarG, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use,...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/hwpf/fapi2/include/fapi2_vpd_access.H $ ...
<commit_before>//===- llvm-link.cpp - Low-level LLVM linker ------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: SwNodeNum.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: obo $ $Date: 2005-11-17 16:21:26 $ * * The Contents of this file are mad...
<commit_before>/* * Written by Nitin Kumar Maharana * nitin.maharana@gmail.com */ #include <iostream> using namespace std; template <class T> struct node { T val; struct node *next; }; template <class T> class Stack { struct node<T> *top; public: Stack() { top = NULL; } void push(T item) { ...
<commit_before> // TLE SOLUTION // class Solution { // public: // /* // * @param n an integer // * @return the nth prime number as description. // */ // set<int> a; // bool isUgly(int i){ // int j=i; // while (j % 2==0) j=j/2; // while (j % 3==0) j=j/3; // while (j % 5...
<commit_before>#include "InstructionParser.hpp" #include "gtest/gtest.h" using namespace ::testing; struct InstructionParserTest : public Test { InstructionParser parser; }; TEST_F(InstructionParserTest, ParserShouldDeclineUnknownInstruction) { EXPECT_THROW(parser.parseInstructions("Instructions"), InstructionP...
<commit_before>/* * Copyright (C) 2019 ScyllaDB */ /* * This file is part of Scylla. * * Scylla 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 * (at your op...
<commit_before>/** * 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 limitation the rights * to use, copy, modify, merge,...
<commit_before>#include <primesieve/soe/PrimeSieve.h> #include <iostream> unsigned int sum = 0; void callback(unsigned int prime) { sum += prime; } int main() { PrimeSieve ps; ps.generatePrimes(2, 1000, callback); std::cout << "Sum of the primes below 1000 = " << sum << std::endl; return 0; } <commit_msg>n...
<commit_before>// @(#)root/tree:$Name: $:$Id: TMethodBrowsable.cxx,v 1.1 2004/10/17 11:55:47 brun Exp $ // Author: Axel Naumann 14/10/2004 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. ...
<commit_before>#include <moe/moe.hpp> #include <iostream> #ifdef _MSC_VER #include <string> // needed with MSVC 19.0 for overloaded << on std::string #endif #include <chrono> #include <unordered_map> void remove_duplicates(std::string &str) { std::string unique = ""; unique += str[0]; for(unsigned in...
<commit_before>/* * #%L * %% * Copyright (C) 2011 - 2017 BMW Car IT GmbH * %% * 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>/*------------------------------------------------------------------------ * (The MIT License) * * Copyright (c) 2008-2011 Rhomobile, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * i...
<commit_before>/****************************************************************************** * This file is part of the Gluon Development Platform * Copyright (C) 2010 Shantanu Tushar <jhahoneyk@gmail.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Le...
<commit_before>//===--- ObjCMT.cpp - ObjC Migrate Tool -----------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#include "oem/ibm/libpldm/state_set.h" #include "oem/ibm/libpldmresponder/oem_ibm_handler.hpp" /** @brief PLDM OEM State Set range as per DSP0249_1.1.0 specification */ enum pldm_oem_state_set_id_codes { PLDM_OEM_STATE_SET_START = 32768, PLDM_OEM_STATE_SET_END = 65535, }; /** @brief PLDM OEM...
<commit_before>//===- LoopInfo.cpp - Natural Loop Calculator -----------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#include <iostream> #include <fstream> #include <string> #include <vector> #include <map> #include <math.h> #include <cstdlib> #include <iomanip> #include "VerditeWriter.h" #include "../intField.h" #include "../doubleField.h" #include "../progressBar.h" VerditeWriter::VerditeWriter(){} VerditeWriter::...
<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>// Copyright (c) 2018 PaddlePaddle 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 // /...
<commit_before>/* This file is part of the KDE libraries Copyright (C) 2010 Dominik Haumann <dhaumann 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 version 2 as published by the Free Software Foundation. This l...
<commit_before>#include <iostream> #include <boost/numeric/odeint.hpp> #include <vexcl/generator/symbolic.hpp> namespace odeint = boost::numeric::odeint; typedef double value_type; typedef vex::generator::symbolic<value_type> state_type; namespace boost { namespace numeric { namespace odeint { template<> struct is_...
<commit_before>/* * Copyright 2011, Blender Foundation. * * 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 2 * of the License, or (at your option) any later version. * * Th...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: KStatement.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: kz $ $Date: 2006-07-06 14:21:35 $ * * The Contents of this file are mad...
<commit_before>#include <iostream> #include <fstream> #include <chrono> #include <cstdlib> #define VIENNACL_WITH_OPENCL #define AGGREGATION #define AMGCL_PROFILING #include <amgcl/amgcl.hpp> #ifdef AGGREGATION # include <amgcl/aggregation.hpp> #else # include <amgcl/interp_classic.hpp> #endif #include <amgcl/leve...
<commit_before>#include "frames.h" frameGPUi::frameGPUi (int w, int h, bool full) { glGenTextures (1, &plane); glBindTexture (GL_TEXTURE_2D, plane); glTexParameteri (GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); glTexParameteri (GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); glTexImage2D (GL_TEXTURE_2D, ...
<commit_before>/************************************************************************* * * $RCSfile: valueproperties.cxx,v $ * * $Revision: 1.1 $ * * last change: $Author: fs $ $Date: 2000-12-13 10:36:36 $ * * The Contents of this file are made available subject to the terms of * either of the followin...
<commit_before>/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: saxhelper.hxx,v $ * $Revision: 1...
<commit_before>// Copyright 2016 Jonathan Buchanan. // This file is part of Sunglasses, which is licensed under the MIT License. // See LICENSE.md for details. #include "SunCamera.h" #include "SunMesh.h" #include "SunModel.h" #include "SunPrimitives.h" #include "SunRenderer.h" #include "SunShader.h" #include "SunTextRe...
<commit_before>// this file defines the FilterExamples for the test driver // and all it expects is that you have a function called RegisterTests #include <iostream> #include "itkTestMain.h" void RegisterTests() { REGISTER_TEST(BilateralImageFilterTest); REGISTER_TEST(BinaryMinMaxCurvatureFlowImageFilterTest); REGIS...
<commit_before>#include "c_dbxml.h" #include <dbxml/DbXml.hpp> #include <string> #define ALIAS "c_dbxml" extern "C" { struct c_dbxml_t { DbXml::XmlManager manager; DbXml::XmlUpdateContext context; DbXml::XmlContainer container; DbXml::XmlContainerConfig config; bool error; std::string filename; std::strin...
<commit_before><commit_msg>-Werror,-Wunused-const-variable<commit_after><|endoftext|>
<commit_before>/*----------------------------------------------------------------------------- This source file is part of Hopsan NG Copyright (c) 2011 Mikael Axin, Robert Braun, Alessandro Dell'Amico, Björn Eriksson, Peter Nordin, Karl Pettersson, Petter Krus, Ingo Staack This file is provided "as is", w...
<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>#include "otc/write_dot.h" #include <algorithm> #include "otc/embedded_tree.h" #include "otc/embedding.h" #include "otc/tree.h" #include "otc/tree_data.h" #include "otc/tree_iter.h" #include "otc/tree_operations.h" namespace otc { typedef std::pair<const NodeWithSplits *, std::string> ToDotKey; typedef...