text stringlengths 54 60.6k |
|---|
<commit_before>/* vim: set sw=4 sts=4 et foldmethod=syntax : */
#include <max_clique/dbmcsa_max_clique.hh>
#include <max_clique/colourise.hh>
#include <max_clique/print_incumbent.hh>
#include <graph/degree_sort.hh>
#include <graph/min_width_sort.hh>
#include <threads/atomic_incumbent.hh>
#include <algorithm>
#include... |
<commit_before>/*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2012 Scientific Computing and Imaging Institute,
University of Utah.
License for the specific language governing rights and limitations under
Permission is hereby granted, free of charge, ... |
<commit_before>#include <iostream>
#include <vpp/vpp.hh>
#include <iod/sio.hh>
#include <iod/sio_utils.hh>
#include <iod/foreach.hh>
#include <iod/grammar.hh>
#include <iod/grammar_utils.hh>
#include <iod/symbols.hh>
#include <vpp/core/pixel_wise.hh>
#include <vpp/core/liie.hh>
using namespace vpp;
using namespace ... |
<commit_before>/****************************************************************************
**
** Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the Qt Mobility Components.
**
** $QT_BEGIN_LICENSE:LGPL$
** No Commercia... |
<commit_before>#ifndef _IRDEBUG_HPP
#define _IRDEBUG_HPP
#include <llvm/IR/Module.h>
#include <llvm/IR/LLVMContext.h>
#if LLVM_VERSION_MAJOR == 3 && LLVM_VERSION_MINOR >= 5
#include <llvm/IR/DIBuilder.h>
#endif
#if LLVM_VERSION_MAJOR == 3 && LLVM_VERSION_MINOR <= 4
#include <llvm/DIBuilder.h>
#include <llvm/DebugInf... |
<commit_before>/*
* author: Max Kellermann <mk@cm4all.com>
*/
#include "isolate.hxx"
#include "system/pivot_root.h"
#include <daemon/log.h>
#include <sched.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <sys/mount.h>
#include <sys/stat.h>
#if !defined(MS_PRIVATE) && !defined(MS_REC)
/* nec... |
<commit_before>/*
* Loconet over TCP to Codeline
*/
#include "application.h"
#include "codeline_lntcp/codeline_lntcp.h"
typedef struct peerxfer_t {
uint8_t command;
uint8_t mesg_size; /* ummmmm, size of the message in bytes? */
uint8_t src; /* source of transfer ... |
<commit_before>#include <stdlib.h>
#include <Arduino.h>
#include <avr/pgmspace.h>
#include "generator.h"
void g_generator_init(void *_self, g_method method, int32_t period, int32_t phase, int32_t amplitude, int32_t offset)
{
generator_t *self = (generator_t *)_self;
self->method = method;
self->period = pe... |
<commit_before>#include "vast/ingestor.h"
#include <ze.h>
#include "vast/exception.h"
#include "vast/event_source.h"
#include "vast/logger.h"
#include "vast/segment.h"
#include "vast/source/broccoli.h"
#include "vast/source/file.h"
namespace vast {
using namespace cppa;
ingestor::ingestor(cppa::actor_ptr tracker,
... |
<commit_before>#include <node.h>
#include <uv.h>
#include <string>
#include "tree_sitter/runtime.h"
#include "nan.h"
using namespace v8;
namespace node_tree_sitter_cli {
static Nan::Persistent<Function> constructor;
NAN_METHOD(LoadLanguage) {
Handle<String> js_lib_file_name = Handle<String>::Cast(info[0]);
Hand... |
<commit_before>/*
* The main source of the Beng proxy server.
*
* author: Max Kellermann <mk@cm4all.com>
*/
#include "direct.hxx"
#include "lb_instance.hxx"
#include "lb_check.hxx"
#include "lb_setup.hxx"
#include "lb_connection.hxx"
#include "tcp_stock.hxx"
#include "tcp_balancer.hxx"
#include "stock/MapStock.hxx... |
<commit_before>// Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/vespalib/gtest/gtest.h>
#include <vespa/searchcommon/attribute/attributecontent.h>
#include <vespa/searchlib/attribute/attributefactory.h>
#include <vespa/searchlib/attribute/... |
<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>#ifndef STAN_IO_STAN_CSV_READER_HPP
#define STAN_IO_STAN_CSV_READER_HPP
#include <boost/algorithm/string.hpp>
#include <stan/math/prim.hpp>
#include <istream>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <ctype.h>
namespace stan {
namespace io {
// FIXME: should ... |
<commit_before>// ConsoleRPG.cpp : Defines the entry point for the console application.
// Created by Nick Mullally a.k.a. thakyZ / Nire Inicana
//
#include "stdafx.h"
#include <iostream>
#include <cstdlib>
#include "time.h"
using namespace std;
// Roll the dice.
int diceRoll(int qty, int sides)
{
int s... |
<commit_before>/**
* Copyright 2014 Truphone
*/
#include "XmppTestCommand.h"
#include <QString>
#include <QObject>
#include <QXmppClient.h>
#include <QXmppMessage.h>
#include "Connection.h"
#include "XmppResourceStore.h"
namespace truphone
{
namespace test
{
namespace cascades
{
const QString XMPPTestCommand::... |
<commit_before>#include "fileutils.h"
const QString FileUtils::NOTES_FOLDER = "notes";
const QString FileUtils::APP_FOLDER = ".evernote";
const QString FileUtils::MY_DOCS_FOLDER = "/home/user/MyDocs";
const QString FileUtils::CONTENT_FILENAME = "content.html";
FileUtils::FileUtils(QObject *parent) :
QObject(pare... |
<commit_before>/*
* Copyright (c) 2011 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>/**
* C S O U N D V S T
*
* A VST plugin version of Csound, with Python scripting.
*
* L I C E N S E
*
* This software 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
*... |
<commit_before>/* -------------------------------------------------------------------------- */
/* Copyright 2002-2013, OpenNebula Project (OpenNebula.org), C12G Labs */
/* */
/* Licensed under the Apache License, Version 2.0 (the "Licens... |
<commit_before>/*************************************************************************
*
* TIGHTDB CONFIDENTIAL
* __________________
*
* [2011] - [2012] TightDB Inc
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of TightDB Incorporated and its suppliers... |
<commit_before>// Copyright (c) 2011-2012, Zeex
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice, this
// list... |
<commit_before>//
// ulib - a collection of useful classes
// Copyright (C) 2004,2005,2006,2007,2008,2017 Michael Fink
//
/// \file ResourceData.cpp resource data class
//
#include "stdafx.h"
#include <ulib/win32/ResourceData.hpp>
using Win32::ResourceData;
ResourceData::ResourceData(LPCTSTR resourceName, LPCTSTR res... |
<commit_before>#include "debugging.h"
#include <cstdio>
#include <cstring>
#include <mutex>
#if __ANDROID__
#include <android/log.h>
#endif
#if _WIN32
#define WIN32_LEAN_AND_MEAN 1
#include <Windows.h>
#endif
#ifdef QUIETLOG
static LogSeverity Filter = LogSeverityWarn;
#else
static LogSeverity Filter = LogSeverityIn... |
<commit_before>// Scintilla source code edit control
/** @file KeyWords.cxx
** Colourise for particular languages.
**/
// Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
#include <stdlib.h>
#include <string.h>
#i... |
<commit_before>// Scintilla source code edit control
/** @file LexCrontab.cxx
** Lexer to use with extended crontab files used by a powerful
** Windows scheduler/event monitor/automation manager nnCron.
** (http://nemtsev.eserv.ru/)
**/
// Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org>
// The License.txt... |
<commit_before>#include <util/atomic.h>
#include <SoftWire.h>
#include <AsyncDelay.h>
// Force SDA low
void SoftWire::setSdaLow(const SoftWire *p)
{
uint8_t sda = p->getSda();
// Disable interrupts whilst switching pin direction
ATOMIC_BLOCK(ATOMIC_RESTORESTATE) {
digitalWrite(sda, LOW);
pinMode(sda, OUTPUT);
... |
<commit_before>#include "led_matrix.h"
#include "lsp25h.h"
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <chrono>
#include <thread>
#include <iostream>
#include <iomanip>
int main(void)
{
using Clock = std::chrono::high_resolution_clock;
using Duration = Clock::duration;
const Duration dt... |
<commit_before>// RUN: clang -cc1 -O1 -emit-llvm %s -o - | FileCheck %s
// Check that the following construct, which is similar to one which occurs
// in Firefox, is not misfolded (folding it correctly would be a bonus, but
// that doesn't work at the moment, hence the -O1 in the runline).
struct A { char x; };
struct... |
<commit_before>#include <database.hpp>
#include <error.hpp>
#include <cache.hpp>
#include <challonge.hpp>
#include <algorithm>
#include <iostream>
#include <boost/filesystem.hpp>
namespace opt = gears::optparse;
namespace fs = boost::filesystem;
namespace hypest {
opt::subcommand database() {
opt::option_set arg... |
<commit_before>/**
* Dynamically Loaded Object
* (C) 2010 Jack Lloyd
*
* Distributed under the terms of the Botan license
*/
#include <botan/internal/dyn_load.h>
#include <botan/build.h>
#include <stdexcept>
#if defined(BOTAN_TARGET_OS_HAS_DLOPEN)
#include <dlfcn.h>
#endif
namespace Botan {
Dynamically_Loaded_Lib... |
<commit_before>//-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2017 Ryo Suzuki
// Copyright (c) 2016-2017 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# pragma once
# include "Fwd.hp... |
<commit_before>#include <iostream>
#include <sstream>
#include <string>
using namespace std;
class Rational
{
int a, b;
int gcd(int a, int b);
void simplify();
bool check(const Rational& f);
public:
Rational(int a=0, int b=1) : a(a) , b(b) {
if (b == 0)
return;
simplif... |
<commit_before>//
// Copyright (c) 2009, Zbigniew Zagorski
// This software licensed under terms described in LICENSE.txt
//
#include "../platform.h"
#ifdef TINFRA_W32
#include "tinfra/fs.h"
#include "tinfra/win32.h"
#include "tinfra/path.h"
#include "tinfra/fmt.h"
#include "tinfra/cmd.h" // for getapp
#include <s... |
<commit_before>// Copyright (c) 2012, Steinwurf ApS
// 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, thi... |
<commit_before>#include "mod_plate_utils.h"
#include <vw/Plate/Index.h>
#include <httpd.h>
#include <http_protocol.h>
#include <boost/shared_ptr.hpp>
#include <boost/foreach.hpp>
#include <boost/algorithm/string/replace.hpp>
#include <boost/algorithm/string/split.hpp>
#include <boost/algorithm/string/classification.hp... |
<commit_before>#include "messageFactory.h"
#include "libwatcher/message.h"
#include "libwatcher/labelMessage.h"
#include "libwatcher/edgeMessage.h"
#include "libwatcher/colorMessage.h"
#include "libwatcher/gpsMessage.h"
#include "libwatcher/messageStatus.h"
#include "libwatcher/dataRequestMessage.h"
#include "libwatch... |
<commit_before>#include "messagehub/message.h"
Message::Message(std::string s) {
_string = s;
}
Message::Message(zmq::message_t & zmsg) {
std::string s = std::string(static_cast<char*>(zmsg.data()), zmsg.size());
parseString(s);
}
std::string Message::toString() {
return std::to_string(_header.delimi... |
<commit_before>/* This file is part of Zanshin Todo.
Copyright 2008 Kevin Ottens <ervin@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 3 of the License, or
(a... |
<commit_before>#include "backuptabwidget.h"
#include "backuplistwidgetitem.h"
#include "persistentmodel/archive.h"
#include "utils.h"
#include "ui_backuptabwidget.h"
#include <QDateTime>
#include <QFileDialog>
#include <QSettings>
#include <QWidget>
// HACK: using _filePickerDialog(this) produces a segfault on MacO... |
<commit_before>/* !
* This tokenizer takes a file as an input and returns tokens, as defined in
* tokenizer.h */
#include "tokenizer.h"
int main() {
string line;
string token;
ifstream file("tokenizer.h");
if (file.is_open())
{
while(!file.eof())
{
unsigned int start = 0;
token = GetNext(&file);
... |
<commit_before>#include <peelo/net/uri.hpp>
namespace peelo
{
uri::uri(const string& scheme,
const string& scheme_specific,
const string& username,
const string& password,
const string& hostname,
int port,
const string& path,
... |
<commit_before>#include "options.h"
#include <unistd.h>
#include <cstdio>
#include <cstdlib>
#include <string>
#include <getopt.h>
program_options options = {".",false,false,false,false,false,8 };
bool get_options(int argc, char* argv[]){
int c;
while (1){
static struct option long_options[] = {
{"help"... |
<commit_before>#include "SerialPortConnectionService.h"
namespace
{
const QByteArray CAR_PORT_ADDRESS = "00:07:80:6E:F7:E4";
const QByteArray FIRST_COMMAND = "AT";
const QByteArray FIRST_RESPONSE = "OK";
const int FIRST_REPONSE_MAXTIME = 100;
const QByteArray SECOND_COMMAND = "PAIR " + CAR_PORT_ADDRESS;... |
<commit_before>//------------------------------------------------------------------------------
// Copyright (c) 2016, Jeff Hutchinson
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * R... |
<commit_before>/*
* Copyright (C) 2008, 2009 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>/*-------------------------------------------------------------------------
* drawElements Quality Program OpenGL ES 3.1 Module
* -------------------------------------------------
*
* Copyright 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
... |
<commit_before>/** Implementation of the pqxx::pipeline class.
*
* Throughput-optimized query interface.
*
* Copyright (c) 2000-2020, Jeroen T. Vermeulen.
*
* See COPYING for copyright license. If you did not receive a file called
* COPYING with this source code, please notify the distributor of this
* mistake... |
<commit_before>// SA:MP Profiler plugin
//
// Copyright (c) 2011 Zeex
//
// 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 req... |
<commit_before>// Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "intro.h"
#include "ui_intro.h"
#include "util.h"
#include <boost/filesystem.hpp>
#include <QFileDia... |
<commit_before>// Copyright (c) 2012 Intel Corp
// Copyright (c) 2012 The Chromium Authors
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limi... |
<commit_before><commit_msg>Remove '#define INLINE', inline in method definition is enough<commit_after><|endoftext|> |
<commit_before><commit_msg>Called ck_abort after detecting a assertion failure in sanity<commit_after><|endoftext|> |
<commit_before><commit_msg>consolidateStaticMemory: private memory stuct loads are safeExceptions<commit_after><|endoftext|> |
<commit_before>/*
* Copyright (C) 2013 Jesus Perez (a) Chuso <github at chuso dot net>
* http://chuso.net
*
* Resitributable under the terms of the Artistic License
* http://opensource.org/licenses/artistic-license.php
*/
#include "sugarcrmresource.h"
#include "sugarsoap.h"
#include "sugarconfig.h"
#include "mod... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: fwdtitem.hxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: rt $ $Date: 2005-09-08 17:47:28 $
*
* The Contents of this file are made ... |
<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>/****************** <VPR heading BEGIN do not edit this line> *****************
*
* VR Juggler Portable Runtime
*
* Original Authors:
* Allen Bierbaum, Patrick Hartling, Kevin Meinert, Carolina Cruz-Neira
*
* -----------------------------------------------------------------
* File: $RC... |
<commit_before>#include "FileTransfer.h"
#include "Torrent.h"
#include "Files.h"
#include "PeerCommunication.h"
#include "Peers.h"
#include "Configuration.h"
#include "utils/ScheduledTimer.h"
#include "utils/FastIpToCountry.h"
#include <fstream>
FastIpToCountry ipToCountry;
bool ipToCountryLoaded = false;
#define TRA... |
<commit_before>/*!
* Copyright (c) 2018 by Contributors
* \file correct_layout.cc
* \brief Infer and correct layout.
*/
#include <nnvm/graph.h>
#include <nnvm/op_attr_types.h>
#include <nnvm/graph_attr_types.h>
#include <nnvm/pass.h>
#include <nnvm/layout.h>
namespace nnvm {
namespace pass {
nnvm::NodePtr Create... |
<commit_before>#include "AliHMPIDPreprocessor.h" //header
#include <AliCDBMetaData.h>
#include <AliDCSValue.h>
#include <TF1.h> //Process()
#include <TF2.h> //Process()
#include <TGraph.h> //Process()
#include <AliLog.h> //Process()
ClassImp(AliHMPIDPreprocessor)
... |
<commit_before>//
// Created by a1 on 16-11-2.
//
#include "encode.h"
#include "util/bytes.h"
static string encode_key_internal(char type, const Bytes& key, const Bytes& field, uint16_t version);
static string encode_meta_val_internal(const char type, uint64_t length, uint16_t version, char del);
string encode_meta_k... |
<commit_before>#include "viewer.h"
#include <cstdlib>
#include <ctime>
#include <GL/gl.h>
#include <SDL.h>
#include "base/Log.h"
#include "base/Guard.h"
namespace viewer {
namespace {
const float MINNOTE = 100;
const float MAXNOTE = 300;
}
int Viewer::run() {
typedef base::PtrGuard<SDL_Surface, SDL_FreeSurface... |
<commit_before>#ifndef STAN_MATH_PRIM_FUN_GRAD_2F1_HPP
#define STAN_MATH_PRIM_FUN_GRAD_2F1_HPP
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/err.hpp>
#include <stan/math/prim/fun/constants.hpp>
#include <stan/math/prim/fun/exp.hpp>
#include <stan/math/prim/fun/fabs.hpp>
#include <stan/math/prim/fun/inv.h... |
<commit_before>/**
* A class which describes the properties and actions of a client application.
*
* @date December 25, 2014
* @author Joeri HERMANS
* @version 0.1
*
* Copyright 2014 Joeri HERMANS
*
* Licensed under the Apache License, Version 2.0 (the "Licen... |
<commit_before>#include "chainerx/python/cuda/cuda_module.h"
#include <cstddef>
#include <cstdint>
#include <memory>
#include <utility>
#include <pybind11/functional.h>
#include <pybind11/pybind11.h>
#include "chainerx/cuda/cuda_device.h"
#include "chainerx/cuda/memory_pool.h"
#include "chainerx/device.h"
#include ... |
<commit_before>// MIT License Terms (http://en.wikipedia.org/wiki/MIT_License)
//
// Copyright (C) 2011 by Oleg Alexandrov
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restri... |
<commit_before>// Copyright (c) 2011 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/chrome_content_browser_client.h"
#include "base/command_line.h"
#include "chrome/app/breakpad_mac.h"
#include... |
<commit_before>/*************************************************************************
*
* $RCSfile: testjavavm.cxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: kz $ $Date: 2005-01-13 19:03:13 $
*
* The Contents of this file are made available subject to the terms of
* either of the following lic... |
<commit_before>// @(#)root/base:$Id$
// Author: Fons Rademakers 04/08/95
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... |
<commit_before>// Copyright 2014 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 "config.h"
#include "core/css/MediaValues.h"
#include "core/css/CSSHelper.h"
#include "core/css/MediaValuesCached.h"
#include "co... |
<commit_before>// Copyright 2010 Anders Bakken
//
// 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 ag... |
<commit_before>#include "mavlink_commands.h"
#include "system_impl.h"
#include <future>
#include <memory>
namespace dronecode_sdk {
// TODO: Currently the mavlink command handling is made in a way to only
// process one command at any time. Therefore, the work state is global
// for this whole class.
// ... |
<commit_before>/*
*
* Event
* ledger-core
*
* Created by Pierre Pollastri on 27/04/2017.
*
* 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 deal
*... |
<commit_before>#include "label.h"
#include "util/geom.h"
#include "labels/labelMesh.h"
#include "glm/gtx/rotate_vector.hpp"
namespace Tangram {
Label::Label(Label::Transform _transform, glm::vec2 _size, Type _type, LabelMesh& _mesh, Range _vertexRange, Options _options) :
m_type(_type),
m_options(_options),
... |
<commit_before>#include "vboMesh.h"
#include "shaderProgram.h"
int VboMesh::s_validGeneration = 0;
VboMesh::VboMesh() {
m_glVertexBuffer = 0;
m_glIndexBuffer = 0;
m_nVertices = 0;
m_nIndices = 0;
m_dirtyOffset = 0;
m_dirtySize = 0;
m_dirty = false;
m_isUploaded = false;
m_isCompil... |
<commit_before>// Copyright (C) 2013-2014 Thalmic Labs Inc.
// Confidential and not for redistribution. See LICENSE.txt.
#define _USE_MATH_DEFINES
#include <cmath>
#include <iostream>
#include <iomanip>
#include <stdexcept>
#include <string>
// The only file that needs to be included to use the Myo C++ SDK is myo.hpp.... |
<commit_before>#include "extractor.h"
#include <cassert>
#include <map>
#include <vector>
#include "taco/base/exception.h"
#include "tools-common/relation/relation.h"
namespace taco {
namespace tool {
namespace m3 {
void Extractor::Extract(Tree &t, std::set<Relation> &relations,
std::vector... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: precompiled_svx.cxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: obo $ $Date: 2006-09-17 03:58:46 $
*
* The Contents of this file a... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: optmemory.cxx,v $
*
* $Revision: 1.16 $
*
* last change: $Author: kz $ $Date: 2007-05-10 14:39:37 $
*
* The Contents of this file are mad... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: wrapfield.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2005-09-08 22:22:48 $
*
* The Contents of this file are made... |
<commit_before>#include <iostream>
using namespace std;
int main(){
cout << "¡hola, mundo!" << endl;
return(0);
}
<commit_msg>delete holamundo.cpp<commit_after><|endoftext|> |
<commit_before>/*
This macro will add histograms from a list of root files and write them
to a target root file. The target file is newly created and must not be
identical to one of the source files.
Author: Sven A. Schmidt, sven.schmidt@cern.ch
Date: 13.2.2001
This code is based on the hadd.C example ... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: saveopt.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2007-07-05 07:27:38 $
*
* The Contents of this file are made a... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: stdctrl.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: vg $ $Date: 2007-04-11 19:35:13 $
*
* The Contents of this file are made a... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: optitems.cxx,v $
*
* $Revision: 1.9 $
*
* last change: $Author: hr $ $Date: 2007-06-27 18:39:17 $
*
* The Contents of this file are made ... |
<commit_before>// A tool for adding keywords extracted from titles to MARC records.
#include <algorithm>
#include <fstream>
#include <iostream>
#include <map>
#include <memory>
#include <string>
#include <unordered_set>
#include <cstdlib>
#include <cstring>
#include "DirectoryEntry.h"
#include "Leader.h"
#include "Marc... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: trvlcol.cxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: hr $ $Date: 2007-09-27 08:30:52 $
*
* The Contents of this file are made a... |
<commit_before>/*************************************************************************
*
* $RCSfile: edredln.cxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: vg $ $Date: 2003-04-17 14:02:02 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licens... |
<commit_before>/*************************************************************************
*
* $RCSfile: swblocks.hxx,v $
*
* $Revision: 1.11 $
*
* last change: $Author: kz $ $Date: 2004-10-04 19:08:08 $
*
* The Contents of this file are made available subject to the terms of
* either of the following lice... |
<commit_before><commit_msg>cid#705265 missing break in switch<commit_after><|endoftext|> |
<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>#include <iostream>
#include "3.cpp"
using namespace std;
int main()
{
DoubleLinkedChain<int> ch;
DoubleLinkedList<int> L1, L2;
int[] a1 = {1, 3, 5, 7, 9, 6};
int[] a2 = {3, 4, 8, 5, 7};
for (size_t i = 0; i < 5; i++)
{
L1.insertEnd(a1[i]);
L2.insertEnd(a2[i]);
... |
<commit_before>/*************************************************************************
*
* $RCSfile: tracer.hxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: hr $ $Date: 2004-02-04 11:53:04 $
*
* The Contents of this file are made available subject to the terms of
* either of the following license... |
<commit_before>/*************************************************************************
*
* $RCSfile: xmlexp.hxx,v $
*
* $Revision: 1.28 $
*
* last change: $Author: rt $ $Date: 2004-05-03 13:51:50 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licens... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: changedb.cxx,v $
*
* $Revision: 1.19 $
*
* last change: $Author: hr $ $Date: 2007-09-27 11:45:45 $
*
* The Contents of this file are made... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: textidx.cxx,v $
*
* $Revision: 1.13 $
*
* last change: $Author: hr $ $Date: 2007-09-27 12:30:30 $
*
* The Contents of this file are made ... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: tablemgr.cxx,v $
*
* $Revision: 1.8 $
*
* last change: $Author: rt $ $Date: 2005-09-09 11:06:39 $
*
* The Contents of this file are made ... |
<commit_before>/***************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (testabilitydriver@nokia.com)
**
** This file is part of Testability Driver Qt Agent
**
** If y... |
<commit_before>/*
* yosys -- Yosys Open SYnthesis Suite
*
* Copyright (C) 2012 Clifford Wolf <clifford@clifford.at>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission no... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.