text stringlengths 54 60.6k |
|---|
<commit_before>// -*- coding: us-ascii-unix -*-
// Copyright 2012 Lukas Kemmer
//
// 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
//
// Unles... |
<commit_before>/*
Test cases for dkm.hpp
This is just simple test harness without any external dependencies.
*/
#include "../include/dkm.hpp"
#include "opencv2/opencv.hpp"
#include <vector>
#include <array>
#include <tuple>
#include <string>
#include <iterator>
#include <fstream>
#include <iostream>
#include <chrono... |
<commit_before>// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2010 Gael Guennebaud <[email protected]>
//
// Eigen is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published b... |
<commit_before>/* -*- mode: c++; c-basic-offset:4 -*-
crypto/signencryptfilescontroller.cpp
This file is part of Kleopatra, the KDE keymanager
Copyright (c) 2007 Klarälvdalens Datakonsult AB
Kleopatra is free software; you can redistribute it and/or modify
it under the terms of the GNU General Pub... |
<commit_before>/* -------------------------------------------------------------------------- *
* OpenSim: GCVSplineSet.cpp *
* -------------------------------------------------------------------------- *
* The OpenSim API is a toolkit for musculoskeletal modeling and ... |
<commit_before>/* FasTC
* Copyright (c) 2013 University of North Carolina at Chapel Hill.
* All rights reserved.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation for educational, research, and non-profit purposes, without
* fee, and without a written agreement is hereby gr... |
<commit_before>#include "AliGFWWeights.h"
#include "TMath.h"
AliGFWWeights::AliGFWWeights():
fDataFilled(kFALSE),
fMCFilled(kFALSE),
fW_data(0),
fW_mcrec(0),
fW_mcgen(0),
fEffInt(0),
fAccInt(0),
fNbinsPt(0),
fbinsPt(0)
{
};
AliGFWWeights::~AliGFWWeights()
{
delete fW_data;
delete fW_mcrec;
delet... |
<commit_before>/******************************************************************************
* This file is part of dirtsand. *
* *
* dirtsand is free software: you can redistribute it and/or modi... |
<commit_before>
#include "../../Flare.h"
#include "FlareShipStatus.h"
#define LOCTEXT_NAMESPACE "FlareShipStatus"
/*----------------------------------------------------
Construct
----------------------------------------------------*/
void SFlareShipStatus::Construct(const FArguments& InArgs)
{
TargetShip = InArgs... |
<commit_before>#include <assert.h>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/xml_parser.hpp>
#include <iostream>
#include "Create.h"
#include "File.h"
#include "Map.h"
#include "Node.h"
#include "stdlib.h"
#include "utils.h"
namespace Maps
{
Map::Map(): Map(DEFAULT_MAP_SIZE) {
setID(0... |
<commit_before>/**
* @file Main.cpp
*/
#include "GLFWEW.h"
#include <glm/gtc/matrix_transform.hpp>
#include <iostream>
#include <vector>
/// 3DxN^[^.
struct Vector3
{
float x, y, z;
};
/// RGBAJ[^.
struct Color
{
float r, g, b, a;
};
/// _f[^^.
struct Vertex
{
Vector3 position; ///< W
... |
<commit_before>/**
* Copyright (C) 2005-2008 Christoph Rupp ([email protected]).
*
* 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 License, or
* (at your option) any ... |
<commit_before>#include "mitkMovieGenerator.h"
#include <GL/gl.h>
#ifdef WIN32
#include "mitkMovieGeneratorWin32.h"
#endif
#ifndef GL_BGR
#define GL_BGR GL_BGR_EXT
#endif
mitk::MovieGenerator::Pointer mitk::MovieGenerator::New()
{
Pointer smartPtr;
MovieGenerator *rawPtr = ::itk::ObjectFactory<MovieGenera... |
<commit_before>
#include "AudioData.h"
#include "WavParser.h"
#include "AudioPlaybackStream.h"
#include "AudioStreamBuffer.h"
#include "AudioMixer.h"
#include "EngineTrack.h"
#include "EngineSample.h"
#include "Initializer.h"
#include "OALWrapper/OAL_Funcs.h"
#include "SDL_timer.h"
#include <iostream>
#include <vector>... |
<commit_before>#define CATCH_CONFIG_MAIN
#include "catch.hpp"
#include "RPNCalc.h"
#include "RPNTestHelper.h"
using namespace P4_RPNCALC;
TEST_CASE("Operation Methods")
{
RPNTestHelper test;
SECTION("Method: clearAll()")
{
REQUIRE(test.expectedInputOutput("50", "50"));
REQUIRE(test.expectedInputOutput("c", ... |
<commit_before>#include "soundController.h"
#include "DataSetting.h"
using namespace CocosDenshion;
//constructor
soundController::soundController()
{
}
soundController::~soundController()
{}
//preload
void soundController::initAudio()
{
auto audio = SimpleAudioEngine::getInstance();
//opening background
audio-... |
<commit_before>/*
* Copyright (c) 2009, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU Lesser General Public License,
* version 2.1, as published by the Free Software Foundation.
*
* This program is distributed in the hop... |
<commit_before>/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm.h"
#include "SkCanvas.h"
#include "SkPath.h"
#include "SkGradientShader.h"
#include "SkTypeface.h"
static SkShader* make_heatGradient(const SkPoin... |
<commit_before>
/*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm.h"
#include "SkColorPriv.h"
#include "SkGeometry.h"
#include "SkShader.h"
static void tesselate(const SkPath& src, SkPath* dst) {
SkPath::Ite... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: opaqitem.hxx,v $
*
* $Revision: 1.8 $
*
* last change: $Author: kz $ $Date: 2007-05-10 14:20:27 $
*
* The Contents of this file are made ... |
<commit_before>/*************************************************************************
*
* $RCSfile: unoshcol.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2003-09-19 08:32:11 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: printdata.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2005-09-09 02:05:30 $
*
* The Contents of this file are made... |
<commit_before>
#include "base.h"
namespace sgraph{
void sgmanager::pause()
{
this->pause_threads_lock.lock();
this->pause_threads = true;
this->pause_threads_lock.unlock();
//for (std::tuple<>)
}
void sgmanager::start()
{
this->pause_threads_lock.lock();
this->pause_threads = false;
this->pause_threads_lock.u... |
<commit_before>// Import daughters of track with given label.
Reve::TrackList*
kine_daughter_tracks(Int_t label, Reve::TrackList* cont = 0)
{
using namespace Reve;
gSystem->IgnoreSignal(kSigSegmentationViolation, true);
if (label < 0) {
Warning("kine_daughter_tracks", "label not set.");
return 0;
}
... |
<commit_before>/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// -*- c++ -*-
#include <faiss/IVFlib.h>
#include <memory>
#include <faiss/IndexPreTransform.h>
#include <faiss/... |
<commit_before>// Copyright (c) 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 "media/midi/midi_manager_mac.h"
#include <iostream>
#include <string>
#include "base/debug/trace_event.h"
#include "base/str... |
<commit_before>//===-- CodeGen/AsmPrinter/DwarfException.cpp - Dwarf Exception Impl ------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRI... |
<commit_before>/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2016 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 ... |
<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 "gpu/command_buffer/service/async_pixel_transfer_manager_idle.h"
#include "base/bind.h"
#include "base/debug/trace_event.h"
#incl... |
<commit_before>//===-- IPConstantPropagation.cpp - Propagate constants through calls -----===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: itkSimpleFilterWatcher.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Insight Software Consortium. All rights reserved.
S... |
<commit_before>/**
* This file implements a command line utility to interact
* with the `d2` library.
*/
#include <boost/exception/diagnostic_information.hpp>
#include <boost/exception/get_error_info.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/format.hpp>
#include <boost/lexical_cast.hpp>
#inclu... |
<commit_before>/*
* BackwardChainer.cc
*
* Copyright (C) 2014-2017 OpenCog Foundation
*
* Authors: Misgana Bayetta <[email protected]> October 2014
* William Ma <https://github.com/williampma>
* Nil Geisweiller 2016-2017
*
* This program is free software; you can redistribute it and/... |
<commit_before>/*
* BackwardChainer.cc
*
* Copyright (C) 2014-2017 OpenCog Foundation
*
* Authors: Misgana Bayetta <[email protected]> October 2014
* William Ma <https://github.com/williampma>
* Nil Geisweiller 2016-2017
*
* This program is free software; you can redistribute it and/... |
<commit_before>// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/vespalib/testkit/test_kit.h>
#include <vespa/eval/eval/tensor_function.h>
#include <vespa/eval/instruction/replace_type_function.h>
#include <vespa/eval/instruction/fast... |
<commit_before>/*
WineStuff - library for manipulating WINE prefixes
Copyright (C) 2010 Pavel Zinin <[email protected]>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the... |
<commit_before>/*
* Copyright 2018 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... |
<commit_before>//It is our future main class
#include <iostream>
#include "graph.h"
#include "minion.h"
/**
* Classe qui représente la classe principale .
*/
using namespace std;
int getRandValue(int min, int max) {
return (rand()/(int)RAND_MAX)*(max-min)+min;
}
/**
* Méthode de commencement de la partie de ch... |
<commit_before>#include <iostream>
#include <vector>
#include <iostream>
#include <future>
#include <string>
#include "boost/asio.hpp"
#include "doormat/doormat.hpp"
static std::unique_ptr<char[]> make_data_ptr(const std::string& s)
{
auto ptr = std::make_unique<char[]>(s.size());
std::copy(s.begin(), s.end(), ptr... |
<commit_before>////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// STL A* Search implementation
// (C)2001 Justin Heyes-Jones
//
// Finding a path on a simple grid maze
// This shows how to do shortest path finding using A*
// Some of the code wa... |
<commit_before><commit_msg>Fixed bug when add light, GUI or sky single scene program<commit_after><|endoftext|> |
<commit_before>#include <signal.h>
#include "gen/wsdd.nsmap"
#include "wsddapi.h"
const int _metadataVersion = 1;
const char* _xaddr="http://localhost/service";
const char* _type="\"http://schemas.xmlsoap.org/ws/2006/02/devprof\":device";
bool stop = false;
void sighandler(int sig)
{
std::cout<< "Signal caught..." ... |
<commit_before>#include "wrap_body.hpp"
#include "wrap_vertex_array.hpp"
#include <boost/python.hpp>
#include <Box2D/Collision/Shapes/b2CircleShape.h>
#include <Box2D/Collision/Shapes/b2EdgeShape.h>
#include <Box2D/Collision/Shapes/b2LoopShape.h>
#include <Box2D/Collision/Shapes/b2PolygonShape.h>
#include <Box2D/Dyna... |
<commit_before>#include <iostream>
#include <string>
#include <cstdlib>
#include <fstream>
#include <vector>
#include <cmath>
#include <sstream>
#include <stdio.h>
#include <unistd.h>
using namespace std;
#include "Processes.h"
#include "Base.h"
#include "Command.h"
#include "Andand.h"
#include "Oror.h"
//Simple cons... |
<commit_before>// @(#)root/gl:$Id$
// Author: Timur Pocheptsov 03/08/2004
// NOTE: This code moved from obsoleted TGLSceneObject.h / .cxx - see these
// attic files for previous CVS history
/*************************************************************************
* Copyright (C) 1995-2006, Rene Brun and Fons Radem... |
<commit_before>/*************************************************************************
*
* $RCSfile: DAVSession.hxx,v $
*
* $Revision: 1.15 $
*
* last change: $Author: vg $ $Date: 2003-07-25 11:39:28 $
*
* The Contents of this file are made available subject to the terms of
* either of the following li... |
<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 "libcef/browser/url_request_context_getter.h"
#if defined(OS_WIN)
#include <winhttp.h>
#endif
#include <string>
#include <vec... |
<commit_before>/*
* Copyright (c) 2008-2016 the MRtrix3 contributors
*
* 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/
*
* MRtrix is distributed in the hope that... |
<commit_before>/*
* This file is part of Poedit (https://poedit.net)
*
* Copyright (C) 2000-2018 Vaclav Slavik
*
* 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 restrictio... |
<commit_before>#include "types.h"
#include "stat.h"
#include "user.h"
#include "mtrace.h"
#include "amd64.h"
#include "fcntl.h"
static const bool pinit = true;
enum { nloop = 100 };
enum { nfile = 10 };
enum { nlookup = 100 };
void
bench(u32 tid)
{
char pn[MAXNAME];
if (pinit)
setaffinity(tid);
for (u32 ... |
<commit_before>// Copyright (c) 2011-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/bitcoin-config.h>
#endif
#include <qt/forms/ui_optionsdialog.h>
#... |
<commit_before>#include "rotocoinunits.h"
#include <QStringList>
RotocoinUnits::RotocoinUnits(QObject *parent):
QAbstractListModel(parent),
unitlist(availableUnits())
{
}
QList<RotocoinUnits::Unit> RotocoinUnits::availableUnits()
{
QList<RotocoinUnits::Unit> unitlist;
unitlist.append(Rt2);
... |
<commit_before>///////////////////////////////////////////////////////////////////////////////
//
// File FilterEnergy.cpp
//
// For more information, please see: http://www.nektar.info
//
// The MIT License
//
// Copyright (c) 2006 Division of Applied Mathematics, Brown University (USA),
// Department of Aeronautics, ... |
<commit_before>/* This is free and unencumbered software released into the public domain. */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "rdf++/reader/trix.h"
#include "rdf++/quad.h"
#include "rdf++/term.h"
#include "rdf++/triple.h"
#include "xml_reader.h"
#include <memory> /* for std::unique_ptr */
... |
<commit_before>/*
Copyright (c) 2010, Arvid Norberg
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 of condi... |
<commit_before>#include "tree_sitter/compiler.h"
#include "helpers.h"
namespace tree_sitter_examples {
using tree_sitter::Grammar;
using namespace tree_sitter::rules;
extern const Grammar javascript({
{ "program", repeat(sym("statement")) },
// Statements
{ "statement", choice({
... |
<commit_before>/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
... |
<commit_before>// Copyright (C) 2010-2013 Joshua Boyce.
// See the file COPYING for copying permission.
#include <memory>
#include <string>
#include <vector>
#include <sstream>
#include <iostream>
#include <algorithm>
#include <hadesmem/detail/warning_disable_prefix.hpp>
#include <boost/program_options.hpp... |
<commit_before>/*
Copyright (C) 2004 by Jorrit Tyberghein
(C) 2004 by Frank Richter
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,... |
<commit_before>/* mbed Microcontroller Library
* Copyright (c) 2006-2013 ARM Limited
*
* 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
... |
<commit_before>
#include <log4cplus/logger.h>
#include <log4cplus/configurator.h>
#include <log4cplus/helpers/loglog.h>
#include <log4cplus/helpers/stringhelper.h>
using namespace std;
using namespace log4cplus;
using namespace log4cplus::helpers;
Logger log_1 = Logger::getInstance("test.log_1");
Logger log_2 = Lo... |
<commit_before>#include "slave.hpp"
#include <stdint.h>
#include "net_structs.hpp"
#include "arch/linux/coroutines.hpp"
namespace replication {
// TODO unit test offsets
slave_t::slave_t(store_t *internal_store, replication_config_t replication_config, failover_config_t failover_config)
: internal_store(intern... |
<commit_before>/*
Resembla: Word-based Japanese similar sentence search library
https://github.com/tuem/resembla
Copyright 2017 Takashi Uemura
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
h... |
<commit_before>#include <os.h>
#include <x86.h>
/* Stack pointer */
extern u32 * stack_ptr;
/* Current cpu name */
static char cpu_name[512] = "x86-noname";
/* Detect the type of processor */
char* Architecture::detect(){
cpu_vendor_name(cpu_name);
return cpu_name;
}
/* Start and initialize the architecture */
... |
<commit_before>// This file is part of BlueSky
//
// BlueSky is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation; either version 3
// of the License, or (at your option) any later version.
//
// BlueSky ... |
<commit_before>
#include "numerics/quadrature.hpp"
#include <limits>
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "quantities/elementary_functions.hpp"
#include "testing_utilities/almost_equals.hpp"
#include "testing_utilities/is_near.hpp"
#include "testing_utilities/numerics_matchers.hpp"
namespace p... |
<commit_before>#include "HalideRuntime.h"
// Structs are annoying to deal with from within Halide Stmts. These
// utility functions are for dealing with buffer_t in that
// context. They are not intended for use outside of Halide code, and
// not exposed in HalideRuntime.h. The symbols are private to the
// module and... |
<commit_before>#include <locale>
#include <scope_macro.h>
#include <str_util.h>
#include <shl_exception.h>
namespace shl {
string expand_macro(const string& token, const string& text, const Match& match) {
if (token[0] != '$') return token;
if (token[1] == '{') {
if (token.back() != '}') throw Invali... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: brwhead.cxx,v $
*
* $Revision: 1.7 $
*
* last change: $Author: hr $ $Date: 2007-06-27 21:08:04 $
*
* The Contents of this file are made a... |
<commit_before><commit_msg>sw: Prefix LinesAndTable member variables.<commit_after><|endoftext|> |
<commit_before><commit_msg>coverity#705921 Dereference before null check<commit_after><|endoftext|> |
<commit_before>// Copyright 2014 Alessio Sclocco <[email protected]>
//
// 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><commit_msg>sw: remove SwEventListenerContainer in SwXTextCursor<commit_after><|endoftext|> |
<commit_before>3f6ce754-2e4e-11e5-9284-b827eb9e62be<commit_msg>3f71f334-2e4e-11e5-9284-b827eb9e62be<commit_after>3f71f334-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before><commit_msg>whops, index swap<commit_after><|endoftext|> |
<commit_before>df3bf04c-2e4c-11e5-9284-b827eb9e62be<commit_msg>df595b00-2e4c-11e5-9284-b827eb9e62be<commit_after>df595b00-2e4c-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>01e539da-2e4f-11e5-9284-b827eb9e62be<commit_msg>01ea2cec-2e4f-11e5-9284-b827eb9e62be<commit_after>01ea2cec-2e4f-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>#pragma once
// `krbn::cf_utility::run_loop_thread` can be used safely in a multi-threaded environment.
#include "boost_defs.hpp"
#include "dispatcher.hpp"
#include "logger.hpp"
#include <CoreFoundation/CoreFoundation.h>
#include <boost/optional.hpp>
#include <mutex>
#include <string>
#include <thread... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: wrtasc.cxx,v $
*
* $Revision: 1.11 $
*
* last change: $Author: ihi $ $Date: 2007-07-12 10:44:33 $
*
* The Contents of this file are made ... |
<commit_before>d725d6d2-2e4e-11e5-9284-b827eb9e62be<commit_msg>d72f4910-2e4e-11e5-9284-b827eb9e62be<commit_after>d72f4910-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>#pragma once
// `krbn::cf_utility::run_loop_thread` can be used safely in a multi-threaded environment.
#include "boost_defs.hpp"
#include "logger.hpp"
#include <CoreFoundation/CoreFoundation.h>
#include <boost/optional.hpp>
#include <mutex>
#include <string>
#include <thread>
namespace krbn {
class ... |
<commit_before>/*************************************************************************
*
* $RCSfile: wrtasc.hxx,v $
*
* $Revision: 1.1.1.1 $
*
* last change: $Author: hr $ $Date: 2000-09-18 17:14:53 $
*
* The Contents of this file are made available subject to the terms of
* either of the following lic... |
<commit_before>87df65e8-2e4e-11e5-9284-b827eb9e62be<commit_msg>87e482b2-2e4e-11e5-9284-b827eb9e62be<commit_after>87e482b2-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>f3c65b64-2e4d-11e5-9284-b827eb9e62be<commit_msg>f3cb6aaa-2e4d-11e5-9284-b827eb9e62be<commit_after>f3cb6aaa-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>177c3104-2e4f-11e5-9284-b827eb9e62be<commit_msg>17814644-2e4f-11e5-9284-b827eb9e62be<commit_after>17814644-2e4f-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>/*
* Copyright (C) 2008-2013 Communi authors
*
* 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 License, or
* (at your option) any later version.
*
* This p... |
<commit_before>92f734e8-2e4d-11e5-9284-b827eb9e62be<commit_msg>92fc3312-2e4d-11e5-9284-b827eb9e62be<commit_after>92fc3312-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>/* This file is part of the KDE project
Copyright (C) 2006-2007 Matthias Kretz <[email protected]>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License version 2 as published by the Free Software Foundation.
T... |
<commit_before>/*
* Author: Michael Camilleri
*
* Copyright (c) 2016, University Of Edinburgh
* 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 ... |
<commit_before>8f12b284-2e4e-11e5-9284-b827eb9e62be<commit_msg>8f17bc34-2e4e-11e5-9284-b827eb9e62be<commit_after>8f17bc34-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>3eb6a052-2e4e-11e5-9284-b827eb9e62be<commit_msg>3ebba9b2-2e4e-11e5-9284-b827eb9e62be<commit_after>3ebba9b2-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>cfae2974-2e4c-11e5-9284-b827eb9e62be<commit_msg>cfb31b32-2e4c-11e5-9284-b827eb9e62be<commit_after>cfb31b32-2e4c-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>c2e2de8c-2e4d-11e5-9284-b827eb9e62be<commit_msg>c2e7e710-2e4d-11e5-9284-b827eb9e62be<commit_after>c2e7e710-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before><commit_msg>clang scan-build: Dead initialization<commit_after><|endoftext|> |
<commit_before>7341811c-2e4d-11e5-9284-b827eb9e62be<commit_msg>734689dc-2e4d-11e5-9284-b827eb9e62be<commit_after>734689dc-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>3c83991a-2e4f-11e5-9284-b827eb9e62be<commit_msg>3c888880-2e4f-11e5-9284-b827eb9e62be<commit_after>3c888880-2e4f-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>a301650c-2e4d-11e5-9284-b827eb9e62be<commit_msg>a30665e8-2e4d-11e5-9284-b827eb9e62be<commit_after>a30665e8-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>c357eabe-2e4e-11e5-9284-b827eb9e62be<commit_msg>c35ce050-2e4e-11e5-9284-b827eb9e62be<commit_after>c35ce050-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>eefa26f2-2e4c-11e5-9284-b827eb9e62be<commit_msg>eeff20e4-2e4c-11e5-9284-b827eb9e62be<commit_after>eeff20e4-2e4c-11e5-9284-b827eb9e62be<|endoftext|> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.