text
stringlengths
54
60.6k
<commit_before>/* * Copyright (c) 2011, Jim Hollinger * 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 * n...
<commit_before>// Copyright (c) 2013 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "atom/common/node_bindings.h" #include <string> #include <vector> #include "atom/common/atom_command_line.h" #include "atom/common/event_emitter_caller.h" #in...
<commit_before>/** \file normalise_and_deduplicate_language.cc * \brief Normalises language codes and removes duplicates from specific MARC record fields * \author Madeeswaran Kannan (madeeswaran.kannan@uni-tuebingen.de) * * \copyright 2018 Universitätsbibliothek Tübingen. All rights reserved. * * This pr...
<commit_before>#include "ylikuutio_string.hpp" // Include standard headers #include <iostream> // std::cout, std::cin, std::cerr #include <string> // std::string #include <vector> // std::vector #include <string.h> // strcmp, strlen namespace string { bool check_and_report_if_some_string_matches(const cha...
<commit_before>// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "generic_merge.h" #include <vespa/eval/eval/inline_operation.h> #include <vespa/eval/eval/fast_value.hpp> #include <vespa/eval/eval/wrap_param.h> #include <vespa/vespalib/util/stash....
<commit_before>//===- LoopInfo.cpp - Natural Loop Calculator -------------------------------=// // // This file defines the LoopInfo class that is used to identify natural loops // and determine the loop depth of various nodes of the CFG. Note that the // loops identified may actually be several natural loops that sha...
<commit_before>//===- LoopInfo.cpp - Natural Loop Calculator -----------------------------===// // // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. //...
<commit_before>#pragma once //=====================================================================// /*! @file @brief SEEDA03 (RX64M) メイン @copyright Copyright 2017 Kunihito Hiramatsu All Right Reserved. @author 平松邦仁 (hira@rvf-rc45.net) */ //=============================================================...
<commit_before>/* * Copyright 2010 Jonathan R. Guthrie * * 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 applicabl...
<commit_before>#ifndef STUFF_GRID_HH_INCLUDED #define STUFF_GRID_HH_INCLUDED namespace Stuff { /** * \brief calculates length of given intersection in world coordinates * \tparam IntersectionIteratorType * IntersectionIteratorType * \param[in] intIt * intersection * \return length of int...
<commit_before>/** MQTT433gateway - MQTT 433.92 MHz radio gateway utilizing ESPiLight Project home: https://github.com/puuu/MQTT433gateway/ The MIT License (MIT) Copyright (c) 2017 Jan Losinski Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated do...
<commit_before>//===-- TargetData.cpp - Data size & alignment routines --------------------==// // // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. //...
<commit_before>#include <string> #include <iostream> #include "Player.h" #include "Monster.h" #include "Skill.h" #include "Combat.h" //generate a Combat handler with the given Player and Monster Combat::Combat(Player *currentplayer, Monster *currentmonster) { _player = currentplayer; _monster = currentmonster; _tur...
<commit_before>// // Created by David Li on 6/5/17. // #include "hlt.hpp" namespace hlt { EntityId::EntityId() { type = EntityType::InvalidEntity; _player_id = -1; _entity_index = -1; } auto EntityId::is_valid() const -> bool { return type != EntityType::InvalidEntity && ...
<commit_before>//===--- License.cpp - License Related Functionality ---===// // // This file is part of the Election Method Mathematics Application (EMMA) project. // // Copyright (c) 2015 - 2016 Frank D. Martinez and the EMMA project authors // Licensed under the GNU Affero General Public License, version 3.0. // // S...
<commit_before>// Copyright lowRISC contributors. // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "verilator_sim_ctrl.h" #include <getopt.h> #include <sys/stat.h> #include <unistd.h> #include <vltstd/svdpi.h> #include <iostream> // This is ...
<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 "chrome/browser/chromeos/disks/mock_disk_mount_manager.h" #include "base/message_loop.h" #include "base/stl_util.h" #include ...
<commit_before>#include "seec/Preprocessor/MakeMemberFnChecker.hpp" #include "seec/RuntimeErrors/ArgumentTypes.hpp" #include "seec/Trace/TraceFormat.hpp" #include "seec/Util/ConstExprMath.hpp" #include "llvm/Support/ErrorHandling.h" #include <type_traits> namespace seec { namespace trace { //---------------------...
<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/browser.h" #include "chrome/browser/browser_list.h" #include "chrome/browser/browser_window.h" #include "chrom...
<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>/************************************************************************* * * $RCSfile: HStorageAccess.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: rt $ $Date: 2005-03-30 11:52:59 $ * * The Contents of this file are made available subject to the terms of * either of the following...
<commit_before>// // Copyright (c) 2011, 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 // no...
<commit_before>/***************************************************************************** * Project: RooFit * * Package: RooFitModels * * @(#)root/roofit:$Id$ * Authors: ...
<commit_before>#include <cilantro/io.hpp> #include <cilantro/3rd_party/tinyply/tinyply.h> namespace cilantro { void readPointCloudFromPLYFile(const std::string &filename, PointCloud &cloud) { std::ifstream ss(filename, std::ios::binary); tinyply::PlyFile file(ss); // Data holders s...
<commit_before>/** * Self-Organizing Maps on a cluster * Copyright (C) 2013 Peter Wittek * * 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 the License, or * (at your ...
<commit_before>/* * 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 the License, or * (at your option) any later version. * * Written (W) 2012 Heiko Strathmann * * This...
<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/ui/touch/frame/keyboard_container_view.h" #include "chrome/browser/profiles/profile.h" #include "chrome/brows...
<commit_before>#include "mesh_def.h" #include <vcg/complex/algorithms/refine.h> #include <vcg/complex/algorithms/refine_loop.h> using namespace vcg; using namespace std; void RefineMesh(uintptr_t _baseM, int step, int alg) { MyMesh &m = *((MyMesh*) _baseM); tri::UpdateTopology<MyMesh>::FaceFace(m); switch(alg)...
<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>// 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 "base/gfx/gtk_util.h" #include <gdk/gdk.h> #include <gtk/gtk.h> #include <stdlib.h> #include "base/gfx/rect.h" #include "bas...
<commit_before>// // main.c // test_despot // // Created by Tobias Wood on 17/08/2012. // Copyright (c) 2012 Tobias Wood. All rights reserved. // #include <getopt.h> #include <vector> #include <string> #include "RegionContraction.h" //#include "DESPOT_Functors.h" #include "NiftiImage.h" #include "procpar.h" sta...
<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 "chrome/browser/ui/views/extensions/shell_window_views.h" #include "base/utf_string_conversions.h" #include "chrome/browser/e...
<commit_before>/* * Author: Wolfgang Merkt * * Copyright (c) 2018, Wolfgang Merkt * 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 th...
<commit_before>/* Copyright (c) FFLAS-FFPACK * ========LICENCE======== * This file is part of the library FFLAS-FFPACK. * * FFLAS-FFPACK 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>/** * \file * \brief DynamicThreadBase class header * * \author Copyright (C) 2015-2017 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 * dis...
<commit_before>#include <stdio.h> #include <string.h> #include "openssl/md5.h" #include "openssl/crypto.h" #include "zlib.h" int main() { unsigned char digest[MD5_DIGEST_LENGTH]; char string[] = "happy"; MD5((unsigned char*)&string, strlen(string), (unsigned char*)&digest); char mdString[33...
<commit_before>#include "Platform.hpp" #include "Base64.hpp" namespace Base64 { using namespace Sirikata; static uint32 conservativeBase64Size(size_t x) { return (x+2)*4/3+6+x/64+(x%64?1:0); } static const uint8 _URL_SAFE_ALPHABET []= { (uint8)'A', (uint8)'B', (uint8)'C', (uint8)'D', (uint8)'E', (uint8)'F',...
<commit_before>#include "core/rng.h" #include <iostream> int main() { using namespace euphoria::core; uint32_t max = 0; for(uint32_t i=0; true; i++) { auto rng = xorshift32{i}; const auto v = rng.Nexti(); if(v > max ) max = v; if( (i%1000000) == 0) { ...
<commit_before>/* This file is part of the KDE project Copyright (C) 2006 Tim Beaulen <tbscope@gmail.com> Copyright (C) 2006-2007 Matthias Kretz <kretz@kde.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as publ...
<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/common/extensions/extension_file_util.h" #include "base/file_util.h" #include "base/json/json_value_serializer.h" #in...
<commit_before>#include <gtest/gtest.h> #include <exception> #include <algorithm> #include <iostream> using std::endl ; #include <vector> using std::vector ; #include <sofa/helper/logging/Messaging.h> using sofa::helper::logging::MessageDispatcher ; #include <sofa/helper/logging/MessageHandler.h> using sofa::helper...
<commit_before>/* * author: Max Kellermann <mk@cm4all.com> */ #ifndef BENG_PROXY_FD_TYPE_HXX #define BENG_PROXY_FD_TYPE_HXX enum FdType { /** * No file descriptor available. Special value that is only * supported by few libraries. */ FD_NONE = 00, FD_FILE = 01, FD_PIPE = 02, FD_...
<commit_before>//////////////////////////////////////////////////////////////////////////////// // // Copyright 2006 - 2014, Paul Beckingham, Federico Hernandez. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to...
<commit_before>/* * Copyright 2010, * François Bleibel, * Olivier Stasse, * * CNRS/AIST * * This file is part of sot-core. * sot-core 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 ver...
<commit_before>// @(#)root/base:$Name: $:$Id: TFolder.cxx,v 1.27 2007/01/23 09:45:08 brun Exp $ // Author: Rene Brun 02/09/2000 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. ...
<commit_before>//===- llvm/unittest/Support/ParallelTest.cpp -----------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distributed // with this file, You can obtain one at http://mozilla.org/MPL/2.0/. #define EIG...
<commit_before>#ifndef KSPACE_CLASS_INCLUDED #define KSPACE_CLASS_INCLUDED #include <vector> #include <cmath> #include "Kokkos_Core.hpp" /** * * Class to compute the k-space part of an Ewald sum for * quadrupole, dipole and/or monopole systems * */ template <class T> class KSpace { public: /** ...
<commit_before> #include "generator.hpp" #include "type.hpp" #include "expr.hpp" #include "stmt.hpp" #include "decl.hpp" #include "evaluator.hpp" #include "llvm/IR/Type.h" #include "llvm/IR/GlobalVariable.h" #include "llvm/IR/Function.h" #include "llvm/IR/Constants.h" #include "llvm/IR/Instructions.h" #include "llvm/I...
<commit_before>// Scintilla source code edit control /** @file KeyMap.cxx ** Defines a mapping between keystrokes and commands. **/ // Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. #include "Platform.h" #incl...
<commit_before>// Scintilla source code edit control /** @file LexCPP.cxx ** Lexer for C++, C, Java, and Javascript. **/ // Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. #include <stdlib.h> #include <string.h> ...
<commit_before>/* This file is part of KitchenSync. Copyright (c) 2003 Cornelius Schumacher <schumacher@kde.org> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either ...
<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 "content/browser/tab_contents/tab_contents_view_helper.h" #include "content/browser/renderer_host/render_view_host_impl.h" #i...
<commit_before>// Copyright 2013 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 "content/common/gpu/media/gpu_video_encode_accelerator.h" #include "base/callback.h" #include "base/logging.h" #include "base/mem...
<commit_before>#include <lcaes.h> #include <lcencode.h> #include <limecrypt.h> #include <sstream> #include <iostream> class Print { public: Print() : os(std::cout) {} template<typename T> Print(const T& input) : os(std::cout) { os << input; } ~Print() { os << std::endl; } template<typename T> std::os...
<commit_before>// Copyright 2018 Netherlands Institute for Radio Astronomy (ASTRON) // Copyright 2018 Netherlands eScience Center // // 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>/** * 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>#include <Refal2.h> namespace Refal2 { //----------------------------------------------------------------------------- // CProgram CProgram::CProgram( int numberOfModules ) : modulesSize( numberOfModules ), modules( new CRuntimeModule[modulesSize] ) { assert( modulesSize > 0 ); assert( modules != ...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a ...
<commit_before>#include <algorithm> #include "Parser.h" Parser::Parser() : m_stopParser( false ) { } Parser::~Parser() { if ( m_thread == nullptr ) return; { std::lock_guard<std::mutex> lock( m_lock ); if ( m_tasks.empty() == true ) m_cond.notify_all(); m_stop...
<commit_before>#ifndef ZIP_LONGEST_HPP #define ZIP_LONGEST_HPP #include "iterator_range.hpp" #include <boost/optional.hpp> #include <tuple> #include <utility> #include <iterator> namespace iter { template <typename ... Containers> struct zip_longest_iter; template <typename ... Containers> it...
<commit_before>/* Copyright (c) 2015 ANON authors, see AUTHORS file. 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...
<commit_before>#include "Player.h" #include "Projectile.h" Player::Player(ItensManager* itemManager, int x, int y): Character(x,y), inputComponent(nullptr), itemManager(itemManager), skills( { false, false, true,true, true, ...
<commit_before>#pragma once #include <warpcoil/cpp/helpers.hpp> #include <boost/asio/handler_invoke_hook.hpp> #include <boost/asio/write.hpp> #include <silicium/sink/iterator_sink.hpp> namespace warpcoil { namespace cpp { template <class ResultHandler, class Result> struct response_parse_opera...
<commit_before>/* * Copyright (C) 2013-2016 Alexander Saprykin <xelfium@gmail.com> * * 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) ...
<commit_before>// v8 #include <v8.h> // node #include <node.h> #include <node_buffer.h> #include <node_version.h> /* dlopen(), dlsym() */ #include <dlfcn.h> // boost #include "utils.hpp" // node-mapnik #include "mapnik_map.hpp" #include "mapnik_projection.hpp" #include "mapnik_layer.hpp" #include "mapnik_datasourc...
<commit_before>/* * Copyright (C) 2015 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>// // 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. // // Config.cpp: Implements the egl::Config class, describing the format, type // and size for an egl::Surface. Implement...
<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>/*************************************************************** * * Copyright (C) 1990-2007, 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 compliance with ...
<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 "base/native_library.h" #include <dlfcn.h> #include "base/file_path.h" #include "base/logging.h" #include "base/string_util....
<commit_before>// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Test of classes in the tracked_objects.h classes. #include "base/tracked_objects.h" #include "base/logging.h" #include "testin...
<commit_before>/************************************************************************* * * $RCSfile: ConnectionPage.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: pjunck $ $Date: 2004-10-27 12:58:19 $ * * The Contents of this file are made available subject to the terms of * either of the follo...
<commit_before>/* Basic Server code for CMPT 276, Spring 2016. */ #include <exception> #include <iostream> #include <memory> #include <string> #include <unordered_map> #include <utility> #include <vector> #include <cpprest/base_uri.h> #include <cpprest/http_listener.h> #include <cpprest/json.h> #include <pplx/pplx...
<commit_before>/////////////////////////////////////////////////////////////////////////// // // NAME // BlendImages.cpp -- blend together a set of overlapping images // // DESCRIPTION // This routine takes a collection of images aligned more or less horizontally // and stitches together a mosaic. // // The images ...
<commit_before>// Time: O(n) // Space: O(1) // Bottom-Up. class Solution { public: /** * @param A: Given an integer array * @return: void */ void heapify(vector<int> &A) { for (int i = A.size() / 2; i >= 0; --i) { sift_down(A, i); } } void sift_down(vector<i...
<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: opcodes.hxx,v $ * $Revision: 1.1...
<commit_before>// Copyright 2012 Cloudera 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 law or ...
<commit_before> // For usleep #define _BSD_SOURCE #include <cassert> #include <cstdio> #include <cstdlib> #include <cstring> #define _Bool bool #undef __cplusplus extern "C" { #include <adlb.h> } #define __cplusplus #include <unistd.h> #include <map> #include <utility> using namespace std; // Work unit type #defi...
<commit_before>/* Copyright (c) FFLAS-FFPACK * ========LICENCE======== * This file is part of the library FFLAS-FFPACK. * * FFLAS-FFPACK 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> // .\Release\benchmarks.exe --benchmark_repetitions=5 --benchmark_filter=Solar // Benchmarking on 1 X 3310 MHz CPU // 2014/10/05-19:16:12 // Benchmark Time(ns) CPU(ns) Iterations // ------------------------------------------------------------------------- // BM_Sola...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: document.hxx,v $ * * $Revision: 1.8 $ * * last change: $Author: ihi $ $Date: 2007-11-19 16:42:39 $ * * The Contents of this file are made...
<commit_before>// OvlReferenceTable.hpp /* * (C) Copyright 2015 Noah Roth * * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser General Public License * (LGPL) version 2.1 which accompanies this distribution, and is available at * http://www.gnu.org...
<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>/*========================================================================= Program: Visualization Toolkit Module: vtkTreeDFSIterator.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2021. All rights reserved */ #include "Stroika/Frameworks/StroikaPreComp.h" #include <random> #include "Stroika/Foundation/Characters/String.h" #include "Stroika/Foundation/Common/Property.h" #include "Stroika/Foundation/Containers/Set.h" #include "Stro...
<commit_before>/* Copyright (c) MediaArea.net SARL. All Rights Reserved. * * Use of this source code is governed by a BSD-style license that can * be found in the License.html file in the root of the source tree. */ //--------------------------------------------------------------------------- // Pre-comp...
<commit_before>/***************************************************************************** * Media Library ***************************************************************************** * Copyright (C) 2015 Hugo Beauzée-Luyssen, Videolabs * * Authors: Hugo Beauzée-Luyssen<hugo@beauzee.fr> * * This program is f...
<commit_before>/* * Copyright (C) 2013 Google Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any...
<commit_before>/** ** Copyright (c) 2011-2014 Illumina, Inc. ** ** This file is part of the BEETL software package, ** covered by the "BSD 2-Clause License" (see accompanying LICENSE file) ** ** Citation: Markus J. Bauer, Anthony J. Cox and Giovanna Rosone ** Lightweight BWT Construction for Very Large String Co...
<commit_before>#include <listformatter.h> #include <utils.h> #include <stflpp.h> namespace newsbeuter { listformatter::listformatter() : refresh_cache(true) { } listformatter::~listformatter() { } void listformatter::add_line(const std::string& text, unsigned int id, unsigned int width) { if (width > 0) { std::s...
<commit_before>#include <torrentsync/dht/Address.h> #include <torrentsync/dht/RoutingTable.h> #include <iostream> using namespace torrentsync::dht; int main() { RoutingTable table; return 0; } <commit_msg>Deleted old test file<commit_after><|endoftext|>
<commit_before>/****************************************************************************** ** Copyright (c) 2013-2015, Intel Corporation ** ** All rights reserved. ** ** ...
<commit_before>#include "CameraMode.h" CameraMode::CameraMode(UI& _ui) : ui(_ui) { coarsePositionStep = 20; finePositionStep = 4; coarseAngleStep = 5; fineAngleStep = 1; camera = nullptr; ofLog() << "camera init"; } ofCamera* CameraMode::getCamera(){ return camera; } void CameraMode::setCamera(ofCam...
<commit_before>/* * Connection.cpp * * Created on: Apr 11, 2015 * Author: jonno */ #include "Connection.h" #include "Constants.h" #include <iostream> using namespace std; Connection::Connection(ConnectionData* connection) { mConnectionData = connection; } void Connection::handleConnection() { int sock...
<commit_before>#include <iostream> #include <unistd.h> #include <sys/stat.h> #include <stdio.h> #include <vector> #include <sstream> #include <dirent.h> #include <errno.h> #include <sys/types.h> using namespace std; bool isDirectory(char* directoryName) { struct stat directoryInCurrent; if (-1 == (stat(directoryN...
<commit_before>#include <algorithm> #include <cstdlib> #include <stdio.h> #include <iomanip> #include <sys/types.h> #include <unistd.h> #include <dirent.h> #include <errno.h> #include <vector> #include <string> #include <iostream> #include "alphanum.hpp" #define IMPROPER_FLAGS 1 #define FAILURE_EXIT 2 #define LIN...
<commit_before>// Copyright 2016 Alessio Sclocco <a.sclocco@vu.nl> // // 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 requir...
<commit_before>#include "photon_blocks.h" #include "photon_opengl.h" #include "photon_level.h" #include "photon_laser.h" #include "photon_texture.h" #include "photon_core.h" #include "glm/ext.hpp" GLuint texture_plain_block; GLuint texture_mirror; GLuint texture_tnt; GLuint texture_explosion; GLuint texture_filter_re...
<commit_before>/* ============================================================================ * Copyright (c) 2011, Michael A. Jackson (BlueQuartz Software) * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following condi...