text
stringlengths
54
60.6k
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkScalars.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-1996 Ken Martin, Will Schroeder, Bill Lorensen. This software is copyrighted by Ke...
<commit_before>/************************************************************************* * * $RCSfile: menubarwrapper.cxx,v $ * * $Revision: 1.8 $ * * last change: $Author: vg $ $Date: 2005-03-23 14:12:51 $ * * The Contents of this file are made available subject to the terms of * either of the following...
<commit_before>#define BOOST_TEST_DYN_LINK #define BOOST_TEST_MODULE JPetTaskTest #include <boost/test/unit_test.hpp> #define private public #include "../../JPetTask/JPetTask.h" BOOST_AUTO_TEST_SUITE(FirstSuite) BOOST_AUTO_TEST_CASE( my_test1 ) { BOOST_REQUIRE(1==0); } BOOST_AUTO_TEST_SUITE_END() <commit_msg>Comm...
<commit_before>#include "classifier.h" #include <iostream> #include <fstream> #include <string> Data::Data(const char *data_file) { feat_cnt = 0; row_cnt = 0; std::string cur_line; std::ifstream in_file; in_file.open(data_file, std::ifstream::in); while(in_file.good()) { std::getline(in_file, cur_line); if(...
<commit_before>#include "Fit/Fitter.h" #include "Math/WrappedMultiTF1.h" #include "TH1.h" #include "TMath.h" #include "TRandom.h" #include "TROOT.h" #include<iostream> #include<chrono> constexpr int paramSize = 6; bool compareResult(double v1, double v2, std::string s = "", double tol = 0.01) { // compare v1 with...
<commit_before>#include "dbdriver/dbdriver.h" #include "dbdriver/constants.h" #include <mongo/client/dbclient.h> #include <vector> #include <string> #include <cstdlib> #include <sstream> #include <mongo/db/jsobj.h> #include <iostream> namespace dbdriver { status_t str2uint(const std::string & str, uint64_t & uintval...
<commit_before><commit_msg>add dither again<commit_after><|endoftext|>
<commit_before><commit_msg>IP Address Updated<commit_after><|endoftext|>
<commit_before><commit_msg>Update net.cpp<commit_after><|endoftext|>
<commit_before>// Copyright (c) 2020 André Perez Maselco // // 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) 2015 - The CM Authors <legal@clickmatcher.com> * All Rights Reserved. * * This file is CONFIDENTIAL -- Distribution or duplication of this material or * the information contained herein is strictly forbidden unless prior written * permission is obtained. */ #include <stdlib.h...
<commit_before>/* * opencog/comboreduct/main/combo-fmt-converter.cc * * Copyright (C) 2015 OpenCog Foundation * All Rights Reserved * * Written by Nil Geisweiller * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License v3 as * publ...
<commit_before>// Copyright (c) 2014-2017 The Dash Core developers // Copyright (c) 2014-2017 The MexicanCoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "activemasternode.h" #include "masternode.h" ...
<commit_before>/** * @file textfile.cc * * Implementations for the text-based file I/O helper classes. */ #include "textfile.h" #include <ctype.h> /* char *TextTokenizer::ReadLine() { char *buf = NULL; size_t size = 0; size_t len = 0; const size_t extra = 64; int c; for (;;) { c = getc(f_); ...
<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>/* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Written (W) 2012 Heiko Strathmann */ #incl...
<commit_before>#ifndef TELEGRAM_DECLARATIVE_AUTH_OPERATION_HPP #define TELEGRAM_DECLARATIVE_AUTH_OPERATION_HPP #include <QObject> #include "DeclarativeOperation.hpp" namespace Telegram { namespace Client { class DeclarativeClient; class DeclarativeSettings; class AuthOperation; class TELEGRAMQT_QML_EXPORT Declar...
<commit_before>#include <highgui.h> #include <ros/ros.h> #include <ros/console.h> #include <std_msgs/String.h> #include <image_transport/image_transport.h> #include <cv_bridge/cv_bridge.h> #include <sensor_msgs/image_encodings.h> #include "human_robot_collaboration_msgs/ArmState.h" using namespace std; using namespa...
<commit_before>/* * Copyright (C) 2014-2016 Daniel Nicoletti <dantti12@gmail.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your o...
<commit_before>#include <zombye/gameplay/states/menu_state.hpp> #include <zombye/rendering/camera_component.hpp> using namespace std::string_literals; zombye::menu_state::menu_state(zombye::state_machine *sm) : sm_(sm) { } void zombye::menu_state::enter() { zombye::log("enter menu state"); auto& camera = sm...
<commit_before>// // inpal_algorithm.cpp // Inverse Palindrome Library // // Created by Bryan Triana on 7/22/16. // Copyright © 2016 Inverse Palindrome. All rights reserved. // #include "inpal_algorithm.hpp" std::size_t inpal::algorithm::gcd(std::size_t a, std::size_t b) { while(b!=0) { std::size_t r ...
<commit_before>/* * HashWorker.cpp * * Created on: 20 Aug 2013 * Author: nicholas */ #include "../include/HashWorker.hpp" #include "../../commoncpp/src/include/commoncpp.hpp" #include <GraphicsMagick/Magick++.h> #include <GraphicsMagick/Magick++/Exception.h> using std::list; HashWorker::HashWorker(list<p...
<commit_before>#pragma once #include <cstddef> #include <string> #include <initializer_list> #include <sstream> #include <iostream> #include <chrono> #include "nifty/tools/timer.hxx" #include "nifty/tools/logging.hxx" namespace nifty { namespace graph { namespace opt{ namespace common{ template<class SOLVER> ...
<commit_before>#include <stdio.h> #include <Halide.h> using namespace Halide; int main(int argc, char **argv) { //int W = 64*3, H = 64*3; const int W = 16, H = 16; Image<uint16_t> in(W, H); for (int y = 0; y < H; y++) { for (int x = 0; x < W; x++) { in(x, y) = rand() & 0xff; ...
<commit_before>// // Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include "gtest/gtest.h" #include "angle_gl.h" #include "common/utilities.h" #include "common/angleutils.h" #include "co...
<commit_before>#include <utility> #include "api/halley_api.h" #include <halley/plugin/plugin.h> #include "halley/audio/audio_facade.h" #include "halley/support/logger.h" #include "entry/entry_point.h" using namespace Halley; void HalleyAPI::assign() { Expects(coreInternal != nullptr); Expects(systemInternal != null...
<commit_before>#include <string> #include <array> #include <vector> #include <memory> #include <functional> #include <algorithm> #include "Vec2i.h" #include "IMapElement.h" #include "CDoorway.h" #include "CTeam.h" #include "CItem.h" #include "CActor.h" #include "CGameDelegate.h" #include "CMap.h" #include "CCharacterAr...
<commit_before>/** * This contains all the "unit"-tests for making sure that everything works. */ #define FPL_IMPLEMENTATION #define FPL_NO_WINDOW #define FPL_NO_VIDEO #define FPL_NO_AUDIO #define FPL_AUTO_NAMESPACE // @NOTE(final): Any assert should fire immediatly, regardless of the configuration #define FPL_FORC...
<commit_before>/* * Author: Mihai Tudor Panu <mihai.tudor.panu@intel.com> * Copyright (c) 2014 Intel Corporation. * * 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, ...
<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>// $Id$ // // Copyright (C) 2014 Novartis Institutes for BioMedical Research // // @@ All Rights Reserved @@ // This file is part of the RDKit. // The contents are covered by the terms of the BSD license // which is included in the file license.txt, found at the root // of the RDKit source tree. /...
<commit_before>/* * Copyright (c) 2015,2018 Immo Software * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * o Redistributions of source code must retain the above copyright notice, this list * of conditions a...
<commit_before>#pragma once // std #include <cstdint> #include <map> // project #include "Type.hpp" #include "Section.hpp" #include "Memory.hpp" namespace dai { namespace bootloader { namespace request { enum Command : uint32_t { USB_ROM_BOOT = 0, BOOT_APPLICATION, UPDATE_FLASH, ...
<commit_before>// -*- Mode:C++ -*- /**************************************************************************************************/ /* */ /* Copyright (C) 2014 University of Hull ...
<commit_before>/* mockturtle: C++ logic network library * Copyright (C) 2018 EPFL * * 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 ...
<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>#include <node.h> #include <windows.h> #include <algorithm> #define min(left,right) std::min(left,right) #define max(left,right) std::max(left,right) #include <gdiplus.h> #include "appjs.h" #include "includes/cef.h" #include "includes/util.h" #include "includes/cef_handler.h" #include "base/native_window...
<commit_before>#ifndef INCLUDE_UNITTESTS_NORMAL_CALCULATIONS_HH #define INCLUDE_UNITTESTS_NORMAL_CALCULATIONS_HH #include <gtest/gtest.h> #include <Unittests/unittests_common.hh> #include <iostream> class OpenMeshNormals : public OpenMeshBase { protected: // This function is called before each test is ...
<commit_before> #include <boost/test/unit_test.hpp> #include <boost/algorithm/string.hpp> #include <cstdlib> #include <sstream> #include <stdexcept> #include <torrentsync/dht/AddressData.h> #include <test/torrentsync/dht/CommonAddressTest.h> namespace { class AddressData_fix : public torrentsync::dht::AddressData { }...
<commit_before>/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2009 Torus Knot Software Ltd Permission is hereby granted, free of charge, to ...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/ ** ** This file is part of the config.tests of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** GNU Lesser General P...
<commit_before>/** \copyright * Copyright (c) 2013, Stuart W Baker * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright no...
<commit_before>//--------------------------------------------------------------------*- C++ -*- // CLING - the C++ LLVM-based InterpreterG :) // version: $Id$ // author: Axel Naumann <axel@cern.ch> //------------------------------------------------------------------------------ #include "cling/Interpreter/CIFactory.h...
<commit_before>#include "qmljsoutlinetreeview.h" #include "qmloutlinemodel.h" #include <QtCore/QDebug> #include <QtGui/QApplication> #include <QtGui/QPainter> namespace QmlJSEditor { namespace Internal { QmlJSOutlineItemDelegate::QmlJSOutlineItemDelegate(QObject *parent) : QStyledItemDelegate(parent) { } QSize ...
<commit_before>/** * * Copyright (c) 2021 Project CHIP Authors * * 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) 2013 BlackBerry Limited. All rights reserved. ** Contact: BlackBerry Limited (blackberry-qt@qnx.com) ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercia...
<commit_before>#include <nonius/nonius.h++> #include <utility> #include <stdexcept> #include <map> #include "pcg.hpp" namespace cmap { template<typename T> constexpr inline auto binary_search = [](const T* first, const T* last, T key) { const auto size = last - first; auto left = 0; auto right = size - 1; ...
<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) 2011 by Ivan Safrin 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, merge, ...
<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>#include "interface.h" #ifdef WIN32 #include <stdio.h> #include <Windows.h> #include <Iphlpapi.h> int getInterfaces(std::vector<DataHolder> *holder) { PIP_ADAPTER_INFO AdapterInfo; DWORD dwBufLen = sizeof(AdapterInfo); char *mac_addr = (char *)malloc(17); Ada...
<commit_before>#include "Common.h" #include "Engine.h" CCommon::CCommon(void) { } CCommon::~CCommon(void) { } vec3 CCommon::GetTransformDirection(const mat4& matTransform, const vec3& vUP) { return MakeRotationFromYZ(matTransform.getColumn3(1), vUP) * vec3(0.0f, -1.0f, 0.0f); } int CCommon::GetIntersectionPos...
<commit_before>/* * Copyright (c) 2013-2016, The PurpleI2P Project * * This file is part of Purple i2pd project and licensed under BSD3 * * See full license text in LICENSE file at top of project tree */ #include <cstdlib> #include <iostream> #include <fstream> #include <map> #include <string> #include <boost/program_...
<commit_before>// Copyright 2021 The IREE Authors // // Licensed 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 #include "iree/compiler/Dialect/Stream/IR/StreamTypes.h" #include "iree/compiler/...
<commit_before>/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2012, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the f...
<commit_before>#include "THClStorage.h" #include "THClGeneral.h" #include "THAtomic.h" #include "THClKernels.h" #include "EasyCL.h" #include "templates/TemplatedKernel.h" #include "util/StatefulTimer.h" #include <stdexcept> #include <iostream> using namespace std; static std::string getGetKernelSource(); static std::...
<commit_before>// Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). // // 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) 2005-2009, Thorvald Natvig <thorvald@natvig.com> 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 co...
<commit_before>#include "CameraBase.h" #include "sys/SysControl.h" #include "HMDWrapper.h" #include "Engine.h" #include "Game.h" using namespace MathLib; #ifdef MEMORY_INFO #define new new(__FILE__, __LINE__) #endif // MEMORY_INFO #define CAMERA_BASE_CLAMP 89.9f CCameraBase::CCameraBase(): CPlayer(PLA...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ResourceManager.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: rt $ $Date: 2007-04-03 15:54:36 $ * * The Contents of this file ar...
<commit_before>/* Copyright (c) 2016 PaddlePaddle 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 ap...
<commit_before>/* Copyright 2008 Brain Research Institute, Melbourne, Australia Written by J-Donald Tournier, 27/11/09. This file is part of MRtrix. MRtrix 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 Sof...
<commit_before><commit_msg>we need to put the step_delay in microseconds, not milliseconds.<commit_after><|endoftext|>
<commit_before>#pragma once #include <set> #include "memory_manager.hpp" class firstfit_manager : public memory_manager { using compare_function = std::function<bool(const block&, const block&)>; std::multiset<block, compare_function> free_blocks; public: firstfit_manager(unsigned int memory_size, compare_func...
<commit_before>/** * Copyright 2018 The Android Open Source Project * * 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 req...
<commit_before>#include "CameraBase.h" #ifdef MEMORY_INFO #define new new(__FILE__, __LINE__) #endif // MEMORY_INFO using namespace MathLib; <commit_msg>Signed-off-by: mrlitong <litongtongxue@gmail.com><commit_after>#include "CameraBase.h" using namespace MathLib; #ifdef MEMORY_INFO #define new new(__FILE__, _...
<commit_before>/* Copyright 2013-present Barefoot Networks, 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...
<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 <string> #include "base/file_path.h" #include "base/file_util.h" #include "base/path_service.h" #include "base/string_ut...
<commit_before>/* * Copyright 2009-2017 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 * *...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: rtl_old_testint64.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2005-09-08 15:46:55 $ * * The Contents of this file ...
<commit_before>// Copyright 2019 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law ...
<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>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: AccessiblePreviewCell.cxx,v $ * * $Revision: 1.18 $ * * last change: $Author: kz $ $Date: 2006-07-21 13:06:49 $ * * The Contents of this ...
<commit_before>//===- CheckerRegistry.cpp - Maintains all available checkers -------------===// // // 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>/* bzflag * Copyright (c) 1993 - 2005 Tim Riker * * This package is free software; you can redistribute it and/or * modify it under the terms of the license found in the file * named COPYING that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ...
<commit_before>//----------------------------------------------------------------------------- // Copyright (c) 2013 GarageGames, LLC // // 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 wit...
<commit_before>/* * Software License Agreement (BSD License) * * Copyright (c) 2010, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of...
<commit_before>/* bzflag * Copyright (c) 1993 - 2004 Tim Riker * * This package is free software; you can redistribute it and/or * modify it under the terms of the license found in the file * named COPYING that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ...
<commit_before>//===- Symbols.cpp --------------------------------------------------------===// // // The LLVM Linker // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------...
<commit_before>/* open source routing machine Copyright (C) Dennis Luxen, others 2010 This program 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 any later versio...
<commit_before>/* bzflag * Copyright (c) 1993 - 2003 Tim Riker * * This package is free software; you can redistribute it and/or * modify it under the terms of the license found in the file * named COPYING that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ...
<commit_before>//===- Symbols.cpp --------------------------------------------------------===// // // The LLVM Linker // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------...
<commit_before>#include <ros/ros.h> #include <tf/transform_listener.h> #include "planner_modules_pr2/module_param_cache.h" //#include "hardcoded_facts/geometryPoses.h" #include "planner_modules_pr2/navstack_module.h" #include <pluginlib/class_loader.h> #include "continual_planning_executive/stateCreator.h" #include "co...
<commit_before>#include "equelle/RuntimeMPI.hpp" #include <iostream> #include <mpi.h> #pragma GCC diagnostic ignored "-Wunused-parameter" #include <zoltan_cpp.h> #pragma GCC diagnostic pop #include <opm/core/grid/GridManager.hpp> #include "EquelleRuntimeCPU.hpp" #include "equelle/mpiutils.hpp" namespace equelle {...
<commit_before>/** Copyright &copy; 2013, Vladimir Lapshin. * * 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 requi...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: vendorbase.hxx,v $ * * $Revision: 1.9 $ * * last change: $Author: ihi $ $Date: 2007-11-26 18:04:40 $ * * The Contents of this file are ma...
<commit_before>// Copyright (c) 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/system_monitor.h" #include "testing/gtest/include/gtest/gtest.h" class PowerTest : public base::SystemMonitor::P...
<commit_before>#include "CommandLine.h" #include "Command.h" #include "InternalCommands.h" #include "Environment.h" #include "Script.h" #include "Arg.h" #include "StringArray.h" #include "Where.h" #include "TmpFile.h" #include "VarString.h" #include <stdlib.h> #include <unistd.h> #include <sys/wait.h> #include <sys/typ...
<commit_before>/** * Copyright (c) 2020, Timothy Stack * * 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>/************************************************************************* * * $RCSfile: vendorlist.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: obo $ $Date: 2005-01-25 15:19:28 $ * * The Contents of this file are made available subject to the terms of * either of the following li...
<commit_before>/************************************************************************* * * $RCSfile: SlsQueueProcessor.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: pjunck $ $Date: 2004-10-28 13:28:46 $ * * The Contents of this file are made available subject to the terms of * either of the fo...
<commit_before>// // src/mach-o/container.cc // tbd // // Created by inoahdev on 4/24/17. // Copyright © 2017 inoahdev. All rights reserved. // #include <cstdio> #include <cstdlib> #include "headers/symbol_table.h" #include "container.h" namespace macho { container::open_result container::open(FILE *stream, ...
<commit_before>//============================================================================ // Name : Main.cpp // Author : Wenzhao Sun // Version : // Copyright : Your copyright notice // Description : Hello World in C++, Ansi-style //=================================================================...
<commit_before>#include "Cistem.hpp" #include <regex> #include <algorithm> using namespace std; namespace Cistem { wregex replacess(L"ß"); wregex replaceSch(L"sch"); wregex replaceSchBack(L"\\$"); wregex replaceEi(L"ei"); wregex replaceEiBack(L"%"); wregex replaceIe(L"ie"); wregex replaceIeBack(L"&"); wrege...
<commit_before>#include <ros/ros.h> // ROS libraries #include <angles/angles.h> #include <random_numbers/random_numbers.h> #include <tf/transform_datatypes.h> #include <tf/transform_listener.h> #include <message_filters/subscriber.h> #include <message_filters/synchronizer.h> #include <message_filters/sync_policies/app...
<commit_before>#pragma once #include <cstdint> #include <string> #include <boost/variant.hpp> namespace blackhole { namespace attribute { typedef boost::variant< std::int32_t, std::uint32_t, long, unsigned long, std::int64_t, std::uint64_t, std::double_t, std::string, timeval > ...
<commit_before>/* This handles the downsampling of the data */ #pragma once #include "vector.hpp" #define LOGURU_WITH_STREAMS 1 #include "loguru.hpp" namespace sim { class FractalDownsampler { public: FractalDownsampler(double rt = 1.001, double lt = 1e6) : ratio_threshold(rt) , linear_threshol...
<commit_before>#include <bitcoin/network/network.hpp> #include <boost/lexical_cast.hpp> #include <functional> #include <algorithm> #include <iostream> #include <bitcoin/util/logger.hpp> #include <bitcoin/dialect.hpp> #include "channel.hpp" using std::placeholders::_1; using std::placeholders::_2; namespace libbitc...
<commit_before>/* bzflag * Copyright (c) 1993 - 2004 Tim Riker * * This package is free software; you can redistribute it and/or * modify it under the terms of the license found in the file * named LICENSE that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ...
<commit_before>/* bzflag * Copyright (c) 1993 - 2004 Tim Riker * * This package is free software; you can redistribute it and/or * modify it under the terms of the license found in the file * named LICENSE that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ...