text stringlengths 54 60.6k |
|---|
<commit_before>/******************************************************************************
* Copyright (c) 2014, Pete Gadomski (pete.gadomski@gmail.com)
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following
* conditi... |
<commit_before>#ifndef CONTROLLER_HPP
#define CONTROLLER_HPP
#include "Position6DOF.hpp"
#include "MovementQuadruple.hpp"
#include "Formation.hpp"
#include "ros/ros.h"
//Ros messages/services
#include "api_application/MoveFormation.h" // ? (D)
#include "../matlab/Vector.h"
#include "../matlab/TrackingArea.h"
#include "... |
<commit_before>/*
SWARM
Copyright (C) 2012-2020 Torbjorn Rognes and Frederic Mahe
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 (... |
<commit_before><commit_msg>#i110213# - setup master password container on demand.<commit_after><|endoftext|> |
<commit_before><commit_msg>Specify iteration limit for Kinsol<commit_after><|endoftext|> |
<commit_before><commit_msg>Update camera<commit_after><|endoftext|> |
<commit_before>#ifndef STAN_MATH_REV_CORE_HPP
#define STAN_MATH_REV_CORE_HPP
#include <stan/math/rev/core/accumulate_adjoints.hpp>
#include <stan/math/rev/core/arena_allocator.hpp>
#include <stan/math/rev/core/arena_matrix.hpp>
#include <stan/math/rev/core/autodiffstackstorage.hpp>
#include <stan/math/rev/core/build_v... |
<commit_before>
#include "boxed.h"
#include "function.h"
#include "closure.h"
#include "gi.h"
#include "gobject.h"
#include "util.h"
#include "value.h"
using v8::Array;
using v8::External;
using v8::Function;
using v8::FunctionTemplate;
using v8::Local;
using v8::Number;
using v8::Object;
using v8::String;
using v8::P... |
<commit_before>/**
* @file rectangle_tree_impl.hpp
* @author Andrew Wells
*
* Implementation of generalized rectangle tree.
*/
#ifndef __MLPACK_CORE_TREE_RECTANGLE_TREE_RECTANGLE_TREE_IMPL_HPP
#define __MLPACK_CORE_TREE_RECTANGLE_TREE_RECTANGLE_TREE_IMPL_HPP
// In case it wasn't included already for some reason.
... |
<commit_before>#include <nds.h>
#include <maxmod9.h>
#include <stdio.h>
#include "ball.h"
#include "geometry.h"
#include "player.h"
#include "stats.h"
// Audio
#include "soundbank.h"
#include "soundbank_bin.h"
// Methods
void initBall(ball *b) {
b->speed = 2;
b->box.pos.x = 100;
b->box.pos.y = 30;
... |
<commit_before>//
// Created by pkanev on 4/24/2017.
//
#include <NativeScriptAssert.h>
#include "v8-dom-agent-impl.h"
#include <ArgConverter.h>
#include <Runtime.h>
#include <v8_inspector/src/inspector/utils/v8-inspector-common.h>
namespace v8_inspector {
using tns::Runtime;
using tns::ArgConverter;
namespace DOMA... |
<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>/* mbed Microcontroller Library
* Copyright (c) 2006-2015 ARM Limited
*
* 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>/*
The MIT License (MIT)
Copyright (c) 2016 British Broadcasting Corporation.
This software is provided by Lancaster University by arrangement with the BBC.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),... |
<commit_before>#include <iostream>
#include <string>
#include "TrelScript.h"
///////////////////////////////////////////////////////////
// Main function //
///////////////////////////////////////////////////////////
int main()
{
TrelScript *ts = new TrelScript("testfile.trole"... |
<commit_before>#include <iostream>
#include <string>
#include "TrelScript.h"
///////////////////////////////////////////////////////////
// Main function //
///////////////////////////////////////////////////////////
int main()
{
TrelScript *ts = new TrelScript();
ts->runScrip... |
<commit_before>#include <ctrcommon/common.hpp>
#include <sstream>
#include <iomanip>
#include <stdio.h>
typedef enum {
INSTALL,
DELETE
} Mode;
int main(int argc, char **argv) {
if(!platform_init()) {
return 0;
}
std::vector<std::string> extensions;
extensions.push_ba... |
<commit_before>#ifdef PIXELBOOST_PLATFORM_ANDROID
#include <arpa/inet.h>
#include <netinet/in.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <ifaddrs.h>
#include "pixelboost/network/networkHelpers.h"
namespace pb
{
namespace NetworkHelpers
{
std::string GetWifiAddress()
{
return "";
}
}
}... |
<commit_before>/***************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Qt Software Information (qt-info@nokia.com)
**
**
** Non-Open Source Usage
**
** Licensees may use thi... |
<commit_before>/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** Commercial Usage
**
** Licensees holding valid Qt Commercial... |
<commit_before>
#include "obj_to_vertex_array.h"
#include <limits>
#include <map>
#include <scm/core/utilities/foreach.h>
namespace {
struct obj_vert_index
{
unsigned _v;
unsigned _t;
unsigned _n;
obj_vert_index(unsigned v, unsigned t, unsigned n) : _v(v), _t(t), _n(n) {}
// lexicograp... |
<commit_before>//===--- XpcTracing.cpp ---------------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http... |
<commit_before>// -----------------------------------------------------------------------
// pion-common: a collection of common libraries used by the Pion Platform
// -----------------------------------------------------------------------
// Copyright (C) 2007 Atomic Labs, Inc. (http://www.atomiclabs.com)
//
// Distr... |
<commit_before>/*
* Copyright (C) 2019 ScyllaDB
*
* Modified by ScyllaDB
*/
/*
* This file is part of Scylla.
*
* Scylla 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>void k_print_line(const char* string);
void k_print(const char* string);
extern "C"
void __attribute__ ((section ("main_section"))) kernel_main(){
k_print_line("hello, world!");
return;
}
typedef unsigned int uint8_t __attribute__((__mode__(__QI__)));
typedef unsigned int uint16_t __attribute... |
<commit_before>/*=========================================================================
Library: CTK
Copyright (c) Isomics 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
... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: viewobjectcontactofsdrmediaobj.hxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: rt $ $Date: 2005-09-08 20:02:00 $
*
* The Contents ... |
<commit_before>#pragma once
/*
** Copyright (C) 2012 Aldebaran Robotics
** See COPYING for the license
*/
#ifndef _QITYPE_DETAILS_TYPETUPLE_HXX_
#define _QITYPE_DETAILS_TYPETUPLE_HXX_
#include <qi/preproc.hpp>
namespace qi
{
namespace detail {
template<typename T> void setFromStorage(T& ref, void* storage)
... |
<commit_before>#include "forumreader.h"
#include "website_backend/gumboparserimpl.h"
#include "common/filedownloader.h"
namespace {
template <typename T>
void dumpFutureObj(QFuture<T> future, QString name)
{
#ifdef RBR_PRINT_DEBUG_OUTPUT
qDebug() << "----------------------------------------------------";
qDeb... |
<commit_before>/*****************************************************************************
* Copyright 2013 - 2015 Yichao Yu <yyc1992@gmail.com> *
* *
* This program is free software; you can redistribute it and/or m... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: BoolSPts.cc
Language: C++
Date: $Date$
Version: $Revision$
This file is part of the Visualization Toolkit. No part of this file
or its contents may be copied, reprod... |
<commit_before>/* Copyright 2015 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>/* Copyright 2016 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>/**
* @file CSIEnder.hh
* @author Paul Tagliamonte <tag@pault.ag>
* @license MIT
* @created Tue Nov 8 14:20:09 UTC 2011
*/
#include <iostream>
#include "StateMachine.hh"
#include "CSIEnder.hh"
#include "CSIValue.hh"
void CSIEnder::feed( char c ) {
}
void CSIEnder::enter() {
for (
unsign... |
<commit_before>#include "Channel.hpp"
#include "Message.hpp"
#include "Network.hpp"
#include "PawnDispatcher.hpp"
#include "Logger.hpp"
#include "Guild.hpp"
#include "utils.hpp"
#include "fmt/format.h"
#undef SendMessage // Windows at its finest
Channel::Channel(ChannelId_t pawn_id, json const &data, GuildId_t gui... |
<commit_before>
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
* ``The contents of this file are subject to the Mozilla Public License
* Version 1.1 (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.mozilla.org/MPL/... |
<commit_before>#include "CryFuse.h"
#include <sys/types.h>
#include <sys/time.h>
#include <dirent.h>
#include <cassert>
#include "cryfs_lib/CryNode.h"
#include "cryfs_lib/CryErrnoException.h"
#define UNUSED(expr) (void)(expr)
using fusepp::path;
namespace cryfs {
CryFuse::CryFuse(CryDevice *device)
:_device(dev... |
<commit_before>#include "CryFuse.h"
#include <sys/types.h>
#include <sys/time.h>
#include <dirent.h>
#include <cassert>
#include "cryfs_lib/CryNode.h"
#include "cryfs_lib/CryErrnoException.h"
#define UNUSED(expr) (void)(expr)
using fusepp::path;
namespace cryfs {
namespace {
int errcode_map(int exit_status) {
... |
<commit_before>/*=========================================================================
Program: Visualization Library
Module: Cylinder.cc
Language: C++
Date: $Date$
Version: $Revision$
This file is part of the Visualization Library. No part of this file
or its contents may be copied, reprod... |
<commit_before>///////////////////////////////////////////////////////////////////////////////
// BOSSA
//
// Copyright (c) 2011-2012, ShumaTech
// 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>#ifdef STAN_OPENCL
#include <stan/math/prim/mat.hpp>
#include <gtest/gtest.h>
#include <CL/cl.hpp>
TEST(MathMatrix, kernel_initialize) {
stan::math::get_context();
cl::Kernel kernel_transpose = stan::math::get_kernel("transpose");
EXPECT_NO_THROW(cl::Kernel kernel_transpose
... |
<commit_before>/* Copyright (c) 2016, Fengping Bao <jamol@live.com>
*
* 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>/*
Flexisip, a flexible SIP proxy server with media capabilities.
Copyright (C) 2014 Belledonne Communications SARL.
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 Fo... |
<commit_before>/*
* A wrapper for hstock/stock that allows multiple users of one
* stock_item.
*
* author: Max Kellermann <mk@cm4all.com>
*/
#include "mstock.h"
#include "hstock.h"
#include "stock.h"
#include "hashmap.h"
#include "pool.h"
#include "lease.h"
#include <daemon/log.h>
#include <map>
#include <list>... |
<commit_before>/*
** NDS 2SF utility class.
*/
#ifdef _WIN32
#define ZLIB_WINAPI
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <string>
#include <sstream>
#include <map>
#include <zlib.h>
#include "nds2sf.h"
#include "cbyteio.h"
#include "cpath.h"
#ifdef _WIN32
#def... |
<commit_before>// [[Rcpp::depends(RcppArmadillo)]]
#include <RcppArmadillo.h>
#include <Rmath.h>
#include <vector>
#include <cassert>
#include "vmat.h"
#include "gmat.h"
#include "DataPairs.h"
#include "quadrule.h"
#include "pn.h"
#include "functions.h"
using namespace Rcpp;
using namespace arma;
using namespace std... |
<commit_before>#include "NTClient.h"
using namespace std;
NTClient::NTClient(int _wpm, double _accuracy) {
typeIntervalMS = 12000 / _wpm;
wpm = _wpm;
accuracy = _accuracy;
firstConnect = true;
connected = false;
finished = false;
lessonLen = 0;
log = new NTLogger("(Not logged in)");
wsh = nullptr;
racesCompl... |
<commit_before>/*
Copyright (c) 2012 Stuart Walsh
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, mer... |
<commit_before>//
// Created by Malachi Burke on 11/12/17.
//
#include <catch.hpp>
#include "../mc/pipeline.h"
using namespace moducom::pipeline;
using namespace moducom::pipeline::experimental;
using namespace moducom::pipeline::layer3;
using namespace moducom::pipeline::layer3::experimental;
TEST_CASE("Pipeline b... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: ZipEnumeration.cxx,v $
*
* $Revision: 1.12 $
*
* last change: $Author: rt $ $Date: 2005-09-08 16:15:15 $
*
* The Contents of this file ar... |
<commit_before>/**
* ofxCsv.cpp
* Inspired and based on Ben Fry's [table class](http://benfry.com/writing/map/Table.pde)
*
*
* The MIT License
*
* Copyright (c) 2011-2012 Paul Vollmer, http://www.wng.cc
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softwa... |
<commit_before>#include "../utils/parameter_parser.h"
#include "gtest/gtest.h"
#include <tuple>
TEST(ParserTest,StreamerParserSuccess) {
int size;
const char *file;
bool valid = false;
const char *testArguments[] = {"../sim_datastreamer", "-s", "42", "path/to/file/file"};
int argc = 4;
std::tie(file,size,... |
<commit_before>#include <blackhole/macro.hpp>
#include "global.hpp"
#include "mocks/logger.hpp"
using namespace blackhole;
TEST(Macro, OpensInvalidLogRecordAndNotPush) {
log::record_t record;
mock::verbose_log_t<level> log;
EXPECT_CALL(log, open_record(level::debug))
.Times(1)
.Wi... |
<commit_before>// Plugins.cpp
// Copyright (c) 2009, Dan Heeks
// This program is released under the BSD license. See the file COPYING for details.
#include "stdafx.h"
#include "Plugins.h"
#include "HeeksConfig.h"
enum
{
ID_BUTTON_ADD,
ID_BUTTON_EDIT,
ID_BUTTON_REMOVE,
ID_BUTTON_PLUGIN_BROWSE,
ID_LISTBOX_CONT... |
<commit_before>#include <iostream>
#include <cmath>
#include "bond_angle.h"
using namespace std;
double ex_ji(double x_j, double x_i, double R_ji) {
return ((-(x_j-x_i))/R_ji);
}
double ey_ji(double y_j, double y_i, double R_ji) {
return ((-(y_j-y_i))/R_ji);
}
double ez_ji(double z_j, double z_i, doubl... |
<commit_before>#include "../group_flux_checker_sequential.h"
#include <memory>
#include <deal.II/lac/petsc_parallel_vector.h>
#include "../../test_helpers/gmock_wrapper.h"
#include "flux_checker_mock.h"
class GroupFluxCheckerSequentialTest : public ::testing::Test {
protected:
std::unique_ptr<bart::convergence::... |
<commit_before>#include "output.h"
#include "astprinter.h"
#include "options.h"
#include "sourcebuffer.h"
static void error(const QString& err)
{
QTextStream out(stderr);
out << err;
out.flush();
exit(EXIT_FAILURE);
}
Output::Output(SourceBuffer* source)
: m_source(source)
{
}
void Output::write(... |
<commit_before><commit_msg>just testing<commit_after>#include <iostream>
#include <string>
#include <stdio.h>
#include "game.h"
#include "game_title.h"
void start_game(){
cout << " hello you haave reached the right place high five5 " << endl;
}<|endoftext|> |
<commit_before>#include "z2h/token.hpp"
#include "z2h/parser.hpp"
#include "ast.hpp"
#include "parser.h"
#include "bindpower.h"
#include "exceptions.h"
#include <map>
#include <vector>
#include <boost/regex.hpp>
#include <iostream>
namespace sota {
std::vector<z2h::Ast *> SotaParser::Expressions(z2h::Symbol *en... |
<commit_before>#include "mainwindow.h"
#include <QPen>
#include <QGraphicsRectItem>
#include <QGraphicsEllipseItem>
#include <QDebug>
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
{
// specify app window geometry. 1920x1080 screen rez yields a 0.56 pixel ratio
setGeometry(56,100,600,600);
... |
<commit_before>/*
* Call the translation server.
*
* author: Max Kellermann <mk@cm4all.com>
*/
#include "translate_client.hxx"
#include "translate_quark.hxx"
#include "translate_parser.hxx"
#include "translate_request.hxx"
#include "TranslateHandler.hxx"
#include "buffered_socket.hxx"
#include "please.hxx"
#includ... |
<commit_before>//
// ulib - a collection of useful classes
// Copyright (C) 2008,2009,2013,2017 Michael Fink
//
/// \file ProgramOptions.cpp program options implementation
//
#include "stdafx.h"
#include "ProgramOptions.hpp"
#include "CommandLineParser.hpp"
#include "Path.hpp"
void ProgramOptions::RegisterOption(cons... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/memory/lib/mc/perf_reg.C $ ... |
<commit_before>// Copyright (c) 2016, Baidu.com, Inc. 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 <map>
#include <gflags/gflags.h>
#include <leveldb/db.h>
#include <common/string_util.h>
#include <common/log... |
<commit_before>/*
* yosys -- Yosys Open SYnthesis Suite
*
* Copyright (C) 2012 Clifford Wolf <clifford@clifford.at>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission no... |
<commit_before>#include <fstream>
#include <iostream>
#include <string>
#include <cstring>
#include <vector>
#include "token.h"
#include "token_exception.h"
#include "tokenreader.h"
using namespace std;
/* tokenreader reads a file formatted with s-expressions. examples:
* (hello)
* (hello world)
* (hello "world")... |
<commit_before>//******************************************************************
//
// Copyright 2015 Samsung Electronics All Rights Reserved.
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file excep... |
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <validationinterface.h>
#include <primitives/block.h>
#i... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/perv/p9_extract_sbe_rc.H $ ... |
<commit_before>#include "WindowViewer.h"
#include <unordered_map>
#include "renderer/Camera.h"
#include "renderer/ToonMapper.h"
#include "renderer/Renderer.h"
#include <iostream>
#include <Windows.h>
using namespace std;
namespace {
wstring widen(const std::string &src) {
wchar_t *wcs = new wchar_t[src.length()... |
<commit_before>#include "drawer.hpp"
#include "proto_to_styles.hpp"
#include "feature_styler.hpp"
#include "../std/bind.hpp"
#include "../indexer/drawing_rules.hpp"
#include "../indexer/scales.hpp"
#include "../graphics/defines.hpp"
#include "../graphics/screen.hpp"
#include "../graphics/resource_manager.hpp"
#inclu... |
<commit_before>/* Calf DSP Library
* Preset management.
*
* Copyright (C) 2001-2007 Krzysztof Foltman
*
* This program 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 L... |
<commit_before>//
// This file is part of the Marble Virtual Globe.
//
// This program is free software licensed under the GNU LGPL. You can
// find a copy of this license in LICENSE.txt in the top directory of
// the source code.
//
// Copyright 2013 Adrian Draghici <draghici.adrian.b@gmail.com>
//
#include "Km... |
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* Version: MPL 1.1 / GPLv3+ / LGPLv3+
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may o... |
<commit_before>#include "paddle/framework/grad_op_builder.h"
#include <gtest/gtest.h>
#include "paddle/framework/op_registry.h"
#include "paddle/framework/operator.h"
USE_OP(add);
namespace paddle {
namespace framework {
class MutiInOutOpMaker : public OpProtoAndCheckerMaker {
public:
MutiInOutOpMaker(OpProto *pr... |
<commit_before>/* http_bidder_interface.cc
Eric Robert, 2 April 2014
Copyright (c) 2011 Datacratic. All rights reserved.
*/
#include "http_bidder_interface.h"
#include "jml/db/persistent.h"
#include "soa/service/http_client.h"
#include "rtbkit/common/messages.h"
#include "rtbkit/plugins/bid_request/openrtb_bid_... |
<commit_before>#include <stdio.h>
#include <stdlib.h>
#include "field_descriptor.hpp"
int myrank, nprocs;
int main(int argc, char *argv[])
{
MPI_Init(&argc, &argv);
MPI_Comm_rank(MPI_COMM_WORLD, &myrank);
MPI_Comm_size(MPI_COMM_WORLD, &nprocs);
int n[3];
field_descriptor *f0r, *f0c;
field_des... |
<commit_before>#ifndef DUNE_STUFF_COMMON_PARAMETER_TREE_HH
#define DUNE_STUFF_COMMON_PARAMETER_TREE_HH
#ifdef HAVE_CMAKE_CONFIG
#include "cmake_config.h"
#else
#include "config.h"
#endif // ifdef HAVE_CMAKE_CONFIG
// system
#include <sstream>
#include <boost/algorithm/string/join.hpp>
#include <boost/format.hpp>
/... |
<commit_before>/*************************************************************************
*
* $RCSfile: pagedata.cxx,v $
*
* $Revision: 1.1.1.1 $
*
* last change: $Author: hr $ $Date: 2000-09-18 16:44:55 $
*
* The Contents of this file are made available subject to the terms of
* either of the following l... |
<commit_before>#include "RigidBody.h"
#include "RbCollider.h"
#include "DistanceJoint.h"
#include "Application.h"
#include "Transform.h"
#include "jpPhysicsRigidBody.h"
RigidBody::RigidBody(GameObject * parent, bool isactive) : Component(parent, COMP_RIGIDBODY, true)
{
joint_ptr = nullptr;
if (parent != nullptr)
... |
<commit_before>/****************************************************************************
This file is part of the GLC-lib library.
Copyright (C) 2005-2008 Laurent Ribon (laumaya@users.sourceforge.net)
Version 1.2.0, packaged on September 2009.
http://glc-lib.sourceforge.net
GLC-lib is free software; you can... |
<commit_before>/* Copyright 2016 Carnegie Mellon University
*
* 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 a... |
<commit_before>#include "CASCImage.h"
#include "../DesktopEditor/raster/Metafile/MetaFile.h"
#include "../DesktopEditor/graphics/Image.h"
#if defined(_WIN32) || defined (_WIN64)
#else
#include <unistd.h>
#endif
namespace NSHtmlRenderer
{
CASCImage::CASCImage(CApplicationFonts *pAppFonts)
{
... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: TextObjectBar.hxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: kz $ $Date: 2006-12-12 17:39:12 $
*
* The Contents of this file are ... |
<commit_before>// Copyright (C) 2008 Till Busch buti@bux.at
//
// 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 of the
// License, or (at your option) any later version.
//
//... |
<commit_before>/*=========================================================================
Program: NeuroLib (DTI command line tools)
Language: C++
Date: $Date: 2009-05-26 16:21:19 $
Version: $Revision: 1.6 $
Author: Casey Goodlett (gcasey@sci.utah.edu)
Copyright (c) Casey Goodlett. All righ... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/centaur/procedures/hwp/perv/cen_chiplet_init.... |
<commit_before>#include "calibration_impl.h"
#include "system.h"
#include "global_include.h"
#include "px4_custom_mode.h"
#include <functional>
#include <string>
#include <sstream>
namespace dronecode_sdk {
using namespace std::placeholders;
CalibrationImpl::CalibrationImpl(System &system) : PluginImplBase(system)
{... |
<commit_before>/**
* @file max_variance_new_cluster_impl.hpp
* @author Ryan Curtin
*
* Implementation of MaxVarianceNewCluster class.
*/
#ifndef __MLPACK_METHODS_KMEANS_MAX_VARIANCE_NEW_CLUSTER_IMPL_HPP
#define __MLPACK_METHODS_KMEANS_MAX_VARIANCE_NEW_CLUSTER_IMPL_HPP
// Just in case it has not been included.
#in... |
<commit_before>/* libs/graphics/ports/SkFontHost_fontconfig.cpp
**
** Copyright 2008, Google 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/... |
<commit_before>
#include "iaxclient.h"
// For compilers that supports precompilation , includes wx/wx.h
#include "wx/wxprec.h"
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
#include "wx.h"
IMPLEMENT_APP(IAXClient)
static int inputLevel = 0;
static int outputLevel = 0;
static char *buttonlabels[] = {... |
<commit_before>/*
* GLShaderBindingLayout.cpp
*
* This file is part of the "LLGL" project (Copyright (c) 2015-2019 by Lukas Hermanns)
* See "LICENSE.txt" for license information.
*/
#include "GLShaderBindingLayout.h"
#include "../Ext/GLExtensionRegistry.h"
#include "../Ext/GLExtensions.h"
#include "../../../Core... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/nest/p9_mpipl_chip_cleanup.... |
<commit_before>#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h> /* low-level i/o */
#include <unistd.h>
#include <signal.h>
#include <errno.h>
#include <malloc.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/ioctl.h>
#include <linux/videode... |
<commit_before>/*
* Main.cpp
*
* Created on: Dec 31, 2014
* Author: jrparks
*/
#include "opencv2/objdetect/objdetect.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <iostream>
#include <stdio.h>
#include "C... |
<commit_before>/*
Qt4xHb - Bindings libraries for Harbour/xHarbour and Qt Framework 4
Copyright (C) 2020 Marcos Antonio Gambeta <marcosgambeta AT outlook DOT com>
*/
/*
DO NOT EDIT THIS FILE - the content was created using a source code generator
*/
#include "QSvgRendererSlots.h"
QSvgRendererS... |
<commit_before>/**
* \file
* \brief Semaphore class header
*
* \author Copyright (C) 2014 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
*
* \par 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... |
<commit_before>#ifndef __NBA_CONFIG_HH__
#define __NBA_CONFIG_HH__
#include <unordered_map>
#include <vector>
#include <string>
#define NBA_MAX_NODES (2)
#define NBA_MAX_CORES (64)
#define NBA_MAX_PORTS (16)
#define NBA_MAX_QUEUES_PER_PORT (128)
#define NBA_MAX_COPROCESSO... |
<commit_before>/*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2010-2011, Willow Garage, Inc.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the fo... |
<commit_before>#pragma once
#include <cstring>
#include <sys/mman.h>
#include "vfs/platform.hpp"
namespace vfs {
//----------------------------------------------------------------------------------------------
using file_view_impl = class posix_file_view;
//---------------------------------------------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.