text stringlengths 54 60.6k |
|---|
<commit_before>#include <Element.h>
#include <FWPlatform.h>
#include <HeadingText.h>
#include <TextLabel.h>
#include <LinearLayout.h>
#include <FWApplication.h>
#include <cassert>
using namespace std;
int Element::nextInternalId = 1;
Element::~Element() {
if (platform) {
platform->unregisterElement(this);
}... |
<commit_before>/////////////////////////////////////////////////////////////////////
// = NMatrix
//
// A linear algebra library for scientific computation in Ruby.
// NMatrix is part of SciRuby.
//
// NMatrix was originally inspired by and derived from NArray, by
// Masahiro Tanaka: http://narray.rubyforge.org
//
// =... |
<commit_before>/*
===========================================================================
Daemon GPL Source Code
Copyright (C) 2013 Unvanquished Developers
This file is part of the Daemon GPL Source Code (Daemon Source Code).
Daemon Source Code is free software: you can redistribute it and/or modify
it under the... |
<commit_before>#ifndef COMPOSE_NODE_HPP
#define COMPOSE_NODE_HPP
#include <memory>
#include <map>
#include <set>
#include <stdexcept>
#include <east.hpp>
#include "core/composed_node.hpp"
#include "phi_node.hpp"
#include "const_node.hpp"
#include "sqrt_node.hpp"
#include "log_node.hpp"
#include "log10_node.hpp"
#inclu... |
<commit_before>#include <immintrin.h>
#include <cstdint>
#include <cassert>
char* remove_spaces__avx512vbmi(const char* src, char* dst, size_t n) {
assert(n % 64 == 0);
// values 0..63
const __m512i no_gaps_indices = _mm512_setr_epi32(
0x03020100, 0x07060504, 0x0b0a0908, 0x0f0e0d0c,
0x131... |
<commit_before>/**
* Copyright 2016 Yahoo 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 la... |
<commit_before>#include <sstream>
#include "controller.hpp"
Controller::Controller(): n("~"), new_task(false), ac_speak("/speak", true), ac_gaze("/gaze_at_pose", true), memory_ppl(), name_dict(), person_id(-1), client_facts(n.serviceClient<facts::TellFacts>("tell_facts")), initialized(false)
{
name_tag_sub = n.subscr... |
<commit_before>#include "detectors.h"
#include <iostream>
#include <numeric>
#include <algorithm>
#include <cmath>
#include <limits>
using namespace std;
#include "poptemplate.h"
static const bool kDelayMatch = false;
static const int kBlockSize = DETECTORS_BLOCK_SIZE;
static const int kLogBlockSize = 9;
static co... |
<commit_before>/*
* Copyright (c) 2003-2006 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>#include "singleton_edge.h"
void siren_edge_install(mrb_state* mrb, RObject* o)
{
mrb_define_singleton_method(mrb, o, "sp", siren_edge_sp, MRB_ARGS_NONE());
mrb_define_singleton_method(mrb, o, "tp", siren_edge_tp, MRB_ARGS_NONE());
mrb_define_singleton_method(mrb, o, "t... |
<commit_before>#include <babylon/cameras/arc_rotate_camera.h>
#include <babylon/core/random.h>
#include <babylon/engines/scene.h>
#include <babylon/interfaces/irenderable_scene.h>
#include <babylon/lights/point_light.h>
#include <babylon/materials/standard_material.h>
#include <babylon/maths/vector3.h>
#include <babylo... |
<commit_before>#include <numeric>
#include <cstdlib>
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <map>
#include <iomanip>
#include <cmath>
#include <algorithm>
#include "sdd/sdd.hh"
#include "sdd/tools/size.hh"
using namespace std;
struct conf
: public sdd::flat_set_default_... |
<commit_before>/*
* This is the Calvin mini library for Arduino due
*
*Created on: 5 okt. 2015
*
*/
#include <stdio.h>
#include "CalvinMini.h"
#include <inttypes.h>
#ifdef ARDUINO
#include <SPI.h>
#include <Ethernet.h>
#include <util.h>
//byte mac[] = { 0x00, 0xAA, 0xBB, 0xCC, 0xDE, 0x02 };
byte mac[] = { 0x90, ... |
<commit_before>#include <cstdlib>
#include <cassert>
#include "api-loader.h"
#include "pointers.h"
#include <string>
//here direct pointers are kept (pointers to entrypoints exposed by underlying OpenGL32 implementation
//use DIRECT_CALL(name) to call one of these pointers
void* g_DirectPointers[Entrypoint... |
<commit_before>/*==========================================================================
SeqAn - The Library for Sequence Analysis
http://www.seqan.de
============================================================================
Copyright (C) 2007
This library is free so... |
<commit_before>/***************************************************************************
* containers/test_iterators.cpp
*
* Part of the STXXL. See http://stxxl.sourceforge.net
*
* Copyright (C) 2007 Roman Dementiev <dementiev@ira.uka.de>
* Copyright (C) 2009 Andreas Beckmann <beckmann@cs.uni-frankfurt.de>... |
<commit_before>/*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 1999 The Apache Software Foundation. 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. Redistri... |
<commit_before>// Begin CVS Header
// $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/function/CEvaluationNode.cpp,v $
// $Revision: 1.34 $
// $Name: $
// $Author: ssahle $
// $Date: 2007/09/21 15:40:12 $
// End CVS Header
// Copyright (C) 2007 by Pedro Mendes, Virginia Tech Intellectual
// Proper... |
<commit_before>#pragma once
#include <regex>
#include <optional>
#include "acmacs-base/fmt.hh"
// ======================================================================
// Support for multiple regex and replacements, see acmacs-virus/cc/reassortant.cc
// ==============================================================... |
<commit_before>/*
Copyright (c) 2014-2015 DataStax
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 agree... |
<commit_before>///
/// @file PhiTiny.cpp
///
/// Copyright (C) 2014 Kim Walisch, <kim.walisch@gmail.com>
///
/// This file is distributed under the BSD License. See the COPYING
/// file in the top level directory.
///
#include "PhiTiny.hpp"
#include <stdint.h>
#include <vector>
#include <cassert>
#include <cstddef>
... |
<commit_before>// Copyright (c) 2019 by Robert Bosch GmbH. All rights reserved.
// Copyright (c) 2021 by Apex.AI 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
... |
<commit_before>#include "parallel-hashmap/parallel_hashmap/phmap.h"
#include "smhasher/meow_hash_x64_aesni.h"
#include "wyhash/wyhash.h"
#include "xxHash/xxhash.c"
#include "t1ha/t1ha.h"
#include <sys/time.h>
#include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
using namespace std;
//struct hashe... |
<commit_before>#ifndef OCLUTIL_REDUCE_HPP
#define OCLUTIL_REDUCE_HPP
/**
* \file reduce.hpp
* \author Denis Demidov <ddemidov@ksu.ru>
* \brief OpenCL vector reduction.
*/
#ifdef WIN32
# pragma warning(disable : 4290 4715)
# define NOMINMAX
#endif
#include <vector>
#include <sstream>
#include <numeric>
#incl... |
<commit_before><commit_msg>Resolves: #i119450# Added EMR_ALPHABLEND case to EnhWMFReader<commit_after><|endoftext|> |
<commit_before>#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <vector>
#include "hash.hpp"
#include "hvectors.hpp"
#include "slice.hpp"
struct Block {
hash256_t hash = {};
hash256_t prevBlockHash = {};
uint32_t bits;
Block () {}
Block (const hash256_t& hash, const hash256_t& p... |
<commit_before>#include <sys/socket.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdlib.h>
#include <unistd.h>
#include <netdb.h>
#include <sys/uio.h>
#include <string.h>
#include <sstream>
#include <istream>
#include "socket.h"
#include "Command.h"
#include "CommandBulider.h"
#inc... |
<commit_before>/*************************************************************************
*
* $RCSfile: gcach_ftyp.hxx,v $
*
* $Revision: 1.28 $
*
* last change: $Author: rt $ $Date: 2004-07-13 09:30:12 $
*
* The Contents of this file are made available subject to the terms of
* either of the following li... |
<commit_before>// Copyright (c) 2014 The Caroline authors. All rights reserved.
// Use of this source file is governed by a MIT license that can be found in the
// LICENSE file.
// Author: Kukleva Anna <Kuklevaanna@gmail.com>
#include "core/camera_calibration.h"
#include <vector>
#include "core/cameras.h"
namespace ... |
<commit_before>//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#include "ClResizeBilinearFloatWorkload.hpp"
#include <backends/cl/ClTensorHandle.hpp>
#include <backends/CpuTensorHandle.hpp>
#include <backends/cl/ClLayerSupport.hpp>
#include <backends/aclCommon/ArmComputeUtils.hp... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: vtkVectorTopology.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 1993-2000 Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
Redist... |
<commit_before>
#include "IPCSession.hpp"
#include "../Client.hpp"
#include <onions-common/Log.hpp>
#include <onions-common/tcp/MemAllocator.hpp>
#include <onions-common/Utils.hpp>
#include <boost/bind.hpp>
#include <algorithm>
#include <fstream>
template <typename Handler>
inline MemAllocator<Handler> makeHandler(Ha... |
<commit_before>#include <ros/console.h>
#include <string>
#include <teraranger_hub/RangeArray.h>
#include <teraranger_hub/teraranger_evo.h>
#include <teraranger_hub/helper_lib.h>
namespace teraranger_hub
{
TerarangerHubEvo::TerarangerHubEvo()
{
// Get parameters and namespace
ros::NodeHandle private_node_han... |
<commit_before>// This file will be removed when the code is accepted into the Thrift library.
/*
* 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 AS... |
<commit_before>#include <iostream>
#include <iomanip>
#include <string>
#include <sstream>
#include <memory>
#include <initializer_list>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <ctype.h>
enum class token_type {
identifier,
literal,
op,
eof
};
std::ostream& operator<<(std:... |
<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 "chrome/browser/icon_loader.h"
#include "base/message_loop.h"
#include "base/thread.h"
#include "chrome/browser/browser_proce... |
<commit_before>/*
The OpenTRV project licenses this file to you
under the Apache Licence, Version 2.0 (the "Licence");
you may not use this file except in compliance
with the Licence. You may obtain a copy of the Licence at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in w... |
<commit_before>#include <zlib.h>
#include <lcm/lcm-cpp.hpp>
#include <lcmtypes/bot_core/planar_lidar_t.hpp>
#include <lcmtypes/bot_core/pointcloud_t.hpp>
#include <lcmtypes/bot_core/pose_t.hpp>
#include <lcmtypes/bot_core/rigid_transform_t.hpp>
#include <boost/shared_ptr.hpp>
#include "lidar-odometry.hpp"
#include <C... |
<commit_before>// Copyright (c) 2006-2010 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 "chrome/common/chrome_paths.h"
#include "base/command_line.h"
#include "base/file_util.h"
#include "base/logging.h"
#inc... |
<commit_before>#include <string>
#include "nbind/api.h"
#include "control.h"
#include "ui.h"
#include "values.h"
class UiWindow {
DEFINE_EVENT(onClosing)
DEFINE_EVENT(onContentSizeChanged)
private:
uiWindow *win;
public:
UiWindow(std::string title, int width, int height, bool hasMenubar);
uiWindow *getHandl... |
<commit_before>#include <GDE/Core/ConfigReader.hpp>
#include <GDE/Core/StringsUtil.hpp>
#include <GDE/Core/Log.hpp>
#include <cstdio>
#include <cstring>
namespace GDE
{
ConfigReader::ConfigReader()
{
////ILOGM("ConfigReader::ctor()");
}
ConfigReader::ConfigReader(const ConfigReader& theCopy) :
sections(theC... |
<commit_before>/*************************************************************************
*
* $RCSfile: provider.cxx,v $
*
* $Revision: 1.1 $
*
* last change: $Author: dg $ $Date: 2000-11-10 22:42:46 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before>/***************************************************************************
* Copyright (c) Juergen Riegel (juergen.riegel@web.de) 2012 *
* *
* This file is part of the FreeCAD CAx development system. ... |
<commit_before>// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law ... |
<commit_before>/*
This file is part of the ORK library.
Full copyright and license terms can be found in the LICENSE.txt file.
*/
#include "ork/ork.hpp"
#include "ork/string_utils.hpp"
#define CATCH_CONFIG_MAIN 1
#include "ork/test/catch_include.hpp"
ORK_GLOBAL_LOG(ORK("../Logs"))
using namespace ork;
TEST_CASE("St... |
<commit_before>#include <iostream>
#include <arc_utilities/dijkstras.hpp>
#include <arc_utilities/pretty_print.hpp>
int main(int argc, char* argv[])
{
(void)argc;
(void)argv;
std::cout << "Creating graph with nodes indices:\n\n";
std::cout << " 2 | 5 | 8\n"
<< " --+---+--\n"
... |
<commit_before>/*
*
* AESCipher
* ledger-core
*
* Created by Pierre Pollastri on 08/12/2016.
*
* The MIT License (MIT)
*
* Copyright (c) 2016 Ledger
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to dea... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: Date.cxx,v $
*
* $Revision: 1.23 $
*
* last change: $Author: obo $ $Date: 2006-09-16 23:48:14 $
*
* The Contents of this file are made av... |
<commit_before>#include "styleParam.h"
#include "platform.h"
#include "util/builders.h" // for cap, join
#include "util/geom.h" // for CLAMP
#include <map>
namespace Tangram {
const std::map<std::string, StyleParamKey> s_StyleParamMap = {
{"cap", StyleParamKey::cap},
{"color", StyleParamKey::color},
{"ex... |
<commit_before>// $Id$
/*
Copyright (c) 2007-2011, Trustees of The Leland Stanford Junior University
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... |
<commit_before>#include "tileManager.h"
#include "data/dataSource.h"
#include "platform.h"
#include "scene/scene.h"
#include "tile/mapTile.h"
#include "view/view.h"
#include "glm/gtx/norm.hpp"
#include <chrono>
#include <algorithm>
TileManager::TileManager()
: m_loadPending(0) {
// Instantiate workers
... |
<commit_before>/*
* Copyright (C) 2003-2005 Tommi Maekitalo
*
* 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 option) any later ver... |
<commit_before>// Copyright 2016 The SwiftShader 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
//
// Un... |
<commit_before>/*
* Copyright (C) 2005-2006 Tommi Maekitalo
*
* 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 option) any later version.
*... |
<commit_before>/*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not d... |
<commit_before>/*
* Copyright (C) 2008-2010 The QXmpp developers
*
* Author:
* Manjeet Dahiya
*
* Source:
* http://code.google.com/p/qxmpp
*
* This file is a part of QXmpp library.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser G... |
<commit_before>/*
$Id$
$URL$
Copyright (c) 1998 - 2012
This file is part of tscan
tscan 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 ... |
<commit_before>/**
* Clever programming language
* Copyright (c) Clever Team
*
* This file is distributed under the MIT license. See LICENSE for details.
*/
#include <cmath>
#include <vector>
#include <cstdlib>
#include <cstdio>
#include <map>
#include <string>
#ifndef __APPLE__
# include <ffi.h>
#else
# include ... |
<commit_before>// Two dimensional grid class
#include <vector>
#include <cassert>
#include <iostream>
template<class T>
class Grid2D
{
public:
// This is the default constructor. Call it without any
// arguments and it will return a 0x0 matrix (initialized
// with 0)
// Example
... |
<commit_before>// Virvo - Virtual Reality Volume Rendering
// Copyright (C) 1999-2003 University of Stuttgart, 2004-2005 Brown University
// Contact: Jurgen P. Schulze, jschulze@ucsd.edu
//
// This file is part of Virvo.
//
// Virvo is free software; you can redistribute it and/or
// modify it under the terms of the GN... |
<commit_before>#include <telebotxx/BotApi.hpp>
#include <telebotxx/Exception.hpp>
#include <sstream>
#include <rapidjson/document.h>
#include <rapidjson/writer.h>
#include <rapidjson/istreamwrapper.h>
#include <curlpp/cURLpp.hpp>
#include <curlpp/Easy.hpp>
#include <curlpp/Options.hpp>
#include <boost/log/trivial.h... |
<commit_before>/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
... |
<commit_before>/*
* Open Chinese Convert
*
* Copyright 2010-2014 BYVoid <byvoid@byvoid.com>
*
* 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/LI... |
<commit_before>/****************************************************************/
/* MOOSE - Multiphysics Object Oriented Simulation Environment */
/* */
/* All contents are licensed under LGPL V2.1 */
/* See LICENSE for full r... |
<commit_before>// Copyright (c) 2012-2015 Dano Pernis
// See LICENSE for details
#include <gtk/gtk.h>
#include <glib.h>
#include <fstream>
#include <iostream>
#include <stdexcept>
#include <cassert>
#include "CPU.h"
namespace hcc {
struct ROM : public IROM {
unsigned short *data;
static const unsigned int si... |
<commit_before>/*
This file is part of Bohrium and copyright (c) 2012 the Bohrium
team <http://www.bh107.org>.
Bohrium 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 the License, or (a... |
<commit_before>#include "browser/inspectable_web_contents.h"
#include "browser/inspectable_web_contents_impl.h"
namespace brightray {
InspectableWebContents* InspectableWebContents::Create(const content::WebContents::CreateParams& create_params) {
return Create(content::WebContents::Create(create_params));
}
Insp... |
<commit_before>#include "ExeBox.h"
#include <Entry.h>
#include <FindDirectory.h>
#include <Directory.h>
#include <storage/Node.h>
#include <OS.h>
#include <File.h>
#include <storage/Path.h>
#include <Locker.h>
#include "ObjectList.h"
#include <Volume.h>
#include <VolumeRoster.h>
#include <Query.h>
static BObjectList<... |
<commit_before>#include "FTFace.h"
#include "FTLibrary.h"
#include "FTGL.h"
FTFace::FTFace()
: ftFace(0),
numCharMaps(0),
numGlyphs(0)
{}
FTFace::~FTFace()
{
if( ftFace)
{
Close();
delete ftFace; // is this a prob?
ftFace = 0;
}
}
bool FTFace::Open( const char* filename)
{
ftFace = new FT_Face;
err =... |
<commit_before>/*
This file is part of cpp-ethereum.
cpp-ethereum is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
cpp-ethereum is dis... |
<commit_before>////////////////////////////////////////////////////////////////////////////////
//
// Copyright 2006 - 2014, Paul Beckingham, Federico Hernandez.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to... |
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2014. All rights reserved
*/
#include "../StroikaPreComp.h"
#include "ProgressMonitor.h"
using namespace Stroika::Foundation;
using namespace Stroika::Foundation::Execution;
/*
*******************************************************... |
<commit_before>/*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the imp... |
<commit_before>/*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the imp... |
<commit_before>#include <QtCore>
#include <random>
#include "testhof.h"
QString runHof(const QString& program,
bool* ok,
bool verbose = false,
int msecsToTimeout = 5000,
bool expectTimeout = false
)
{
QDir bin(QCoreApplication::applicationD... |
<commit_before>#pragma once
// `krbn::manipulator_timer` can be used safely in a multi-threaded environment.
#include "boost_defs.hpp"
#include "manipulator_object_id.hpp"
#include "thread_utility.hpp"
#include "time_utility.hpp"
#include "types.hpp"
#include <boost/signals2.hpp>
#include <deque>
#include <mach/mach... |
<commit_before>/*************************************************************************
*
* $RCSfile: SlsFocusManager.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: kz $ $Date: 2005-01-13 17:28:46 $
*
* The Contents of this file are made available subject to the terms of
* either of the followin... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: RecentlyUsedMasterPages.hxx,v $
*
* $Revision: 1.7 $
*
* last change: $Author: kz $ $Date: 2006-04-26 20:53:11 $
*
* The Contents of this... |
<commit_before>// Scintilla source code edit control
/** @file LexLua.cxx
** Lexer for Lua language.
**
** Written by Paul Winwood.
** Folder by Alexey Yutkin.
**/
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <stdarg.h>
#include <stdio.h>
#include <fcntl.h>
#include "Platform.h"
#include ... |
<commit_before>#include "RenderingSystem.h"
#include "../Components/TransformComponent.h"
#include "../Components/CameraComponent.h"
#include "../Components/ModelComponent.h"
#include "../../Rendering/RenderSurface.h"
#include "../../Rendering/Camera.h"
#include "../../Rendering/Mesh.h"
#include "../../Rendering/Model.... |
<commit_before><commit_msg>ant bool is not 0/1<commit_after><|endoftext|> |
<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 distribu... |
<commit_before>/*
* Copyright (c) 2007-2008 Digital Bazaar, Inc. All rights reserved.
*/
#include "db/crypto/BigDecimal.h"
#include <sstream>
using namespace std;
using namespace db::crypto;
BigDecimal::BigDecimal(long double value)
{
initialize();
if(value != 0)
{
*this = value... |
<commit_before>// Copyright (c) 2014 Dano Pernis
// See LICENSE for details
#include <map>
#include <string>
#include "ssa.h"
namespace hcc { namespace ssa {
void subroutine::copy_propagation()
{
struct replacer_algorithm {
void insert(const argument& from, const argument& to)
{
// re... |
<commit_before>
#include "gtest/gtest.h"
TEST(ThatWeFailQUickly, TautologiesAreTrue) {
EXPECT_TRUE(false);
}
int main(int argc, char** argv)
{
// run all tests
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
<commit_msg>Make simple test pass<commit_after>
#include "gtest/gtest.h"
TEST(ThatWeFa... |
<commit_before>/*
* This file is part of OpenModelica.
*
* Copyright (c) 1998-CurrentYear, Linköping University,
* Department of Computer and Information Science,
* SE-58183 Linköping, Sweden.
*
* All rights reserved.
*
* THIS PROGRAM IS PROVIDED UNDER THE TERMS OF GPL VERSION 3
* AND THIS OSMC PUBLIC LICENS... |
<commit_before>#include "adskShader.h"
struct KSHairParameters {
ADSK_BASE_SHADER_PARAMETERS
miColor ambience;
miColor ambient;
miColor diffuse;
miColor specular;
miScalar exponent;
miInteger mode;
};
const unsigned int KSHAIR_VERSION = 1;
typedef ShaderHelper<KSHairParameters> BaseShade... |
<commit_before>
#include <libclientserver.h>
Notify::Notify()
{
}
Notify::~Notify()
{
if (m_map.size() != 0)
abort(); //Some things still reference us. This is a bug in the callers code
}
void Notify::Add(INotify *p)
{
ScopedLock lock(&m_mutex);
m_map.insert(std::make_pair<INotify *, INotify *>(p, p));
}
void... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: TestRenderWindow.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See... |
<commit_before>#include <gtest/gtest.h>
#include "../compress-stream.hh"
namespace mimosa
{
namespace stream
{
namespace
{
TEST(CompressStream, Compress)
{
}
TEST(CompressStream, Decompress)
{
}
}
}
}
<commit_msg>fix include<commit_after>#include <gtest/gtest.h>
... |
<commit_before>// InteractiveNotifications.cpp : Defines the exported functions for the DLL application.
//
#include "stdafx.h"
#include "InteractiveNotifications.h"
#include <NotificationActivationCallback.h>
#include <Shellapi.h>
#include <string>
#include <iostream>
#include <SDKDDKVer.h>
#include <Windows.h>
#inc... |
<commit_before>/** ==========================================================================
* 2011 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
* ============... |
<commit_before>/*
This file is part of KDE Kontact.
Copyright (C) 2003 Cornelius Schumacher <schumacher@kde.org>
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 L... |
<commit_before>// InteractiveNotifications.cpp : Defines the exported functions for the DLL application.
//
#include "stdafx.h"
#include "InteractiveNotifications.h"
#include <NotificationActivationCallback.h>
#include <Shellapi.h>
#include <string>
#include <iostream>
#include <SDKDDKVer.h>
#include <Windows.h>
#inc... |
<commit_before>/*=========================================================================
Program: Visualization Library
Module: STLRead.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>/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: itkRGBToVectorAdaptImageFilterTest.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2002 Insight Consortium. All rights reser... |
<commit_before>/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: itkNeighborhoodOperatorImageFunctionTest.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2002 Insight Consortium. All rights... |
<commit_before>/*
* Copyright (c) 2010-2014, MIT Probabilistic Computing Project
*
* Lead Developers: Dan Lovell and Jay Baxter
* Authors: Dan Lovell, Baxter Eaves, Jay Baxter, Vikash Mansinghka
* Research Leads: Vikash Mansinghka, Patrick Shafto
*
* Licensed under the Apache License, Version 2.0 (the "Licens... |
<commit_before><commit_msg>Missing const<commit_after><|endoftext|> |
<commit_before>//===--- ClassHierarchyAnalysis.cpp - Class hierarchy analysis ------------===//
//
// 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.