text
stringlengths
54
60.6k
<commit_before>// // Copyright (c) 2015-2016 CNRS // // This file is part of Pinocchio // Pinocchio 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 // 3 of the License, or (at your opti...
<commit_before>/* Copyright 2009 Larry Gritz and the other authors and contributors. 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 cop...
<commit_before>/* * Copyright 2009 The VOTCA Development Team (http://www.votca.org) * * 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 libmv authors. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal in the Software without restriction, including without limitation the // rights to use, copy, modify,...
<commit_before>/** * The database populated by the importer uses TIMESTAMP columns to * represent times and dates. This class formats them according to section * 8.5.1.3 of the postgres docs: * http://www.postgresql.org/docs/9.1/static/datatype-datetime.html */ #ifndef IMPORTER_TIMESTAMP_HPP #define IMPORTER_TI...
<commit_before>#include <iostream> #include <string> #include <fstream> using namespace std; template<typename T> struct Node { T x; Node<T> * left; Node<T> * right; Node(T const& value) : x{ value }, left{ nullptr }, right{ nullptr } {} }; template<typename T> class Tree { private: Node<T> ...
<commit_before>#include <iostream> #include <string> #include <fstream> #include <cstdint> using namespace std; template <typename T> struct Node { Node *left; Node *right; T data; }; template <typename T> class BinaryTree { private: Node<T>* root; int CountElements = 0; public: BinaryTree(); ~BinaryTre...
<commit_before>// Copyright 2014 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>/* * Copyright 2019 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>/**************************************************************************** ** ** 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>/**************************************************************************** ** ** Copyright (C) 2013 Jolla Ltd. ** Contact: lorn.potter@jollamobile.com ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License versi...
<commit_before>//===-- PipePosix.cpp -------------------------------------------*- C++ -*-===// // // 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) 2011-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "addresstablemodel.h" #include "guiutil.h" #include "walletmodel.h" #include "base58.h" #include "wa...
<commit_before>// Copyright (C) 2017 xaizek <xaizek@openmailbox.org> // // This file is part of uncov. // // uncov 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 /...
<commit_before>/* Siconos-Kernel, Copyright INRIA 2005-2012. * Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * Siconos is a 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>#include "game/temporary_systems/physics_system.h" #include "game/components/fixtures_component.h" #include "game/components/special_physics_component.h" #include "game/transcendental/cosmos.h" #include "game/transcendental/step.h" #include "physics_scripts.h" void physics_system::rechoose_owner_frictio...
<commit_before>/**************************************************************************** This file is part of the GLC-lib library. Copyright (C) 2005-2006 Laurent Ribon (laumaya@users.sourceforge.net) Version 0.9.6, packaged on June, 2006. http://glc-lib.sourceforge.net GLC-lib is free software; you can red...
<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>// The MIT License (MIT) // // Copyright (c) 2016 Artur Troian // // 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 right...
<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 "Lice...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p10/procedures/hwp/nest/p10_load_iop_xram.C $...
<commit_before>#include"ics3/ics3.hpp" #include"core.hpp" #include"ics3/eeprom.hpp" #include"ics3/parameter.hpp" #include"ics3/id.hpp" static inline ics::Angle::rawType getReceiveAngle(const ics::Core::Container& rx) noexcept { return static_cast<ics::Angle::rawType>((rx[4] << 7) | rx[5]); } static inline ics::Cor...
<commit_before>#include"ics3/ics3.hpp" #include"core.hpp" #include"ics3/eeprom.hpp" #include"ics3/parameter.hpp" #include"ics3/id.hpp" static inline ics::Angle::rawType getReceiveAngle(const ics::Core::Container& rx) noexcept { return (rx[4] << 7) | rx[5]; } static inline ics::Core::value getCmd(const int head, co...
<commit_before> #include "mitkManualSegmentationToSurfaceFilter.h" #include <itksys/SystemTools.hxx> #include "mitkDataTreeNodeFactory.h" #include <mitkSurfaceVtkWriter.h> #include <vtkSTLWriter.h> #include <fstream> int mitkManualSegmentationToSurfaceFilterTest(int argc, char* argv[]) { if(argc==0) { std:...
<commit_before>// The libMesh Finite Element Library. // Copyright (C) 2002-2017 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>// Copyright 2010-2013 RethinkDB, all rights reserved. #include "rdb_protocol/pathspec.hpp" #include "rdb_protocol/term.hpp" namespace ql { pathspec_t::pathspec_t(const pathspec_t &other) { init_from(other); } pathspec_t& pathspec_t::operator=(const pathspec_t &other) { init_from(other); ...
<commit_before>/** * Appcelerator Titanium - licensed under the Apache Public License 2 * see LICENSE in the root folder for details on the license. * Copyright (c) 2009 Appcelerator, Inc. All Rights Reserved. */ #include <windows.h> #include <objbase.h> #include <Wininet.h> #include <vector> #include <i...
<commit_before>#include <node.h> #include <v8.h> #include <git2.h> #include <map> #include <algorithm> #include <set> #include <openssl/crypto.h> #include "../include/init_ssh2.h" #include "../include/lock_master.h" #include "../include/nodegit.h" #include "../include/wrapper.h" #include "../include/promise_completi...
<commit_before>// This file is part of the dune-gdt project: // http://users.dune-project.org/projects/dune-gdt // Copyright holders: Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_STUFF_COMMON_TMP_STORAGE_HH #define DUNE_STUFF_COMMON_TMP_STORAGE_HH #incl...
<commit_before>#ifndef _vector_hpp_1337420 #define _vector_hpp_1337420 #include <cstdlib> #include <new> #include <utility> #include <memory> #include <type_traits> #include <iterator> #include "../ztl_base.hpp" __ztl_namespace_start template <class T> class vector { public: typedef T v...
<commit_before>// __BEGIN_LICENSE__ // Copyright (c) 2009-2013, United States Government as represented by the // Administrator of the National Aeronautics and Space Administration. All // rights reserved. // // The NGT platform is licensed under the Apache License, Version 2.0 (the // "License"); you may not use ...
<commit_before>#include "AnimSymLoader.h" #include "FilepathHelper.h" #include "EasyAnimLoader.h" #include "SpineAnimLoader.h" #include "ExtendSymFile.h" #include "BodymovinAnimLoader.h" #include <sprite2/AnimSymbol.h> #include <json/json.h> #include <fstream> #include <string.h> namespace gum { AnimSymLoader::An...
<commit_before>/* * Copyright 2009-2019 The VOTCA Development Team (http://www.votca.org) * * 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...
<commit_before>/** * \file * \brief ThreadCommon class header * * \author Copyright (C) 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 * distributed w...
<commit_before>#ifndef CAFFE_BLOB_HPP_ #define CAFFE_BLOB_HPP_ #include "caffe/common.hpp" #include "caffe/proto/caffe.pb.h" #include "caffe/syncedmem.hpp" #include "caffe/util/math_functions.hpp" namespace caffe { template <typename Dtype> class Blob { public: Blob() : data_(), diff_(), num_(0), channels_...
<commit_before>/* * Copyright 2012 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 "SkGradientShader.h" #define W SkIntToScalar(80) #define H SkIntToScalar(60) typedef void (*PaintProc)(SkPa...
<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 "Lic...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: SlsScrollBarManager.hxx,v $ * * $Revision: 1.7 $ * * last change: $Author: kz $ $Date: 2008-04-03 14:35:40 $ * * The Contents of this fil...
<commit_before>/* Copyright (c) 2013 "Naftoreiclag" https://github.com/Naftoreiclag * * Distributed under the MIT License (http://opensource.org/licenses/mit-license.html) * See accompanying file LICENSE */ #include "util/Sysout.h" #include "Game.h" #include "Luastuff.h" #include "Filestuff.h" #include "Potato...
<commit_before>// Copyright (c) 2019 The PIVX developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "qt/pivx/settings/settingsmultisendwidget.h" #include "qt/pivx/settings/forms/ui_settingsmultisendwidget.h" #inclu...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * Effective License of whole file: * * This library is free software; you can redistribute it and/or * modify it under the terms of the ...
<commit_before>/*************************************************************************** * Copyright (c) 2009 Werner Mayer <wmayer[at]users.sourceforge.net> * * * * This file is part of the FreeCAD CAx development system. ...
<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/gamepad/platform_data_fetcher_win.h" #include "base/debug/trace_event.h" #include "content/common/gamepad_me...
<commit_before>// Copyright (c) 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/sandbox_linux/bpf_gpu_policy_linux.h" #include <dlfcn.h> #include <errno.h> #include <fcntl.h> #include <sys/...
<commit_before>// SciTE - Scintilla based Text Editor /** @file UniqueInstance.cxx ** Class to ensure a unique instance of the editor, if requested. **/ // Copyright 1998-2003 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. #include...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: TestInterpolationFunctions.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for det...
<commit_before>/* GNE - Game Networking Engine, a portable multithreaded networking library. * Copyright (C) 2001 Jason Winnebeck (gillius@mail.rit.edu) * Project website: http://www.rit.edu/~jpw9607/ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser Ge...
<commit_before>#pragma once #include <Utils/OpenGL.hh> #include <Utils/Dependency.hpp> #include <Render/Key.hh> #include <Render/MemoryGPU.hh> #include <map> #include <Utils/Containers/Vector.hpp> #include <glm/glm.hpp> #include <Render/UniformBlock.hh> #include <Render/Material.hh> #include <cassert> #include <Render...
<commit_before><commit_msg>some cleanup, add missing options for linux gpu tracker event display<commit_after><|endoftext|>
<commit_before><commit_msg>start with maximized window<commit_after><|endoftext|>
<commit_before>// $Id$ AliJetEmbeddingTask* AddTaskJetEmbedding( const char *tracksName = "Tracks", const char *clusName = "CaloClustersCorr", const char *taskName = "JetEmbeddingTask", const Double_t minPt = 10, const Double_t maxPt = 10, const Double_t minEta ...
<commit_before>#pragma once #include <cstddef> #include <utility> #include "type.hpp" #ifdef STX_DEBUG # include "assert.hpp" #endif namespace stx { class refcounted_interface; template<typename T> class weak; template<typename T, typename Tdel> class owned; // == owned<T, Tdelete> ===========================...
<commit_before>#include "tesselator.hpp" #include "geometry_coding.hpp" #include "../geometry/robust_orientation.hpp" #include "../coding/writer.hpp" #include "../base/assert.hpp" #include "../base/logging.hpp" #include "../std/queue.hpp" #include "../../3party/sgitess/interface.h" #include "../base/start_mem_deb...
<commit_before>//! @Alan @pezy //! //! Exercise 9.24: //! Write a program that fetches the first element in a vector using at, //! the subscript operator, front, and begin. Test your program on an empty vector. //! #include <iostream> #include <vector> int main() { std::vector<int> v; std::cout << v.at(0); ...
<commit_before>// Copyright lowRISC contributors. // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include <fstream> #include <getopt.h> #include <iomanip> #include <iostream> #include <memory> #include <string> #include <svdpi.h> #include "log_trace_...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: transliteration_Ignore.hxx,v $ * * $Revision: 1.8 $ * * last change: $Author: hr $ $Date: 2006-06-20 04:41:10 $ * * The Contents of this ...
<commit_before> /* /~` _ _ _|_. _ _ |_ | _ \_,(_)| | | || ||_|(_||_)|(/_ https://github.com/Naios/continuable v2.0.0 Copyright(c) 2015 - 2017 Denis Blank <denis.blank at outlook dot com> Permission is her...
<commit_before>//======================================================================= // Copyright (c) 2014-2017 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //===================================================...
<commit_before>/** * @file centrality.tcc * @author Sean Massung */ #include <stack> #include <queue> #include <vector> #include <unordered_map> #include "parallel/parallel_for.h" namespace meta { namespace graph { namespace algorithms { template <class Graph> centrality_result degree_centrality(const Graph& g) {...
<commit_before>/* Copyright (c) 2007, Arvid Norberg 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 condi...
<commit_before>namespace mant { inline void verify( const bool expression, const std::string& errorMessage); template <typename T> bool isRotationMatrix( const arma::Mat<T>& parameter) noexcept; inline bool isPermutation( const arma::Col<unsigned int>& parameter, const std::size_...
<commit_before>#pragma once #include <limits> #include "rapidcheck/detail/Utility.h" namespace rc { namespace detail { template <typename T> constexpr int numBits() { return std::numeric_limits<T>::digits + (std::is_signed<T>::value ? 1 : 0); } template <typename Source> BitStream<Source>::BitStream(Source sourc...
<commit_before>#pragma once #ifdef __has_include # if __has_include(<optional>) # include<optional> namespace staticjson { namespace nonpublic { template<typename T> using optional = std::optional<T>; auto& nullopt = std::nullopt; }} # elif __has_include(<experimental/optional>) # include <exper...
<commit_before>//============================================================================ // vSMC/include/vsmc/utility/aligned_memory.hpp //---------------------------------------------------------------------------- // vSMC: Scalable Monte Carlo //-------------------------------------------...
<commit_before>/* $Id$ $Revision$ */ /* vim:set shiftwidth=4 ts=8: */ /************************************************************************* * Copyright (c) 2011 AT&T Intellectual Property * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Pub...
<commit_before>// recordmatch.cpp : Defines the entry point for the DLL application. // #include "bzfsAPI.h" class GameStartEndHandler : public bz_EventHandler { public: virtual void process ( bz_EventData *eventData ); }; GameStartEndHandler gameStartEndHandler; std::string path; bool started = false; std::string...
<commit_before>#include <csignal> #include <ctime> #include <functional> #include <iostream> #include <sstream> #include <string> #include <boost/asio.hpp> #include "spdlog/spdlog.h" #include "config_netfortune.hpp" #include "fserver.hpp" int main() { // TODO: Add multiple sinks to our logger // std::vector<spdlo...
<commit_before>// Copyright 2013 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <...
<commit_before>#include <QObject> #include <QGraphicsSceneMouseEvent> #include <QtGlobal> #include <dcpmainpage.h> #include "dcpcategorycomponent.h" #include "dcpsinglecomponent.h" #include <QSignalSpy> #include <MContainer> #include "ut_dcpmainpage.h" #include <MLayout> #include <QGraphicsLinearLayout> void Ut_DcpMai...
<commit_before>/// /// @file PhiTiny.cpp /// @brief phi(x, a) counts the numbers <= x that are not /// divisible by any of the first a primes. /// PhiTiny computes phi(x, a) in constant time /// for a <= 6 using lookup tables. /// /// phi(x, a) = (x / pp) * φ(a) + phi(x % pp, a) /// ...
<commit_before>/* ofxTableGestures (formerly OF-TangibleFramework) Developed for Taller de Sistemes Interactius I Universitat Pompeu Fabra Copyright (c) 2011 Daniel Gallardo Grassot <daniel.gallardo@upf.edu> Permission is hereby granted, free of charge, to any person obtaining a copy of this ...
<commit_before>#if !defined(OMR_OBJECTMAP_INL_HPP_) #define OMR_OBJECTMAP_INL_HPP_ #include <OMR/Om/Allocator.hpp> #include <OMR/Om/Context.hpp> #include <OMR/Om/ObjectMap.hpp> #include <OMR/Om/TransitionSet.inl.hpp> namespace OMR { namespace Om { inline ObjectMap::ObjectMap( MetaMap* meta, ObjectMap* parent, ...
<commit_before>#include <iostream> #include <iomanip> // << fixed << setprecision(xxx) #include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ; #include <vector> #include <string> // to_string(nnn) // substr(m, n) // stoi(nnn) #include <complex> #include <tuple> // get<n>(xxx) #include <queue> #include <st...
<commit_before>/** * File : E.cpp * Author : Kazune Takahashi * Created : 12/22/2018, 9:09:29 PM * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> // << fixed << setprecision(xxx) #include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ; #include <vector> #include <string...
<commit_before>#define DEBUG 1 /** * File : F.cpp * Author : Kazune Takahashi * Created : 2019/12/24 20:41:23 * 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>#define DEBUG 1 /** * File : G.cpp * Author : Kazune Takahashi * Created : 12/25/2019, 6:29:12 PM * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> #include <algorithm> #include <vector> #include <string> #include <complex> #include <tuple> #include <queue> #include <stac...
<commit_before>#include "./JPetRecoImageTools.h" #include <vector> #include <utility> #include <cmath> #include <functional> #include <cassert> #include <memory> JPetRecoImageTools::JPetRecoImageTools() {} JPetRecoImageTools::~JPetRecoImageTools() {} double JPetRecoImageTools::nearestNeighbour(std::vector<std::vecto...
<commit_before><commit_msg>*** empty log message ***<commit_after><|endoftext|>
<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 "webkit/glue/plugins/plugin_lib.h" #include <dlfcn.h> #include "base/string_util.h" #include "base/sys_string_conversions.h"...
<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/command_line.h" #include "chrome/browser/extensions/extension_apitest.h" #include "chrome/common/chrome_switches.h" #if...
<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/extensions/extension_apitest.h" // TODO(jcampan): http://crbug.com/27216 disabled because failing. IN_PROC_BR...
<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/gtk/blocked_popup_container_view_gtk.h" #include "app/gfx/gtk_util.h" #include "app/l10n_util.h" #include "b...
<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/chrome_switches.h" #include "chrome/test/ui/ui_layout_test.h" // TODO(jorlow): Enable these tests when we remo...
<commit_before>// Resource.hh // Copyright (c) 2002 Henrik Kinnunen (fluxgen@linuxmail.org) // // 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 limita...
<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. #include "base/basictypes.h" #include "googleurl/src/gurl.h" #include "net/base/data_url.h" #include "testing/gtest/include/gtest/...
<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>/** * @file llpanelvolumepulldown.cpp * @author Tofu Linden * @brief A floater showing the master volume pull-down * * $LicenseInfo:firstyear=2008&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. * * This library is free software; you can redistr...
<commit_before>/* * Copyright (c) 2008 Princeton University * 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 l...
<commit_before>#include "BasicDemoCameraSystem.hh" #include <ComponentsCore/RigidBody.hpp> #include <ComponentsCore/Collider.hpp> #include <ComponentsCore/CameraComponent.hpp> #include <ComponentsCore/Light.hh> #include <ComponentsCore/MeshRenderer.hh> #include <Components/Lifetime.hpp> #include <Entity/Entity.hh> #i...
<commit_before>/* * Seek camera interface * Author: Maarten Vandersteegen */ #include "SeekCam.h" #include "SeekLogging.h" using namespace LibSeek; SeekCam::SeekCam(int vendor_id, int product_id, uint16_t* buffer, size_t raw_height, size_t raw_width, cv::Rect roi, std::string ffc_filename) : m_offset(0x4000...
<commit_before>// CNCPoint.cpp /* * Copyright (c) 2009, Dan Heeks, Perttu Ahola * This program is released under the BSD license. See the file COPYING for * details. */ #include "stdafx.h" #include "CNCPoint.h" #ifdef HEEKSCAD #include "../interface/HeeksCADInterface.h" extern CHeeksCADInterface heekscad_interf...
<commit_before>#include <boost/interprocess/managed_shared_memory.hpp> #include <boost/filesystem/path.hpp> #include <boost/program_options.hpp> #include <liveMedia.hh> #include <GroupsockHelper.hh> #define EventTime server_EventTime #include <BasicUsageEnvironment.hh> #undef EventTime extern "C" { #include <libav...
<commit_before>// // Copyright (c) 2012 Kim Walisch, <kim.walisch@gmail.com>. // All rights reserved. // // This file is part of primesieve. // Homepage: http://primesieve.googlecode.com // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following c...
<commit_before>// Test that (the same) debug info is emitted for an Objective-C++ // module and a C++ precompiled header. // REQUIRES: asserts, shell // Modules: // RUN: rm -rf %t // RUN: %clang_cc1 -x objective-c++ -std=c++11 -g -fmodules -fmodule-format=obj -fimplicit-module-maps -DMODULES -fmodules-cache-path=%t %...
<commit_before>//======================================================================== // AppWindow.cpp // // Copyright 2005-2009 Sergey Kazenyuk, All Rights Reserved. // Copyright 2018 Janus // Distributed under the terms of the MIT License. //=======================================================================...
<commit_before>/* * Copyright 2014 Facebook, 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 l...
<commit_before>// This file is a part of the OpenSurgSim project. // Copyright 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.apache.or...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** No Commercial Usage ** ** This file contains pre-release cod...
<commit_before>// RUN: %clang_cc1 -o /dev/null -verify %s enum E { one, two, three, four }; int test(enum E e) { switch (e) { case one: return 7; case two ... two + 1: return 42; case four: return 25; default: r...
<commit_before>/* This file is part of WME Lite. http://dead-code.org/redir.php?target=wmelite Copyright (c) 2011 Jan Nedoma 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 restri...