text stringlengths 54 60.6k |
|---|
<commit_before>// uatraits is a simple tool for user agent detection
// Copyright (C) 2011 Yandex <highpower@yandex-team.ru>
// 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
... |
<commit_before>/**
* The Locality Sensitive Hashing (LSH) library is part of the SEEKS project and
* does provide several locality sensitive hashing schemes for pattern matching over
* continuous and discrete spaces.
* Copyright (C) 2009 Emmanuel Benazera, juban@free.fr
*
* This library is free software; you can ... |
<commit_before>/* Base class for envelope follower instruments
John Gibson <johgibso at indiana dot edu>, 1/5/03. Rev for v4, 7/12/04
*/
//#define DEBUG
#include "FOLLOWER_BASE.h"
/* --------------------------------------------------------- FOLLOWER_BASE -- */
FOLLOWER_BASE :: FOLLOWER_BASE()
{
branch = 0;
... |
<commit_before>/**************************************************************************
*
* Copyright 2010-2011 VMware, Inc.
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
*... |
<commit_before>#include "miomain.h"
#include "config/configuration.h"
#include "devicedetection.h"
#include "sysex/commands.h"
#include "sysex/midi.h"
#include "ui_miomain.h"
#include "widgets/centralwidget.h"
#include "widgets/deviceinfowidget.h"
#include "widgets/multiinfowidget.h"
#include "widgets/portswidget.h"
#... |
<commit_before>/* molecule.cc
* Copyright 2014 Cubane Canada, Inc.
*
* Released under the MIT license -- see MIT-LICENSE for details
*/
#include <node.h>
#include <v8.h>
#include <uv.h>
#include <nan.h>
#include <cstring>
#include "./using_v8.h"
#include "./molecule.h"
#include "./get_inchi_worker.h"
/**
@modu... |
<commit_before>// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/timer.h"
#include <math.h>
#if defined(OS_WIN)
#include <mmsystem.h>
#endif
#include "base/atomic_sequence_num.h"... |
<commit_before>#include "xchainer/array.h"
#include <cassert>
#include <cstring>
#ifdef XCHAINER_ENABLE_CUDA
#include <cuda.h>
#include <cuda_runtime.h>
#endif // XCHAINER_ENABLE_CUDA
#include "xchainer/array_fill.h"
#include "xchainer/array_math.h"
#include "xchainer/array_repr.h"
#ifdef XCHAINER_ENABLE_CUDA
#incl... |
<commit_before>#include "include/geom.h"
#include <assert.h>
Constructor::Constructor(MoveListener *listener) :
Scope(listener), angles() {}
Constructor::~Constructor()
{
for (auto *a : angles)
delete a;
}
bool Constructor::contains(const Angle *a) const
{
return a != nullptr &&
std::c... |
<commit_before>/**
* @file pointer.hpp
*
* @brief A wrapper class for host and/or device pointers, allowing
* easy access to CUDA's pointer attributes.
*
* @note at the moment, this class is not used by other sections of the API
* wrappers; specifically, freestanding functions and methods returning
* pointers r... |
<commit_before>/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2011 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>#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>/**
* \file
* \remark This file is part of VITA.
*
* \copyright Copyright (C) 2011-2014 EOS di Manlio Morini.
*
* \license
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one... |
<commit_before>/*
* FastRPC -- Fast RPC library compatible with XML-RPC
* Copyright (C) 2005-7 Seznam.cz, a.s.
*
* 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... |
<commit_before>#include <getopt.h>
#include <string>
#include <iostream>
#include "gfakluge.hpp"
using namespace std;
using namespace gfak;
void spec_help(char** argv){
cout << "gfa_spec_convert: convert GFA 0.1 <-> 1.0 <-> 2.0, walks <-> paths, etc." << endl
<< "Usage: " << argv[0] << " [OPTIONS] <GFA_F... |
<commit_before>///
/// @file pi_lmo4.cpp
/// @brief Implementation of the Lagarias-Miller-Odlyzko prime
/// counting algorithm. This implementation uses the segmented
/// sieve of Eratosthenes and a special tree data structure
/// for faster counting in S2(x).
///
/// Copyright (C) 2014 Kim Walisc... |
<commit_before>// Ylikuutio - A 3D game and simulation engine.
//
// Copyright (C) 2015-2022 Antti Nuortimo.
//
// 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
... |
<commit_before>/*
KOrganizer Alarm Daemon Client.
This file is part of KOrganizer.
Copyright (c) 2002,2003 Cornelius Schumacher
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 Foundatio... |
<commit_before><commit_msg>wrench ratio works and is consistent<commit_after><|endoftext|> |
<commit_before>/*******************************************************************************
*
* X testing environment - Google Test environment feat. dummy x server
*
* Copyright (C) 2011, 2012 Canonical Ltd.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software ... |
<commit_before>// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/shell/shell_browser_main.h"
#include <iostream>
#include "base/command_line.h"
#include "base/file_util.h"
#include... |
<commit_before>#include <string>
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <node_buffer.h>
#include "NativeArray.h"
#include "request.h"
using namespace std;
using namespace v8;
static nj::Type *getPrimitiveType(const Local<Value> &prim)
{
if(prim->IsNull()) return nj::Null_t::instance()... |
<commit_before>//===- ModStream.cpp - PDB Module Info Stream Access ----------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>#include <math.h>
#include <robot_p/robothw.h>
#include <boost/math/constants/constants.hpp>
using namespace robotp;
RobotHW::RobotHW(ros::NodeHandle &nh_private)
: jnt_state_interface()
, jnt_vel_interface()
, serial_()
, full_speed_(0)
, input_buff_()
{
// connect and register the joint ... |
<commit_before>//=-- InstrProfWriter.cpp - Instrumented profiling writer -------------------=//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "base58.h"
#include "init.h"
#include "main.h"
#include "net.h"... |
<commit_before>//===-- X86TargetAsmInfo.cpp - X86 asm properties ---------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by James M. Laskey and is distributed under the
// University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===---... |
<commit_before>#pragma once
#include <string>
#include <vector>
namespace sstd{
std::string getPath (const char* pPath);
std::string getPath_owWC (const char* pPath); // _owWC: without wild card
std::string getDirName (const char* pPath);
uint ... |
<commit_before><commit_msg>Resolves: rhbz#818557 crash with NULL shell post template update<commit_after><|endoftext|> |
<commit_before>/**
* Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS)
*
* This file is part of libbitcoin.
*
* 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 versi... |
<commit_before>/**********************************************************************
* *
* *
**********************************************************************/
#include "Minui... |
<commit_before>/*
* The MIT License (MIT)
*
* Copyright (c) 2014 Pavel Strakhov
*
* 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>//
// libavg - Media Playback Engine.
// Copyright (C) 2003-2006 Ulrich von Zadow
//
// 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 of the Li... |
<commit_before>#include "graphics/texture.h"
#include "graphics/opengl.h"
#include <array>
#include <SDL_assert.h>
#include <transcoder/basisu_transcoder.h>
namespace {
basist::transcoder_texture_format uastcLoadFormat(const glm::uvec2& size, bool has_alpha, const std::optional<glm::uvec2>& threshold)
{
using fo... |
<commit_before>/******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2019-2021 Baldur Karlsson
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software")... |
<commit_before>//-----------------------------------------------------------------------------
// Copyright (c) 2012 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>
//Made by Tomás Roda Martins (t_martins)
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <stdint.h>
#include <wiringPi.h>
#include <softPwm.h>
#include "I2Cdev.h"
#include "MPU6050.h"
#include "HMC5883L.h"
int B1 = 5;
int B2 = 6;
int A1 = 3;
int A2 = 4;
int LED =... |
<commit_before>/*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2017-2019 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permit... |
<commit_before>/*
* Copyright (C) 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 l... |
<commit_before>#include "../utils/utils.hpp"
#include <cstdio>
#include <vector>
#include <string>
#include <cerrno>
#include <cstring>
#include <cmath>
#include <dirent.h>
#include <sys/utsname.h>
struct Domain {
std::string name, fmt;
};
const Domain doms[] = {
{ "tiles", "./tiles/15md_solver %s < %s" },
{ "panc... |
<commit_before>// Copyright 2015 Google Inc. 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 require... |
<commit_before>// tileentry.cxx -- routines to handle a scenery tile
//
// Written by Curtis Olson, started May 1998.
//
// Copyright (C) 1998 - 2001 Curtis L. Olson - http://www.flightgear.org/~curt
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Pu... |
<commit_before><commit_msg>Fix crash if null object supplied to PushWeakObject().<commit_after><|endoftext|> |
<commit_before>
#include "FunctionDeclHandler.h"
#include <regex>
namespace typegrind {
FunctionDeclHandler::FunctionDeclHandler(clang::Rewriter*& rewriter,
SpecializationHandler& specializationHandler,
MethodMatcher const& matchers)
... |
<commit_before>#ifndef INCLUDED_SROOK_ALGORITHM_FOREACH_HPP
#define INCLUDED_SROOK_ALGORITHM_FOREACH_HPP
#include<srook/config/require.hpp>
#include<srook/type_traits/has_iterator.hpp>
#include<srook/type_traits/is_callable.hpp>
#include<srook/iterator/range_iterator.hpp>
#include<type_traits>
#include<algorithm>
#incl... |
<commit_before>/*
* HTTP server implementation.
*
* istream implementation for the request body.
*
* author: Max Kellermann <mk@cm4all.com>
*/
#include "http_server_internal.hxx"
#include "http_upgrade.hxx"
#include "http_util.hxx"
#include "pool.hxx"
#include "strmap.hxx"
#include "header_parser.hxx"
#include "... |
<commit_before>/*
* Copyright © 2012, United States Government, as represented by the
* Administrator of the National Aeronautics and Space Administration.
* All rights reserved.
*
* The NASA Tensegrity Robotics Toolkit (NTRT) v1 platform is licensed
* under the Apache License, Version 2.0 (the "License");
* yo... |
<commit_before><commit_msg>Convert SV_DECL_PTRARR_DEL(SfxVerbSlotArr_Impl) to std::vector<commit_after><|endoftext|> |
<commit_before>#include "doofit/plotting/Plot/PlotSimultaneous.h"
// STL
#include <vector>
#include <string>
// boost
// ROOT
#include "TList.h"
#include "TIterator.h"
#include "TCanvas.h"
#include "TPaveText.h"
// from RooFit
#include "RooSimultaneous.h"
#include "RooAbsData.h"
#include "RooAbsRealLValue.h"
#inclu... |
<commit_before>/****************************************************************************
*
* Copyright (c) 2014-2019 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 me... |
<commit_before>/*
MIT License
Copyright (c) 2016-2017 Mark Allender
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, mo... |
<commit_before>#include <algorithm>
#include <ranges>
#include <vector>
#include <string>
#include <sstream>
#include <iostream>
#include <iterator>
std::vector<int> count_lines_in_files(std::vector<std::string> const& strs) {
auto const& tmp_vals = strs
| std::ranges::views::transform(
[](std... |
<commit_before>/*
* Copyright (c) 2004-2005 The Regents of The University of Michigan
* 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 c... |
<commit_before>// Copyright (c) 2014 bushido
// Copyright (c) 2014 The Vertcoin developers
// Copyright (c) 2014 https://github.com/spesmilo/sx
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "stealth.h"
#include <b... |
<commit_before>//==================================================
// Copyright (c) 2015 Deividas Kazlauskas
//
// See the file license.txt for copying permission.
//==================================================
/*
* =====================================================================================
*
* ... |
<commit_before>#pragma once
#include "util.cpp"
#include <set>
struct Coord {
int r, c, h;
};
bool operator < (const Coord &a, const Coord &b) {
if (a.r != b.r)
return a.r < b.r;
else if (a.c != b.c)
return a.c < b.c;
else
return a.h < b.h;
}
void check_cell(Input &input, Coord cur, vector<Coord>& path, v... |
<commit_before>#pragma once
//=====================================================================//
/*! @file
@brief ソフトウェア SPI テンプレートクラス
@author 平松邦仁 (hira@rvf-rc45.net)
@copyright Copyright (C) 2016, 2017 Kunihito Hiramatsu @n
Released under the MIT license @n
https://github.com/hirakuni45/R8C/blob/ma... |
<commit_before>#pragma ident "$Id: $"
/**
* @file NetworkObsStreams.cpp
* This class synchronizes rinex observation data streams.
*/
//============================================================================
//
// This file is part of GPSTk, the GPS Toolkit.
//
// The GPSTk is free software; you c... |
<commit_before>/*
The MIT License (MIT)
Copyright (c) 2014 https://github.com/labyrinthofdreams
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>//
// Copyright © 2015 Slack Technologies, Inc. All rights reserved.
//
#include "slack/types.h"
#include "slack/set_option.h"
#include <json/json.h>
#include "uricodec.h"
namespace slack
{
//overload for our own json type. Clever way to get around exposing the json.h file in public interfaces. I hope... |
<commit_before>#include <cmath>
#include <cstdlib>
#include <ctime>
#include <string>
#include <sstream>
#include "StateSpace.h"
#include "PriorityQueue.h"
#include "State.h"
#include "encoder.h"
#include "CreateModule.h"
/**
* @brief Gives a std::string representation of a primitive type
*
* @param x Primitive ty... |
<commit_before>#include <imq/vm.h>
#include <imq/expressions.h>
#include <imq/mathexpr.h>
#include <imq/image.h>
#include <gtest/gtest.h>
using namespace imq;
TEST(VMachine, CallFunctionExpr)
{
ContextPtr ctx(new SimpleContext());
bool functionCalled = false;
QValue func = QValue::Function([&](int32_t argCount, Q... |
<commit_before>#include "typegenerator.h"
#include <fstream>
TypeGenerator::TypeGenerator(string outputPath)
{
mOutputPath = outputPath;
mNamespace = "";
}
TypeGenerator::TypeGenerator(string outputPath, string ns)
{
mOutputPath = outputPath;
mNamespace = ns;
}
TypeGenerator::TypeGenerator(const... |
<commit_before>#include "base.h"
#include "window.h"
#include "math.h"
#include "input.h"
#include "image.h"
#include "gameobject.h"
#include "tilebar.h"
#include "debugger.h"
TileBar::TileBar() : mSelectedTile(0){
}
TileBar::~TileBar(){
}
void TileBar::Update(){
}
void TileBar::Move(float deltaT){
}
void TileBar::... |
<commit_before>/*****************************************************************/
/* NAME: M.Benjamin, H.Schmidt, J. Leonard */
/* ORGN: NAVSEA Newport RI and MIT Cambridge MA */
/* FILE: BHV_SimpleWaypoint.cpp */
/* DATE: July 1st 2008 (For p... |
<commit_before>/******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor ... |
<commit_before>#include <libdariadb/storage/lock_manager.h>
#include <libdariadb/utils/exception.h>
#include <libdariadb/utils/logger.h>
#include <sstream>
using namespace dariadb;
using namespace dariadb::storage;
void lock_mutex(LOCK_KIND kind, const RWMutex_Ptr &mtx) {
switch (kind) {
case LOCK_KIND::EXCLUSIVE... |
<commit_before>/* -*- C++ -*-; c-basic-offset: 4; indent-tabs-mode: nil */
/*
* Test suite for Processor class.
*
* Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which... |
<commit_before>/*
Copyright (C) 2008 by Jorrit Tyberghein
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 option) any later ve... |
<commit_before>#include "utils.hpp"
#include <dlfcn.h>
#include <blobs-ipmid/manager.hpp>
#include <experimental/filesystem>
#include <memory>
#include <phosphor-logging/log.hpp>
#include <regex>
namespace blobs
{
namespace fs = std::experimental::filesystem;
using namespace phosphor::logging;
using HandlerFactory... |
<commit_before>#include <iostream>
#include <set>
#include <string>
#include <sstream>
#include <stdlib.h>
#include <sys/types.h>
#include <errno.h>
#include <sys/stat.h>
#include <unistd.h>
#include "llvm/IR/Constants.h"
#include "llvm/Assembly/Writer.h"
#include "llvm/Support/InstIterator.h"
#include "llvm/IRReader/... |
<commit_before>#include <errno.h>
#include <nan.h>
#include <sys/ioctl.h>
#include <linux/spi/spidev.h>
#include "spidevice.h"
#include "transfer.h"
#include "util.h"
// TODO Make sure it works when the message array is empty
static int Transfer(
int fd,
spi_ioc_transfer *spiTransfers,
uint32_t transferCount
... |
<commit_before>#include "tws_xml.h"
#include "debug.h"
#include "twsUtil.h"
#include "ibtws/Contract.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <libxml/xmlmemory.h>
#include <libxml/parser.h>
#include <libxml/tree.h>
#define ADD_ATTR_LONG( _struct_, _attr_ ) \
snprintf(tmp, sizeof(t... |
<commit_before>// For segment fault tracing
#include <iostream>
#include <execinfo.h>
#include <unistd.h>
#include <signal.h>
#include <QApplication>
#include "med/MedException.hpp"
#include "ui/Ui.hpp"
using namespace std;
// https://stackoverflow.com/questions/77005/how-to-automatically-generate-a-stacktrace-when-... |
<commit_before>{
GeFiCa::PointContactRZ *detector2 = new GeFiCa::PointContactRZ(690,506);
detector2->Radius=3.45;
detector2->ZUpperBound=5.05;
detector2->PointR=0.14;
detector2->PointDepth=0.21;
//TF2 *im=new TF2("f","-0.19175e10-0.025e10*y");
//TF2 *im=new TF2("f","-0.318e10+0.025e10*y");
//TF... |
<commit_before>// Copyright (c) 2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "version.h"
#include <string>
// Name of client reported in the 'version' message. Report the same name
/... |
<commit_before>#include <buildsys.h>
std::list<Package *>::iterator World::packagesStart()
{
return this->packages.begin();
}
std::list<Package *>::iterator World::packagesEnd()
{
return this->packages.end();
}
void World::setName(std::string n)
{
this->name = n;
#ifdef UNDERSCORE_MONITOR
sendTarget(this->name.c... |
<commit_before>// Copyright (c) 2015, Joseph Mirabel
// Authors: Joseph Mirabel (joseph.mirabel@laas.fr)
//
// This file is part of hpp-core.
// hpp-core 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... |
<commit_before>#include "ArgConverter.h"
#include "ObjectManager.h"
#include "JniLocalRef.h"
#include "Util.h"
#include "V8GlobalHelpers.h"
#include "V8StringConstants.h"
#include "NativeScriptAssert.h"
#include "JType.h"
#include <assert.h>
#include <sstream>
#include <cstdlib>
using namespace v8;
using namespace std... |
<commit_before>//
// leaf-node-ground.cpp
// gepetto-viewer
//
// Created by Justin Carpentier, Mathieu Geisert in November 2014.
// Copyright (c) 2014 LAAS-CNRS. All rights reserved.
//
#include <gepetto/viewer/leaf-node-ground.h>
namespace gepetto {
namespace viewer {
/* Declaration of private function... |
<commit_before>#include "client.h"
#include "controller/controlcontroller.h"
#include "controller/reportcontroller.h"
#include "controller/logincontroller.h"
#include "controller/registrationcontroller.h"
#include "controller/configcontroller.h"
#include "network/networkmanager.h"
#include "task/taskexecutor.h"
#includ... |
<commit_before>/*
* Copyright 2009-2018 The VOTCA Development Team (http://www.votca.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENS... |
<commit_before>#include "line_modification.hh"
#include "buffer.hh"
#include "unit_tests.hh"
namespace Kakoune
{
static LineModification make_line_modif(const Buffer::Change& change)
{
LineCount num_added = 0, num_removed = 0;
if (change.type == Buffer::Change::Insert)
num_added = change.end.line - c... |
<commit_before>/*
* Copyright 2012 Adam Murdoch
*
* 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><commit_msg>SID_SAVE_ONLY_USED_SYMBOLS missing from starmath print options itemset<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: register.cxx,v $
*
* $Revision: 1.13 $
*
* last change: $Author: kz $ $Date: 2008-03-06 18:45:24 $
*
* The Contents of this file are made... |
<commit_before>// This file is part of the dune-gdt project:
// http://users.dune-project.org/projects/dune-gdt
// Copyright holders: Felix Schindler
// License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
#ifndef DUNE_GDT_SPACES_CONTINUOUSLAGRANGE_PDELAB_HH
#define DUNE_GDT_SPACES_CONTINUOUSL... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: MetaImportComponent.cxx,v $
*
* $Revision: 1.9 $
*
* last change: $Author: rt $ $Date: 2005-09-09 14:17:33 $
*
* The Contents of this fil... |
<commit_before>/*************************************************************************
*
* $RCSfile: TransGradientStyle.cxx,v $
*
* $Revision: 1.10 $
*
* last change: $Author: cl $ $Date: 2002-09-25 16:19:26 $
*
* The Contents of this file are made available subject to the terms of
* either of the foll... |
<commit_before>/*************************************************************************
*
* $RCSfile: IgnoreTContext.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: vg $ $Date: 2005-02-21 15:53:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following... |
<commit_before>#define DEBUG 1
/**
* File : ABC086C_.cpp
* Author : Kazune Takahashi
* Created : 2020/1/31 21:50:13
* Powered by Visual Studio Code
*/
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cctype>
#include <chrono>
#include <cmath>
#include <complex>
#include <cstdint>
#include <c... |
<commit_before>// 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 law or agreed to in writing, software
// ... |
<commit_before><commit_msg>Digital Monsters?<commit_after><|endoftext|> |
<commit_before>/*
* Copyright (c) 2003-2005 The Regents of The University of Michigan
* 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 c... |
<commit_before>/* This file exists to provide some stat monitors for process statistics and the like. */
#include <vector>
#include <string.h>
#include <stdlib.h>
#include <sys/syscall.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sstream>
#include <iomanip>
#include <stdarg.h>
#include "arch/io/io_utils.hpp"... |
<commit_before>#include <ros/ros.h>
#include <string>
#include "EscortRobot.h"
#include "elderly_care_simulation/EventTrigger.h"
#include "elderly_care_simulation/FindPath.h"
#include "elderly_care_simulation/PerformTask.h"
#include "EventTriggerUtility.h"
#include "nav_msgs/Odometry.h"
#include "StaticPoiConstants.h"... |
<commit_before>/*
* Copyright 2008, 2009 Google Inc.
* Copyright 2007 Nintendo Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE... |
<commit_before>/*
* Licensed under the MIT License (MIT)
*
* Copyright (c) 2014 AudioScience Inc.
*
* 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 witho... |
<commit_before>/*
* Copyright (C) 2015 Fondazione Istituto Italiano di Tecnologia
* Authors: Silvio Traversaro
* CopyPolicy: Released under the terms of the LGPLv2.1 or later, see LGPL.TXT
*
*/
#include <iDynTree/Core/SpatialForceVector.h>
#include <iDynTree/Core/SpatialMotionVector.h>
#include <iDynTree/Core/Axi... |
<commit_before>/* router_logger.cc
Rémi Attab and Jeremy Barnes, March 2011
Copyright (c) 2012 Datacratic. All rights reserved.
Launches the router's logger.
*/
#include "soa/service/service_base.h"
#include "soa/service/carbon_connector.h"
#include "soa/service/process_stats.h"
#include "soa/service/servi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.