text stringlengths 54 60.6k |
|---|
<commit_before>//============================================================================
// Name : main.cpp
// Author : Nguyen Hoan Hoang
// Version :
// Copyright : Copyright (c) 2017, I-SYST
// Description : Hello World in C++
//==================================================================... |
<commit_before>/// Copyright (c) 2012 The Native Client Authors. All rights reserved.
/// Use of this source code is governed by a BSD-style license that can be
/// found in the LICENSE file.
///
/// @file hello_nacl.cpp
/// This example demonstrates loading, running and scripting a very simple NaCl
/// module. To loa... |
<commit_before>#include <sys/socket.h>
#include <netinet/in.h>
#include <memory>
#include <tuple>
#include <iostream>
#include <stdexcept>
#include <string>
#include <array>
#include <regex>
#include <cmath>
#include <OpenSim/OpenSim.h>
class Kalman {
public:
Kalman();
// The angle should be in degrees and ... |
<commit_before>/*
* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS.... |
<commit_before>/*
* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS.... |
<commit_before>/***********************************************************************************
**
** FileManager.cpp
**
** Copyright (C) August 2016 Hotride
**
************************************************************************************
*/
//----------------------------------------------------------------... |
<commit_before>#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <iostream>
#include <string>
#include <random>
#include <cstdint>
#include <cassert>
#include <cstring>
#include <unistd.h>
using namespace std;
/**
* This generator is used to generate the initial stream of values
* that is wri... |
<commit_before>/*! \file
*
* \brief Conversion between python and C++ (header)
* \author Benjamin Pritchard (ben@bennyp.org)
*/
#ifndef _GUARD_CONVERT_HPP_
#define _GUARD_CONVERT_HPP_
#include "bpmodule/python/Pybind11.hpp"
#include "bpmodule/python/Pybind11_stl.hpp"
#include "bpmodule/python/Types.hpp"
#include... |
<commit_before>#include <string>
#include <vector>
#include <cell.h>
#include <number.h>
#define PCRE2_STATIC
#define PCRE2_CODE_UNIT_WIDTH 8
#include <pcre2.h>
namespace rtl {
bool regex$search(const std::string &pattern, const std::string &subject, Cell *match)
{
std::vector<Cell> matches;
int errorcode;
... |
<commit_before>#if defined(_MSC_VER)
#pragma warning ( disable : 4786 )
#endif
#ifdef __BORLANDC__
#define ITK_LEAN_AND_MEAN
#endif
#include "itkPDFSegmenter.h"
#include "PDFSegmenterCLP.h"
#include "itkOrientedImage.h"
#include "itkImageFileReader.h"
#include "itkImageFileWriter.h"
#include "itkTimeProbesCollector... |
<commit_before>/*************************************************************************
*
* $RCSfile: share.hxx,v $
*
* $Revision: 1.1 $
*
* last change: $Author: dbo $ $Date: 2001-10-19 13:32:39 $
*
* The Contents of this file are made available subject to the terms of
* either of the following license... |
<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>//------------------------------------------------------------------------------
// UI.cc
//------------------------------------------------------------------------------
#include "UI.h"
#include "ui/Util.h"
#include "MemoryWindow.h"
#include "MemoryMapWindow.h"
#include "DebugWindow.h"
#include "Disasm... |
<commit_before>// @(#)root/cont:$Id$
// Author: Fons Rademakers 04/08/95
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... |
<commit_before>// //////////////////////////////////////////////////////////////////////
// Import section
// //////////////////////////////////////////////////////////////////////
// STL
#include <cassert>
// Boost
#include <boost/make_shared.hpp>
// StdAir
#include <stdair/stdair_exceptions.hpp>
#include <stdair/basi... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: cppuoptions.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: rt $ $Date: 2005-09-08 02:12:09 $
*
* The Contents of this file are ma... |
<commit_before>/*************************************************************************
*
* $RCSfile: testoffice.cxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: hr $ $Date: 2003-03-18 19:07:10 $
*
* The Contents of this file are made available subject to the terms of
* either of the following lic... |
<commit_before>/*
This file is part of KAddressBook.
Copyright (c) 2004 Tobias Koenig <tokoe@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 Licen... |
<commit_before>// Copyright 2013 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 "mojo/runner/init.h"
#include "base/base_switches.h"
#include "base/command_line.h"
#include "base/debug/debugger.h"
#include "ba... |
<commit_before>#define BOOST_TEST_MAIN
#define BOOST_TEST_DYN_LINK
#include <memory>
#include <string>
#include <tuple>
#include <boost/test/unit_test.hpp>
#include "jml/utils/testing/watchdog.h"
#include "soa/service/http_endpoint.h"
#include "soa/service/named_endpoint.h"
#include "soa/service/message_loop.h"
#incl... |
<commit_before>/*************************************************************************
*
* $RCSfile: servuno.hxx,v $
*
* $Revision: 1.9 $
*
* last change: $Author: rt $ $Date: 2004-02-11 09:56:16 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licens... |
<commit_before>#include "constants.hpp"
#include <string>
#include <math.h>
#include <ros/ros.h>
#include <geometry_msgs/Twist.h>
#include <nav_msgs/Odometry.h>
#include <tf/transform_broadcaster.h>
#include <boost/shared_ptr.hpp>
#include <fcntl.h>
#include <termios.h>
#include <stdio.h>
#include <math.h>
#include <io... |
<commit_before>/*
The Jinx library is distributed under the MIT License (MIT)
https://opensource.org/licenses/MIT
See LICENSE.TXT or Jinx.h for license details.
Copyright (c) 2016 James Boer
*/
#include <chrono>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "../../Source/Jinx... |
<commit_before>#include <arpa/inet.h>
#include <boost/program_options.hpp>
namespace po = boost::program_options;
#include <errno.h>
#include <fstream>
#include <iostream>
#include "message.h"
#include <netinet/in.h>
#include <signal.h>
#include <sstream>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#includ... |
<commit_before>
//***************************************************************************
//* This file is property of and copyright by the ALICE HLT Project *
//* ALICE Experiment at CERN, All rights reserved. *
//* ... |
<commit_before>////////////////////////////////////////////////////////////////////////////////
//
// Copyright 2013 - 2015, 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) 2011, 2014 ETH Zurich
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without modification, are permitted provided tha... |
<commit_before>#pragma once
namespace dai {
constexpr static char* LOG_DEFAULT_PATTERN = "[%E.%e] [%n] [%l] %v";
} // namespace dai
<commit_msg>LogConstant pattern fix<commit_after>#pragma once
namespace dai {
static constexpr const char* LOG_DEFAULT_PATTERN = "[%E.%e] [%n] [%^%l%$] %v";
} // namespace dai
<|en... |
<commit_before>// ****************************************************************************
// NOTICE
//
// This is the copyright work of The MITRE Corporation, and was produced
// for the U. S. Government under Contract Number DTFAWA-10-C-00080, and
// is subject to Federal Aviation Administration Acquisition ... |
<commit_before>/*******************************************************************************
* ALMA - Atacama Large Millimiter Array
* (c) European Southern Observatory, 2011
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as ... |
<commit_before>#include <iostream>
#include <cmath>
#include <mutex>
#include <unistd.h>
#include <modbus/modbus.h>
#include "modbus_client.h"
TModbusConnector::~TModbusConnector() {}
TModbusContext::~TModbusContext() {}
class TDefaultModbusContext: public TModbusContext {
public:
TDefaultModbusContext(const TMo... |
<commit_before>#include <KAI/Language/Tau/Generate/Agent.h>
#include <fstream>
using namespace std;
TAU_BEGIN
namespace Generate
{
Agent::Agent(const char *in, const char *out)
{
GenerateProcess::Generate(in, out);
}
string Agent::Prepend() const
{
return move(string("#include <KAI/Network/AgentDecl.h"));
... |
<commit_before>//===- include/seec/Trace/TraceProcessListener.hpp ------------------ C++ -===//
//
// SeeC
//
// This file is distributed under The MIT License (MIT). See LICENSE.TXT for
// details.
//
//===----------------------------------------------------------------------===//
//... |
<commit_before><commit_msg>fix previous fix<commit_after><|endoftext|> |
<commit_before>/*
* Copyright 2011 Thomas Fidler
*
* 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>/*************************************************************************
*
* $RCSfile: adminpages.hxx,v $
*
* $Revision: 1.28 $
*
* last change: $Author: vg $ $Date: 2005-02-21 12:42:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following li... |
<commit_before>#ifndef MESHING_MESHBUILDER_HPP_DEFINED
#define MESHING_MESHBUILDER_HPP_DEFINED
#include "heightmap/ElevationProvider.hpp"
#include "mapcss/Color.hpp"
#include "mapcss/ColorGradient.hpp"
#include "meshing/MeshTypes.hpp"
#include "meshing/Polygon.hpp"
#include <limits>
#include <memory>
namespace utyma... |
<commit_before>#ifndef CUSTOMPROJECTION_HH
#define CUSTOMPROJECTION_HH
#include <dune/fem/quadrature/cachequad.hh>
#include <dune/fem/operator/common/operator.hh>
#include <dune/fem/function/common/discretefunction.hh>
#include <dune/fem/function/common/discretefunctionadapter.hh>
#include <dune/fem/operator/1order/lo... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: HtmlReader.hxx,v $
*
* $Revision: 1.9 $
*
* last change: $Author: hr $ $Date: 2005-09-23 12:33:23 $
*
* The Contents of this file are mad... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: ColumnPeer.cxx,v $
*
* $Revision: 1.9 $
*
* last change: $Author: rt $ $Date: 2008-01-30 08:56:09 $
*
* The Contents of this file are mad... |
<commit_before>/*
* Copyright 2021 The CFU-Playground Authors
* Copyright 2019 The TensorFlow Authors
*
* 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/lic... |
<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 "scheduler.h"
#include <boost/foreach.hpp>
namespace baidu {
namespace galaxy {
namespace sched {
Agent::Agent(const AgentEndpoint ... |
<commit_before>#include "OutputPrinter.h"
OutputPrinter::OutputPrinter(const std::string& outputFileName)
: m_outputFileName(outputFileName)
{
TiXmlDeclaration* decl = new TiXmlDeclaration("1.0", "", "");
m_document.LinkEndChild(decl);
TiXmlElement* resultsElement = new TiXmlElement("results");
re... |
<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 distr... |
<commit_before>// Copyright (c) 2016 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>//
// Created by wahba on 18/08/17.
//
#include <iostream>
#include "alarmWatch.h"
using namespace std::chrono_literals;
alarmWatch::alarmWatch() : _runningFlag(false) {}
void alarmWatch::alarmEvery() {
_runningFlag = true;
_alarmThread = new std::thread(
[this]() {
... |
<commit_before>//
// Created by wahba on 18/08/17.
//
#include <iostream>
#include <utility>
#include <unordered_map>
#include "alarmWatch.h"
class duration;
using namespace std::chrono_literals;
alarmWatch::alarmWatch() : _runningFlag(false) {}
void alarmWatch::alarmEvery(int repeats, std::chrono::duration<float,... |
<commit_before>#include "renderer.hpp"
#include "random.hpp"
#include <glm/gtc/constants.hpp>
#include <glm/gtx/rotate_vector.hpp>
#include <iostream>
namespace trac0r {
// #pragma omp declare simd // TODO make this work
glm::vec4 Renderer::trace_camera_ray(const Ray &ray, const unsigned max_depth, const Scene &sce... |
<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>/*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS.... |
<commit_before>/*******************************************************************************
* c7a/core/malloc_tracker.cpp
*
* Part of Project c7a.
*
* Copyright (C) 2013-2015 Timo Bingmann <tb@panthema.net>
*
* This file has no license. Only Chuck Norris can compile it.
*************************************... |
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one ... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: evaluation.hxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: rt $ $Date: 2005-09-08 17:47:28 $
*
* The Contents of this file are mad... |
<commit_before>//-----------------------------------------------------------------------------
// name: sig_gen.cpp
// desc: real-time sine wave
//
// author: Nikhil Goel (nmgoel@stanford.edu)
// date: fall 2015
// uses: RtAudio by Gary Scavone
//---------------------------------------------------------------------... |
<commit_before>#include "config.hpp"
#include <iostream>
#include <unistd.h>
Config::Config(int argc, char **argv)
{
for (auto i = 0; i < argc; ++i)
args.push_back(argv[0]);
cflags.push_back("-Wall");
cflags.push_back("-Wextra");
cflags.push_back("-march=native");
cflags.push_back("-gdwarf-3");
cflags.... |
<commit_before>#include "config.h"
#ifndef CONFIG_CPP
#define CONFIG_CPP
class ConfigReader {
public:
ConfigReader(std::string filename, std::string filedir);
void readConfig(std::string filename, std::string filedir);
std::tr1::unordered_map<std::string, std::tr1::unordered_map<std::string, std::string> > getS... |
<commit_before>/****************************************************************************
*
* Copyright 2018 Samsung Electronics 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... |
<commit_before>/*
** Anitomy
** Copyright (C) 2014-2015, Eren Okka
**
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later versio... |
<commit_before>//===-- AnalyzerOptions.cpp - Analysis Engine Options -----------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>//===-- AMDGPULowerIntrinsics.cpp -----------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>//===-- Sparc.cpp - General implementation file for the Sparc Target ------===//
//
// This file contains the code for the Sparc Target that does not fit in any of
// the other files in this directory.
//
//===----------------------------------------------------------------------===//
#include "SparcInt... |
<commit_before>//
// Copyright (C) 2004, 2005 Pingtel Corp.
//
//
// $$
////////////////////////////////////////////////////////////////////////
// SYSTEM INCLUDES
// APPLICATION INCLUDES
#include "stdwx.h"
#include "sipXmgr.h"
#include "PreviewWindow.h"
#include "sipXezPhoneSettings.h"
// EXTERNAL FUNCTIONS
// EXT... |
<commit_before>/**
* @file Internal.hpp
* @author Mislav Novakovic <mislav.novakovic@sartura.hr>
* @brief Internal C++ helper class
*
* Copyright (c) 2017 Deutsche Telekom AG.
*
* This source code is licensed under BSD 3-Clause License (the "License").
* You may not use this file except in compliance with the L... |
<commit_before>//
// Copyright (C) 2007 SIPez LLC.
// Licensed to SIPfoundry under a Contributor Agreement.
//
// Copyright (C) 2007 SIPfoundry Inc.
// Licensed by SIPfoundry under the LGPL license.
//
// $$
///////////////////////////////////////////////////////////////////////////////
#include <cppunit/extension... |
<commit_before>/*
* FeatureFunctions.cpp
*
* Created on: 27 Oct 2015
* Author: hieu
*/
#include <boost/foreach.hpp>
#include "FeatureFunctions.h"
#include "StatefulFeatureFunction.h"
#include "../System.h"
#include "../Scores.h"
#include "../MemPool.h"
#include "SkeletonStatelessFF.h"
#include "SkeletonSta... |
<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 "Riostream.h"
#include "TMatrixD.h"
#include "TVectorD.h"
#include "TGraphErrors.h"
#include "TDecompChol.h"
#include "TDecompSVD.h"
#include "TF1.h"
// This macro shows several ways to perform a linear least-squares
// analysis . To keep things simple we fit a straight line to 4
// data points... |
<commit_before>/*
This file is part of KAddressBook.
Copyright (c) 2003 Tobias Koenig <tokoe@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 Licen... |
<commit_before>#include <cstdint>
#include <cmath>
#include "constants.h"
#include "rear_motor_controller.h"
#include "SystemState.h"
namespace hardware {
const uint8_t ccr_channel = 1; // PWM Channel 1
const float max_current = 24.0f; // Copley Controls ACJ-090-36
... |
<commit_before>#include <cybozu/file.hpp>
#include <cybozu/test.hpp>
#include <memory.h>
#include <stdlib.h>
#include <vector>
static const std::string fileName = "test.tmp";
static const std::string fileName2 = "test2.tmp";
static const char testBuf[] = { 1, 2, 5, 4, 3, 2, 1 };
CYBOZU_TEST_AUTO(open_and_write)
{
cy... |
<commit_before>/*
* Arduino Solar Controller
*
* by karldm, March 2016
*
* ascdata.cpp
*
* Data management & memory accesses (EEPROM&FLASH)
*
* TODO:
* - check access in getParVal() and setParVal()
* - modif _indextype[] to include type (byte-int-ulong) + format + units? byte[3]
* e.g. TEMP will define ... |
<commit_before>/*
* Distributed under the OSI-approved Apache License, Version 2.0. See
* accompanying file Copyright.txt for details.
*
* InSituMPIReader.tcc
*
* Created on: Dec 18, 2017
* Author: Norbert Podhorszki pnorbert@ornl.gov
*/
#ifndef ADIOS2_ENGINE_INSITUMPIREADER_TCC_
#define ADIOS2_ENGINE_I... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: Array.cxx,v $
*
* $Revision: 1.7 $
*
* last change: $Author: rt $ $Date: 2005-09-08 06:07:38 $
*
* The Contents of this file are made ava... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: tools.cxx,v $
*
* $Revision: 1.24 $
*
* last change: $Author: kz $ $Date: 2006-12-13 16:19:29 $
*
* The Contents of this file are made av... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: tools.cxx,v $
*
* $Revision: 1.26 $
*
* last change: $Author: ihi $ $Date: 2007-11-21 15:04:32 $
*
* The Contents of this file are made a... |
<commit_before>#include <string.h>
#include <stdlib.h>
#include <gtk/gtk.h>
#include <getopt.h>
#include <iostream>
#include <bot_vis/bot_vis.h>
#include <lcm/lcm.h>
#include <bot_core/bot_core.h>
#include <path_util/path_util.h>
#include <ConciseArgs>
#include <bot_frames/bot_frames_renderers.h>
//imported renderer... |
<commit_before>/*!
\copyright (c) RDO-Team, 2011
\file calc_relevant.inl
\authors
\authors (rdo@rk9.bmstu.ru)
\date 16.04.2011
\brief RDOCalc
\indent 4T
*/
// ----------------------------------------------------------------------- INCLUDES
// ---------------------------------... |
<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 "settingRegistry.h"
#include <sstream>
#include <iostream> // debug IO
#include <libgen.h> // dirname
#include <string>
#include "utils/logoutput.h"
#include "rapidjson/rapidjson.h"
#include "rapidjson/document.h"
#include "rapidjson/error/en.h"
#include "rapidjson/filereadstream.h"
#include ... |
<commit_before>#include "rawinput.h"
#include <cstdio>
#include <vector>
#include <algorithm>
#include "platcompat.h"
#include "osdebugout.h"
extern HINSTANCE hInst;
namespace shared{ namespace rawinput{
static std::vector<ParseRawInputCB *> callbacks;
HWND msgWindow = nullptr;
WNDPROC eatenWndProc = nullptr;
HWND ... |
<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 "android_webview/browser/aw_browser_context.h"
#include "android_webview/browser/aw_form_database_service.h"
#include "androi... |
<commit_before>#include "search.hpp"
#include "anyprof.hpp"
#include "../structs/binheap.hpp"
#include "../utils/pool.hpp"
#include <limits>
#include <vector>
#include <cmath>
#include <cerrno>
#include <string>
void dfrowhdr(FILE*, const char*, unsigned int ncols, ...);
void dfrow(FILE*, const char*, const char*, ...... |
<commit_before>#include "TClass.h"
#include "TClassTable.h"
#include "TInterpreter.h"
#include <memory>
#include "gtest/gtest.h"
const char *gCode = R"CODE(
#include "TROOT.h"
#include <iostream>
class FirstOverload : public TObject
{
public:
virtual ULong_t Hash() const { return 1; }
... |
<commit_before><commit_msg>Reenable first run dialog on Mac by commenting out MasterPreferences reading stuff, which is not yet available for OS X. While this is not commented out, first run dialog will *always* be bypassed.<commit_after><|endoftext|> |
<commit_before><commit_msg>Bug fix arrays with more than 9 elements<commit_after><|endoftext|> |
<commit_before>#include "FVFluxKernel.h"
#include "MooseVariableFV.h"
#include "SystemBase.h"
#include "FVDirichletBC.h"
#include "MooseMesh.h"
#include "libmesh/elem.h"
InputParameters
FVFluxKernel::validParams()
{
InputParameters params = FVKernel::validParams();
params += TwoMaterialPropertyInterface::validPar... |
<commit_before>
#include "FVFluxKernel.h"
#include "MooseVariableFV.h"
#include "SystemBase.h"
#include "FVDirichletBC.h"
InputParameters
FVFluxKernel::validParams()
{
InputParameters params = FVKernel::validParams();
params += TwoMaterialPropertyInterface::validParams();
params.registerSystemAttributeName("FVF... |
<commit_before>/**************************************************************************
* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
... |
<commit_before>/*
Copyright (c) 2013, Project OSRM, Dennis Luxen, others
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... |
<commit_before>// Sh: A GPU metaprogramming language.
//
// Copyright (c) 2003 University of Waterloo Computer Graphics Laboratory
// Project administrator: Michael D. McCool
// Authors: Zheng Qin, Stefanus Du Toit, Kevin Moule, Tiberiu S. Popa,
// Bryan Chan, Michael D. McCool
//
// This software is provided... |
<commit_before>/*************************************************************************
*
* $RCSfile: dbwiz.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: kz $ $Date: 2005-01-21 17:18:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses... |
<commit_before>// Copyright (c) 2013 GitHub, 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 "app/atom_main_delegate.h"
#include "base/command_line.h"
#include "base/logging.h"
#include "browser/atom_browser_client.h"
#include ... |
<commit_before>/******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor ... |
<commit_before>/*
* Copyright (C) 2008 Nokia Corporation.
*
* Contact: Marius Vollmer <marius.vollmer@nokia.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2.1 as published by the Free Software Foundation.
*
*... |
<commit_before>#include "config.h"
#include "tl-parser/portable_endian.h"
#include <string.h>
#include "tgl.h"
#include "crypto/bn.h"
#include "mtproto-utils.h"
#include "tools.h"
static unsigned long long gcd (unsigned long long a, unsigned long long b) {
return b ? gcd (b, a % b) : a;
}
static int check_prime (TG... |
<commit_before>/*
* Copyright 2008-2014 NVIDIA Corporation
*
* 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 require... |
<commit_before>#include "bluetooth.h"
#include "constants.h"
#include "led.h"
#include "logger.h"
#include "button.h"
#include <SoftwareSerial.h>
namespace bluetooth {
namespace {
SoftwareSerial BT(constants::P_SOFTWARE_SERIAL_RX, constants::P_SOFTWARE_SERIAL_TX);
const char START_OF_PACKET = 0x02; //Sta... |
<commit_before>/*
* Copyright 2015 - 2019 gtalent2@gmail.com
*
* 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 "types.hpp"
namespace ox {
/**
* Int... |
<commit_before>#include <string>
#include <iostream>
#include <functional>
#include <system_error>
#include <vector>
#include <cstring>
#include <boost/filesystem.hpp>
#include <boost/format.hpp>
#include <libcgroup.h>
#include <fcntl.h>
#include <sched.h>
#include <signal.h>
#include <unistd.h>
#include <sys/types.... |
<commit_before>// $Id: ExpressionParser_test.C,v 1.4 2002/01/28 00:43:55 oliver Exp $
#include <BALL/CONCEPT/classTest.h>
///////////////////////////
#include <BALL/KERNEL/atom.h>
#include <BALL/KERNEL/PTE.h>
#include <BALL/KERNEL/expression.h>
#include <BALL/KERNEL/expressionParser.h>
#include <BALL/KERNEL/standardP... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.