text
stringlengths
54
60.6k
<commit_before>// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "matchdatabuilder.h" #include <vespa/searchlib/attribute/attributevector.h> #include <vespa/searchlib/attribute/attributevector.hpp> #include <vespa/searchlib/attribute/stringb...
<commit_before>// ========================================================================== // bam_print_alignments.cpp // ========================================================================== // Copyright (c) 2006-2010, Knut Reinert, FU Berlin // All rights reserved. // // Redistribution...
<commit_before>//===-- main.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>/* * @file Configuration.cpp * * @author <a href="mailto:[email protected]">Thomas Krause</a> * @author <a href="mailto:[email protected]">Xu Yuan</a> * @breief the gloabl configuration for NaoTH framework * */ #include "Configuration.h" #include "Tools/StringTools.h" #inclu...
<commit_before>/*========================================================================= Program: ORFEO Toolbox Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. See OTBCopyright.txt for details. This software is distribu...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: spritecanvas.cxx,v $ * * $Revision: 1.12 $ * * last change: $Author: obo $ $Date: 2006-09-17 03:31:24 $ * * The Contents of this file are...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/cache/p9_l3err_extract.H $ ...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/utils/stopreg/p9_stop_util.C $ ...
<commit_before>#include "mapcss/StyleSheet.hpp" #include "mapcss/MapCssParser.cpp" #include "utils/CoreUtils.hpp" #include <boost/test/unit_test.hpp> #include <string> #include <memory> using namespace utymap::mapcss; typedef std::string::const_iterator StringIterator; struct MapCss_MapCssParserFixture { MapCs...
<commit_before>/* * Copyright (C) 2015, Nils Moehrle, Michael Waechter * TU Darmstadt - Graphics, Capture and Massively Parallel Computing * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD 3-Clause license. See the LICENSE.txt file for details. */ #include <nu...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one ...
<commit_before>#include <map> #include <ros/ros.h> #include <sensor_msgs/JointState.h> #include <std_msgs/Float32.h> std::map<std::string, double> g_servo_angle; void angle_stateCb(const std_msgs::Float32::ConstPtr& sub_msg, const std::string& side) { g_servo_angle[side] = sub_msg->data; } int main(int argc, char...
<commit_before>/* Sirikata * HitPointScenario.cpp * * Copyright (c) 2010, Ewen Cheslack-Postava * 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 cod...
<commit_before><commit_msg>DLL API finished.<commit_after><|endoftext|>
<commit_before>/* * Copyright (C) 2006 by Tommi Maekitalo * Copyright (C) 2006 by Marc Boris Duerner * Copyright (C) 2006 by Stefan Bueder * * 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 Fo...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2014 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>/* Copyright (c) 2017, Lukas Holecek <[email protected]> This file is part of CopyQ. CopyQ 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 (...
<commit_before>//____________________________________________________________________ // // To make an event sample (of size 100) do // // shell> root // root [0] .L pythiaExample.C // root [1] makeEventSample(1000) // // To start the tree view on the generated tree, do // // shell> root // root [0] ....
<commit_before>// // Created by Derek van Vliet on 2014-12-10. // Copyright (c) 2014 Get Set Games Inc. All rights reserved. // #include "BlueprintReflectionPluginPrivatePCH.h" #include "AssetRegistryModule.h" UClass* UBlueprintReflectionFunctions::GetClassByNameImpl(FString Name) { if (UClass* result = FindObject...
<commit_before>// Copyright 2016 Chris Conway (Koderz). All Rights Reserved. #include "RuntimeMeshComponentEditorPrivatePCH.h" #include "RuntimeMeshComponentDetails.h" #include "DlgPickAssetPath.h" #include "AssetToolsModule.h" #include "AssetRegistryModule.h" #define LOCTEXT_NAMESPACE "RuntimeMeshComponentDetails" ...
<commit_before>// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/string_util.h" #include "base/test/test_timeouts.h" #include "base/threading/platform_thread.h" #include "chrome/test/au...
<commit_before>#include "Plater/Plate2D.hpp" // libslic3r includes #include "Geometry.hpp" #include "Point.hpp" #include "Log.hpp" #include "ClipperUtils.hpp" // wx includes #include <wx/colour.h> #include <wx/dcbuffer.h> namespace Slic3r { namespace GUI { Plate2D::Plate2D(wxWindow* parent, const wxSize& size, std:...
<commit_before>// Module: Log4CPLUS // File: consoleappender.cxx // Created: 6/2001 // Author: Tad E. Smith // // // Copyright (C) The Apache Software Foundation. All rights reserved. // // This software is published under the terms of the Apache Software // License version 1.1, a copy of which has been included w...
<commit_before>/** ========================================================================== * 2011 by KjellKod.cc, modified by Vrecan in https://bitbucket.org/vrecan/g2log-dev * 2015, adopted by KjellKod for g3log at:https://github.com/KjellKod/g3sinks * * This code is PUBLIC DOMAIN to use at your own risk and comes ...
<commit_before>/*! @file @copyright Edouard Alligand and Joel Falcou 2015-2017 (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_BRIGAND_FUNCTIONS_BITWISE_HPP #define BOOST_BRIGAND_FUNCTIONS_BITWISE_HPP #include <brigand/functions/bitwise/bitand.hpp> #include <brigand/fun...
<commit_before>#ifndef HOUGH_IMAGE_HH #define HOUGH_IMAGE_HH #include <ctime> #include <cstdlib> #include <opencv2/highgui.hpp> #include <vpp/vpp.hh> #include <Eigen/Core> #include <vpp/utils/opencv_bridge.hh> #include <vpp/utils/opencv_utils.hh> #include "boost/intrusive/list.hpp" #include "dense_one_to_one_hough....
<commit_before>#include "kernel.h" #include "errorobject.h" #include "complexdrawer.h" using namespace Ilwis; using namespace Geodrawer; ComplexDrawer::ComplexDrawer(const QString &name, DrawerInterface* parentDrawer, RootDrawer *rootdrawer, ...
<commit_before>/* Copyright (c) 2008, 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> /* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "gm.h" #include "SkCanvas.h" #include "SkGradientShader.h" #include "SkGraphics.h" #include "SkPath.h" #include "SkRegion.h" #include "SkShader.h" sta...
<commit_before>/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "gm.h" #include "Resources.h" #include "SkCodec.h" #include "SkColorSpace.h" #include "SkColorSpace_Base.h" #include "SkHalf.h" #include "SkImage.h" s...
<commit_before>// Copyright Paul Dardeau, SwampBits LLC 2014 // BSD License #include <stdio.h> #include <string.h> #include "HttpRequestHandler.h" #include "Socket.h" #include "SocketRequest.h" #include "HttpServer.h" #include "HTTP.h" #include "HttpRequest.h" #include "HttpResponse.h" #include "Thread.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 <gdk/gdkkeysyms.h> #include <X11/XF86keysym.h> #include "chrome/browser/accelerator_table_linux.h" #include "base/basictypes...
<commit_before>/* Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved. 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; version 2 of the License. This program i...
<commit_before>#include <BALL/VIEW/WIDGETS/HTMLView.h> #include <BALL/VIEW/WIDGETS/HTMLPage.h> #ifdef BALL_OS_DARWIN # include <OpenGL/gl.h> #else # include <GL/gl.h> #endif namespace BALL { namespace VIEW { HTMLView::HTMLView(QWidget* parent) : QWebEngineView(parent) { setPage(new HTMLPage(this)); se...
<commit_before>/* Copyright (c) 2014 Stanford University * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND T...
<commit_before>// Copyright (c) 2006-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 <string> #include "base/file_util.h" #include "base/scoped_temp_dir.h" #include "chrome/browser/net/url_request_mock_http...
<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/chrome_browser_main_win.h" #include <windows.h> #include <shellapi.h> #include <algorithm> #include "base/c...
<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/download/download_shelf.h" #include "app/l10n_util.h" #include "base/file_util.h" #include "chrome/browser/do...
<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. // On Linux, when the user tries to launch a second copy of chrome, we check // for a socket in the user's profile directory. If the s...
<commit_before>// Copyright (c) 2006-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/shell_integration.h" #include <stdlib.h> #include <vector> #include "base/process_util.h" #if defined...
<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 "chrome/browser/sync_file_system/logger.h" #include "base/file_util.h" #include "base/lazy_instance.h" #include "base/location.h"...
<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/test/chrome_process_util.h" #include "chrome/test/ui/ui_test.h" class ChromeProcessUtilTest : public UITest { }; TE...
<commit_before>// Copyright 2008-2009, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this ...
<commit_before><commit_msg>Remove stale reference to ie_alt_tab. This went in by mistake.<commit_after><|endoftext|>
<commit_before>#include <iostream> #include <cstring> #include <cstdlib> #include "dacloud.h" using namespace std; int main(int argc, char *argv[]) { if (argc < 3) return (-1); string configpath = argv[1]; string useragent = argv[2]; da_cloud_config config; ::memset(&config, 0, sizeof(conf...
<commit_before>#ifndef ICMPHEADER_HPP_ #define ICMPHEADER_HPP_ /* * Author: jrahm * created: 2015/01/22 * ICMPHeader.hpp: <description> */ #include <Prelude> #include <io/binary/Putter.hpp> #include <io/binary/Getter.hpp> #define ICMPHEADER_SIZE 8 namespace io { namespace icmp { enum Type { ECH...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkWebGLWidget.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 2020 The TensorFlow Quantum Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required...
<commit_before>#include "vulkan/vulkan.h" #include <Windows.h> int CALLBACK WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { auto createInstanceFn = reinterpret_cast<PFN_vkCreateInstance>(vkGetInstanceProcAddr(nullptr, "vkCreateInstance")); ::VkInstanceCre...
<commit_before>#include "diagram.h" #include "type.h" #include "enumType.h" #include "numericType.h" #include "stringType.h" #include "nodeType.h" #include "edgeType.h" #include "editor.h" #include <QDebug> Diagram::Diagram(QString const &name, QString const &nodeName, QString const &displayedName, Editor *editor) :...
<commit_before>// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "remote_slobrok.h" #include "rpc_server_map.h" #include "rpc_server_manager.h" #include "exchange_manager.h" #include "sbenv.h" #include <vespa/fnet/frt/supervisor.h> #include ...
<commit_before>// $Id: atomBondModelBaseProcessor.C,v 1.2 2000/12/12 16:19:24 oliver Exp $ #include <BALL/MOLVIEW/FUNCTOR/atomBondModelBaseProcessor.h> using namespace std; namespace BALL { namespace MOLVIEW { AtomBondModelBaseProcessor::AtomBondModelBaseProcessor() : BaseModelProcessor(), used_atoms_(...
<commit_before>/****************************************************************************** * This file is part of the Gluon Development Platform * Copyright (C) 2008 Sacha Schutz <[email protected]> * Copyright (C) 2008 Olivier Gueudelot <[email protected]> * Copyright (C) 2008 Charles Huet <packadal@gm...
<commit_before>#include "test.h" static_MTX(mtx3, mtxPrioProtect, 3); static_CND(cnd3); static void proc3() { unsigned event; event = mtx_wait(mtx3); assert_success(event); event = cnd_wait(cnd3, mtx3); assert_success(event); event = mtx_wait(mtx2); assert...
<commit_before>#include <stan/math/mix/scal.hpp> #include <gtest/gtest.h> #include <boost/math/special_functions/digamma.hpp> #include <test/unit/math/rev/mat/fun/util.hpp> #include <test/unit/math/mix/scal/fun/nan_util.hpp> TEST(AgradFwdLogFallingFactorial,FvarVar_FvarVar_1stDeriv) { using stan::math::fvar; usin...
<commit_before><commit_msg>nitpicks<commit_after><|endoftext|>
<commit_before>#pragma once #include "Provider.hpp" #include "Block.hpp" #include "Transaction.hpp" #include "Collection.hpp" #include "FilterLog.hpp" namespace Ethereum{namespace Connector{ class BlockChain { public: BlockChain(Provider &); bool isSyncing(); size_t getHeight(); ...
<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>#ifndef MJOLNIR_READ_FORCEFIELD #define MJOLNIR_READ_FORCEFIELD #include <extlib/toml/toml.hpp> #include <mjolnir/core/ForceField.hpp> #include <mjolnir/util/get_toml_value.hpp> #include <mjolnir/input/read_interaction.hpp> namespace mjolnir { template<typename traitsT> LocalForceField<traitsT> read_lo...
<commit_before>#include <boost/python.hpp> #include <boost/python/suite/indexing/vector_indexing_suite.hpp> #include <opengm/inference/inference.hxx> #include <opengm/graphicalmodel/graphicalmodel.hxx> #include <opengm/inference/auxiliary/fusion_move/fusion_mover.hxx> #include <opengm/python/opengmpython.hxx> #includ...
<commit_before>/* * Software License Agreement (Apache License) * * Copyright (c) 2014, Dan Solomon * * 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...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkClipDataSet.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-2001 Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. Redistrib...
<commit_before>// // PROJECT: Aspia // FILE: client/file_transfer.cc // LICENSE: GNU General Public License 3 // PROGRAMMERS: Dmitry Chapyshev ([email protected]) // #include "client/file_transfer.h" #include "client/file_status.h" #include "client/file_transfer_queue_builder.h" namespac...
<commit_before>#include "raven_client.h" #include <assert.h> #include <time.h> #include <QApplication> #include <QDebug> #include <QHostAddress> #include <QHostInfo> #include <QJsonDocument> #include <QJsonObject> #include <QNetworkInterface> #include <QNetworkRequest> #include <QNetworkReply> #include <QUuid> name...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: TableFieldDescWin.cxx,v $ * * $Revision: 1.13 $ * * last change: $Author: rt $ $Date: 2007-07-06 08:43:52 $ * * The Contents of this file...
<commit_before>// readWrite-bmp.cc // // extracts pixel data from user-specified .bmp file // inserts data back into new .bmp file // // gw // uncomment for MSVS // #include "stdafx.h" #include <iostream> #include <fstream> #include <cstdlib> #include <string> #include <vector> #include <cmath> #include...
<commit_before> #include "VideoSource.h" #include "DestinNetworkAlt.h" int main(int argc, char ** argv){ VideoSource vs(true, ""); SupportedImageWidths siw = W512; uint centroid_counts[] = {20,16,14,12,10,8,4,2}; destin_network_alt network(siw, 8, centroid_counts); vs.enableDisplayWindow(); ...
<commit_before>/*************************************************************************/ /* button.cpp */ /*************************************************************************/ /* This file is part of: */ /...
<commit_before>/* * Copyright (c) 2004-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 directo...
<commit_before>/** * @copyright * ==================================================================== * Copyright (c) 2007 CollabNet. All rights reserved. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms * are also availab...
<commit_before>#include <chrono> #include <iostream> #include <fstream> #include <numeric> #include <math.h> #include <string> #include <time.h> #include <iomanip> #include "mkldnn.hpp" #include "configure.h" using namespace mkldnn; using namespace std; void resnetBlock() { auto cpu_engine = engine(engine::cpu, 0...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkLineSource.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. T...
<commit_before>/* * Part of HTTPP. * * Distributed under the 3-clause BSD licence (See LICENCE.TXT file at the * project root). * * Copyright (c) 2014 Thomas Sanchez. All rights reserved. * */ #include <iostream> #include <chrono> #include <thread> #include <boost/test/unit_test.hpp> #include "httpp/HttpSer...
<commit_before>/*********************************************************************** * Joystick * * read joystick data, normalize from -90 to +90, write data to serial * * * * @author: N...
<commit_before>#include "pch.h" #include "memory_stream.h" MemoryStream::MemoryStream() { } MemoryStream::~MemoryStream() { close(); } void MemoryStream::close() { _ownedBuffer.reset(); _readBuffer = nullptr; _writeBuffer = nullptr; _cursor = _bufferSize = 0; _autoBuffer.clear(); } Memory...
<commit_before>/* * Copyright (C) 2012 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 * * Unless required by appl...
<commit_before>// Copyright (c) 2010 Nickolas Pohilets // // This file is a part of the CppEvents library. // // 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...
<commit_before>#include "DirectoryCorpusReader.ih" DirectoryCorpusReader::DirectoryCorpusReader(QString const &directory) : d_directory(directory) { } QVector<QString> DirectoryCorpusReader::entries() const { return d_entries; } bool DirectoryCorpusReader::open() { QDir dir(d_directory, "*.xml"); ...
<commit_before>/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
<commit_before>/* SDL - Simple DirectMedia Layer Copyright (C) 1997-2009 Sam Lantinga This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License,...
<commit_before> #include <QOpenGLShaderProgram> #include <QOpenGLFunctions_3_2_Core> #include "UniformParser.h" namespace glraw { void UniformParser::setUniforms( QOpenGLFunctions_3_2_Core & gl , QOpenGLShaderProgram & program , const QMap<QString, QString> & uniforms) { if (uniforms.isEmpty()) r...
<commit_before>// MFEM Example 1 - Parallel Version // // Compile with: make ex1p // // Sample runs: mpirun -np 4 ex1p -m ../data/square-disc.mesh // mpirun -np 4 ex1p -m ../data/star.mesh // mpirun -np 4 ex1p -m ../data/star-mixed.mesh // mpirun -np 4 ex...
<commit_before>#include "LinearStrainHardening.h" #include "MooseException.h" #include "SymmIsotropicElasticityTensor.h" template<> InputParameters validParams<LinearStrainHardening>() { InputParameters params = validParams<SolidModel>(); /* Iteration control parameters */ params.addParam<Real>("toler...
<commit_before>// Copyright (c) 2015 Yandex LLC. All rights reserved. // Author: Vasily Chekalkin <[email protected]> #include "sdch_dictionary_factory.h" #include <algorithm> namespace sdch { namespace { bool compare_dict_conf(const DictConfig& a, const DictConfig& b) { ngx_int_t c = ngx_memn2cmp(a.groupname...
<commit_before>/* The MIT License Copyright (c) 2013 Adrian Tan <[email protected]> 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 ...
<commit_before>#include "utility.hpp" #include <sse/schemes/sophos/sophos_client.hpp> #include <sse/schemes/sophos/sophos_server.hpp> #include <sse/schemes/utils/utils.hpp> #include <sse/crypto/utils.hpp> #include <gtest/gtest.h> #include <algorithm> #include <fstream> #include <functional> #include <iostream> #inc...
<commit_before>// IFC SDK : IFC2X3 C++ Early Classes // Copyright (C) 2009 CSTB // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License, or (at your opt...
<commit_before>////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2007-2008, Image Engine Design Inc. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // ...
<commit_before>/*M/////////////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2015, Youssef Kashef // Copyright (c) 2015, ELM Library Project // 3-clause BSD License // //M*/ #include "elm/layers/medianblur.h" #include <opencv2/imgproc/imgproc.hpp> #include "elm/core/ex...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: virdev.cxx,v $ * * $Revision: 1.26 $ * * last change: $Author: obo $ $Date: 2006-07-10 17:26:14 $ * * The Contents of this file are made ...
<commit_before>/* This file is part of Bohrium and copyright (c) 2012 the Bohrium team <http://www.bh107.org>. Bohrium 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 (a...
<commit_before>////////////////////////////////////////////////////////////////////////// #include "Adapter/D3D12/Device.hpp" #include "Adapter/D3D12/Adapter.hpp" #include "Adapter/D3D12/Instance.hpp" #include "Adapter/D3D12/CommandPool.hpp" #include "Adapter/D3D12/CommandBuffer.hpp" #include "Adapter/D3D12/Fence.hpp" ...
<commit_before>/* * Copyright (c) 2012 The WebRTC 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 in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS....
<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/string_util.h" #include "webkit/glue/media/media_resource_loader_bridge_factory.h" namespace { // A constant for an un...
<commit_before>//////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not dow...
<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 "ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h" #include <X11/Xlib.h> // Get rid of a macro from Xlib.h that conf...
<commit_before>#include "PackNodeFactory.h" // picture #include "ImageBuilder.h" #include "Scale9Builder.h" #include <easyscale9.h> #include "IconBuilder.h" #include <easyicon.h> #include "TextureBuilder.h" #include <easytexture.h> // label #include "LabelBuilder.h" // animation #include "ComplexBuilder.h" #include ...
<commit_before>//===-- RegisterContextMinidumpTest.cpp -------------------------*- 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>// 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 "views/events/event.h" #include <windows.h> #include "base/logging.h" #include "ui/base/keycodes/keyboard_code_conversion_wi...
<commit_before>#include "gui_web_cam_main_window.h" #include "ui_gui_web_cam_main_window.h" #include "../qt_utils/event_filter.h" #include "../qt_utils/invoke_in_thread.h" #include "../qt_utils/loop_thread.h" #include "../cpp_utils/exception.h" #include <cassert> #include <QGraphicsScene> #include <QGraphicsVideoIte...