text
stringlengths
54
60.6k
<commit_before>// Copyright (c) 2011, Cornell 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, // ...
<commit_before>/* * grove_lcd_rgb.cpp * * Copyright (c) 2012 seeed technology inc. * Website : www.seeed.cc * Author : Jack Shao * * The MIT License (MIT) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
<commit_before>/************************************************************************* * * $RCSfile: xsec_mscrypt.cxx,v $ * * $Revision: 1.1.1.1 $ * * last change: $Author: mt $ $Date: 2004-07-12 13:15:22 $ * * The Contents of this file are made available subject to the terms of * either of the followi...
<commit_before>#include "general_test_setup.hpp" #undef TEST #include <iostream> #ifdef __linux__ #include <csignal> void sigsegv_handler(int signal); void sigabrt_handler(int signal); void at_exit_handler(); #include "../../src/util/linux_utils.hpp" #endif #include "nova_renderer/window.hpp" namespace nova:...
<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>/** -- C++ Source File -- **/ #include <stdio.h> #include "helper.hxx" #include "libxml/tree.h" #include "libxml/parser.h" #ifndef XMLSEC_NO_XSLT #include "libxslt/xslt.h" #endif #include "securityenvironment_mscryptimpl.hxx" #include "xmlelementwrapper_xmlsecimpl.hxx" #include "xmlsec/strings.h" #inc...
<commit_before> /* * client.cpp * * Handles the client env. * * Created by Ryan Faulkner on 2014-06-08 * Copyright (c) 2014. All rights reserved. */ #include <chrono> #include <iostream> #include <string> #include <redis3m/connection.h> #include "parse.h" #include "redis.h" #define DBY_CMD_QUEUE_PREFIX "d...
<commit_before>/* * Copyright 2008-2010 NVIDIA Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
<commit_before>#include <iostream> #include <vector> #include <cmath> void GetRefinedElement(const std::vector <double > &x0, std::vector <double > &x1, const std::vector <double > &x2, std::vector <double > &x3, std::vector< std::vector <double > > &y); void GetNewPoints...
<commit_before>/*========================================================================= Program: Medical Imaging & Interaction Toolkit Language: C++ Date: $Date: 2009-03-21 19:27:37 +0100 (Sa, 21 Mrz 2009) $ Version: $Revision: 16719 $ Copyright (c) German Cancer Research Center, Division of Medical and...
<commit_before>/* Copyright (C) 2010 Collabora Multimedia. @author Mauricio Piacentini <mauricio.piacentini@collabora.co.uk> 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 Foundati...
<commit_before>// // Copyright 2011-2013 Jeff Bush // // 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>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: WW8ResourceModelImpl.hxx,v $ * * $Revision: 1.11 $ * * last change: $Author: obo $ $Date: 2008-01-10 11:49:32 $ * * The Contents of this ...
<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 "android_webview/lib/aw_content_browser_client.h" #include "android_webview/browser/aw_cookie_access_policy.h" #include "andr...
<commit_before>//////////////////////////////////////////////////////////////////////////////// /// @brief heartbeat thread /// /// @file /// /// DISCLAIMER /// /// Copyright 2010-2012 triagens GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file e...
<commit_before> AliAnalysisTask* AddTask(Bool_t AnalysisMC, const Char_t* taskname, Int_t typerun, UInt_t kTriggerInt, Float_t minc, Float_t maxc, Bool_t CentFrameworkAliCen) { // Creates a pid task and adds it to the analysis manager // Get the pointer to the existing analysis manager via the static // acces...
<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>#include "../kontsevich_graph_series.hpp" #include <ginac/ginac.h> #include <iostream> #include <fstream> #include <algorithm> using namespace std; using namespace GiNaC; int main(int argc, char* argv[]) { if (argc != 2 && argc != 3 && argc != 4) { cout << "Usage: " << argv[0] << " <grap...
<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 l...
<commit_before>// // drafter.cc // drafter // // Created by Jiri Kratochvil on 2016-06-27 // Copyright (c) 2016 Apiary Inc. All rights reserved. // #include "drafter.h" #include "snowcrash.h" #include "refract/Element.h" #include "refract/FilterVisitor.h" #include "refract/Query.h" #include "refract/Iterate.h" ...
<commit_before>//======================================================================= // Copyright (c) 2015-2016 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //===================================================...
<commit_before>#include <stdio.h> #include <stdlib.h> #include <assert.h> #include <math.h> #include <vector> #include <algorithm> #include <chrono> #include <thread> #include <xmmintrin.h> #include <pmmintrin.h> #include "engine.hpp" namespace rack { float sampleRate; float sampleTime; bool gPaused = false; stat...
<commit_before>#include "expression.h" #include <lambda_p_io/analyzer/routine.h> #include <lambda_p_io/ast/expression.h> #include <lambda_p/expression.h> #include <lambda_p/routine.h> #include <lambda_p_io/analyzer/analyzer.h> #include <lambda_p_io/ast/identifier.h> #include <lambda_p_io/analyzer/resolver.h> ...
<commit_before>#include "engine.hpp" #include <iostream> #include "oddlib/masher.hpp" #include "oddlib/exceptions.hpp" #include "logger.hpp" #include "jsonxx/jsonxx.h" #include <fstream> #include "alive_version.h" #include "core/audiobuffer.hpp" #include "fmv.hpp" #include "sound.hpp" #include "gridmap.hpp" #include "r...
<commit_before>/* * Copyright (C) 2009 Toni Gundogdu. * * This file is part of cclive. * * cclive 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) an...
<commit_before>// fluxbox.hh for Fluxbox Window Manager // Copyright (c) 2001 - 2003 Henrik Kinnunen (fluxgen at users.sourceforge.net) // // blackbox.hh for Blackbox - an X11 Window manager // Copyright (c) 1997 - 2000 Brad Hughes (bhughes at tcac.net) // // Permission is hereby granted, free of charge, to any person ...
<commit_before>// Copyright (C) 2011 Oliver Schulz <oliver.schulz@tu-dortmund.de> // 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 ...
<commit_before>/* * This file is part of accounts-ui * * Copyright (C) 2009-2010 Nokia Corporation. * * Contact: Alberto Mardegan <alberto.mardegan@nokia.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version 2.1 as ...
<commit_before>/* * Copyright (C) 2014 Endless Mobile * * 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>//------------------------------------------------------------------------------ // CLING - the C++ LLVM-based InterpreterG :) // author: Vassil Vassilev <vasil.georgiev.vasilev@cern.ch> // // This file is dual-licensed: you can choose to license it under the University // of Illinois Open Source Licens...
<commit_before>//===- PPCInstrInfo.cpp - PowerPC32 Instruction Information -----*- C++ -*-===// // // 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>//===--- CommonOptionsParser.cpp - common options for clang tools ---------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>//===--- Stencil.cpp - Stencil implementation -------------------*- C++ -*-===// // // 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 // //===------------...
<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 "Licens...
<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>/* * core/alarm_clock.cpp * Copyright (C) 2012 Emiliano Gabriel Canedo <emilianocanedo@gmail.com> * * croncat 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 Licens...
<commit_before>/** * Created by Jian Chen * @since 2017.01.03 * @author Jian Chen <admin@chensoft.com> * @link http://chensoft.com */ #ifdef _WIN32 #include <socket/inet/inet_address.hpp> #include <socket/core/reactor.hpp> #include <chen/base/map.hpp> #include <chen/sys/sys.hpp> #include <algorithm> // ------...
<commit_before>#include <ir/index_manager/index/Indexer.h> #include <ir/index_manager/index/FieldIndexer.h> #include <ir/index_manager/index/TermReader.h> #include <ir/index_manager/index/TermPositions.h> #include <ir/index_manager/index/EPostingWriter.h> #include <ir/index_manager/store/IndexInput.h> #include <boost/...
<commit_before>#ifndef _FREERTOS_DRIVERS_COMMON_WIFIDEFS_HXX_ #define _FREERTOS_DRIVERS_COMMON_WIFIDEFS_HXX_ /// Wifi not associated to access point: continuous short blinks. #define WIFI_BLINK_NOTASSOCIATED 0b1010 /// Waiting for IP address: double short blink, pause, double short blink, ... #define WIFI_BLINK_ASSOC...
<commit_before>#include "ROOT/TDataFrame.hxx" #include "ROOT/TSeq.hxx" #include "ROOT/TTrivialDS.hxx" #include "TH1F.h" #include "TRandom.h" #include "gtest/gtest.h" #include <algorithm> using namespace ROOT::Experimental; using namespace ROOT::Experimental::TDF; TEST(Cache, FundType) { TDataFrame tdf(5); int...
<commit_before>// File: altorenderer.cpp // Description: ALTO rendering interface // Author: Jake Sebright // (C) Copyright 2018 // 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>#include <stdio.h> #include <vector> #include <cmath> #include <string> #include "common/input_output.h" using std::cout; using std::endl; // all dimensions are in millimeters, milligrams real container_width = 2.5; // width of area with particles real container_length = 25; // length of are...
<commit_before>#include <QHeaderView> #include <QVBoxLayout> #include <QTableView> #include <QPushButton> #include "nodemodel.h" #include "nodetablewidget.h" namespace Plow { namespace Gui { // // NodeTableWidget // NodeTableWidget::NodeTableWidget(QWidget *parent) : QWidget(parent) { QVBoxLayout *layout = n...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: interceptedinteraction.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: obo $ $Date: 2006-09-16 17:20:08 $ * * The Contents of this...
<commit_before>/* * This file is part of `et engine` * Copyright 2009-2014 by Sergey Reznik * Please, do not modify content without approval. * */ #include <et/locale/locale.h> #include <et/app/application.h> #include <et/rendering/rendercontext.h> #include <et/app/pathresolver.h> using namespace et;...
<commit_before>#include <debug.hpp> #include <itemsForm.hpp> #include <string> ItemForm::ItemForm(void) { // TODO: Load this list from some default settings or leave empty Item* item1 = new Item("Item #1", 1, 1, Item::GRAM); Item* item25 = new Item("Item #25", 25, 25, Item::PIECE); Item* item125 = new...
<commit_before>// $Id$ /* Copyright (c) 2007-2011, Trustees of The Leland Stanford Junior 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 ...
<commit_before>#ifndef ENTT_ENTITY_POOL_HPP #define ENTT_ENTITY_POOL_HPP #include <iterator> #include <type_traits> #include <utility> #include "../config/config.h" #include "../core/type_traits.hpp" #include "../signal/sigh.hpp" #include "storage.hpp" namespace entt { /** * @brief Default pool implementation. ...
<commit_before>/* * spc.cxx * * Copyright 2015 constroy <constroy.li@gmail.com> * * */ #include <cstdio> #include "parser.hxx" int main(int argc,char *argv[]) { if (argc!=3) { puts("usage: spc [src_name] [obj_name]"); return 0; } //unit test [Paser]------------------------------------------------ //fre...
<commit_before>// __BEGIN_LICENSE__ // Copyright (C) 2006-2010 United States Government as represented by // the Administrator of the National Aeronautics and Space Administration. // All Rights Reserved. // __END_LICENSE__ #include <boost/program_options.hpp> namespace po = boost::program_options; #include <boost/f...
<commit_before>/* * Copyright 2007-2020 CM4all GmbH * All rights reserved. * * author: Max Kellermann <mk@cm4all.com> * * 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...
<commit_before>#include "okcoin.h" #include "parameters.h" #include "curl_fun.h" #include "utils/restapi.h" #include "hex_str.hpp" #include "unique_json.hpp" #include "openssl/md5.h" #include <sstream> #include <iomanip> #include <chrono> #include <thread> // sleep_for #include <math.h> // fabs namespace OKCoin {...
<commit_before>#include "avtests.h" using namespace std; using namespace scy; using namespace scy::av; using namespace scy::test; int main(int argc, char** argv) { // Logger::instance().add(new ConsoleChannel("debug", LTrace)); test::initialize(); // Define class based tests #ifdef HAVE_FFMPEG desc...
<commit_before>/* MusicXML Library Copyright (C) Grame 2006-2013 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/. Grame Research Laboratory, 11, cours de Verdun G...
<commit_before>/* RecognitionKernel.cpp Copyright (c) 2011 AIST All Rights Reserved. Eclipse Public License v1.0 (http://www.eclipse.org/legal/epl-v10.html) $Date$ */ #include <vector> #include <stdio.h> #include "recogImage.h" #include "stereo.h" #include "circle.h" #include "vertex.h" #include "extractEdge.h"...
<commit_before>// -*- Mode:C++ -*- /**************************************************************************************************/ /* */ /* Copyright (C) 2015 University of Hull ...
<commit_before>/****************************************************************************** * Copyright (c) 2014 Jamis Hoo * Distributed under the MIT license * (See accompanying file LICENSE or copy at http://opensource.org/licenses/MIT) * * Project: * Filename: test.cc * Version: 1.0 * Author:...
<commit_before>#include "cppjson.h" #include <stdio.h> #include <sstream> void verify(const json::Value &value, const char *encoded) { /* try to encode the value and verify that it decodes to the same */ std::ostringstream ss; value.write(ss); json::Value value2; std::istringstream parser(ss.str()); value2.load_...
<commit_before>/* * test.cc * * Copyright (c) 2014 Vedant Kumar <vsk@berkeley.edu> */ extern "C" { #include "qf.c" } #include <set> #include <vector> #include <cassert> #include <cstdio> #include <cmath> using namespace std; /* I need a more powerful machine to increase these parameters... */ const uint32_t Q...
<commit_before>/* * The Apache Software License, Version 1.1 * * * Copyright (c) 2002-2003 The Apache Software Foundation. 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. Red...
<commit_before>/* * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. ...
<commit_before>#include <signal.h> #ifdef PROFILER #include <gperftools/profiler.h> #endif #include "in_mem_storage.h" #include "matrix_config.h" #include "io_interface.h" #include "safs_file.h" #include "sparse_matrix.h" #include "NUMA_dense_matrix.h" #include "matrix/FG_sparse_matrix.h" using namespace fm; void int...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICE...
<commit_before>#ifndef C3_ASSIGN_HH #define C3_ASSIGN_HH namespace C3 { /// Assign source to destination, optimized by argument types. template< class Destination, class Source > Destination& assign( Destination& dest, const Source& src ); namespace Detail { /// Handles assignment betwe...
<commit_before>// Copyright 2014 Vladimir Alyamkin. All Rights Reserved. #include "VaQuoleUIPluginPrivatePCH.h" UVaQuoleUIComponent::UVaQuoleUIComponent(const class FPostConstructInitializeProperties& PCIP) : Super(PCIP), RefCount(new FThreadSafeCounter) { bAutoActivate = true; bWantsInitializeComponent = true; P...
<commit_before>#include <fcntl.h> #include <unistd.h> #include <common/buffer.h> #include <event/action.h> #include <event/callback.h> #include <event/event.h> #include <event/event_system.h> #include <io/block_device.h> #define BW_BSIZE 65536 static uint8_t data_buffer[BW_BSIZE]; class BlockWriter { LogHandle lo...
<commit_before>// Copyright 2014 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 "media/filters/frame_processor.h" #include "base/stl_util.h" #include "media/base/buffers.h" #include "media/base/stream_parser_b...
<commit_before>/* * Copyright (c) 2019, The OpenThread Authors. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright * ...
<commit_before>/*********************************************************************** created: Fri, 4th July 2014 author: Henri I Hyyryläinen *************************************************************************/ /*************************************************************************** * Copy...
<commit_before>/*********************************************************************** filename: CEGUIOgreTexture.cpp created: Tue Feb 17 2009 author: Paul D Turner *************************************************************************/ /*********************************************************...
<commit_before>// // Test Suite for geos::noding::NodedSegmentString class. #include <tut/tut.hpp> // geos #include <geos/noding/NodedSegmentString.h> #include <geos/noding/Octant.h> #include <geos/geom/Coordinate.h> #include <geos/geom/CoordinateArraySequence.h> #include <geos/geom/CoordinateArraySequenceFactory.h> #...
<commit_before>/* * Chemharp, an efficient IO library for chemistry file formats * Copyright (C) 2015 Guillaume Fraux * * 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...
<commit_before>#ifndef EXPR_HXX_SPN8H6I7 #define EXPR_HXX_SPN8H6I7 #include "pos.hxx" #include "dup.hxx" #include "ppr.hxx" #include "id.hxx" #include "ptr.hxx" #include "ast/type.hxx" #include "visitor.hxx" #include <unordered_set> namespace miniml { /// Type of expression. enum class ExprType { ID, ///< Iden...
<commit_before>#include <LightGBM/utils/common.h> #include <LightGBM/bin.h> #include "dense_bin.hpp" #include "sparse_bin.hpp" #include <cmath> #include <cstring> #include <cstdint> #include <limits> #include <vector> #include <algorithm> namespace LightGBM { BinMapper::BinMapper() :bin_upper_bound_(nullptr) { }...
<commit_before> #define BOOST_TEST_DYN_LINK #define BOOST_TEST_MODULE libstorage #include <boost/test/unit_test.hpp> #include <boost/algorithm/string.hpp> #include "storage/SystemInfo/DevAndSys.h" #include "storage/Utils/Mockup.h" #include "storage/Utils/StorageDefines.h" #include "storage/Utils/SystemCmd.h" using ...
<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 "app/l10n_util.h" #include "base/command_line.h" #include "base/string16.h" #include "base/utf_string_conversions.h" #include ...
<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 "app/test/data/resource.h" #include "base/file_util.h" #include "base/message_loop.h" #include "base/path_service.h" #include ...
<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/prerender/prerender_util.h" #include "base/logging.h" #include "base/metrics/histogram.h" #include "base/stri...
<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/action_box_menu.h" #include "chrome/browser/ui/toolbar/action_box_menu_model.h" #include "chrome/bro...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkCamera.hh Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-1995 Ken Martin, Will Schroeder, Bill Lorensen. This software is copyrighted by Ken ...
<commit_before>/********************************************************************** * $Id$ * * GEOS - Geometry Engine Open Source * http://geos.refractions.net * * Copyright (C) 2001-2002 Vivid Solutions Inc. * Copyright (C) 2005 Refractions Research Inc. * * This is free software; you can redistribute and/...
<commit_before>#include <stdio.h> #include <osg/Geode> #include <osg/Drawable> #include <osg/BlendFunc> #include <osg/StateSet> #include <osg/Notify> #include <osg/Viewport> #include <osgDB/ReadFile> #include <osgDB/FileUtils> #include <osgDB/FileNameUtils> #include <osgDB/Registry> #include <osgDB/Input> #include <os...
<commit_before>// (C) Robert Osfield, Feb 2004. // GPL'd. #include <osg/ImageStream> #include <osg/Notify> #include <osg/Geode> #include <osg/GL> #include <osg/Timer> #include <osgDB/Registry> #include <osgDB/FileNameUtils> #include <osgDB/FileUtils> #include <xine.h> #include <xine/xineutils.h> #include <xine/video...
<commit_before>#include <QtCore/QCoreApplication> #include <QtNetwork/QLocalSocket> #include "lldbengineguest.h" #include <cstdio> #include <QSocketNotifier> #include <QQueue> // #define DO_STDIO_DEBUG 1 #ifdef DO_STDIO_DEBUG #define D_STDIO0(x) qDebug(x) #define D_STDIO1(x,a1) qDebug(x,a1) #define D_STDIO2(x,a1,a2) ...
<commit_before>/*************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Qt Software Information (qt-info@nokia.com) ** ** ** Non-Open Source Usage ** ** Licensees may use thi...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses...
<commit_before>#include <possumwood_sdk/node_implementation.h> #include <possumwood_sdk/app.h> #include <GL/glew.h> #include <GL/glut.h> #include <QPlainTextEdit> #include <QHBoxLayout> #include <QVBoxLayout> #include <QPushButton> #include <QStyle> namespace { dependency_graph::InAttr<std::string> a_src; class Ed...
<commit_before>// Copyright (c) 2016-2019 The Gulden developers // Authored by: Willem de Jonge (willem@isnapp.nl) // Distributed under the GULDEN software license, see the accompanying // file COPYING #include "witnessdurationwidget.h" #include "alert.h" #include "GuldenGUI.h" //#include "wallet.h" #include "validati...
<commit_before>// Copyright (c) 2014, Baidu.com, Inc. All Rights Reserved // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Author: yanshiguang02@baidu.com #include "logging.h" #include <assert.h> #include <boost/bind.hpp> #include <queue> #include <set> #in...
<commit_before>// cpsm - fuzzy path matcher // Copyright (C) 2015 Jamie Liu // // 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 // // Unle...
<commit_before>/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor ...
<commit_before>#include "std.h" #include "config.h" #include "cmdline.h" #include "compile.h" #include "projectcompile.h" #include "process.h" #include "outputmgr.h" // Compile a stand-alone .mymake-file. int compileTarget(const Path &wd, const CmdLine &cmdline) { MakeConfig config; // Load the system-global file. ...
<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>#include "ncurses.hh" #include "display_buffer.hh" #include "register_manager.hh" #include "utf8_iterator.hh" #include "event_manager.hh" #include <map> #include <signal.h> #include <termios.h> #include <sys/ioctl.h> #include <fcntl.h> namespace Kakoune { static void set_attribute(int attribute, bo...
<commit_before> #include "Queue.h" // Own interface #include "QueueFile.h" #include "AutomaticOperation.h" #include "logMsg.h" // LM_M namespace ss { #pragma mark Queue Queue::Queue( std::string name , KVFormat format ) { _name = name; _format = format; monitor.addMainParameter( "name" , _name );...
<commit_before>/* * Copyright 2012 Anders Wallin (anders.e.e.wallin "at" gmail.com) * * This file is part of OpenVoronoi. * * OpenVoronoi 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 ...
<commit_before>#include "parser.hxx" #include "lexer.hxx" #include <cstdlib> using namespace miniml; void *MiniMLParserAlloc(void* (*)(size_t)); void MiniMLParserFree(void*, void(*)(void*)); void MiniMLParser(void*, int, Token*, Expr**); #ifndef NDEBUG void MiniMLParserTrace(FILE*, char*); #endif namespace { int...
<commit_before>#include "erpiko/pkcs12.h" #include "converters.h" #include <openssl/pkcs12.h> #include <openssl/pkcs7.h> #include <openssl/err.h> #include <openssl/obj_mac.h> #include <iostream> namespace Erpiko { class Pkcs12::Impl { public: PKCS12* p12; EVP_PKEY *pkey; X509 *cert; PKCS12_SAFEBAG *d...
<commit_before> #include <iostream> #include <fstream> #include <algorithm> #include <limits.h> #include <errno.h> #include <cstdio> #include <sys/time.h> #include <mist/dtsc.h> #include "player.h" namespace Player{ ///\todo Make getNowMS available in a library /// Gets the current system time in milliseconds. l...
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "random.h" #include "support/cleanse.h" #ifdef WIN32 #in...