text
stringlengths
54
60.6k
<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-2014 Torus Knot Software Ltd Permission is hereby granted, free of charge,...
<commit_before>/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "src/gpu/GrTextureMaker.h" #include "include/private/GrRecordingContext.h" #include "src/gpu/GrColorSpaceXform.h" #include "src/gpu/GrGpu.h" #include ...
<commit_before>// @(#)root/krb5auth:$Id$ // Author: Maarten Ballintijn 27/10/2003 #include <stdlib.h> #include <errno.h> #include <sys/types.h> #include <netinet/in.h> #ifndef WIN32 # include <unistd.h> #endif #include "TKSocket.h" #include "TSocket.h" #include "TError.h" extern "C" { // missing from "krb5.h" e...
<commit_before>/* Copyright 2015-2020 Igor Petrovic Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to i...
<commit_before>#include <iostream> using namespace std; int main() { int x, y, z; cin >> x >> y >> z; if (x > y) { if (x > z) { cout << x; } } else { if (y > z) { cout << y; } else { cout << z; } } return 0; } <commi...
<commit_before>// Time: O(k) // Space: O(1) #include <vector> #include <queue> using namespace std; class Solution { public: /* * @param k: The number k. * @return: The kth prime number as description. */ long long kthPrimeNumber(int k) { long long ugly_number = 0; priority_qu...
<commit_before>// Time: O(k) // Space: O(1) // Heap solution. class Solution { public: /* * @param k: The number k. * @return: The kth prime number as description. */ long long kthPrimeNumber(int k) { long long ugly_number = 0; priority_queue<long long, vector<long long>, greate...
<commit_before>/** * \file */ #pragma once #include "detail/socket.hpp" #include <boost/asio/io_service.hpp> #include <boost/optional.hpp> #include <boost/system/error_code.hpp> #include <libpq-fe.h> #include <mpark/variant.hpp> #include <cassert> namespace asio_pq { /** * An RAII wrapper for a pointer to a * `...
<commit_before><commit_msg>Fix an elusive crash in LLDBMemoryReader::readBytes().<commit_after><|endoftext|>
<commit_before>/* Copyright © 2001-2017, Canal TP and/or its affiliates. All rights reserved. This file is part of Navitia, the software to build cool stuff with public transport. Hope you'll enjoy and contribute to this project, powered by Canal TP (www.canaltp.fr). Help us simplify mobility and open public ...
<commit_before>/* This file is part of Magnum. Original authors — credit is appreciated but not required: 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 — Vladimír Vondruš <mosra@centrum.cz> 2018 — ShaddyAQN <ShaddyAQN@gmail.com> 2018 — Jonathan Hale <squareys@g...
<commit_before><commit_msg>QGCMapTileSet: Add new errorOccurred for Qt 5.15 builds<commit_after><|endoftext|>
<commit_before>/* * Software License Agreement (Apache License) * * Copyright (c) 2014, Southwest Research Institute * * 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.ap...
<commit_before>#include "fft.h" #include <stddef.h> #include <complex> #include <vector> namespace pfi { namespace math { template void fft<std::complex<double>*>(std::complex<double>*, std::complex<double>*); template void ifft<std::complex<double>*>(std::complex<double>*, std::complex<double>*); template void fft2d...
<commit_before>/** * @file hash_test.cpp * @ingroup algo * @brief Simple Hash functions. * * Copyright (c) 2013 Sebastien Rombauts (sebastien.rombauts@gmail.com) * * Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt * or copy at http://opensource.org/licenses/MIT) */ #include "al...
<commit_before>#include "p1Scene.h" #include "p2Scene.h" //puzzle classes #include "puzzle.h" #include "partner.h" #include "gameController.h" #include "DataSetting.h" USING_NS_CC; using namespace ui; Scene* firstPuzzle::createScene() { // 'scene' is an autorelease object auto scene = Scene::create(); ...
<commit_before>#include "ultrasonic_sensors_controller.h" //--------------------------------------------------------------------- t_ultrasonic_sensors_controller::t_ultrasonic_sensors_controller (void) { num_sensors = 0; sensors = NULL; } //--------------------------------------------------------------------- void e...
<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: moduldlg.hxx,v $ * $Revision: 1....
<commit_before>/* ------------------------------------------------------------------ * Copyright (C) 1998-2009 PacketVideo * * 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://...
<commit_before>#include "3RVX.h" int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { using namespace Gdiplus; hInst = hInstance; GdiplusStartupInput gdiplusStartupInput; GdiplusStartup(&gdiplusToken, &gdiplusStartupInput, NULL); main...
<commit_before>// ======================================================================== // // Copyright 2009-2013 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); ...
<commit_before>/* * Copyright 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
<commit_before>//===----------------------------------------------------------------------===// // // PelotonDB // // peloton_service.cpp // // Identification: src/backend/networking/peloton_service.cpp // // Copyright (c) 2015, Carnegie Mellon University Database Group // //===-----------------...
<commit_before>/* * Copyright (c) 2010 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware implementati...
<commit_before>/*********************************************************************** filename: CEGuiOgreBaseApplication.cpp created: 9/3/2004 author: Paul D Turner *************************************************************************/ /********************************************************...
<commit_before>#ifndef ARGPARSE_VALUE_HPP #define ARGPARSE_VALUE_HPP #include <iostream> namespace argparse { template<class T> class ConvertedValue { public: typedef T value_type; public: void set_value(T val) { errored_ = false; value_ = val; } void set_er...
<commit_before>//===- HexagonTargetTransformInfo.cpp - Hexagon specific TTI pass ---------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // /// \file /// Thi...
<commit_before>//===--- RenamingAction.cpp - Clang refactoring library -------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>//===- BoundsChecking.cpp - Instrumentation for run-time bounds checking --===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>// -*- Mode: C++; tab-width: 2; -*- // vi: set ts=2: // // $Id: geometricObject.C,v 1.25.16.1 2007/03/25 22:02:22 oliver Exp $ // #include <BALL/VIEW/KERNEL/geometricObject.h> #include <BALL/VIEW/DATATYPE/colorExtensions.h> using std::endl; using std::ostream; using std::istream; namespace BALL { nam...
<commit_before>/* * ConnectionProbe.hpp * * Created on: Apr 25, 2009 * Author: rasmussn */ #ifndef CONNECTIONPROBE_HPP_ #define CONNECTIONPROBE_HPP_ #include "../connections/HyPerConn.hpp" namespace PV { class ConnectionProbe { public: ConnectionProbe(int kPre); ConnectionProbe(int kxPre, int kyPre...
<commit_before>/* * Copyright 2010 MQWeb - Franky Braem * * Licensed under the EUPL, Version 1.1 or – as soon they * will be approved by the European Commission - subsequent * versions of the EUPL (the "Licence"); * You may not use this work except in compliance with the * Licence. * You may obtain a copy of th...
<commit_before>/* * Copyright (C) 2003-2006 Funambol * * 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. * * This ...
<commit_before>// IBM_PROLOG_BEGIN_TAG // This is an automatically generated prolog. // // $Source: src/usr/testcore/lib/synctest.H $ // // IBM CONFIDENTIAL // // COPYRIGHT International Business Machines Corp. 2011 // // p1 // // Object Code Only (OCO) source materials // Licensed Internal Code Source Material...
<commit_before><commit_msg>WM_CHAR - CP_THREAD_ACP used instead of CP_ACP<commit_after><|endoftext|>
<commit_before>#include "King.h" #include "Rook.h" #include "Board.h" namespace Chess { King::King(const Position& position, bool white) : Piece(position, white) { _hasMoved = false; } void King::move(const Position& newPosition) { position = newPosition; _hasMoved = true; } bool King::hasMoved()const{ ...
<commit_before>#include "Halide.h" using namespace Halide; #include <iostream> #include <limits> #include "benchmark.h" #include "halide_image_io.h" using namespace Halide::Tools; using std::vector; int main(int argc, char **argv) { if (argc < 3) { std::cerr << "Usage:\n\t./interpolate in.png out.png\...
<commit_before>#include "pch.h" #include "android_http_request.h" #include <httpClient/httpClient.h> #include <vector> HttpRequest::HttpRequest(AsyncBlock* asyncBlock, JavaVM* javaVm, jobject applicationContext, jclass httpRequestClass, jclass httpResponseClass) : m_httpRequestInstance(nullptr), m_asyncBlock...
<commit_before>// Jubatus: Online machine learning framework for distributed environment // Copyright (C) 2014 Preferred Infrastructure and Nippon Telegraph and Telephone Corporation. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // Lic...
<commit_before>#include "stdafx.h" #include "CoreContextTest.h" #include <set> class Foo{}; class Bar{}; TEST_F(CoreContextTest, TestEnumerateChildren) { // Create a few anonymous children: AutoCreateContext child1; AutoCreateContext child2; AutoCreateContext child3; // Enumerate and see what we get back: ...
<commit_before>/* * Copyright (C) 2008 Apple Inc. All Rights Reserved. * Copyright (C) 2013 Google 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 m...
<commit_before>// This file is a part of the OpenSurgSim project. // Copyright 2012-2013, SimQuest Solutions 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.apac...
<commit_before>#include "BottomUpTW.hh" #include <algorithm> #include <iostream> #include <string> #include <sstream> // for ostringstream #include <cassert> int bottomUpTW(Graph G) { VSet S(G); //Remove elements in the max-clique of G VSet maxClique = exactMaxClique(G); std::vector<Vertex> cliqueVec(maxClique.s...
<commit_before>/* * Vulkan Samples Kit * * Copyright (C) 2015 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 ri...
<commit_before>/* * reconfigureVLIW.cpp * * Created on: 9 févr. 2017 * Author: simon */ #include <isa/vexISA.h> #include <transformation/reconfigureVLIW.h> unsigned int schedulerConfigurations[16] = {0x00005e00,0x0000546c,0x00005ec4,0x046c50c4,0x00005ecc,0x040c5ec4,0,0, 0x00005e64,0x44605e04,0x...
<commit_before>// // Copyright (c) 2002-2010 The ANGLE 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. // // // This file contains the posix specific functions // #include "compiler/osinclude.h" #if !defined(ANGLE_OS_POSIX) ...
<commit_before>/* * Copyright (C) 2004-2018 ZNC, see the NOTICE file for details. * * 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>// // main.cpp // DataLogger // // Created by Emmanuel Silva on 6/15/14. // Copyright (c) 2014 Emmanuel Silva. All rights reserved. // #include <iostream> #include "SchedulerReadTask.h" int main(int argc, const char * argv[]) { SchedulerReadTask scheduler(60, 10); //nos proximos 60 segundos de ...
<commit_before>// The MIT License (MIT) // Copyright (c) 2016, Microsoft // 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 // t...
<commit_before>void rec(Int_t runNumber = 0, const char* year = "08", const char *localFileName = NULL) { // Offline shifter reconstruction macro TString filename; if (!localFileName) { cout << "Going to run the reconstruction for run: " << runNumber << endl; // connect to the grid TGr...
<commit_before>/** \file augment_pda.cc * \brief Tag monographs not available for ILL as PDA * \author Johannes Riedl */ /* Copyright (C) 2017, Library of the University of Tübingen This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General...
<commit_before>/* Sirikata * main.cpp * * Copyright (c) 2008, Daniel Reiter Horn * 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 t...
<commit_before>#include <check.h> #include <stdint.h> #include "queue.h" START_TEST (test_push) { ByteQueue queue; queue_init(&queue); int length = queue_length(&queue); fail_unless(length == 0, "expected queue length of 0 but got %d", length); bool success = queue_push(&queue, 0xEF); fail_unle...
<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: dx_bitmap.hxx,v $ * $Revision: 1...
<commit_before>/* This file is part of KXForms. Copyright (c) 2007 Andre Duffeck <aduffeck@suse.de> 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 o...
<commit_before>#include <iostream> #include "acmacs-base/argc-argv.hh" #include "acmacs-base/string.hh" #include "acmacs-base/range.hh" #include "acmacs-base/stream.hh" #include "acmacs-chart-2/factory-import.hh" #include "acmacs-chart-2/chart.hh" #include "seqdb/seqdb.hh" #include "hidb-5/hidb.hh" #include "hidb-5/re...
<commit_before>using namespace std; #include "classes.h" /** This is the main function of my support deck solver. From here you may enter into three different functions: 1) Brute force support deck combination solver 2) Statistics analysis 3) Print to screen info about cards **/ ...
<commit_before>#include <iostream> #include <string> void run_part_one() { } void run_part_two() { } int main(int argc, char* argv[]) { if (argc > 1) { if (std::string(argv[1]) == "--part_two") { run_part_two(); } else { std::cout << "Usage: day4 [--part_two]" << std::endl...
<commit_before>// Copyright(c) Andre Caron, 2009-2010 // // This document is covered by the Artistic License 2.0 (Open Source Initiative // approved license). A copy of the license should have been provided alongside // this software package (see "license.rtf"). If not, the license is available // online at "http://www...
<commit_before>// coding: utf-8 // ---------------------------------------------------------------------------- /* Copyright (c) 2012, Roboterclub Aachen e.V. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condi...
<commit_before>/* * avs2wav.cpp * extract audio data as RIFF WAV format, from avs file * Copyright (C) 2010 janus_wel<janus.wel.3@gmail.com> * see LICENSE for redistributing, modifying, and so on. * */ #include "../avsutil.hpp" #include <iostream> #include <fstream> #include <iomanip> #include <string> #includ...
<commit_before>#pragma once #include "../updater.hpp" #include "../gameloophelper.hpp" #include "engine.hpp" template <class Base> class DWrapper : public rs::DrawableObjT<DWrapper<Base>>, public Base, public spn::EnableFromThis<rs::HDObj> { private: using base_dt = rs::DrawableObjT<DWrapper<Base>>; rs::I...
<commit_before>#include <silicium/error_or.hpp> #include <boost/test/unit_test.hpp> #include <system_error> BOOST_AUTO_TEST_CASE(error_or_from_value) { Si::error_or<int> value(2); BOOST_CHECK(!value.is_error()); BOOST_REQUIRE(value.get_ptr()); BOOST_CHECK_EQUAL(2, *value.get_ptr()); BOOST_CHECK_EQUAL(2, value.get...
<commit_before><commit_msg>this is a no-op, remove if<commit_after><|endoftext|>
<commit_before>#include <utils/cmd_args.hpp> #include <memory_pool.hpp> #include <complex> using double_complex = std::complex<double>; using namespace sddk; void test1() { memory_pool mp; } void test2() { memory_pool mp; mp.allocate<double_complex, memory_t::host>(1024); mp.reset<memory_t::host>(); ...
<commit_before>// // BoardPage.xaml.cpp // Implementation of the MainPage class. // #include "pch.h" #include "BoardPage.h" using namespace ygc; using namespace Platform; using namespace Windows::Foundation; using namespace Windows::Foundation::Collections; using namespace Windows::Devices::Sensors; using namespace...
<commit_before><commit_msg>added Arduino sketch to adjust for timezones<commit_after><|endoftext|>
<commit_before>/* * Directory.cpp * * Implementation of Directory class in Directory.h * * Lead author: * Dennis Egan * * Contributors: * Justin Lesko */ #include "Directory.h" #include "FCB.h" #include <iostream> #include <vector> using namespace std; /* * Default constructor */ Directory::Directory(){ ...
<commit_before>#include "ClassDiagramGenerator.h" #include <cplusplus/Overview.h> #include <cplusplus/TypeOfExpression.h> #include <cpptools/cppmodelmanager.h> #include <cpptools/typehierarchybuilder.h> #include <utils/qtcassert.h> using namespace CppTools; using namespace CPlusPlus; namespace QtcUtilities { names...
<commit_before>// Copyright (c) 2009 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/chromeos/touchpad.h" #include <stdlib.h> #include <string> #include <vector> #include "base/string_util.h" #...
<commit_before>// This header inspired P0052R5 // Copyright (C) 2011-2018 Roki. Distributed under the MIT License #ifndef INCLUDED_SROOK_SCOPE_UNIQUE_RESOURCE_HPP #define INCLUDED_SROOK_SCOPE_UNIQUE_RESOURCE_HPP #include <srook/config/attribute/visibility.hpp> #include <srook/config/cpp_predefined.hpp> #include <srook...
<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 "chrome/browser/wrench_menu_model.h" #include <algorithm> #include "app/l10n_util.h" #include "app/resource_bundle.h" #inclu...
<commit_before>// Copyright (c) 2009 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/common/child_process_host.h" #include "base/command_line.h" #include "base/compiler_specific.h" #include "base/file_p...
<commit_before>#include <iostream> #include <TDatabasePDG.h> #include <TRandom.h> #include <TF1.h> #include <TStopwatch.h> #include <AliESDtrackCuts.h> #include <AliESDtrack.h> #include <TFile.h> #include <TTree.h> #include <TRandom3.h> #include "AliToyMCEvent.h" #include "AliToyMCEventGeneratorSimple.h" ClassImp(...
<commit_before>#include "MatrixConfig.h" #include <SmurffCpp/Utils/MatrixUtils.h> #include <SmurffCpp/IO/IDataWriter.h> #include <SmurffCpp/DataMatrices/IDataCreator.h> #include <SmurffCpp/Utils/Error.h> using namespace smurff; // // Dense double matrix constructos // MatrixConfig::MatrixConfig( std::uint64_t nrow ...
<commit_before>/* This file is part of Kontact. Copyright (c) 2004 Tobias Koenig <tokoe@kde.org> 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, o...
<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 "chrome/renderer/search_extension.h" #include "base/command_line.h" #include "chrome/common/chrome_switches.h" #include "chro...
<commit_before><commit_msg>docx OMathArg can actually be more than one element<commit_after><|endoftext|>
<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) 2015 by Contributors * \file fully_connected.cc * \brief fully connect operator */ #include "./fully_connected-inl.h" #if MXNET_USE_MKL2017 == 1 #include <mkl_memory.h> #include "./mkl/mkl_memory-inl.h" #include "./mkl/mkl_fully_connected-inl.h" #endif // MXNET_USE_MKL2017 #if MXN...
<commit_before>/* * avsinfo.hpp * Declarations of global objects and functions for meta informations * Copyright (C) 2010 janus_wel<janus.wel.3@gmail.com> * see LICENSE for redistributing, modifying, and so on. * */ #ifndef AVSINFO_HPP #define AVSINFO_HPP #include <string> // global object // version number ...
<commit_before>// Copyright 2015 Maurice Fallon // Synchronized Stereo Translator // // TODO(tbd): // rgb bgr conversion // grey compression // disparity/depth conversion from device // rosparam set /compressed_listener/image_transport compressed; rosparam set /ros2lcm/stereo hand; rosrun translators ros2lcm_stereo ...
<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 "compiler/rewriter/rules/ruleset.h" #include "context/static_context.h" #include "types/root_typemanager.h" #include "types/typemanager.h" #include "system/globalenv.h" #define LOOKUP_FN( pfx, local, arity ) static_cast<function *> (rCtx.getStaticContext()->lookup_fn (pfx, local, arity)) #defin...
<commit_before>#include "read.h" #include <boost/dynamic_bitset.hpp> #include <numeric> std::string ReadBase::bit_to_str(const BitSet &bits) { size_t str_len = bits.size()/2; std::string out; out.resize(str_len); size_t i = bits.size() -1; for(size_t stridx = 0; stridx < str_len; ++stridx) { ...
<commit_before>/* * This file is part of CSSTidy. * * CSSTidy 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. * * CSSTi...
<commit_before>#include "DrawCallBatching.h" #include "dataset/Image.h" #include "render/ShaderMgr.h" #include <dtex_facade.h> #include <gl/glew.h> namespace d2d { DrawCallBatching* DrawCallBatching::m_instance = NULL; ////////////////////////////////////////////////////////////////////////// static int TEX_ID =...
<commit_before>/* * Copyright (c) 2006 The Regents of The University of Michigan * 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 copyri...
<commit_before>/* -*- C++ -*-; c-basic-offset: 4; indent-tabs-mode: nil */ /* * MODB inspection command-line tool * * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 whi...
<commit_before>/* avdeviceconfig.cpp - Kopete Video Device Configuration Panel Copyright (c) 2005-2006 by Cláudio da Silveira Pinheiro <taupter@gmail.com> Copyright (c) 2010 by Frank Schaefer <fschaefer.oss@googlemail.com> Kopete (c) 2002-2003 by the Kopete developers ...
<commit_before>#include <Render/Pipelining/Pipelines/CustomPipeline/BasicPipeline.hh> #include <Render/ProgramResources/Types/Uniform/Mat4.hh> #include <Render/ProgramResources/Types/Uniform/Mat4Array255.hh> #include <Render/ProgramResources/Types/Uniform/Vec1.hh> #include <Render/Program.hh> #include <Render/Pipelinin...
<commit_before>/* * File: RSTNode.hpp * Author: Joshua Yuen cs100vbc * Author: Jay Dey cs100vaj */ #ifndef RSTNODE_HPP #define RSTNODE_HPP #include "BSTNode.hpp" #include <stdlib.h> template <typename Data> class RSTNode : public BSTNode<Data> { protected: unsigned int priority; public: //TODO: implement t...
<commit_before>#include <mist/io/raw.h> #include <mist/draw.h> #include <iostream> #include "ct_image_window.h" #include <FL/Fl_File_Chooser.H> #include <mist/filter/median.h> #include <mist/filter/distance.h> #include <mist/filter/labeling.h> #include <mist/filter/morphology.h> #include <mist/filter/linear.h> #inclu...
<commit_before>// // libavg - Media Playback Engine. // Copyright (C) 2003-2006 Ulrich von Zadow // // 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 of the Li...
<commit_before>#pragma once #include <functional> #include <stdexcept> #include <boost/lexical_cast.hpp> #include <boost/regex.hpp> #include <boost/optional.hpp> #include "../util/html_parser.hpp" #include "../util/html_watcher.hpp" #include "../util/html_recorder.hpp" #include "../util/util.hpp" namespace supermarx...
<commit_before>/****************************************************************************** * * Copyright (C) 1990-2018, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in co...
<commit_before><commit_msg>INTEGRATION: CWS changefileheader (1.3.246); FILE MERGED 2008/04/01 15:05:23 thb 1.3.246.3: #i85898# Stripping all external header guards 2008/04/01 12:26:26 thb 1.3.246.2: #i85898# Stripping all external header guards 2008/03/31 12:19:29 rt 1.3.246.1: #i87441# Change license header to LPGL v...
<commit_before>// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2004-2006 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU ...
<commit_before>#include <reactive/buffer.hpp> #include <reactive/process.hpp> #include <reactive/variant.hpp> #include <reactive/coroutine.hpp> #include <reactive/generate.hpp> #include <reactive/consume.hpp> #include <reactive/tuple.hpp> #include <reactive/ptr_observable.hpp> #include <reactive/transform.hpp> #include...
<commit_before>/* * SessionHistory.cpp * * Copyright (C) 2009-12 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero Genera...