text stringlengths 54 60.6k |
|---|
<commit_before>#include <core/mat4.h>
#include "core/draw.h"
#include "core/random.h"
#include "core/shufflebag.h"
#include "core/mat4.h"
#include "core/axisangle.h"
#include "core/aabb.h"
#include "core/texturetypes.h"
#include "core/vfs.h"
#include "core/vfs_imagegenerator.h"
#include "core/vfs_path.h"
#include "core... |
<commit_before>/**
* Copyright (c) 2011-2016 libbitcoin developers (see AUTHORS)
*
* This file is part of libbitcoin.
*
* libbitcoin is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License with
* additional permissions to the one published by the Free... |
<commit_before>/*
qgvdial is a cross platform Google Voice Dialer
Copyright (C) 2010 Yuvraaj Kelkar
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 y... |
<commit_before>#include "aquila/transform/Window.h"
#include <cstdlib>
#include <iostream>
int main(int argc, char *argv[])
{
int length = 0;
if (argc >= 3)
{
length = std::atoi(argv[2]);
}
if (0 == length)
{
length = 64;
}
Aquila::WindowType type = Aquila::WIN_HAMMING;... |
<commit_before>/*
* Copyright (c) 2016, Egor Pugin
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright
* notice, t... |
<commit_before>/***************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (people-users@projects.maemo.org)
**
** This file is part of contactsd.
**
** If you have questions re... |
<commit_before>#include <cassert>
#include <string>
#include <string.h>
#include <strings.h>
#include <sqlite3ext.h>
extern const sqlite3_api_routines *sqlite3_api;
#include "utils.hpp"
#include "settings.hpp"
/*
* I'm not super happy with this settings implementation (it looked a tiny bit more
* sensible before i... |
<commit_before>//===-- SIMCCodeEmitter.cpp - SI Code Emitter -------------------------------===//
//
// 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 Vc library.
Copyright (C) 2009-2012 Matthias Kretz <kretz@kde.org>
Vc is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation, either version 3 of
th... |
<commit_before>#include <iostream>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <dirent.h>
#include <errno.h>
#include <cstdlib>
#include <stdio.h>
#include <string.h>
#include <vector>
#include <iomanip>
#include <algorithm>
using namespace std;
#define FLAG_a 1
#define FLAG_l 2
#define F... |
<commit_before>//=============================================================================
//File Name: OurRobot.cpp
//Description: Main robot class in which all robot sensors and devices are
// declared
//Author: FRC Team 3512, Spartatroniks
//===========================================================... |
<commit_before>#define CATCH_CONFIG_RUNNER
#include <iostream>
#include <catch.hpp>
#include "sphere.hpp"
#include "box.hpp"
TEST_CASE("Sphere default construction", "[constructor]") {
Sphere s{};
glm::vec3 c{0.0, 0.0, 0.0};
REQUIRE(s.getRadius() == 0.0);
REQUIRE(s.getCenter() == c);
... |
<commit_before>#include <iostream>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <deque>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <dirent.h>
#include <algorithm>
#include <pwd.h>
#include <grp.h>
#include <time.h>
using namespace std;
void organize(deque <string> ... |
<commit_before>/* Copyright 2017 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>#include <elfio/elfio.hpp>
using namespace ELFIO;
int main(int argc, char** argv){
elfio elf_src;
elf_src.load(argv[1]);
std::string output_file(argv[1]);
section *text_sec, *strtab_sec, *shstrtab_sec, *symtab_sec;
std::cout << "class=";
if (elf_src.get_class() == ELFCLASS32){
std::... |
<commit_before>#include "../uuidxx.h"
#include <string>
#include <iostream>
#include <set>
#include <array>
#include <string.h>
#ifdef _WIN32
#define strcasecmp _stricmp
#endif
using namespace uuidxx;
using namespace std;
template<class T, class... Tail>
auto make_array(T head, Tail... tail) -> std::array<T, 1 + siz... |
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2020 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 <shutdown.h>
#include <config/bitcoin-config.h>
#includ... |
<commit_before>#include <elfio/elfio.hpp>
#include <sstream>
#include <vector>
using namespace ELFIO;
#define R_AVR_CALL 18
int strhex_to_int(std::string value){
int v;
std::stringstream ss;
ss << value;
ss >> std::hex >> v;
return v;
}
void add_sym(symbol_section_accessor &syma,
string_se... |
<commit_before>#define CATCH_CONFIG_RUNNER
#include <catch.hpp>
#include "sphere.hpp"
#include "box.hpp"
#include "material.hpp"
#include <glm/glm.hpp>
#include <glm/gtx/intersect.hpp>
TEST_CASE("Sphere default construction", "[constructor]") {
Sphere s{};
glm::vec3 c{0.0, 0.0, 0.0};
REQUIRE(s.... |
<commit_before>#include <iostream>
#include <unistd.h>
#include <sys/stat.h>
#include <stdio.h>
#include <vector>
#include <sstream>
#include <dirent.h>
#include <errno.h>
#include <sys/types.h>
using namespace std;
bool isDirectory(char* directoryName) {
struct stat directoryInCurrent;
if (-1 == (stat(directoryN... |
<commit_before>#include <iostream>
#include <pwd.h>
#include <grp.h>
#include <iomanip>
#include <algorithm>
#include <stdio.h>
#include <cstring>
#include <vector>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <unistd.h>
#include <stdlib.h>
#include <dirent.h>
using na... |
<commit_before>#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <blackhole/handler.hpp>
#include <blackhole/logger.hpp>
#include <blackhole/record.hpp>
#include <blackhole/root.hpp>
namespace blackhole {
namespace testing {
using ::testing::_;
namespace mock {
namespace {
class handler_t : public ::black... |
<commit_before>#include "LibString.h"
#include "TextIO.h"
namespace CoreLib
{
namespace Basic
{
_EndLine EndLine;
String StringConcat(const char * lhs, int leftLen, const char * rhs, int rightLen)
{
String res;
res.length = leftLen + rightLen;
res.buffer = new char[res.length + 1];
strcpy_s(res.buf... |
<commit_before>// RUN: %clang_cc1 -std=c++11 -S -emit-llvm -o - %s -triple x86_64-apple-darwin10 | FileCheck %s
// RUN: %clang_cc1 -S -emit-llvm -o %t.ll %s -triple x86_64-apple-darwin10
// RUN: %clang_cc1 -std=c++11 -S -emit-llvm -o %t-c++11.ll %s -triple x86_64-apple-darwin10
// RUN: diff %t.ll %t-c++11.ll
// rda... |
<commit_before>//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//------------------------------------------... |
<commit_before><commit_msg>legion: put this bit of code back in for now to confirm it fixes failures<commit_after><|endoftext|> |
<commit_before>#include "Layer.hpp"
#include "BridgeDetector.hpp"
#include "ClipperUtils.hpp"
#include "Geometry.hpp"
#include "PerimeterGenerator.hpp"
#include "Print.hpp"
#include "Surface.hpp"
namespace Slic3r {
/// Creates a new Flow object with the arguments and the variables of this LayerRegion
Flow
LayerRegion... |
<commit_before><commit_msg>Fix #212<commit_after><|endoftext|> |
<commit_before>/* -------------------------------------------------------------------------- */
/* Copyright 2002-2017, OpenNebula Project, OpenNebula Systems */
/* */
/* Licensed under the Apache License, Version 2.0 (the "Licens... |
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2020. All rights reserved
*/
#ifndef _Stroika_Foundation_Characters_ToString_inl_
#define _Stroika_Foundation_Characters_ToString_inl_ 1
/*
********************************************************************************
***************************** I... |
<commit_before>#include "Test.h"
#include "SkMatrix44.h"
static bool nearly_equal_scalar(SkMScalar a, SkMScalar b) {
// Note that we get more compounded error for multiple operations when
// SK_SCALAR_IS_FIXED.
#ifdef SK_SCALAR_IS_FLOAT
const SkScalar tolerance = SK_Scalar1 / 200000;
#else
const SkScal... |
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2011. All rights reserved
*/
#ifndef _Stroika_Foundation_Containers_Iterator_inl_
#define _Stroika_Foundation_Containers_Iterator_inl_
#include "../Debug/Assertions.h"
// we allow fIterator to equal nullptr, as a sentinal value during iteration, signali... |
<commit_before><commit_msg>adding return 1 default if settings file cannot be loaded<commit_after><|endoftext|> |
<commit_before>// Copyright 2018 Google LLC. All Rights Reserved.
/*
Copyright (C) 2005-2016 Steven L. Scott
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... |
<commit_before>
#include "rpi_gpio.hpp"
#include <cossb.hpp>
#include <3rdparty/bcm2835.h>
using namespace std;
USE_COMPONENT_INTERFACE(rpi_gpio)
rpi_gpio::rpi_gpio()
:cossb::interface::icomponent(COMPONENT(rpi_gpio)){
// TODO Auto-generated constructor stub
}
rpi_gpio::~rpi_gpio() {
}
bool rpi_gpio::setup()
{
... |
<commit_before>/*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distributed WIT... |
<commit_before><commit_msg>Updated main according to recent changes.<commit_after><|endoftext|> |
<commit_before>//
// StaticAnalyser.cpp
// Clock Signal
//
// Created by Thomas Harte on 23/02/2018.
// Copyright © 2018 Thomas Harte. All rights reserved.
//
#include "StaticAnalyser.hpp"
static std::vector<std::shared_ptr<Storage::Cartridge::Cartridge>>
ColecoCartridgesFrom(const std::vector<std::shared_ptr<S... |
<commit_before><commit_msg>Increase min throttle on the new timer performance test. This is an arbitrary timer, but these tests run slower than I expected on the bbots.<commit_after><|endoftext|> |
<commit_before><commit_msg>Fix and restore least/greatest expr test<commit_after><|endoftext|> |
<commit_before>#include <iostream>
#include <set>
#include <string>
#include <vector>
#include "object_search_msgs/Label.h"
#include "object_search_msgs/Task.h"
#include "pcl/point_cloud.h"
#include "pcl/point_types.h"
#include "rapid_db/name_db.hpp"
#include "rapid_msgs/LandmarkInfo.h"
#include "rapid_perception/conv... |
<commit_before>/*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2009-2012, Willow Garage, Inc.
* Copyright (c) 2012-, Open Perception, Inc.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modific... |
<commit_before>#include "Halide.h"
namespace {
constexpr int maxJ = 20;
class LocalLaplacian : public Halide::Generator<LocalLaplacian> {
public:
GeneratorParam<int> pyramid_levels{"pyramid_levels", 8, 1, maxJ};
ImageParam input{UInt(16), 3, "input"};
Param<int> levels{"levels"}... |
<commit_before><commit_msg>App: fix ObjectIdentifier::relativeTo()<commit_after><|endoftext|> |
<commit_before><commit_msg>fix problem of polyline selection 0021950: EDF 2311 SMESH : Polyline selection in SMESH<commit_after><|endoftext|> |
<commit_before>#include <iostream>
#include <SDL_ttf.h>
#include <GL/glew.h>
#include <SDL_opengl.h>
#include "demoloop_opengl.h"
#include "helpers.h"
#include "opengl_helpers.h"
#include "cleanup.h"
#ifdef EMSCRIPTEN
#include <emscripten.h>
#endif
namespace Demoloop {
const int SCREEN_WIDTH = 640, SCREEN_HEIGHT =... |
<commit_before>//
// BusyMeshRenderer.hpp
// G3MiOSSDK
//
// Created by Diego Gomez Deck on 20/07/12.
// Copyright (c) 2012 IGO Software SL. All rights reserved.
//
#ifndef G3MiOSSDK_BusyMeshRenderer_hpp
#define G3MiOSSDK_BusyMeshRenderer_hpp
#include "LeafRenderer.hpp"
#include "IndexedMesh.hpp"
#include "Effect... |
<commit_before>/**
* @file Logger.cpp
* Logger class implementation
*
* 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 ... |
<commit_before>///////////////////////////////////////////////////////////////////////////////
//
// File: TestSharedArray.cpp
//
// For more information, please see: http://www.nektar.info
//
// The MIT License
//
// Copyright (c) 2006 Division of Applied Mathematics, Brown University (USA),
// Department of Aeronauti... |
<commit_before>/*
* Website:
* https://github.com/wo3kie/dojo
*
* Author:
* Lukasz Czerwinski
*
* Compilation:
* g++ --std=c++11 blackScholes.cpp -o blackScholes
*
* Usage:
* $ ./blackScholes
*
* Black-Scholes Explicit Finite Difference Method for Call Options
*
* df/dt + 1/2 * o^2 * ... |
<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 applicable law or... |
<commit_before><commit_msg>Check return value of stat and seek in condor_history #6345<commit_after><|endoftext|> |
<commit_before>#include <iostream>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <dirent.h>
#include <errno.h>
#include <cstdlib>
#include <stdio.h>
#include <string.h>
#include <vector>
using namespace std;
#define FLAG_a 1
#define FLAG_l 2
#define FLAG_R 4
bool is_directory(char* path);
... |
<commit_before>#include <iostream>
#include <string>
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <stdio.h>
#include <string.h>
#include <cstring>
#include <vector>
#include <boost/algorithm/string/trim.hpp>
#include <sys/stat.h>
#include <fcntl.h>
#include <cstdlib>
#include <errno.h>
#in... |
<commit_before>#ifndef _HUFFMAN_H_
#define _HUFFMAN_H_
namespace ca {
class Huffman {
public:
private:
};
}
#endif<commit_msg>finish declaration of Huffman class<commit_after>#ifndef _HUFFMAN_H_
#define _HUFFMAN_H_
#include "bitheader/bitstream.hpp"
#include <fstream>
#include <memory>
namespace ca {
class Node {
... |
<commit_before>#include "yarray.h"
#include <stdio.h>
#include <string.h>
char const *ApplicationName("testarray");
bool multiByte(true);
static void dump(const char *label, const YArray<int> &array) {
printf("%s: count=%ld, capacity=%ld\n content={",
label, array.getCount(), array.getCapacity());
... |
<commit_before>/*
Copyright (c) 2015-2016 Advanced Micro Devices, 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
in the Software without restriction, including without limitation the rig... |
<commit_before>#include "brujin_algorithms.h"
#include <iostream>
#include <sdsl/suffix_arrays.hpp>
#include <sdsl/lcp.hpp>
#include <sais.hxx>
using namespace std;
using namespace sdsl;
// Algorithm1.
pair<vector<Node *>, vector<Edge>> create_compress_graph(const uint64_t &k, wt_huff<> &wta, lcp_wt<> &lcp) {
bo... |
<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/process_util.h"
#include <sys/types.h>
#include <unistd.h>
#include "base/basictypes.h"
#include "base/sys_info.h... |
<commit_before>/*
Copyright (c) 2011 Volker Krause <vkrause@kde.org>
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) a... |
<commit_before>/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2008 by Sun Microsystems, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: except.cxx,v $
* $Revision: 1.7 ... |
<commit_before>////////////////////////////////////////////////////////////////////////////////
/// @brief Thread
///
/// @file
///
/// DISCLAIMER
///
/// Copyright 2004-2013 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in c... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: iosys.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2005-09-07 21:33:25 $
*
* The Contents of this file are made ava... |
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
* - GNU Lesser General Pu... |
<commit_before>/*
==================================================
Filename: text2048.cpp
Description: Text-based 2048 game. Please
set your terminal to 80 x 25.
Version: 1.0
Created: 2014-10-02
Revision: none
Compiler: gcc
Au... |
<commit_before>#include "ctextencodingdetector.h"
#include "trigramfrequencytables/ctrigramfrequencytable_english.h"
#include "trigramfrequencytables/ctrigramfrequencytable_russian.h"
#include <QTextCodec>
#include <QIODevice>
#include <algorithm>
static const auto defaultMatchFunction =
CTextEncodingDet... |
<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
* "... |
<commit_before>/******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor ... |
<commit_before>/*****************************************************************************
* Licensed to Qualys, Inc. (QUALYS) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* QUALYS licenses this fil... |
<commit_before>// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "os2.h"
#include "head.h"
// OS/2 - OS/2 and Windows Metrics
// http://www.microsoft.com/typography/otspec/os2.htm
#define ... |
<commit_before>// Copyright (c) 2009-2017 The OTS 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 "os2.h"
#include "head.h"
// OS/2 - OS/2 and Windows Metrics
// http://www.microsoft.com/typography/otspec... |
<commit_before>//===- CSE.cpp - Simple and fast CSE pass ---------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: sfxurl.cxx,v $
*
* $Revision: 1.7 $
*
* last change: $Author: hr $ $Date: 2007-06-27 23:16:02 $
*
* The Contents of this file are made av... |
<commit_before>/*************************************************************************
*
* $RCSfile: impframe.hxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: svesik $ $Date: 2004-04-21 12:19:52 $
*
* The Contents of this file are made available subject to the terms of
* either of the following l... |
<commit_before>/*
* author: muggle wei <mugglewei@gmail.com>
*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
#include "muggle/cpp/memory_pool/thread_safe_memory_pool.h"
#include <malloc.h>
#include <exception>
#include <new>
NS_MUGGLE_BEGIN
ThreadSafeMemory... |
<commit_before>// model.cxx - manage a 3D aircraft model.
// Written by David Megginson, started 2002.
//
// This file is in the Public Domain, and comes with no warranty.
#ifdef HAVE_CONFIG_H
#include <simgear_config.h>
#endif
#include <simgear/compiler.h>
#include <string.h> // for strcmp()
#include <... |
<commit_before>/* Sirikata liboh -- Object Host
* ObjectHost.hpp
*
* Copyright (c) 2009, Ewen Cheslack-Postava
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistribution... |
<commit_before>#include "c9/channel9.hpp"
#include "c9/environment.hpp"
#include "c9/context.hpp"
#include "c9/string.hpp"
#include "c9/value.hpp"
#include "c9/loader.hpp"
using namespace Channel9;
class NoReturnChannel : public Channel9::CallableContext
{
public:
NoReturnChannel(){}
~NoReturnChannel(){}
void sen... |
<commit_before>/*************************************************************************
*
* $RCSfile: WinClip.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: rt $ $Date: 2003-10-06 14:42:16 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licens... |
<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>#include <windows.h>
#include <tchar.h>
#include <GL/glew.h>
#include <GL/wglew.h>
#include <gmtl/gmtl.h>
#include <gmtl/Matrix.h>
#include <vmath/vmath.h>
#include <iostream>
#include "obj_file.hpp"
#pragma comment(lib, "opengl32.lib")
#pragma comment(lib, "glu32.lib")
#define BUFFER_OFFSET(i) ((v... |
<commit_before>//////////////////////////////////////////////////////////////////////////
//
// SneezyMUD - All rights reserved, SneezyMUD Coding Team
//
//////////////////////////////////////////////////////////////////////////
#include "stdsneezy.h"
#include "combat.h"
static int quiveringPalm(TBeing *c, TBeing *v... |
<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)
//
// Contributors: Kirsten Weber
#ifndef DUNE_GDT_EVALUATION_ELLIPTIC_HH
#define DUNE_G... |
<commit_before>/**************************************************************************
** This file is part of LiteIDE
**
** Copyright (c) 2011-2013 LiteIDE Team. All rights reserved.
**
** 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 "Platform.hpp"
#include "Neuron.hpp"
#include "Synapse.hpp"
#include "Branch.hpp"
#include "ActivityStats.hpp"
#include "genome.pb.h"
#include "Brain.hpp"
#include "SimpleProteinEnvironment.hpp"
#include "ProteinDensity.hpp"
#include "SpatialSearch.hpp"
#include <time.h>
namespace Elysia {
Neur... |
<commit_before>#pragma once
//=====================================================================//
/*! @file
@brief RX チップ選択ヘッダー @n
Copyright 2016 Kunihito Hiramatsu
@author 平松邦仁 (hira@rvf-rc45.net)
*/
//=====================================================================//
#if defined(SIG_RX621)
#inc... |
<commit_before>/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2008 by Sun Microsystems, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: textbodypropertiescontext.cxx,v $... |
<commit_before>
#include "VideoSource.h"
#include "DestinNetworkAlt.h"
#include "Transporter.h"
#include "stdio.h"
int main(int argc, char ** argv){
VideoSource vs(true, "");
SupportedImageWidths siw = W512;
uint centroid_counts[] = {20,16,14,12,10,8,4,2};
destin_network_alt network(siw, 8, centroi... |
<commit_before>//===- PrintFunctionNames.cpp ---------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<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>/* 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>#include "../include/hip/hcc_detail/code_object_bundle.hpp"
#include <hsa/hsa.h>
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <string>
#include <vector>
using namespace std;
inline
std::string transmogrify_triple(const std::string& triple)
{
static constexpr const char old_... |
<commit_before><commit_msg>Updated Lava Material to use bindEyePosition function from scene class<commit_after><|endoftext|> |
<commit_before>/*=========================================================================
Program: Monteverdi2
Language: C++
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See Copyright.txt for details.
Monteverdi2 is distributed under the CeCILL licence version 2. See
Licenc... |
<commit_before>/*=========================================================================
Program: Medical Imaging & Interaction Toolkit
Module: $RCSfile$
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) German Cancer Research Center, Division of Medical and
Biological Informatics. All right... |
<commit_before>#include "pprint/c_pprint.hpp"
#include <ostream>
#include <string>
#include <vector>
#include <stdexcept>
namespace bfc {
namespace pprint {
c_pprint::c_pprint(void) = default;
c_pprint::config::config(void) :
prelude{
"#include \"bfc_rts.h\"",
"void bfc_main(void) {"
},
postlude {
... |
<commit_before>/*=========================================================================
Program: Medical Imaging & Interaction Toolkit
Module: $RCSfile$
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) German Cancer Research Center, Division of Medical and
Biological Informatics. All right... |
<commit_before>/*=========================================================================
Program: Medical Imaging & Interaction Toolkit
Language: C++
Date: $Date: 2007-12-18 16:04:12 +0100 (Di, 18 Dez 2007) $
Version: $Revision: 13252 $
Copyright (c) German Cancer Research Center, Division of Medical an... |
<commit_before>#include "gtest/gtest.h"
// #include <glog/logging.h>
#include <Eigen/Dense>
#include <Eigen/Core>
using Eigen::Matrix;
using Eigen::RowVectorXd;
using Eigen::Vector3d;
using Eigen::VectorXd;
using Eigen::Matrix3d;
using Eigen::MatrixXd;
#define GARF_SERIALIZE_ENABLE
#include "garf/regression_forest.... |
<commit_before>// $Id$
// Category: geometry
//
// See the class description in the header file.
#include "AliModulesCompositionMessenger.h"
#include "AliModulesComposition.h"
#include "AliGlobals.h"
#include <G4UIdirectory.hh>
#include <G4UIcmdWithAString.hh>
#include <G4UIcmdWithoutParameter.hh>
#include <G4UIcmdWi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.