text stringlengths 54 60.6k |
|---|
<commit_before>// Copyright NVIDIA Corporation 2007 -- Ignacio Castano <[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 with... |
<commit_before>/*
Copyright (c) 2013 Daniele Bartolini, Michele Rossi
Copyright (c) 2012 Daniele Bartolini, Simone Boscaratto
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, i... |
<commit_before>/*!
\copyright (c) RDO-Team, 2011
\file rdorss.cpp
\authors Барс Александр
\authors Урусов Андрей ([email protected])
\authors Романов Ярослав ([email protected])
\date
\brief
\indent 4T
*/
// ---------------------------------------------------------------------------- PCH... |
<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.
//
// This code glues the RLZ library DLL with Chrome. It allows Chrome to work
// with or without the DLL being present. If the DL... |
<commit_before>//
// MCIMAPCheckAccountOperation.cc
// mailcore2
//
// Created by DINH Viêt Hoà on 1/12/13.
// Copyright (c) 2013 MailCore. All rights reserved.
//
#include "MCIMAPCheckAccountOperation.h"
#include "MCIMAPAsyncConnection.h"
#include "MCIMAPSession.h"
using namespace mailcore;
void IMAPCheckAccou... |
<commit_before>/*
* Copyright (C) 2015 Dan Leinir Turthra Jensen <[email protected]>
*
* 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... |
<commit_before>/*
Copyright (c) 2016 Jakob Nixdorf <[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 rights
to ... |
<commit_before><commit_msg>fix typo in ssl patch<commit_after><|endoftext|> |
<commit_before><commit_msg>use more reads, even if strand != xs<commit_after><|endoftext|> |
<commit_before>#include <stdio.h>
#include <cmath>
#include <geometry_msgs/PoseStamped.h>
#include <jsk_rviz_plugins/OverlayText.h>
#include <ros/ros.h>
#include <std_msgs/String.h>
#include <std_msgs/UInt8.h>
#include <autoware_msgs/lane.h>
#include <autoware_msgs/traffic_light.h>
#include <cross_road_area.hpp>
#in... |
<commit_before>#include <ros/ros.h>
#include <humanoid_catching/CalculateTorques.h>
#include <Moby/qpOASES.h>
#include <Ravelin/VectorNd.h>
#include <Ravelin/MatrixNd.h>
#include <Ravelin/Quatd.h>
#include <Ravelin/Opsd.h>
#include <Moby/qpOASES.h>
#include <Ravelin/LinAlgd.h>
namespace {
using namespace std;
using na... |
<commit_before>#include <yttrium/log.h>
#include <yttrium/log_manager.h>
#include <yttrium/date_time.h>
#include <yttrium/file.h>
#include <yttrium/pointer.h>
#include "instance_guard.h"
namespace Yttrium
{
class LogManagerImpl;
using LogManagerGuard = InstanceGuard<LogManagerImpl>;
class LogManagerImpl : public... |
<commit_before>/*
* $Id$
*/
#include <sys/time.h>
#include <stdio.h>
#include <fstream>
#include <map>
#include <list>
#include <iostream>
#include <sstream>
#include <cmath>
#include <set>
#include "crf.h"
#include "common.h"
using namespace std;
multimap<string, string> WNdic;
void tokenize(const string &s1, li... |
<commit_before>/**
* @file Dtw.cpp
*
* An implementation of the Dynamic Time Warping algorithm.
*
* This file is part of the Aquila DSP library.
* Aquila is free software, licensed under the MIT/X11 License. A copy of
* the license is provided with the library in the LICENSE file.
*
* @package Aquila
* @versi... |
<commit_before>/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
#include "config.h"
#include "ep.hh"
const double BgFetcher::sleepInterval = 1.0;
bool BgFetcherCallback::callback(Dispatcher &, TaskId t) {
return bgfetcher->run(t);
}
void BgFetcher::start() {
LockHolder lh(taskM... |
<commit_before>/***************************************************************************
* Copyright (C) 2006 by Tobias Koenig <[email protected]> *
* *
* This program is free software; you can redistribute it and/or modify ... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/memory/lib/phy/phy_cntrl.C ... |
<commit_before>#include "config.h"
#include <stddef.h>
#ifdef _WIN32
#include <io.h>
#else
#include <fcntl.h>
#endif
#include "config.pb.h"
#include "util.h"
#include "google/protobuf/io/zero_copy_stream_impl.h"
#include "google/protobuf/text_format.h"
namespace grr {
ClientConfig::ClientConfig(const std::string& co... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: soundplayer.hxx,v $
*
* $Revision: 1.7 $
*
* last change: $Author: obo $ $Date: 2007-07-17 15:16:37 $
*
* The Contents of this file are m... |
<commit_before>/*
* Copyright 2015 Cloudius Systems
*/
#define BOOST_TEST_DYN_LINK
#define BOOST_TEST_MODULE core
#include <boost/test/included/unit_test.hpp>
#include "types.hh"
#include "tuple.hh"
BOOST_AUTO_TEST_CASE(test_bytes_type_string_conversions) {
BOOST_REQUIRE(bytes_type->equal(bytes_type->from_stri... |
<commit_before>#ifndef CHS_HPP
#define CHS_HPP
//
// A class for CHS manipulation
//
//
class CHS
{
long long cylinder,
head,
sector;
unsigned int spt, // sectors per track
tpc; // tracks per cylinder
void calc(long long);
public:
CHS(int c,int h, int s);
CHS(long l... |
<commit_before>//std
#include <sstream>
//naga
#include "model.hpp"
#include "model_component.hpp"
#include "model_animation.hpp"
#include "collision.hpp"
#include "resource_manager.hpp"
#include "material_instance.hpp"
#include "debug_renderer.hpp"
#include "game_object.hpp"
#include "camera_params.hpp"
#include "bis... |
<commit_before>// $Id: rtti.C,v 1.6 2001/06/22 11:06:37 oliver Exp $
#include <BALL/COMMON/rtti.h>
#include <typeinfo>
#include <ctype.h>
#ifdef __GNUC__
extern "C" char* cplus_demangle(const char* s, int options);
#endif
namespace BALL
{
string streamClassName(const std::type_info& t)
{
#ifdef __GNUC__
//... |
<commit_before>/*****************************************************************************\
* Copyright 2005, 2006, 2007 Niels Lohmann, Christian Gierds *
* *
* This file is part of GNU BPEL2oWFN. ... |
<commit_before>#ifndef _C4_ERROR_HPP_
#define _C4_ERROR_HPP_
#include "c4/config.hpp"
/** @def C4_ERROR_THROWS_EXCEPTION if this is defined and exceptions are
* enabled, then calls to C4_ERROR() will throw an exception */
/** @def C4_NOEXCEPT evaluates to noexcept when C4_ERROR might be called
* and exceptions ar... |
<commit_before>#include "Kick.hpp"
#include <stdio.h>
#include <algorithm>
using namespace std;
const float Min_Segment = 1.5 * Ball_Diameter; //Tuning Required (Anthony)
Gameplay::Behaviors::Kick::Kick(GameplayModule *gameplay):
SingleRobotBehavior(gameplay)
{
setTargetGoal();
//Whether or not the s... |
<commit_before>//===- IVUsers.cpp - Induction Variable Users -------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<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 req... |
<commit_before>/*************************************************************************
*
* $RCSfile: interact.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: sb $ $Date: 2002-12-06 10:48:58 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before>/*************************************************************************
*
* $RCSfile: interact.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: sb $ $Date: 2002-12-06 10:48:58 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before><commit_msg>Deserialize UMA flag on histograms moving from renderer to browsers<commit_after><|endoftext|> |
<commit_before>// $Id: createSpectrumProcessor.C,v 1.11 2001/06/14 11:37:14 oliver Exp $
#include <BALL/NMR/createSpectrumProcessor.h>
#include <BALL/NMR/shiftModule.h>
#include <BALL/SYSTEM/path.h>
#include <BALL/KERNEL/PTE.h>
#include <BALL/KERNEL/atom.h>
using namespace std;
namespace BALL
{
CreateSpectrumProce... |
<commit_before>// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
// $Id: VRMLRenderer.C,v 1.6.20.1 2007-03-25 21:57:01 oliver Exp $
// modified by Annette Treichel (2008.09.12)
//
#include <BALL/VIEW/RENDERING/VRMLRenderer.h>
#include <BALL/VIEW/KERNEL/common.h>
#include <BALL/VIEW/KERNEL/stage.h>
#include <BAL... |
<commit_before>/* Copyright © 2001-2014, Canal TP and/or its affiliates. All rights reserved.
This file is part of Navitia,
the software to build cool stuff with public transport.
Hope you'll enjoy and contribute to this project,
powered by Canal TP (www.canaltp.fr).
Help us simplify mobility and open publ... |
<commit_before>#include <cppassert/details/DebugPrint.hpp>
#include <cppassert/details/StackTrace.hpp>
#include <stdexcept>
#include <memory>
#include <mutex>
#include <cstdlib>
#include <Windows.h>
#include <DbgHelp.h>
#include <strsafe.h>
namespace cppassert
{
namespace internal
{
/**
* Dis... |
<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) 2013 Heiko Strathmann
*/
#incl... |
<commit_before>#include "LineKickPlanner.hpp"
#include <Configuration.hpp>
#include <Geometry2d/Util.hpp>
#include <motion/TrapezoidalMotion.hpp>
#include "EscapeObstaclesPathPlanner.hpp"
#include "RRTPlanner.hpp"
#include "motion/TrapezoidalMotion.hpp"
#include "CompositePath.hpp"
#include "MotionInstant.hpp"
using n... |
<commit_before>#include "editor/changeset_wrapper.hpp"
#include "editor/osm_feature_matcher.hpp"
#include "indexer/feature.hpp"
#include "geometry/mercator.hpp"
#include "base/logging.hpp"
#include "base/macros.hpp"
#include "std/algorithm.hpp"
#include "std/random.hpp"
#include "std/sstream.hpp"
#include "private... |
<commit_before>#include <string.h>
#include <stdlib.h>
#include <gtk/gtk.h>
#include <getopt.h>
#include <iostream>
#include <bot_vis/bot_vis.h>
#include <lcm/lcm.h>
#include <bot_core/bot_core.h>
#include <path_util/path_util.h>
#include <ConciseArgs>
#include <bot_frames/bot_frames_renderers.h>
//imported renderer... |
<commit_before>#include "core/meta/MetaPopulationApportionment.hpp"
#include "core/meta/BlanketResolver.hpp"
MetaPopulationApportionment::MetaPopulationApportionment(
PopulationNode * metaNode,
ApportionmentFunction * apportionment,
AggregationFunction * aggregation
) : Apportionment(metaNode, apportionment, aggreg... |
<commit_before>#include "lcio.h"
#include "IO/LCWriter.h"
// position of record name for last random access record
#define LCSIO_RANDOMACCESS_SIZE 112
#include <iostream>
#include <sstream>
#include <stdio.h>
#include <stdlib.h>
using namespace lcio ;
static std::vector<std::string> FILEN ;
/** Simple program t... |
<commit_before>/* -*- C++ -*-
This file is part of ThreadWeaver.
Author: Mirko Boehm
Copyright: (C) 2005-2014 Mirko Boehm
Contact: [email protected]
http://www.kde.org
http://creative-destruction.me
This library is free software; you can redistribute it and/or
modify it under the term... |
<commit_before>#include <tabulate/table.hpp>
using namespace tabulate;
int main() {
Table logo;
// Add rows
logo.add_row({"tabulate for Modern C++"});
// Format the table
logo.format()
.font_style({FontStyle::bold})
.font_align(FontAlign::center)
.font_color(Color::yellow);
// Print the tab... |
<commit_before>/*
* This file is open source software, licensed to you under the terms
* of the Apache License, Version 2.0 (the "License"). See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. You may not use this file except in compliance with the License.... |
<commit_before>//===--- ToolChain.cpp - Collections of tools for one platform ------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>/******************************************************************************
* This file is part of the Gluon Development Platform
* Copyright (c) 2010 Arjen Hiemstra <[email protected]>
* Copyright (C) 2010 Dan Leinir Turthra Jensen <[email protected]>
*
* This library is free software; you can r... |
<commit_before>/**
* @file state_map.hpp
* @brief Purpose: Contain a class to states method's management.
*
* MIT License
* Copyright (c) 2017 MindScape
*
* https://github.com/TecProg2017-2/mindscape/blob/master/LICENSE.md
*/
#ifndef STATE_MAP_H
#define STATE_MAP_H
#include <string>
#include <unordered_map>
... |
<commit_before>/*
* Block Cipher Lookup
* (C) 1999-2007 Jack Lloyd
*
* Distributed under the terms of the Botan license
*/
#include <botan/def_eng.h>
#include <botan/scan_name.h>
#include <botan/algo_factory.h>
#if defined(BOTAN_HAS_AES)
#include <botan/aes.h>
#endif
#if defined(BOTAN_HAS_BLOWFISH)
#include <bot... |
<commit_before>/*
* Copyright (C) 2006-2016 Music Technology Group - Universitat Pompeu Fabra
*
* This file is part of Essentia
*
* Essentia 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 (FSF),... |
<commit_before>// Copyright 2016 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 o... |
<commit_before>//===- TGLexer.cpp - Lexer for TableGen -----------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>#include "gvki/UnderlyingCaller.h"
#include <iostream>
#include <cstdlib>
#ifndef MACRO_LIB
#include <dlfcn.h>
#endif
using namespace gvki;
#ifdef MACRO_LIB
#define SET_FCN_PTR(functionName) functionName ## U = &(::functionName);
#else
#include <unistd.h>
#define _SET_FCN_PTR(functionName, symbol) dle... |
<commit_before>// Copyright (c) 2021 ASMlover. All rights reserved.
//
// _____ _ _
// |_ _|_ _ __| |_ __ ___ | | ___
// | |/ _` |/ _` | '_ \ / _ \| |/ _ \
// | | (_| | (_| | |_) | (_) | | __/
// |_|\__,_|\__,_| .__/ \___/|_|\___|
// |_|
//
// Redistribution and use in s... |
<commit_before>#include "catch.hpp"
#include <SmurffCpp/Types.h>
#include <Utils/Error.h>
#include <SmurffCpp/Utils/MatrixUtils.h>
#include <SmurffCpp/Utils/Distribution.h>
namespace smurff {
namespace mu = smurff::matrix_utils;
TEST_CASE( "mvnormal/covar" ) {
init_bmrng(1234);
const int num_samples = 1000;
... |
<commit_before>/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
#ifndef SQLITE_STRATEGIES_H
#define SQLITE_STRATEGIES_H 1
#include <cstdlib>
#include <vector>
#include <algorithm>
#include "common.hh"
#include "queueditem.hh"
#include "sqlite-pst.hh"
class EventuallyPersistentEngine;
... |
<commit_before>#include "core/argparse.h"
#include <iostream>
#include <string>
#include <sstream>
#include <functional>
#include <vector>
#include <map>
#include <memory>
#include "core/assert.h"
#include "core/stringutils.h"
#include "core/stringmerger.h"
namespace argparse
{
///////////////////////////////////... |
<commit_before>#include "InputManager.h"
#include "InputConfig.h"
#include "Settings.h"
#include "Window.h"
#include "Log.h"
#include "pugixml/pugixml.hpp"
#include <boost/filesystem.hpp>
#include "platform.h"
#define KEYBOARD_GUID_STRING "-1"
// SO HEY POTENTIAL POOR SAP WHO IS TRYING TO MAKE SENSE OF ALL THIS (by w... |
<commit_before>/**
* Clever programming language
* Copyright (c) Clever Team
*
* This file is distributed under the MIT license. See LICENSE for details.
*/
#include "core/cstring.h"
#include "core/compiler.h"
#include "core/scope.h"
#include "core/value.h"
#include "core/location.hh"
#include "core/astdump.h"
#i... |
<commit_before>#include <cassert>
#include "CodeGen_Bash.h"
using namespace Bish;
void CodeGen_Bash::indent() {
for (unsigned i = 0; i < indent_level; i++) {
stream << " ";
}
}
void CodeGen_Bash::visit(Module *n) {
for (std::vector<Function *>::const_iterator I = n->functions.begin(),
... |
<commit_before>#include "CodeGenerator.hpp"
#include "AST.hpp"
GenericValue CodeGenerator::runCode()
{
std::cout<<"Now.. Running Code"<<std::endl;
ExistingModuleProvider *EMP = new ExistingModuleProvider(module);
ExectionEngine *EE = ExectuionEngine::create(EMP, false);
std::vector <GenericValue> gv_ve... |
<commit_before>// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/vespalib/testkit/test_kit.h>
#include <vespa/vespalib/util/exception.h>
#include <vespa/vespalib/util/slaveproc.h>
using namespace vespalib;
TEST("that uncaught exception ca... |
<commit_before>/*!
* \file Utils.cpp
* \brief Utility functions - implementation
* \author mstefanc
* \date Jun 9, 2010
*/
#include "Utils.hpp"
#include <string>
#include <vector>
#define BOOST_FILESYSTEM_VERSION 2
#include <boost/filesystem.hpp>
using namespace boost::filesystem;
#include <boost/regex.hpp>
#i... |
<commit_before>
#include "queued_cpu_tracker.h"
#ifdef WIN32
#include <Windows.h>
#undef AddJob
#endif
static int PDT_BytesPerPixel(QTRK_PixelDataType pdt) {
const int pdtBytes[] = {1, 2, 4};
return pdtBytes[(int)pdt];
}
void QueuedCPUTracker::JobFinished(QueuedCPUTracker::Job* j)
{
pthread_mutex_lock(&jobs_buffer... |
<commit_before>/*-----------------------------------------------------------------------------------------------
The MIT License (MIT)
Copyright (c) 2014-2016 Kim Kulling
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), ... |
<commit_before>/******************************************************************************************************
July 10, 2017
Ian A. Cosden
Princeton University
[email protected]
Sample Matrix-Matrix multiplication code for CoDaS-HEP Summer School
Purpose:
To use as a example to profile... |
<commit_before>#include "../include/ex_utilities.hpp"
int main()
{
Vector v;
Vector v2(4);
v.Print("empty vect");
v2.Print("size 4 vect");
int dim = 6;
Vector zeros(dim, 0.0);
Vector ones(dim, 1.0);
Vector twos(dim, 2.0);
std::cout << "Ones size: " << ones.size() << "\n";
on... |
<commit_before>#pragma once
#include <memory>
#include <string>
#include <unordered_map>
#include "human_interface_device.hpp"
class event_grabber final {
public:
event_grabber(void) {
manager_ = IOHIDManagerCreate(kCFAllocatorDefault, kIOHIDOptionsTypeNone);
if (!manager_) {
return;
}
auto ... |
<commit_before><commit_msg>flattening custom types ranges<commit_after><|endoftext|> |
<commit_before>#include <initializer_list>
#include <map>
#include <sstream>
#include <string>
#include <gtk/gtk.h>
/// List of unit types we handle.
enum class ConversionUnit
{
Inch,
Point,
Twip,
M,
Cm,
Mm,
Mm100,
Emu
};
/// Hold references to all data needed to perform a conversio... |
<commit_before>#include <iostream>
#include <fstream>
#include <string>
#include <sstream>
#include <iomanip>
#include "orc_proto.pb.h"
using namespace org::apache::hadoop::hive::ql::io::orc;
long getTotalPaddingSize(Footer footer);
StripeFooter readStripeFooter(StripeInformation stripe);
std::ifstream input;
int ... |
<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>/*
This file is part of the Grantlee template system.
Copyright (c) 2009,2010 Stephen Kelly <[email protected]>
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; eithe... |
<commit_before>#include <iostream>
#include <fstream>
#include <string>
#include <random>
#include <sstream>
#include "slitherlink/sl_dictionary.h"
#include "slitherlink/sl_generator.h"
#include "slitherlink/sl_generator_option.h"
#include "slitherlink/sl_clue_placement.h"
#include "slitherlink/sl_problem.h"... |
<commit_before><commit_msg>Cover NaN case for reference and sensors data<commit_after><|endoftext|> |
<commit_before>#include "chrono_parallel/solver/ChSolverParallel.h"
using namespace chrono;
ChSolverParallel::ChSolverParallel() {
max_iteration = 100;
current_iteration = 0;
rigid_rigid = NULL;
bilateral = NULL;
}
ChSolverParallel::~ChSolverParallel() {}
void ChSolverParallel::Setup(ChParallelDataManager* da... |
<commit_before>/*
* Copyright 2009-2013 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/LICENSE... |
<commit_before>/**
* Copyright 2016 Colin Doig. Distributed under the MIT license.
*/
#include <iomanip>
#include <sstream>
#include "MatchedOrder.h"
#include "Util.h"
#include "entity/Config.h"
namespace greenthumb {
MatchedOrder::MatchedOrder(wxWindow* parent, const wxWindowID id, const wxPoint& pos, const wxSiz... |
<commit_before>#include "CodeGen_C.h"
#include "StmtToHtml.h"
#include "Output.h"
#include "LLVM_Headers.h"
#include "LLVM_Output.h"
#include <fstream>
using namespace llvm;
namespace Halide {
namespace {
// Define the mex wrapper API call for the given func with name pipeline_name.
llvm::Function *define_mex_wrap... |
<commit_before>
#include "llvm/ADT/Triple.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/Analysis/TargetLibraryInfo.h"
#include "llvm/AsmParser/Parser.h"
#include "llvm/Bitcode/BitcodeWriter.h"
#include "llvm/CodeGen/CommandFlags.h"
#include "llvm/CodeGen/LinkAllAsmWriterComponents.h"
#include "llvm/CodeGen/LinkAl... |
<commit_before>/*************************************************************************************
garlic-player: SMIL Player for Digital Signage
Copyright (C) 2016 Nikolaos Saghiadinos <[email protected]>
This file is part of the garlic-player source code
This program is free software: you can re... |
<commit_before><commit_msg>coverity#705269 Missing break in switch<commit_after><|endoftext|> |
<commit_before>#ifndef AP_MOVING_OBJECT
#define AP_MOVING_OBJECT
#include <Ogre.h>
#include "net/NetObject.h"
#include "net/Serializable.h"
#include "RectBoundaries.hpp"
namespace ap {
class MovableState : public net::Serializable {
public:
Ogre::Vector3 location;
Ogre::Quaternion orientation;
... |
<commit_before>/*=========================================================================
Library: TubeTK
Copyright 2010 Kitware Inc. 28 Corporate Drive,
Clifton Park, NY, 12065, USA.
All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in complian... |
<commit_before>/**
* This file is part of the CernVM File System
*/
#include "cvmfs_config.h"
#include "encrypt.h"
#include <fcntl.h>
#include <openssl/evp.h>
#include <openssl/rand.h>
#include <cassert>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include "hash.h"
#include "platform.h"
#include "small... |
<commit_before><commit_msg>Use offapi constants instead of hardcoded magic constant<commit_after><|endoftext|> |
<commit_before>/***************************************************************************
* Copyright (c) 2009 Werner Mayer <wmayer[at]users.sourceforge.net> *
* *
* This file is part of the FreeCAD CAx development system. ... |
<commit_before>#include <iostream>
#include <sstream>
#include "Myexception.h"
#include "chain.h"
using namespace std;
void chain :: readAndStoreFromFile(char* fileName)
{
//This function reads integers from the file given by fileName then store them in the chain
std::ifstream data(filename);
std::string line;
... |
<commit_before>/**
* This file is part of the CernVM File System.
*/
#include "cvmfs_config.h"
#include <stdio.h>
#include <sys/stat.h>
#include <unistd.h>
#include <string>
#include "download.h"
#include "logging.h"
#include "signature.h"
#include "statistics.h"
#include "swissknife.h"
#include "swissknife_pull.... |
<commit_before>/*************************************************************************
*
* $RCSfile: conpoly.cxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: os $ $Date: 2002-12-05 12:47:05 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licens... |
<commit_before>
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
#include "BeaconEntity.h"
#include "../BlockArea.h"
cBeaconEntity::cBeaconEntity(int a_BlockX, int a_BlockY, int a_BlockZ, cWorld * a_World) :
super(E_BLOCK_BEACON, a_BlockX, a_BlockY, a_BlockZ, a_World... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: grfshex.cxx,v $
*
* $Revision: 1.16 $
*
* last change: $Author: hr $ $Date: 2006-08-14 17:54:10 $
*
* The Contents of this file are made ... |
<commit_before>//-----------------------------------------------------------------------------
// Copyright (c) 2014 Michael G. Brehm
//
// 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 wi... |
<commit_before>#pragma once
#include <map>
#include <type_traits> // conditionals
#include <unordered_map>
/// \file This file contains utilities and wrapper to iterate over Map and OrderedMap values/keys
/// Source: https://gist.github.com/eruffaldi/93d09ed6644ae3fa279f
namespace Ra {
namespace Core {
namespace Util... |
<commit_before>
#include "otbWrapperOutputProcessXMLParameter.h"
#include "otbWrapperChoiceParameter.h"
#include "otbWrapperListViewParameter.h"
#include "otbWrapperDirectoryParameter.h"
#include "otbWrapperEmptyParameter.h"
#include "otbWrapperInputFilenameParameter.h"
#include "otbWrapperInputFilenameListParameter.h... |
<commit_before>// $Id: mesh_data_unv_support.C,v 1.3 2003-05-22 09:39:58 spetersen Exp $
// The Next Great Finite Element Library.
// Copyright (C) 2002 Benjamin S. Kirk, John W. Peterson
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
... |
<commit_before>/*=============================================================================
Library: CppMicroServices
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file ex... |
<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>// The following two definitions are required by llvm/Support/DataTypes.h
#define __STDC_LIMIT_MACROS 1
#define __STDC_CONSTANT_MACROS 1
#include "llvm/Support/CommandLine.h"
#include "ofpx.h"
#include "ofp/yaml/decoder.h"
#include "ofp/yaml/encoder.h"
#include <iostream>
#include <fstream>
//---------... |
<commit_before>/*
* katch/examples/run_tch_ea_query.cpp
*
*
* This file is part of
*
* KaTCH -- Karlsruhe Time-Dependent Contraction Hierarchies
*
* Copyright (C) 2015
*
* Institut fuer Theroretische Informatik,
* Karlsruher Institut fuer Technology (KIT),
* 76131 Karlsruhe, Germany
*
* Author: Gernot Vei... |
<commit_before>#include <algorithm>
#include <set>
#include <list>
#include <iterator>
#include "otc/otcli.h"
#include "otc/tree_operations.h"
#include "otc/tree_iter.h"
using namespace otc;
using std::vector;
using std::unique_ptr;
using std::set;
using std::list;
using std::map;
using std::string;
using namespace ot... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.