text stringlengths 54 60.6k |
|---|
<commit_before>#ifndef TESTLINEDETECTION_HPP
#define TESTLINEDETECTION_HPP
#include <QtTest>
#include <intelligence/linedetection/linedetector.h>
#include <iostream>
#ifdef _WIN32
#include <direct.h>
#define GetCurrentDir _getcwd
#else
#include <unistd.h>
#define GetCurrentDir getcwd
#endif
class Test... |
<commit_before>#include <functional>
#include "arch/runtime/starter.hpp"
#include "serializer/config.hpp"
#include "unittest/mock_file.hpp"
#include "unittest/gtest.hpp"
namespace unittest {
// This test is completely vacuous, but should invite expansion in the future.
void run_CreateConstructDestroy() {
// Thi... |
<commit_before>// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/fastos/fastos.h>
#include <vespa/log/log.h>
LOG_SETUP(".proton.docsummary.summarymanager");
#include "documentstoreadapter.h"
#include "summarycompacttarget.h"
#include "summa... |
<commit_before>#ifndef INC_STATIC_POW_HPP_
#define INC_STATIC_POW_HPP_
#include <boost/integer.hpp>
namespace utils {
template<size_t n, size_t p>
struct static_pow
{
static boost::uintmax_t const value = n * static_pow<n, p-1>::value;
};
template<size_t n>
struct static_... |
<commit_before>#include "BootSplash.h"
#include "ui_BootSplash.h"
#include <LuminaXDG.h>
BootSplash::BootSplash() : QWidget(0, Qt::SplashScreen | Qt::X11BypassWindowManagerHint | Qt::WindowStaysOnTopHint | Qt::WindowDoesNotAcceptFocus), ui(new Ui::BootSplash){
ui->setupUi(this);
this->setObjectName("LuminaBootSpl... |
<commit_before>
/*
* Copyright (c) 2012-2021 Karl N. Redgate
*
* 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 limitation
* the rights to use, co... |
<commit_before>/****************************************************************************
*
* Copyright (c) 2019 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*... |
<commit_before>/*
* Copyright (C) 2013
* Alessio Sclocco <a.sclocco@vu.nl>
*
* 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 lat... |
<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>/*
flink.cpp
ࠧ 㭪権 ࠡ⪥ Link` - Hard&Sym
*/
/* Revision: 1.04 05.01.2001 $ */
/*
Modify:
05.01.2001 SVS
+ 㭪 GetSubstName - ॥堫 mix.cpp
+ 㭪 DelSubstDrive - 㤠 Subst ࠩ
05.01.2000 OT
- ᬥ⨪, - ன VC :)
04.01.2001 SVS
+ 誨 CreateJunctionPoint, DeleteJunctionPoint
+ GetJunctionPoin... |
<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 <string>
#include <vector>
#include "base/memory/scoped_ptr.h"
#include "base/rand_util.h"
#include "base/utf_string_conversi... |
<commit_before>// @(#)root/meta:$Name: $:$Id: GenericClassInfo.cxx,v 1.1 2002/05/09 20:53:21 brun Exp $
// Author: Philippe Canal 08/05/2002
/*************************************************************************
* Copyright (C) 1995-2002, Rene Brun, Fons Rademakers and al. *
* All rights reserved. ... |
<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/ui/webui/chromeos/login/core_oobe_handler.h"
#include "base/values.h"
#include "base/utf_string_conversions.h... |
<commit_before>#ifndef COFFEE_MILL_COMMON_DEFERED_READER_HPP
#define COFFEE_MILL_COMMON_DEFERED_READER_HPP
#include <mill/common/Trajectory.hpp>
#include <string_view>
#include <optional>
#include <iterator>
#include <cstddef>
namespace mill
{
class DeferedReaderBase;
class ReaderIterator
{
public:
using itera... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: parametricpolypolygonfactory.cxx,v $
*
* $Revision: 1.7 $
*
* last change: $Author: kz $ $Date: 2006-12-13 15:43:25 $
*
* The Contents of... |
<commit_before>// DnaMatchingAndVariationDetection.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
#include "Sequence.h"
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
// Define the sample sequences.
char sequence1[33] = "ACAAGATGCCATTGTCCCCCGGCCTC... |
<commit_before>//$Id$
#ifndef MECHANICTRANSLATIONALMASS_HPP_INCLUDED
#define MECHANICTRANSLATIONALMASS_HPP_INCLUDED
#include <sstream>
#include "../../ComponentEssentials.h"
#include "../../ComponentUtilities.h"
namespace hopsan {
//!
//! @brief
//! @ingroup MechanicalComponents
//!
class Mecha... |
<commit_before>/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2008, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the... |
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2021. All rights reserved
*/
#ifndef _Stroika_Foundation_Traversal_IterableFromIterator_inl_
#define _Stroika_Foundation_Traversal_IterableFromIterator_inl_
#include "../Debug/Assertions.h"
#include "DelegatedIterator.h"
namespace Stroika::Foundation::T... |
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2018. All rights reserved
*/
#ifndef _Stroika_Foundation_Traversal_IterableFromIterator_inl_
#define _Stroika_Foundation_Traversal_IterableFromIterator_inl_
#include "../Debug/Assertions.h"
#include "DelegatedIterator.h"
namespace Stroika {
namespac... |
<commit_before><commit_msg>Updated SimpleMaterial::isReadyForSubMesh function to pass material context<commit_after><|endoftext|> |
<commit_before>/******************************************************************************
* Copyright (c) 2014 Jamis Hoo
* Distributed under the MIT license
* (See accompanying file LICENSE or copy at http://opensource.org/licenses/MIT)
*
* Project:
* Filename: test.cc
* Version: 1.0
* Author:... |
<commit_before>#include "php.h"
#include "php_gdal.h"
#include <ogr_core.h>
#include <cpl_conv.h>
#include <cpl_string.h>
#include "ogrexception.h"
#include "ogrspatialreference.h"
#include "ogrgeometry.h"
zend_class_entry *gdal_ogrgeometry_ce;
zend_object_handlers ogrgeometry_object_handlers;
void ogrgeometry_free_... |
<commit_before>/**
* Clever programming language
* Copyright (c) Clever Team
*
* This file is distributed under the MIT license. See LICENSE for details.
*/
#include "types/type.h"
#include "modules/std/unicode/string.h"
#include "unicode/unistr.h"
#include "core/value.h"
namespace clever { namespace packages { n... |
<commit_before>#include <foot_contact_alt/FootContactAlt.h>
using namespace TwoLegs;
using namespace std;
FootContactAlt::FootContactAlt(bool _log_data_files,const float atlasWeight){
cout << "A new FootContactAlt object was created" << endl;
// was 1400*0.65 for a long time, but this didn't work with toe lift o... |
<commit_before>#include "../../SDP_Solver_Terminate_Reason.hxx"
#include "../../../SDP_Solver_Parameters.hxx"
void compute_feasible_and_termination(
const SDP_Solver_Parameters ¶meters, const El::BigFloat &primal_error,
const El::BigFloat &dual_error, const El::BigFloat &duality_gap,
const El::BigFloat &prim... |
<commit_before>/*******************************
Copyright (C) 2013-2015 gregoire ANGERAND
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 late... |
<commit_before>//===- Loads.cpp - Local load analysis ------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/hwpf/fapi2/include/fapi2_subroutine_executor.H $ ... |
<commit_before>/* LICENSE NOTICE
Copyright (c) 2009, Frederick Emmott <mail@fredemmott.co.uk>
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 notice appear in all copies.
THE SOFTW... |
<commit_before>/*
Copyright (c) 2013, Ford Motor Company
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 condit... |
<commit_before>//
// ogles_gpgpu project - GPGPU for mobile devices and embedded systems using OpenGL ES 2.0
//
// See LICENSE file in project repository root for the license.
//
// Copyright (c) 2017, David Hirvonen (this file)
#include "pbo.h"
#include "ogles_gpgpu/platform/opengl/gl_includes.h"
#include <iostream... |
<commit_before>/*
* opencog/atoms/core/PutLink.cc
*
* Copyright (C) 2015 Linas Vepstas
* All Rights Reserved
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License v3 as
* published by the Free Software Foundation and including the ... |
<commit_before>/*
* Reference: http://www.indiana.edu/~iulg/trm/
*
* Instruction set
* ===============
* Add 1 to Rn : 1^n#
* Rn.push(1)
*
* Add # to Rn : 1^n##
* Rn.push(#)
*
* Go forward n : 1^n###
* pc += n
* Go backward n : 1^n####
* pc -= n
*
* Cases on Rn : 1^n#####
* if Rn.empty... |
<commit_before>#include <iostream>
#include <cstdlib>
#include <cstring>
#include <queue>
#include <unistd.h>
#include <netdb.h>
#include <sys/types.h>
#include <sys/socket.h>
#include "message.h"
#include "segment.h"
#include "register_request_message.h"
using namespace std;
// Checks the number and formats of the e... |
<commit_before>#include "tui.h"
#include <assert.h>
#include <climits>
void Tui::add(std::shared_ptr<AComponent> const& c)
{
if(std::dynamic_pointer_cast<Menu>(c)) {
m_menus.push_back(c);
return;
}
m_built.assign("");
assert(m_current < m_ctrls.size());
m_ctrls[m_current].push_back(... |
<commit_before>#include <string>
#include <iostream>
#define BOOST_TEST_DYN_LINK
#define BOOST_TEST_MODULE Model
#include <boost/test/included/unit_test.hpp>
#include "../inc/model.hpp"
using namespace Model;
const quat<float> R0{0}, R1{1},
i{0,1}, j{0,0,1}, k{0,0,0,1};
const dual<float> E0{R0}, E1{R0, 1},
E... |
<commit_before>#include <iostream>
#include <string>
#include <cstdlib>
#include <fstream>
#include <vector>
#include <cmath>
#include <sstream>
#include <stdio.h>
#include <unistd.h>
#include <cstring>
#include <sys/wait.h>
#include <algorithm>
using namespace std;
Base::~Base()
{
}<commit_msg>forgot to include heade... |
<commit_before>//
// Created by JULIA BALAJAN on 3/12/2016.
//
#include <random>
#include <iostream>
#include <algorithm>
#include "Game.h"
uint8_t Game::get_next_block() {
static std::mt19937 generator(std::random_device{}());
std::uniform_int_distribution<int> distribution(0,cCoord::max_coordinates);
int... |
<commit_before>//Lab 6
//modified from http://learnopengl.com/
#include <ctime>
#include "stdafx.h"
#include "..\glew\glew.h" // include GL Extension Wrangler
#include "..\glfw\glfw3.h" // include GLFW helper library
#include <stdio.h>
#include <iostream>
#include <string>
#include <stdlib.h>
#include <stdi... |
<commit_before>#include <QGLWidget>
#include "Mesh.h"
#include "Matrix44.h"
#include "Common.h"
Mesh::Mesh() : triangleColouring(MESH_COLOUR_SAME), geomType(MESH_GEOM_TRIANGLES),
surfaceTexture(NULL), useSurfaceNormals(false)
{
}
Mesh::~Mesh()
{
}
const VertexList& Mesh::vertices() const
{
return verts;
}
void Me... |
<commit_before>#include "Arduino.h"
#include "Ndef.h"
//void Adafruit_NFCShield_I2C::PrintHex(const byte * data, const uint32_t numBytes)
void PrintHex(const byte * data, const uint32_t numBytes)
{
uint32_t szPos;
for (szPos=0; szPos < numBytes; szPos++)
{
Serial.print("0x");
// Append leading 0 for sma... |
<commit_before>#include <string.h>
#include <fstream>
#include <iostream>
#include <string>
#include <complex>
#include <math.h>
#include <set>
#include <vector>
#include <map>
#include <queue>
#include <stdio.h>
#include <stack>
#include <algorithm>
#include <list>
#include <ctime>
#include <memory.h>
#include <ctim... |
<commit_before>#include <nan.h>
#include "addon.h"
#include "dvbtee-parser.h"
void libVersion(const Nan::FunctionCallbackInfo<v8::Value>& info) {
v8::Local<v8::Array> version = Nan::New<v8::Array>();
version->Set(0, Nan::New<v8::Number>(LIBDVBTEE_VERSION_A) );
version->Set(1, Nan::New<v8::Number>(LIBDVBTEE_VE... |
<commit_before>#include <cassert>
#include <iostream>
#include <fstream>
#include <map>
#include <unordered_map>
#include <unordered_set>
#include <tuple>
#include <stack>
#include <vector>
#include <string>
#include <algorithm>
#include <functional>
// uncomment to enable debugging:
//#define CDEBUG 1
//#define EDEBU... |
<commit_before>#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "schedule.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
marks_select();
schedule_show();
QString name_day[] = {"понедельник", "вторник", "среда", "четверг"... |
<commit_before>/*++
Module Name:
ComputeROC.cpp
Abstract:
Take a SAM file with simulated reads and compute a ROC curve from it.
Authors:
Bill Bolosky, December, 2012
Environment:
`
User mode service.
Revision History:
--*/
#include "stdafx.h"
#include "SAM.h"
#include "Genome.h"
#include "... |
<commit_before>
#undef NDEBUG
#include "ospray/common/OspCommon.h"
#include "apps/common/xml/xml.h"
#include "model.h"
#include "common/sys/filename.h"
namespace ospray {
namespace particle {
bool big_endian = false;
/*! a dump-file we can use for debugging; we'll simply dump each
parsed particle ... |
<commit_before>#ifndef MJOLNIR_IMPLICIT_MEMBRANE_POTENTIAL
#define MJOLNIR_IMPLICIT_MEMBRANE_POTENTIAL
#include <cmath>
namespace mjolnir
{
/* Implicit membrane potential & derivative *
* potential field dependent on z coordinate. *
* tanh is used to represent membrane potential. *
* V(z) =... |
<commit_before>#include "ExampleAndroidHandler.h"
#include <AndroidLog.h>
#include <GooglePlayServices.h>
#include <GoogleGames.h>
#include <AppState.h>
#include <time.h>
#include "ExampleStateListener.h"
class SignInListener : public Android::ISignInListener
{
private:
ExampleStateListener m_StateListener;
public:
... |
<commit_before>////////////////////////////////////////////////////////////////////////////////
/// @brief arango benchmark tool
///
/// @file
///
/// DISCLAIMER
///
/// Copyright 2004-2013 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this f... |
<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 "base/stringprintf.h"
#include "chrome/browser/extensions/extension_apitest.h"
#include "chrome/browser/extensions/extension_w... |
<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/importer/firefox_importer_unittest_utils.h"
#include "base/bind.h"
#include "base/base_switches.h"
#include "... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: FDatabaseMetaDataResultSetMetaData.hxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: rt $ $Date: 2007-07-06 06:48:34 $
*
* The Conte... |
<commit_before>/*
* #%L
* %%
* Copyright (C) 2017 BMW Car IT GmbH
* %%
* 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>/*=================================================================================================
Copyright (c) 2016 Joel de Guzman
Licensed under a Creative Commons Attribution-ShareAlike 4.0 International.
http://creativecommons.org/licenses/by-sa/4.0/
======================================... |
<commit_before>// This source code is intended for use in the teaching course "Vision-Based Navigation" in summer term 2015 at Technical University Munich only.
// Copyright 2015 Vladyslav Usenko, Joerg Stueckler, Technical University Munich
#ifndef UAV_CONTROLLER_H_
#define UAV_CONTROLLER_H_
#include <ros/ros.... |
<commit_before>// This file is a part of Simdee, see homepage at http://github.com/tufak/simdee
// This file is distributed under the MIT license.
#ifndef SIMDEE_UTIL_MALLOC_HPP
#define SIMDEE_UTIL_MALLOC_HPP
#include <type_traits>
#include <exception>
#include <cstdlib>
#include <cstdint>
#include "noexcept.hpp"
na... |
<commit_before>#ifndef VSMC_UTILITY_DISPATCH_HPP
#define VSMC_UTILITY_DISPATCH_HPP
#include <vsmc/internal/common.hpp>
#include <dispatch/dispatch.h>
namespace vsmc {
/// \brief Types of DispatchQueue
/// \ingroup Dispatch
enum DispatchQueueType {
Main, ///< The queue obtained through `dispatch_get_main_queue... |
<commit_before>#pragma once
#include <gcl/io/policy.hpp>
#include <gcl/functional.hpp>
#include <gcl/cx/typeinfo.hpp>
// #include <gcl/mp/function_traits.hpp>
#include <unordered_map>
#include <functional>
// todo : serializable concept
// todo : add aggregate speciali rule
namespace gcl::io::serialization
{
te... |
<commit_before>#ifndef IMAGE_CLOUD_COMMON_PIPELINE_POINTCLOUD_H_
#define IMAGE_CLOUD_COMMON_PIPELINE_POINTCLOUD_H_
#include <image_cloud/common/filter/pcl/common.hpp>
#include <image_cloud/common/filter/pcl/filter_depth_intensity.hpp>
#include <image_cloud/common/filter/pcl/segmentation.hpp>
#include <image_cloud/comm... |
<commit_before>#include "bloomierFilter.h"
BloomierFilter::BloomierFilter(size_t pM, size_t pK, size_t pQ){
// mHashSeed = pHashSeed;
mM = pM;;
mK = pK;
mQ = pQ;
// mKeyDict = pKeyDict;
mBitVectorSize = ceil(pQ / static_cast<float>(CHAR_BIT));
mBloomierHash = new BloomierHash(pM, pK, mBitVectorSize);
mOrderAnd... |
<commit_before>#include "thruster_tortuga.h"
ThrusterTortugaNode::ThrusterTortugaNode(int argc, char **argv, int rate): TortugaNode(){
ros::Rate loop_rate(rate);
subscriber = n.subscribe("/qubo/thruster_input", 1000, &ThrusterTortugaNode::thrusterCallBack, this);
ROS_DEBUG("Opening sensorboard");
se... |
<commit_before>/* Copyright 2007-2015 QReal Research Group
*
* 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 ap... |
<commit_before>/*******************************************************************************
* c7a/data/data_manager.hpp
*
******************************************************************************/
#ifndef C7A_DATA_DATA_MANAGER_HEADER
#define C7A_DATA_DATA_MANAGER_HEADER
#include <map>
#include "block_iter... |
<commit_before>#include <array>
#include "gtest/gtest.h"
#include "gmock/gmock.h"
#include "OsMock.hpp"
#include "mission/sail.hpp"
#include "mock/HasStateMock.hpp"
#include "mock/comm.hpp"
#include "obc/telecommands/sail.hpp"
#include "os/os.hpp"
using telecommunication::downlink::DownlinkAPID;
using testing::Element... |
<commit_before>/* -*- Mode: C++; indent-tabs-mode:nil; c-basic-offset:4; -*- */
/*
* gtkmm-utils - tile.cc
*
* Copyright (C) 2007 Marko Anastasov
*
* 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 S... |
<commit_before>#include "traceloader.h"
#include "apitrace.h"
#include <QDebug>
#include <QFile>
#include <QStack>
#define FRAMES_TO_CACHE 100
static ApiTraceCall *
apiCallFromTraceCall(const trace::Call *call,
const QHash<QString, QUrl> &helpHash,
ApiTraceFrame *frame,
... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: continuousactivitybase.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2005-09-07 20:35:20 $
*
* The Contents of this ... |
<commit_before>#include "usbutil.h"
#include "buffers.h"
// TODO move this up to cantranslator.pde
USB_HANDLE USB_INPUT_HANDLE = 0;
void sendMessage(CanUsbDevice* usbDevice, uint8_t* message, int messageSize) {
#ifdef DEBUG
Serial.print("sending message: ");
Serial.println((char*)message);
#endif
// Make... |
<commit_before>#include "sixtracklib/cuda/wrappers/track_job_wrappers.h"
#include <cstddef>
#include <cstdint>
#include <cstdlib>
#include <iostream>
#include <string>
#include <gtest/gtest.h>
#include <cuda_runtime_api.h>
#include "sixtracklib/testlib.h"
#include "sixtracklib/common/definitions.h"
#include "sixtrac... |
<commit_before>// __BEGIN_LICENSE__
// Copyright (C) 2006-2010 United States Government as represented by
// the Administrator of the National Aeronautics and Space Administration.
// All Rights Reserved.
// __END_LICENSE__
#include <memory>
#include <gtest/gtest.h>
#include <vw/Core/Cache.h>
#include <vw/Core/Funda... |
<commit_before>#include "event_base.h"
#include "logging.h"
#include "util.h"
#include <map>
#include <string.h>
#include <fcntl.h>
#include "poller.h"
#include "conn.h"
using namespace std;
namespace handy {
namespace {
struct TimerRepeatable {
int64_t at; //current timer timeout timestamp
int64_t interval;... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Copyright (C) 2012 Richard Moore <rich@kde.org>
** Copyright (C) 2012 David Faure <david.faure@kdab.com>
** Contact: http://www.qt-project.org/legal
**
** This ... |
<commit_before>/*
kleo/enum.cpp
This file is part of libkleopatra, the KDE keymanagement library
Copyright (c) 2004 Klarlvdalens Datakonsult AB
Libkleopatra 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 Sof... |
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a ... |
<commit_before>/*
* The Apache Software License, Version 1.1
*
* Copyright (c) 1999-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistr... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: KResultSetMetaData.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: obo $ $Date: 2005-12-19 16:51:00 $
*
* The Contents of this fil... |
<commit_before>AliAnalysisTaskSEDvsMultiplicity *AddTaskDvsMultiplicity(Int_t system=0,
Bool_t readMC=kFALSE,
Int_t MCOption=0,
Int_t pdgMeson=411,
TString finDirname="Loose",
TString filename="",
TString finAnObjname="AnalysisCuts",
TString estimatorFilename="",... |
<commit_before>#define DEBUG 1
/**
* File : D2.cpp
* Author : Kazune Takahashi
* Created : 11/13/2019, 7:24:07 PM
* Powered by Visual Studio Code
*/
#include <iostream>
#include <iomanip>
#include <algorithm>
#include <vector>
#include <string>
#include <complex>
#include <tuple>
#include <queue>
#include <sta... |
<commit_before>#include "stdafx.h"
#include <exdisp.h>
#include <comdef.h>
#include "ControlEx.h"
class C360SafeFrameWnd : public CWindowWnd, public INotifyUI
{
public:
C360SafeFrameWnd() { };
LPCTSTR GetWindowClassName() const { return _T("UIMainFrame"); };
UINT GetClassStyle() const { return CS_DBLCLKS;... |
<commit_before>#ifndef STAN_MATH_PRIM_FUN_GRAD_PFQ_HPP
#define STAN_MATH_PRIM_FUN_GRAD_PFQ_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/log.hpp>
#include <stan/math/prim/fun/log_ri... |
<commit_before>// @(#)root/hist:$Name: $:$Id: TLimit.cxx,v 1.2 2002/09/06 20:24:18 brun Exp $
// Author: Christophe.Delaere@cern.ch 21/08/2002
///////////////////////////////////////////////////////////////////////////
//
// TLimit
//
// Class to compute 95% CL limits
//
///////////////////////////////////////////... |
<commit_before>/*
* Copyright (C) 2012 Google 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 source code must retain the above copyright
* notice, this l... |
<commit_before>/**
* @file
* @author 2012 Stefan Radomski (stefan.radomski@cs.tu-darmstadt.de)
* @copyright Simplified BSD
*
* @cond
* This program is free software: you can redistribute it and/or modify
* it under the terms of the FreeBSD license as published by the FreeBSD
* project.
*
* This p... |
<commit_before>// This code is based on Sabberstone project.
// Copyright (c) 2017-2019 SabberStone Team, darkfriend77 & rnilva
// RosettaStone is hearthstone simulator using C++ with reinforcement learning.
// Copyright (c) 2019 Chris Ohk, Youngjoong Kim, SeungHyun Jeon
#include <Rosetta/Games/Game.hpp>
#include <Ros... |
<commit_before>// Copyright (c) 2020 The Orbit 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 "GraphTrack.h"
#include "GlCanvas.h"
GraphTrack::GraphTrack(TimeGraph* time_graph, std::string name)
: Track(time_graph), n... |
<commit_before>#ifndef DUNE_STUFF_DISCRETEFUNCTION_PROJECTION_HETEROGENOUS_HH
#define DUNE_STUFF_DISCRETEFUNCTION_PROJECTION_HETEROGENOUS_HH
#ifdef HAVE_CMAKE_CONFIG
#include "cmake_config.h"
#else
#include "config.h"
#endif // ifdef HAVE_CMAKE_CONFIG
#include <vector>
#if HAVE_DUNE_GEOMETRY
#include <dune/geometr... |
<commit_before>/*************************************************************************
*
* $RCSfile: datalistener.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: vg $ $Date: 2005-03-23 11:50:42 $
*
* The Contents of this file are made available subject to the terms of
* either of the following l... |
<commit_before>/*
* Copyright (c) 2020 Project CHIP 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/L... |
<commit_before>/*
* 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 version.
*
* Written (W) 2011 Heiko Strathmann
* Copyrig... |
<commit_before>//
// Copyright (c) 2018-2020, University of Edinburgh, University of Oxford
// 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 ... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: swuipardlg.hxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: rt $ $Date: 2005-09-09 10:06:05 $
*
* The Contents of this file are mad... |
<commit_before>/*************************************************************************
*
* $RCSfile: shdwcrsr.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: vg $ $Date: 2003-04-17 15:56:43 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before>// Copyright (c) 2013, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
//
// Copyrig... |
<commit_before>/*Copyright 2010 George Karagoulis
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 agreed... |
<commit_before>/*
* A Remote Debugger for SpiderMonkey Java Script engine.
* Copyright (C) 2014-2015 Sławomir Wojtasiak
*
* 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
* v... |
<commit_before>/* Copyright (c) 2010 - 2021 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"), to deal
in the Software without restriction, including without limitation the rights
to use, co... |
<commit_before>#include <boost/preprocessor.hpp>
#include <boost/test/unit_test.hpp>
#include <boost/preprocessor/seq/for_each.hpp>
#include <boost/preprocessor/tuple/elem.hpp>
#include <boost/preprocessor/tuple/to_seq.hpp>
#include <boost/preprocessor/control/if.hpp>
#include <boost/preprocessor/repetition/repeat_from... |
<commit_before>#include <map>
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <stdlib.h>
#include <unistd.h>
#include "boxer.h"
#include "stage.h"
#ifdef __ANDROID__
#include "jni.h"
#include <android/log.h>
#else
#include <pulse/simple.h>
#endif
extern int32_t _BOXER_FILES_SIZE;
extern char* _BO... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.