text stringlengths 54 60.6k |
|---|
<commit_before>/*************************************************************************
*
* $RCSfile: ControlContainerDescriptor.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: rt $ $Date: 2004-07-13 14:31:18 $
*
* The Contents of this file are made available subject to the terms of
* either of t... |
<commit_before>// Copyright (c) 2015 Pierre MOULON.
// 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 at http://mozilla.org/MPL/2.0/.
#include "openMVG/sfm/sfm.hpp"
#include "openMVG/exif/exif_IO_Ea... |
<commit_before>/** @file
*
* @ingroup dspSoundFileLib
*
* @brief Tests for the #TTSoundfile class
*
* @details Tests the core functions of the TTSoundfile class in order to ensure that things are working after a build. It also demostrate how to make calls to common methods within the class.@n
* IMPORTANT NOTE: ... |
<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: bmp.cxx,v $
* $Revision: 1.18 $
... |
<commit_before>/**
* @file Libyang.hpp
* @author Mislav Novakovic <mislav.novakovic@sartura.hr>
* @brief Class implementation for libyang C header libyang.h.
*
* Copyright (c) 2017 Deutsche Telekom AG.
*
* This source code is licensed under BSD 3-Clause License (the "License").
* You may not use this file excep... |
<commit_before>#include <QtGui>
#include <list>
#include "Backends.h"
#include "DTIDESplash.h"
#include "DTIDEXMLProject.h"
#include "DTIDE.h"
extern "C"
{
#include <osutil.h>
#include <bstring.h>
#include <debug.h>
#include <iio.h>
#include <version.h>
}
int main(int argc, char** argv)
{
QApplication app(argc,... |
<commit_before>/* Copyright 2018 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>/*=========================================================================
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>#pragma once
#include "Skeleton.h"
namespace DEM::Anim
{
void CSkeleton::SetRootNode(Scene::CSceneNode* pNode)
{
if (_Nodes.empty())
{
if (pNode) _Nodes.push_back(pNode);
}
else _Nodes[0] = pNode;
//!!!could rebind instead of invalidating!
//!!!to rebind, needs to remember name+parent when por... |
<commit_before>#ifndef BNI_BP_HPP
#define BNI_BP_HPP
#include <functional>
#include "graph.hpp"
namespace bn {
class bp {
public:
typedef std::unordered_map<vertex_type, matrix_type> return_type;
explicit bp(graph_t const& graph);
virtual ~bp() = default;
inline return_type operator()()
{
... |
<commit_before>#include "mesh_config.h"
// C++ includes
#include <iostream>
#include <vector>
#include <string>
#ifdef HAVE_GETOPT_H
// GCC 2.95.3 (and maybe others) do not include
// getopt.h in unistd.h... Hower IBM xlC has no
// getopt.h! This works around that.
#include <getopt.h>
#endif
#include <stdio.h>
#incl... |
<commit_before>#include "PlaceholderParser.hpp"
#include <cstring>
#include <ctime>
#include <iomanip>
#include <sstream>
#ifdef _MSC_VER
#include <stdlib.h> // provides **_environ
#else
#include <unistd.h> // provides **environ
#endif
#ifdef __APPLE__
#include <crt_externs.h>
#undef environ
#define environ ... |
<commit_before>//
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
//
// bench.cpp : spdlog benchmarks
//
#include "spdlog/async.h"
#include "spdlog/sinks/basic_file_sink.h"
#include "spdlog/sinks/daily_file_sink.h"
#include "spdlog/sinks/null_sink.h"
#incl... |
<commit_before>//
// Copyright (C) 2020 Gareth Jones, Glysade LLC
//
// @@ All Rights Reserved @@
// This file is part of the RDKit.
// The contents are covered by the terms of the BSD license
// which is included in the file license.txt, found at the root
// of the RDKit source tree.
//
#include <ctime>
#inclu... |
<commit_before>#include <iostream>
#include <stdlib.h>
#include <time.h>
#include <vector>
using namespace std;
vector <string> arr1 {"Ye are ", "Yer mum be ", "Yer mummy be "};
vector <string> arr2 {"a fowl ", "a wretched ", "a scurvy-lovin' ", "a land-lovin\' "};
vector <string> arr3 {"scallywag!", "blubber!", "wh... |
<commit_before>/*
* Software License Agreement (BSD License)
*
* Copyright (c) 2010, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of... |
<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 <unistd.h>
#include <cstddef>
#include <cmath>
#include <cstdlib>
#include <map>
#include <iostream>
#include <persistence/persistence.hpp>
/// \brief the class we want to be serialized / deserialized
class my_class
{
public:
/// \brief mandatory constructor
my_class(int _i, double ... |
<commit_before>#include <babylon/inspector/actions/action_store.h>
#include <babylon/babylon_stl_util.h>
namespace BABYLON {
ActionStore::ActionStore() = default;
ActionStore::~ActionStore() = default;
void ActionStore::addAction(const char* id, const char* icon, const char* label,
con... |
<commit_before>/****************************************************************************
Copyright (c) 2015 Sérgio Vieira - sergiosvieira@gmail.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 ... |
<commit_before>#pragma once
#include <memory>
#include <pdal/Dimension.hpp>
#include <pdal/Compression.hpp>
#include <entwine/compression/stream.hpp>
namespace entwine
{
class Schema;
class DimInfo;
}
class ItcBuffer;
class ReadQuery
{
public:
ReadQuery(
const entwine::Schema& schema,
... |
<commit_before>/**********************************************************************
Copyright (c) 2018 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 t... |
<commit_before>#ifndef XG_HASH_MAP_SET_H
#define XG_HASH_MAP_SET_H
#include "sparsehash/sparse_hash_map"
#include "sparsehash/sparse_hash_set"
// http://stackoverflow.com/questions/4870437/pairint-int-pair-as-key-of-unordered-map-issue#comment5439557_4870467
// https://github.com/Revolutionary-Games/Thrive/blob/fd8ab... |
<commit_before>/*
* ButtonParam.cpp
*
* Copyright (C) 2008 by Universitaet Stuttgart (VIS).
* Alle Rechte vorbehalten.
*/
#include "stdafx.h"
#include "mmcore/param/ButtonParam.h"
#ifdef CUESDK_ENABLED
#define CORSAIR_LIGHTING_SDK_DISABLE_DEPRECATION_WARNINGS
#include "CUESDK.h"
#endif
using namespace megamol;... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the tools applications of the Qt Toolkit.
**
** $QT_BE... |
<commit_before>/*
* Copyright (c) 2004 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 copyri... |
<commit_before>/*
* Copyright (c) 2004 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 copyri... |
<commit_before>/*
* Copyright (c) 2008, AMT – The Association For Manufacturing Technology (“AMT”)
* 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 retai... |
<commit_before>/**
* For conditions of distribution and use, see copyright notice in license.txt
*
* @file EC_Billboard.cpp
* @brief EC_Billboard shows a billboard (3D sprite) that is attached to an entity.
* @note The entity must have EC_Placeable component available in advance.
*/
#include "StableHead... |
<commit_before>// Copyright (c) 2020 ASMlover. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list o... |
<commit_before>// neighbor_testing_utils.hpp
//
// Dig
//
// Created by DB on 9/15/16
// Copyright © 2016 D Blalock. All rights reserved.
#ifndef __NEIGHBOR_TESTING_UTILS_HPP
#define __NEIGHBOR_TESTING_UTILS_HPP
#include "euclidean.hpp"
#include "nn_utils.hpp"
using dist_t = Neighbor::dist_t;
//void require_nei... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: implementationentry.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: rt $ $Date: 2005-09-08 09:18:34 $
*
* The Contents of this fil... |
<commit_before>/* bzflag
* Copyright (c) 1993 - 2005 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 LICENSE that should have accompanied this file.
*
* THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
... |
<commit_before>////////////////////////////////////////////////////////////////////////////////
/// @brief V8 enigne configuration
///
/// @file
///
/// DISCLAIMER
///
/// Copyright 2004-2012 triagens GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this... |
<commit_before>/*******************************************************************************
*
* MIT License
*
* Copyright (c) 2017 Advanced Micro Devices, Inc.
*
* 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 "tcp_server.h"
#include <iostream>
#include <regex>
#include <boost/program_options.hpp>
#include <apr_errno.h>
namespace po=boost::program_options;
using namespace Akumuli;
static void static_logger(int tag, const char * msg) {
static Logger logger = Logger("Main", 32);
switch(tag) ... |
<commit_before>#include <gmi_mesh.h>
#include <ma.h>
#include <apf.h>
#include <apfMesh2.h>
#include <apfMDS.h>
#include <PCU.h>
#include <parma.h>
#include <cassert>
namespace {
const char* modelFile = 0;
const char* meshFile = 0;
void freeMesh(apf::Mesh* m)
{
m->destroyNative();
apf::destroyMesh(m);... |
<commit_before>
/*
* Copyright 2013 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "Test.h"
#include "SkBitmap.h"
#include "SkCanvas.h"
#include "SkPathUtils.h"
#include "SkRandom.h"
#include "SkTime.h"
#define NUM_IT 100000
#defin... |
<commit_before>/**
* Mergesort
* =========
*
* Mergesort an array on the heap.
*/
#include <iostream>
#include <vector>
void
_merge(int low, int mid, int high, std::vector<int> *uv, std::vector<int> *tv)
{
int i, j, n;
for (i = low, j = mid + 1, n = low; i <= mid && j <= high; ++n) {
if ((*uv... |
<commit_before>/*
* Copyright (C) 2013-2016 Daniel Nicoletti <dantti12@gmail.com>
*
* 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 o... |
<commit_before>#ifndef ALEPH_TOPOLOGY_CLIQUE_GRAPH_HH__
#define ALEPH_TOPOLOGY_CLIQUE_GRAPH_HH__
#include "topology/SimplicialComplex.hh"
#include <list>
#include <map>
#include <stdexcept>
#include <vector>
namespace aleph
{
namespace topology
{
/**
Given a simplicial complex, extracts its corresponding clique ... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/usr/isteps/istep08/call_host_set_voltages.C $ ... |
<commit_before>/*
* Copyright (c) 2015 Juniper Networks, Inc. All rights reserved.
*/
#include <oper/interface_common.h>
#include <uve/interface_uve_stats_table.h>
#include <uve/agent_uve.h>
InterfaceUveStatsTable::InterfaceUveStatsTable(Agent *agent,
uint32_t default_... |
<commit_before>/*
* Object to filter common types of MIDI events out of raw MIDI event dictionaries
* Copyright © 2011, Timothy Place
*
* License: This code is licensed under the terms of the "New BSD License"
* http://creativecommons.org/licenses/BSD/
*/
#include "TTGraphObjectBase.h"
#include "TTMidiFilter.h... |
<commit_before>// Copyright 2020 Microsoft, Inc. All rights reserved.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "shell/browser/printing/print_view_manager_electron.h"
#include <utility>
#include "build/build_config.h"
#include "components/printing/br... |
<commit_before>#include "CppUTest/TestHarness.h"
#include "timelib.h"
#include <string.h>
TEST_GROUP(transitions)
{
};
#define TEST_EXISTS(n,tz) \
TEST(transitions, n) { \
return; \
int error; \
timelib_tzinfo *tzi = timelib_parse_tzfile(tz, timelib_builtin_db(), &error); \
CHECK(tzi != NULL); \
CHECK(erro... |
<commit_before>/* \brief A tool to collect various counts of subsets of Solr records.
* \author Dr. Johannes Ruscheinski
*/
/*
Copyright (C) 2016-2018, Library of the University of Tübingen
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero Genera... |
<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>/*=========================================================================
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 WITHOUT AN... |
<commit_before>//**************************************************************************************************
//
// OSSIM (http://trac.osgeo.org/ossim/)
//
// License: LGPL -- See LICENSE.txt file in the top level directory for more details.
//
//******************************************************************... |
<commit_before>/*
* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of... |
<commit_before><commit_msg>fdo#48110 disable the "Automatically" currency unless already used<commit_after><|endoftext|> |
<commit_before>#include <iostream>
#include <map>
#include <mutex>
#include <string>
#include <vector>
#include <openssl/ssl.h>
#include <boost/algorithm/string.hpp>
#include <boost/filesystem.hpp>
#include <boost/program_options.hpp>
#include <boost/property_tree/ini_parser.hpp>
#include <boost/signals2.hpp>
#includ... |
<commit_before>/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2010 Couchbase, 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 a... |
<commit_before>/*
Research carried out within the scope of the Associated International Laboratory: Joint Japanese-French Robotics Laboratory (JRL)
Developed by Florent Lamiraux (LAAS-CNRS)
*/
#include <iostream>
#include "hppCorbaServer/hppciServer.h"
#include "hppCorbaServer/hppciProblem.h"
#include "flicSteer... |
<commit_before>/*
* Copyright (C) 2014 Open Source Robotics Foundation
*
* 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 r... |
<commit_before>// ======================================================================== //
// Copyright 2009-2017 Intel Corporation //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); ... |
<commit_before>#pragma once
/// @file
///
/// @brief Digital IO for the LPC1100 series microcontrollers.
///
/// @remarks Because the I2C pins (PIO0_4/SCL and PIO0_5/SDA) have built-in non-programmable open-drain circuitry, it
/// is not possible to use these physical pins as digital outputs without an extern... |
<commit_before>#pragma once
/// @file
///
/// @brief Digital IO for the LPC1100 series microcontrollers.
///
/// @remarks Because the I2C pins (PIO0_4/SCL and PIO0_5/SDA) have built-in non-programmable open-drain circuitry, it
/// is not possible to use these physical pins as digital outputs without an extern... |
<commit_before>#include "filesystem.h"
int FileSystem::createFile(const char *title, const char *srcFile) {
/*
objective: to create a file that can be written in multiple non-continuous sectors
input:
title: title of file
srcFile: source file to read from
return:
0: success
... |
<commit_before>/*
* Copyright (C) 2006-2011 by Benedict Paten (benedictpaten@gmail.com)
*
* Released under the MIT license, see LICENSE.txt
*/
/*
* sonLibKVDatabase_KyotoTycoon.cpp
*
* Created on: 5-1-11
* Author: epaull
*/
//Database functions
#include "sonLibGlobalsInternal.h"
#include "sonLibKVData... |
<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: entityreference.cxx,v $
* $Revis... |
<commit_before>#include "RademacherRand.h"
RademacherRand::RademacherRand()
{
}
std::string RademacherRand::name()
{
return "Rademacher";
}
double RademacherRand::P(int k) const
{
if (k == -1 || k == 1)
return 0.5;
return 0;
}
double RademacherRand::F(double x) const
{
if... |
<commit_before>/***********************************************************************
created: Wed, 8th Feb 2012
author: Lukas E Meindl (based on code by Paul D Turner)
*************************************************************************/
/**********************************************************... |
<commit_before>#include "starlight_game.h"
#include "starlight_input.h"
#include "starlight_log.h"
#include "starlight_generated.h"
#include "starlight_transform.h"
#include "starlight_renderer.h"
#include "starlight_platform.h"
#include <process.h>
#include <cstdint>
#include <Windows.h>
#include <d3d11.h>
#include <g... |
<commit_before>/*
* Program.cpp
*
* Created on: 08.03.2016
* Author: hartung
*/
#include "initialization/MainFactory.hpp"
#include "initialization/Program.hpp"
#include "initialization/XMLConfigurationReader.hpp"
#include "simulation/AbstractSimulation.hpp"
#ifdef USE_MPI
#include <mpi.h>
#endif
#ifdef US... |
<commit_before>///////////////////////////////////////////////////////////////////////////////
// This source file is part of Hect.
//
// Copyright (c) 2014 Colin Hill
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software... |
<commit_before>// Ouzel by Elviss Strazdins
#ifndef OUZEL_CORE_WORKERPOOL_HPP
#define OUZEL_CORE_WORKERPOOL_HPP
#include <condition_variable>
#include <functional>
#include <memory>
#include <mutex>
#include <queue>
#include <vector>
#include "../thread/Thread.hpp"
#include "../utils/Log.hpp"
namespace ouzel::core
{... |
<commit_before>#include "FileSystem.hpp"
#include <filesystem>
#include <sstream>
#include <iomanip>
#include <algorithm>
namespace AGE
{
namespace FileSystem
{
bool CreateFolder(const std::string &path)
{
if (Exists(path))
return true;
return std::tr2::sys::create_directories(std::tr2::sys::path(path)... |
<commit_before>// Ouzel by Elviss Strazdins
#ifndef OUZEL_CORE_WORKERPOOL_HPP
#define OUZEL_CORE_WORKERPOOL_HPP
#include <condition_variable>
#include <functional>
#include <mutex>
#include <queue>
#include <vector>
#include "../thread/Thread.hpp"
#include "../utils/Log.hpp"
namespace ouzel::core
{
class TaskGro... |
<commit_before>#include <ctti/serialization.hpp>
#include <sstream>
#include "catch.hpp"
namespace symbols
{
CTTI_DEFINE_SYMBOL(A);
CTTI_DEFINE_SYMBOL(B);
CTTI_DEFINE_SYMBOL(a);
CTTI_DEFINE_SYMBOL(b);
CTTI_DEFINE_SYMBOL(c);
CTTI_DEFINE_SYMBOL(d);
}
struct Foo
{
enum class Enum
{
... |
<commit_before>// @(#)root/thread:$Id$
// Author: Danilo Piparo, CERN 11/2/2016
/*************************************************************************
* Copyright (C) 1995-2018, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... |
<commit_before>// Copyright (c) 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/browser/autofill/autofill_cc_infobar.h"
#include "app/resource_bundle.h"
#include "chrome/browser/views/event_utils.h... |
<commit_before>// Copyright (c) 2006-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 "base/path_service.h"
#include "base/string_util.h"
#include "chrome/browser/extensions/extensions_ui.h"
#include "chrome... |
<commit_before>/*
Q Light Controller
mastertimer.cpp
Copyright (C) Heikki Junnila
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
Version 2 as published by the Free Software Foundation.
This program is distributed in the hope tha... |
<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 <gtk/gtk.h>
#include "base/string_util.h"
#include "chrome/browser/bookmarks/bookmark_model.h"
#include "chrome/browser/... |
<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/gtk/bookmark_menu_controller_gtk.h"
#include <gtk/gtk.h>
#include "app/l10n_util.h"
#include "app/resource_b... |
<commit_before>// Copyright (c) 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/browser/speech/speech_input_bubble.h"
#include "app/l10n_util.h"
#include "app/resource_bundle.h"
#include "base/mess... |
<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/tab_contents/thumbnail_generator.h"
#include <algorithm>
#include "base/histogram.h"
#include "base/time.h"
... |
<commit_before>// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/webui/signin/login_ui_service.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/... |
<commit_before>#include "mitkMovieGenerator.h"
#include <GL/gl.h>
bool mitk::MovieGenerator::WriteMovie()
{
bool ok = false;
if (m_stepper) {
m_stepper->First();
ok = InitGenerator();
if (!ok) return false;
int imgSize = 3 * m_width * m_height;
printf( "Video size = %i x %i\n", m_width, m_heig... |
<commit_before>//===- llvm/unittest/ADT/ValueMapTest.cpp - ValueMap unit tests -*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>//===-- SourceCodeTests.cpp ------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>#include "MPITestFixture.h"
#include "testparams.h"
extern TestParams globalTestParams;
using namespace std;
using namespace clusterlib;
/*
* My user event handler.
*/
class MyUserEventHandler
: public UserEventHandler
{
public:
/*
* Constructor.
*/
MyUserEventHandler(Notifya... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: elementlist.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2005-09-09 10:01:25 $
*
* The Contents of this file are ma... |
<commit_before>#include <cstdlib>
#include <unistd.h>
#include <string>
#include <fstream>
#include "falco_engine.h"
#include "config_falco_engine.h"
extern "C" {
#include "lpeg.h"
#include "lyaml.h"
}
#include "utils.h"
string lua_on_event = "on_event";
string lua_print_stats = "print_stats";
using namespace std... |
<commit_before>// @(#)root/tree:$Name: $:$Id: TTreeCache.cxx,v 1.13 2007/02/01 15:26:19 brun Exp $
// Author: Rene Brun 04/06/2006
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. ... |
<commit_before>// @(#)root/tree:$Name: $:$Id: TTreeCache.cxx,v 1.6 2006/08/14 08:55:30 brun Exp $
// Author: Rene Brun 04/06/2006
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. ... |
<commit_before>/*
* Copyright (c) 2014-2016, imec
* All rights reserved.
*/
#include "error.h"
#include "bpmf.h"
#include <random>
#include <memory>
#include <cstdio>
#include <iostream>
#include <climits>
#include <stdexcept>
#include "io.h"
#if defined(_OPENMP)
#include "omp.h"
#pragma omp declare reduction (... |
<commit_before>#include <iostream>
#include <interval/jl_basis.h>
using namespace std;
using namespace WaveletTL;
int main()
{
cout << "Testing wavelet bases from [JL] ..." << endl;
typedef JLBasis Basis;
typedef Basis::Index Index;
Basis basis;
cout << "- the default wavelet index: " << Index() << endl;... |
<commit_before>/*
* Copyright 2007-2020 CM4all GmbH
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>
*
* 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... |
<commit_before>
#include <iostream>
#include <cmath>
#include <cerrno>
#include <cassert>
#include <vector>
#include <sstream>
#include <tbb/parallel_for.h>
#include <tbb/parallel_invoke.h>
#include <tbb/blocked_range.h>
#include <tbb/tick_count.h>
#include <tbb/scalable_allocator.h>
#include <tbb/concurrent_queue.h>
... |
<commit_before>#include <string.h>
#include <math.h>
#include "FireLog.h"
#include "FireSight.hpp"
#include "opencv2/features2d/features2d.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "jansson.h"
#include "jo_util.hpp"
#include "MatUtil.hpp"
using namespace cv;
using name... |
<commit_before>#include <string.h>
#include <math.h>
#include "FireLog.h"
#include "FireSight.hpp"
#include "opencv2/features2d/features2d.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "jansson.h"
#include "jo_util.hpp"
#include "MatUtil.hpp"
using namespace cv;
using name... |
<commit_before>/* Copyright 2013 - 2015 Yurii Litvinov and CyberTech Labs Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* U... |
<commit_before>#include <netdb.h>
#include <unistd.h>
#include <sys/fcntl.h>
#include "client.h"
#include "duckchat.h"
// Variables
struct sockaddr_in client_addr;
struct sockaddr_in server_addr;
int client_socket;
struct addrinfo *server_info;
char *channel;
// Prints an error message and exits the program.
void E... |
<commit_before>// Copyright 2014 Alessio Sclocco <a.sclocco@vu.nl>
//
// 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 requir... |
<commit_before>#include <netdb.h>
#include <unistd.h>
#include <sys/fcntl.h>
#include "client.h"
#include "duckchat.h"
#include "raw.h"
// Client connects, logs in, and joins “Common”.
// Client reads lines from the user and parses commands.
// Client correctly sends Say message.
// Client uses select() to wait for ... |
<commit_before>//
// Copyright (c) 2017 The nanoFramework project contributors
// See LICENSE file in the project root for full license information.
//
#include <nanoHAL.h>
#include <nanoCLR_Application.h>
#include <nanoCLR_Runtime.h>
#include <nanoCLR_Types.h>
#include <CLRStartup.h>
// FIXME
// these are dummy dat... |
<commit_before>#include <netdb.h>
#include <unistd.h>
#include <sys/fcntl.h>
#include "client.h"
#include "duckchat.h"
// Variables
struct sockaddr_in client_addr;
struct sockaddr_in server_addr;
int client_socket;
struct addrinfo *server_info;
char *channel;
// Prints an error message and exits the program.
void E... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.