text
stringlengths
54
60.6k
<commit_before><commit_msg>Cleanup temporary files created by the extension updater unit test.<commit_after><|endoftext|>
<commit_before>/*========================================================================= Program: Visualization Toolkit Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is distributed WIT...
<commit_before>#include <pthread.h> #include <time.h> #include "t_zset.h" #include "ttl.h" #define EXPIRATION_LIST_KEY "\xff\xff\xff\xff\xff|EXPIRE_LIST|KV" ExpirationHandler::ExpirationHandler(SSDB *ssdb){ this->ssdb = ssdb; this->thread_quit = false; this->list_name = EXPIRATION_LIST_KEY; this->start(); } Expi...
<commit_before><commit_msg>begin uin.cpp base code<commit_after>#include <iostream> #include <string> using namespace std; string userin(string &); void print(const string); string userin(string &s) { getline(s); } void print(const string s) { } int main() { string uin; userin(uin); print(uin); return 0; } ...
<commit_before>/////////////////////////////////////////////////////////////////////////////// // // File FilterElectrogram.cpp // // For more information, please see: http://www.nektar.info // // The MIT License // // Copyright (c) 2006 Division of Applied Mathematics, Brown University (USA), // Department of Aeronaut...
<commit_before>// // Copyright (C) 2007 SIPez LLC. // Licensed to SIPfoundry under a Contributor Agreement. // // Copyright (C) 2007 SIPfoundry Inc. // Licensed by SIPfoundry under the LGPL license. // // $$ /////////////////////////////////////////////////////////////////////////////// // Author: Dan Petrie <dpet...
<commit_before>#include "game/tileview/tileview.h" #include "game/tileview/tile.h" #include "framework/includes.h" #include "framework/framework.h" #include "framework/image.h" #include "game/resources/gamecore.h" namespace OpenApoc { TileView::TileView(Framework &fw, TileMap &map, Vec3<int> tileSize) : Stage(fw),...
<commit_before>#include "benchmarktarget_writer.h" #include "common_writer.h" #include "precomp.h" void BenchmarktargetWriter::WriteBenchmarkTarget( std::string dir_name, std::map<std::string, RepoSearcher::directory> &targets, std::map<std::string, RepoSearcher::library> &libraries) { std::string proj_...
<commit_before><commit_msg>More tests for `yli::linear_algebra::Tensor3`.<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * $RCSfile: gcach_vdev.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: hdu $ $Date: 2000-11-17 09:40:08 $ * * The Contents of this file are made available subject to the terms of * either of the following li...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: gtkobject.cxx,v $ * * $Revision: 1.9 $ * * last change: $Author: hr $ $Date: 2006-08-11 17:46:46 $ * * The Contents of this file are made...
<commit_before>#ifndef ITER_STARMAP_H_ #define ITER_STARMAP_H_ #include "iterbase.hpp" #include <utility> #include <type_traits> #include <array> #include <cassert> #include <memory> namespace iter { // starmap with a container<T> where T is one of tuple, pair, array template <typename Func, typename Contain...
<commit_before>#include <archie/fused/tuple.hpp> #include <archie/fused/algorithm.hpp> #include <memory> #include <catch.hpp> namespace { namespace fused = archie::fused; TEST_CASE("canUseFusedCompose", "[fused::algo]") { { auto x = fused::compose(fused::make_tuple, 1, 2u, '3'); static_assert(fused::tuple_s...
<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 * "Li...
<commit_before>/**************************************************************************** * * Copyright (C) 2012 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: *...
<commit_before>/***************************************************************************** * Media Library ***************************************************************************** * Copyright (C) 2015-2019 Hugo Beauzée-Luyssen, Videolabs, VideoLAN * * Authors: Hugo Beauzée-Luyssen <hugo@beauzee.fr> * * T...
<commit_before>/* * Copyright 2017-present 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 appl...
<commit_before>#include "handler_unittest.hpp" #include "fake_sys_file.hpp" #include <google/protobuf/message_lite.h> #include <google/protobuf/text_format.h> #include <algorithm> #include <boost/endian/arithmetic.hpp> #include <memory> #include <string> #include <vector> #include "binaryblob.pb.h" #include <gtest...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/usr/i2c/i2cTargetPres.C $ ...
<commit_before>/* ====================================================== Copyright 2016 Liang Ma 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/LIC...
<commit_before>#include <cassert> #include <iostream> // std::cerr #include <string> // std::string #include <sstream> // std::ostringstream #include <random> /* mt19937 */ #include "calc_hsv_rgb.h" #include "util_stop_watch.h" /* util::stop_watch */ #include "iip_trace_by_hsv.h" /* template TINN,TOUTについて unsi...
<commit_before>/**************************************************************************** * * Copyright (c) 2014 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: *...
<commit_before>/* * Copyright 2014, Nicolas Mansard, LAAS-CNRS * * This file is part of eigenpy. * eigenpy 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>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** Commercial Usage ** ** Licensees holding valid Qt Commercial...
<commit_before>// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All right reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the ...
<commit_before> /*++ Copyright (c) 2015 Microsoft Corporation --*/ #include<iostream> #include<stdlib.h> #include<limits.h> #include"trace.h" #include"memory_manager.h" #include"error_codes.h" #include"z3_omp.h" // The following two function are automatically generated by the mk_make.py script. // The script collects...
<commit_before>/* * AnimDataModule.cpp * * Copyright (C) 2008 - 2009 by VISUS (Universitaet Stuttgart) * Alle Rechte vorbehalten. */ #include "stdafx.h" #include "mmcore/view/AnimDataModule.h" #include "vislib/assert.h" #include "vislib/sys/Log.h" using namespace megamol::core; #define MM_ADM_COUN...
<commit_before>/* * Copyright (C) 2014-2015 Pavel Dolgov * * See the LICENSE file for terms of use. */ #include <iomanip> #include <iostream> #include <limits> #include "ConsoleBotView.hpp" static int numberOfDigits(int number) { int digits = 0; while (number) { number /= 10; digits++; ...
<commit_before>#include "../NULLC/nullc.h" #pragma warning(disable : 4996) #include <stdio.h> #include <string.h> #include <stdlib.h> const char* translationDependencies[128]; unsigned translationDependencyCount = 0; void AddDependency(const char *fileName) { if(translationDependencyCount < 128) tr...
<commit_before>#include "../NULLC/nullc.h" #if defined(_MSC_VER) #pragma warning(disable: 4996) #endif #include <stdio.h> #include <string.h> #include <stdlib.h> const char* translationDependencies[128]; unsigned translationDependencyCount = 0; void AddDependency(const char *fileName) { if(translati...
<commit_before>#include "StdAfx.h" #define BUFFERSIZE (2 * 1024 * 1024) char gBuffer[BUFFERSIZE]; int lastFrame = -1; int framesReceived = 0; /* The Ultracomm object is not available in the callback, so we copy some of its attributes into file-local variables that the callback can access. */ ofstream* mystream;...
<commit_before>/** * @file * @copyright defined in eos/LICENSE.txt */ #include <stltest/stltest.hpp> /// defines transfer struct (abi) #include <array> #include <vector> #include <stack> #include <queue> #include <deque> #include <list> #include <map> #include <set> #include <unordered_map> #include <unordered_se...
<commit_before>#include <mesos_sched.hpp> #include <libgen.h> #include <cstdlib> #include <iostream> #include <sstream> #include <boost/lexical_cast.hpp> #include "foreach.hpp" using namespace std; using namespace mesos; using boost::lexical_cast; class MyScheduler : public Scheduler { string executor; int ta...
<commit_before>/*! * \file glyph_cache.cpp * \brief file glyph_cache.cpp * * Copyright 2016 by Intel. * * Contact: kevin.rogovin@intel.com * * 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) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #include <config/bitcoin-config.h> #end...
<commit_before>//! \file /* ** Copyright (C) - Triton ** ** This program is under the terms of the BSD License. */ #include <cstring> #include <exceptions.hpp> #include <immediate.hpp> #include <instruction.hpp> namespace triton { namespace arch { Instruction::Instruction() { this->address =...
<commit_before>/* -*- coding: utf-8; mode: c++; tab-width: 3; indent-tabs-mode: nil -*- Copyright 2016-2017 Raffaello D. Di Napoli This file is part of Lofty. Lofty 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 F...
<commit_before>// __BEGIN_LICENSE__ // Copyright (C) 2006-2011 United States Government as represented by // the Administrator of the National Aeronautics and Space Administration. // All Rights Reserved. // __END_LICENSE__ #include <vw/gui/TileGenerator.h> #include <vw/gui/ImageTileGenerator.h> #include <vw/gui/Plat...
<commit_before>#include <sstream> #include "controller.hpp" Controller::Controller(): n("~"), new_task(false), ac_speak("/speak", true), ac_gaze("/gaze_at_pose", true), memory_ppl(), name_dict(), person_id(-1) { name_tag_sub = n.subscribe<std_msgs::Int32>(/* "/" + robot +*/ "/tag_name_detected", 1000, &Controller::ta...
<commit_before>/** * @file graphReader.hpp * @ingroup group * @author Chirag Jain <cjain7@gatech.edu> * @brief Parallel graph reader using BLISS parallel IO support * * Copyright (c) 2015 Georgia Institute of Technology. All Rights Reserved. */ #ifndef PAR_GRAPH_READER_HPP #define PAR_GRAPH_READER_HPP /...
<commit_before>#include "vast/query.h" #include <cppa/cppa.hpp> #include "vast/event.h" #include "vast/logger.h" namespace vast { namespace { struct cow_segment_less_than { bool operator()(cow<segment> const& x, cow<segment> const& y) const { return x->base() < y->base(); } }; cow_segment_less_than segme...
<commit_before>///////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2022, The Regents of the University of California // All rights reserved. // // BSD 3-Clause License // // Redistribution and use in source and binary forms, with or without // modification, are permitted pr...
<commit_before>/** * \file RunnerAgent.cpp * \date Apr 1, 2010 * \author samael */ #include <cstdio> #include <sys/time.h> #include <unistd.h> #include <UDPSocket.h> #include <TLVReaderWriter.h> #include <Thread.h> #include <SingletonAutoDestructor.h> #include <HelperMacros.h> #include "D2MCE.h" #include "RunnerAg...
<commit_before>#include "Action.h" #include <Exd/ExdDataGenerated.h> #include <Util/Util.h> #include "Framework.h" #include "Script/ScriptMgr.h" #include "Actor/Player.h" #include <Network/CommonActorControl.h> #include "Network/PacketWrappers/ActorControlPacket142.h" #include "Network/PacketWrappers/ActorControlPac...
<commit_before>/** @file driverif.H * @brief Provides the device driver interfaces for performing device access * and enabling routing registration. * * @note These interfaces should only be used by device drivers. User code * wanting to perform device operations should use userif.H instead. */ ...
<commit_before>#include "PluginManager.h" #include <fstream> #include <filesystem> #include <Logger/Logger.h> #include <Tools.h> #include <API/UE/Math/ColorList.h> #include "../Commands.h" namespace ArkApi { PluginManager::PluginManager() { Commands& commands = Commands::Get(); commands.AddConsoleCommand("pl...
<commit_before>/* Copyright 2021 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>#ifndef STAN_MATH_OPENCL_VALUE_TYPE_HPP #define STAN_MATH_OPENCL_VALUE_TYPE_HPP #ifdef STAN_OPENCL #include <stan/math/prim/meta.hpp> #include <stan/math/opencl/kernel_generator/is_kernel_expression.hpp> #include <type_traits> namespace stan { /** \ingroup type_traits * Return the value type of an Op...
<commit_before>#include "gen_tex.h" #include "base/utils.h" #include <vector> #define COMP_LATTICE_PROBABILITY 0.25f void gen_texture(glm::u8vec4 * tex_data, ushort dim, ushort grid_dim, unsigned seed){ if (grid_dim <= 0){ return; } srand(seed); int max = (int)(1 / COMP_LATTICE_PROBABILITY); int lattice_...
<commit_before>// // Copyright © 2017 Arm Ltd. All rights reserved. // SPDX-License-Identifier: MIT // #pragma once #include <boost/filesystem.hpp> #include <boost/assert.hpp> #include <boost/format.hpp> #include <experimental/filesystem> #include <armnn/IRuntime.hpp> #include <armnn/TypesUtils.hpp> #include "test/Te...
<commit_before>//.............................................................................. // // This file is part of the Jancy toolkit. // // Jancy is distributed under the MIT license. // For details see accompanying license.txt file, // the public copy of which is also available at: // http://tibbo.com/dow...
<commit_before>#include "sceneGridHandler.h" #include "../nodeElement.h" #include "../../view/editorViewScene.h" using namespace qReal; namespace { // TODO: find a way to remove it // magic constants const int widthLineX = 15000; const int widthLineY = 11000; } SceneGridHandler::SceneGridHandler(NodeElement *node) ...
<commit_before>#ifndef VPP_ALGORITHMS_FILTERS_SCHARR_HH_ # define VPP_ALGORITHMS_FILTERS_SCHARR_HH_ # include <vpp/core/image2d.hh> # include <vpp/core/vector.hh> namespace vpp { template <typename U, typename V> void scharr(const image2d<vector<U, 1>>& in, image2d<vector<V, 2>>& out) { assert(in.border() ...
<commit_before>/* * Copyright (c) 2017, James Jackson and Daniel Koch, BYU MAGICC Lab * * 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>// The MIT License (MIT) // Copyright (c) 2014 Rapptz // 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 // us...
<commit_before>#include "Navigator.h" Navigator* g_pNavigator; void onMouseNavigator(int event, int x, int y, int flags, void* userdata) { g_pNavigator->handleMouse(event, x, y, flags); } namespace kai { Navigator::Navigator() { AppBase(); m_pCamFront = NULL; m_pAP = NULL; m_pMavlink = NULL; ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: dlg_InsertLegend.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2005-09-08 00:27:22 $ * * The Contents of this file a...
<commit_before>#include <iostream> #include <string> #include "gtest/gtest.h" #include "TRint.h" using testing::internal::CaptureStderr; using testing::internal::GetCapturedStderr; TEST(TRint, UnrecognizedOptions) { // Create array of options. // We need to create it as a dynamic array for the following reaso...
<commit_before>// Copyright 2010-2014 RethinkDB, all rights reserved. #ifndef CLUSTERING_ADMINISTRATION_ISSUES_OUTDATED_INDEX_HPP_ #define CLUSTERING_ADMINISTRATION_ISSUES_OUTDATED_INDEX_HPP_ #include <map> #include <set> #include <string> #include "clustering/administration/issues/issue.hpp" #include "clustering/tab...
<commit_before>// csabbg_testdriver.t.cpp -*-C++-*- #include <bsl_cstdlib.h> #include <bsl_iostream.h> namespace bde_verify { } using namespace bde_verify; using bsl::cout; using bsl::cerr; using bsl::endl; using bsl::flush; //===============================================...
<commit_before>/** A portable OpenAL audio subsystem implementation Based on https://github.com/corporateshark/Android-NDK-Game-Development-Cookbook/tree/master/Chapter5 **/ #include <algorithm> #include <atomic> #include <memory> #include <mutex> #include <thread> #include <vector> #include "AudioSubsystem_OpenAL...
<commit_before>#include "global.h" #include "ycsb.h" #include "tpcc.h" #include "test.h" #include "thread.h" #include "manager.h" #include "mem_alloc.h" #include "query.h" #include "plock.h" #include "occ.h" #include "vll.h" #include "transport.h" void * f(void *); void * g(void *); void * worker(void *); void * nn_wo...
<commit_before>/* -------------------------------------------------------------------------- */ /* Copyright 2002-2011, OpenNebula Project Leads (OpenNebula.org) */ /* */ /* Licensed under the Apache License, Version 2.0 (the "Licens...
<commit_before>// Copyright eeGeo Ltd (2012-2015), All Rights Reserved #include "NavRoutingPolylineFactory.h" #include "PolylineShapeBuilder.h" namespace ExampleApp { namespace NavRouting { namespace SdkModel { namespace { bool AreApproximatelyEqual( ...
<commit_before>/* This file is part of cpp-ethereum. cpp-ethereum 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. cpp-ethereum is dis...
<commit_before>//Copyright (c) 2019 Ultimaker B.V. #include "BeadingOrderOptimizer.h" #include <iterator> #include <unordered_map> #include <vector> #include <list> #include "utils/SparsePointGridInclusive.h" namespace arachne { void BeadingOrderOptimizer::optimize(std::vector<std::list<ExtrusionLine>>& polygons_...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/memory/p9_mss_attr_update.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/browser/gtk/browser_actions_toolbar_gtk.h" #include <gtk/gtk.h> #include <vector> #include "app/gfx/canvas_paint.h" ...
<commit_before>/******************************************************************************* * Copyright (c) 2015 Matthijs Kooijman * Copyright (c) 2018 MCCI Corporation * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 ...
<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/test/automation/tab_proxy.h" #include "chrome/test/ui/ui_test.h" #include "googleurl/src/gurl.h" #include "net/test/te...
<commit_before>/******************************************************************************* * Copyright (c) 2015 Matthijs Kooijman * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and...
<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/service/service_process_control.h" #include "base/command_line.h" #include "base/file_path.h" #include "base/...
<commit_before>/* Copyright 2012 Joe Hermaszewski. 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 notice, th...
<commit_before>#pragma once #include <Core/Geometry/Curve2D.hpp> namespace Ra { namespace Core { namespace Geometry { /*--------------------------------------------------*/ void CubicBezier::addPoint( const Curve2D::Vector p ) { if ( size < 4 ) { m_points[size++] = p; } } Curve2D::Vector CubicBezier::f( Scalar ...
<commit_before>#include "cirkit_unit03_driver.hpp" // inclusive dependency #include "ThirdRobotInterface/ThirdRobotInterface.h" // dependency to ROS #include <nav_msgs/Odometry.h> // odom // dependency to Boost #include <boost/thread.hpp> // dependency to std #include <iostream> #include <stdexcept> using namespa...
<commit_before>#include "types.h" #include "amd64.h" #include "kernel.hh" #include "percpu.hh" #include "wq.hh" #include "kalloc.hh" #include "cpputil.hh" extern "C" void zpage(void*); extern "C" void zrun_nc(run*); static const bool prezero = true; struct zallocator { run* run; kmem kmem; wframe frame; ...
<commit_before>#include "../ClipperUtils.hpp" #include "../ExPolygon.hpp" #include "../Surface.hpp" #include "../Geometry.hpp" #include "../AABBTreeIndirect.hpp" #include "FillAdaptive.hpp" namespace Slic3r { void FillAdaptive::_fill_surface_single( const FillParams &params, unsigned int ...
<commit_before>/*************************************************************************** * Copyright (c) Juergen Riegel (juergen.riegel@web.de) 2012 * * * * This file is part of the FreeCAD CAx development system. ...
<commit_before>// The MIT License (MIT) // Copyright (c) 2016, Microsoft // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // t...
<commit_before> #include "knote.h" #include "knoteconfigdlg.h" #include <kiconloader.h> #include <klocale.h> #include <kwin.h> #include <kmessagebox.h> #include <klineeditdlg.h> #include <kstddirs.h> #include <kprocess.h> #include <kdebug.h> #include <qpalette.h> #include <qcolor.h> #include <qdir.h> #include <iostr...
<commit_before>#include "jsobject.h" #include "typeconv.h" #include <iostream> #include "error.h" #include "debug.h" Nan::Persistent<v8::FunctionTemplate> JsPyWrapper::constructorTpl; Nan::Persistent<v8::ObjectTemplate> JsPyWrapper::callableTpl; bool JsPyWrapper::implicitConversionEnabled = true; void JsPyWrapper::S...
<commit_before>// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #include "common.h" #include "sal.h" #include "gcenv.structs.h" #include "gcenv.base.h" #include <s...
<commit_before>#include "t3d/filelist.h" #include "core/assert.h" #include "core/os.h" #include "core/vfs.h" #include <algorithm> namespace euphoria::t3d { void FileList::AddDirectory ( const core::vfs::DirPath& directory, core::vfs::FileSystem* file_system ) { auto liste...
<commit_before>/**************************************************************************** * Copyright 2014-2015 Trefilov Dmitrij * * * * Licensed under the Apache License, Version 2.0 (the "License"); ...
<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>/* * Copyright (c) [2004-2015] Novell, Inc. * Copyright (c) [2016-2017] SUSE LLC * * All Rights Reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as published * by the Free Software Foundation. *...
<commit_before>#include "testsettings.hpp" #ifdef TEST_BASIC_UTILS #include <tightdb/util/shared_ptr.hpp> #include <tightdb/util/file.hpp> #include <tightdb/alloc_slab.hpp> #include "test.hpp" using namespace std; using namespace tightdb; using namespace tightdb::util; namespace { struct Foo { void func...
<commit_before>// // test_http_client.cpp // fibio // // Created by Chen Xu on 14-3-12. // Copyright (c) 2014 0d0a.com. All rights reserved. // #include <iostream> #include <vector> #include <chrono> #include <sstream> #include <boost/asio/basic_waitable_timer.hpp> #include <boost/algorithm/string/predicate.hpp> #...
<commit_before>/* * Copyright (c) 2015, The Regents of the University of California (Regents). * 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 mu...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/memory/lib/ccs/ccs.C $ ...
<commit_before>#include "file_assembly.h" #include "search_engine.h" #include "entry.h" #include "code_entry.h" #include "file_unit.h" #include "elf_file.h" #include "file_handler.h" #include "elfio/elfio.hpp" int main(int argc, char *argv[]) { if (argc < 2) { std::cerr << "Usage: " << argv[0] << " <ex...
<commit_before>/* * Copyright (c) 2011-2015, 2018 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware i...
<commit_before>#include <iomanip> #include <memory> #include <sstream> #include <string> #include <utility> #include "message.h" #include "status.h" using std::move; using std::ostream; using std::ostringstream; using std::string; using std::unique_ptr; ostream &operator<<(ostream &out, FileSystemAction action) { ...
<commit_before>/************************************************* * MP Misc Functions Source File * * (C) 1999-2006 The Botan Project * *************************************************/ #include <botan/mp_core.h> #include <botan/mp_asm.h> namespace Botan { extern "C" { /************...
<commit_before>/** * Copyright 2017 Shusheng Shao <iblackangel@163.com> * * 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 r...
<commit_before>/** * (C) Copyright Projet SECRET, INRIA, Rocquencourt * (C) Bhaskar Biswas and Nicolas Sendrier * * (C) 2014 cryptosource GmbH * (C) 2014 Falko Strenzke fstrenzke@cryptosource.de * * Distributed under the terms of the Botan license * */ #include <botan/mceliece_key.h> #include <botan/internal...
<commit_before>#include <fstream> #include <map> #include <sstream> #include "RaZ/Render/Model.hpp" #include "RaZ/Utils/FileUtils.hpp" #include "RaZ/Utils/ModelLoader.hpp" #include "RaZ/Utils/MtlLoader.hpp" namespace Raz { namespace { Vec3f computeTangent(const Vec3f& firstPos, const Vec3f& secondPos, ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: htmlmode.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: rt $ $Date: 2005-09-08 17:54:46 $ * * The Contents of this file are made ...
<commit_before>/* --------------------------------------------------------------------------- ** This software is in the public domain, furnished "as is", without technical ** support, and with no warranty, express or implied, as to its usefulness for ** any purpose. ** ** ServerMediaSubsession.cpp ** ** -------------...
<commit_before>#include <limits> // for std::numeric_limits<unsigned int>::max() #include "utility/memory.hpp" #include "TimeWarpOutputManager.hpp" namespace warped { void TimeWarpOutputManager::initialize(unsigned int num_local_objects) { output_queue_ = make_unique<std::vector<std::shared_ptr<Event>> []>(num_l...