text stringlengths 54 60.6k |
|---|
<commit_before>/**
* TLS Hello Messages
* (C) 2004-2010 Jack Lloyd
*
* Released under the terms of the Botan license
*/
#include <botan/tls_messages.h>
#include <botan/internal/tls_reader.h>
namespace Botan {
/**
* Encode and send a Handshake message
*/
void HandshakeMessage::send(Record_Writer& writer, HandshakeHas... |
<commit_before>#include "Trashbin_Auton.h"
#include "DriveXFeet.h"
#include "StrafeXFeet.h"
Trashbin_Auton::Trashbin_Auton()
{
//time outs & flip
AddSequential(new DriveXFeet(-2.15833));
AddSequential(new WinchOut());
AddSequential(new StrafeXFeet(1));
AddSequential(new WinchIn());
AddSequential(new StrafeXFe... |
<commit_before>#include "LuaVm.hpp"
#include "compsys/BasicMetaComponent.hpp"
#include "FileSystem.hpp"
#include <array>
#include <luabind/lua_include.hpp>
extern "C" {
#include <lualib.h>
}
#include "LuaUtils.hpp"
#include "Logfile.hpp"
#include "jdConfig.hpp"
namespace {
int pcallf(lua_State* L)
{
luaL_traceba... |
<commit_before>/******************************************************************************
* Copyright (c) 2011, Michael P. Gerlek (mpg@flaxen.com)
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following
* conditions a... |
<commit_before>#include "WrapCalls.h"
#include "IRVisitor.h"
#include <set>
namespace Halide{
namespace Internal {
using std::map;
using std::pair;
using std::set;
using std::string;
using std::vector;
typedef map<Function, Function, FunctionCompare> SubstitutionMap;
namespace {
// Return true if 'func' exists as... |
<commit_before>/* banker_service_runner.cc -*- C++ -*-
Jeremy Barnes, 20 November 2012
Copyright (c) 2012 Datacratic. All rights reserved.
Runner for the banker service.
*/
#include <boost/program_options/cmdline.hpp>
#include <boost/program_options/options_descriptio... |
<commit_before>/* vi:set ts=8 sts=8 sw=8:
*
* Practical Music Search
* Copyright (c) 2006-2011 Kim Tore Jensen
*
* 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 L... |
<commit_before>/*
* Copyright 2015 Cloudius Systems
*/
/*
* This file is part of Scylla.
*
* Scylla is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at you... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: expfld.hxx,v $
*
* $Revision: 1.8 $
*
* last change: $Author: hr $ $Date: 2006-08-14 15:21:38 $
*
* The Contents of this file are made av... |
<commit_before>/*************************************************************************
*
* $RCSfile: ScriptInfoImpl.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: dsherwin $ $Date: 2002-10-18 13:24:23 $
*
* The Contents of this file are made available subject to the terms of
* either of the fol... |
<commit_before>#include <iostream>
#include <sstream>
#include <memory>
#include <vector>
#include <map>
#include <random>
#include <string.h>
#include <assert.h>
#include <sscene/Scene.h>
#include <common/Math.h>
#include <common/DriverFramework.h>
class Heightmap : public Scene::Heightmap {
public:
Heightmap(s... |
<commit_before>#ifndef array_view_hh_INCLUDED
#define array_view_hh_INCLUDED
#include <vector>
#include <initializer_list>
#include <iterator>
namespace Kakoune
{
// An ArrayView provides a typed, non owning view of a memory
// range with an interface similar to std::vector.
template<typename T>
class ArrayView
{
pu... |
<commit_before>/**
* Created by Jian Chen
* @since 2016.05.06
* @author Jian Chen <admin@chensoft.com>
* @link http://chensoft.com
*/
#include <chen/base/utf8.hpp>
using namespace chen;
// -----------------------------------------------------------------------------
// utf8
std::size_t utf8::count(const std::... |
<commit_before>#include <cstdio>
#include <cstdint>
#include <cassert>
#include <cstring>
#include <string>
#include <vector>
#include "all_procedures.cpp"
// ------------------------------------------------------------------------
#include <utils/ansi.cpp>
#include "benchmark.h"
#include "application_base.cpp"
cla... |
<commit_before>#include "test.h"
#include "lcg.h"
#include <cassert>
template <class T>
void boxmuller(T* data, size_t count) {
assert(count % 2 == 0);
static const T twopi = T(2.0 * 3.14159265358979323846);
LCG r;
for (size_t i = 0; i < count; i += 2) {
T u1 = r();
T u2 = r();
T r = std::sqrt(-2 * std::log... |
<commit_before>
#include "commands/commands.h"
#include "Workspace.h"
#include "version.h"
#include <busyUtils/busyUtils.h>
#include <commonOptions/commonOptions.h>
#include <cstdio>
#include <sys/sysinfo.h>
#define TERM_RESET "\033[0m"
namespace {
auto cmdBuild = commonOptions::make_comma... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: chips/p9/procedures/hwp/memory/p9_mss_draminit_mc.C $ ... |
<commit_before>/*
MIT License
Copyright (c) 2019 ZhuQian
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, copy, modify, merge, ... |
<commit_before>/*
Copyright 2015 Adam Grandquist
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 to in wr... |
<commit_before>#include "esmreader.hpp"
//----------------------------------------------------------
EsmReader::EsmReader()
: is_loaded(false),
unique_status(false),
friendly_status(false)
{
}
//----------------------------------------------------------
EsmReader::EsmReader(const std::string &path)
... |
<commit_before>#include "filemodel.h"
#include <QDateTime>
#include <QDebug>
#include <QImageReader>
#include <QStandardPaths>
#include <QTimer>
#include <QDebug>
Filemodel::Filemodel(QObject *parent) :
QAbstractListModel(parent)
{
_roles[NameRole] = "name";
_roles[BaseRole] = "base";
_roles[PathR... |
<commit_before>// Test that chained origins are fork-safe.
// Run a number of threads that create new chained origins, then fork
// and verify that origin reads do not deadlock in the child process.
// RUN: %clangxx_msan -std=c++11 -fsanitize-memory-track-origins=2 -g -O3 %s -o %t
// RUN: MSAN_OPTIONS=store_context_si... |
<commit_before>// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008 Gael Guennebaud <g.gael@free.fr>
// Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com>
//
// Eigen is free software; you can redistribute it and/or
// modify it under the terms o... |
<commit_before>//=======================================================================
// Copyright (c) 2014-2016 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//===================================================... |
<commit_before>// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2012 Desire Nuentsa Wakam <desire.nuentsa_wakam@inria.fr>
// Copyright (C) 2014 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// This Source Code Form is subject to the terms of the Mozilla
// Pub... |
<commit_before>#include "zcm/transport.h"
#include "zcm/transport_registrar.h"
#include "zcm/transport_register.hpp"
#include "zcm/util/debug.h"
#include "util/TimeUtil.hpp"
#include <algorithm>
#include <cstring>
#include <deque>
#define ZCM_TRANS_CLASSNAME TransportNonblockInproc
#define MTU (1<<28)
using namespa... |
<commit_before>// Jubatus: Online machine learning framework for distributed environment
// Copyright (C) 2012 Preferred Networks and Nippon Telegraph and Telephone Corporation.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License v... |
<commit_before>/*
Copyright (c) 2007 Tobias Koenig <tokoe@kde.org>
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your
option) any... |
<commit_before><commit_msg>Use same code path for iOS as for OS X here, too<commit_after><|endoftext|> |
<commit_before>
#include "JDKSAvdeccWorld.h"
#include "JDKSAvdeccWizNetIO.h"
#ifdef __AVR__
#include "utility/w5100.h"
#include "utility/socket.h"
namespace JDKSAvdecc {
WizNetIO::~WizNetIO() {
close(0);
}
void WizNetIO::Initialize() {
W5100.init();
W5100.setMACAddress(m_mac_address.value);
//W510... |
<commit_before>/*=====================================================================
QGroundControl Open Source Ground Control Station
(c) 2009 - 2014 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
This file is part of the QGROUNDCONTROL project
QGROUNDCONTROL is free software: you can redistribut... |
<commit_before>/**
* @file Cosa/Tone.cpp
* @version 1.0
*
* @section License
* Copyright (C) 2014, Mikael Patel (C++ refactoring and extensions)
*
* 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 Soft... |
<commit_before>// numeric_limits.cpp: show the numeric limits of the compiler environment
//
// Copyright (C) 2017-2018 Stillwater Supercomputing, Inc.
//
// This file is part of the universal numbers project, which is released under an MIT Open Source license.
#include "common.hpp"
#include <posit>
// receive a floa... |
<commit_before>// License: Apache 2.0. See LICENSE file in root directory.
// Copyright(c) 2016 Intel Corporation. All Rights Reserved.
#include "rs_stream_impl.h"
#include "include/linear_algebra.h"
namespace rs
{
namespace playback
{
void rs_stream_impl::create_extrinsics(const std::map<rs_stream,st... |
<commit_before>//////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2012, John Haddon. All rights reserved.
// Copyright (c) 2012-2013, Image Engine Design Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, ar... |
<commit_before>/*
* spinbox2.cpp - spin box with extra pair of spin buttons
* Program: kalarm
* (C) 2001 by David Jarvie software@astrojar.org.uk
*
* 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 So... |
<commit_before>#include "writer.hpp"
#include <Eigen/Core>
#include <algorithm>
#include <cmath>
#include <functional>
#include <iostream>
#include <stdexcept>
#include <utility>
#include <tuple>
//----------------GodunovBegin----------------
/// @param[in] N the number of grid points, NOT INCLUDING BOUNDARY POINTS
//... |
<commit_before>#include <functional>
#include <future>
#include "kernel.h"
#include "raster.h"
#include "symboltable.h"
#include "ilwisoperation.h"
#include "numericoperation.h"
#include "binarymathraster.h"
using namespace Ilwis;
using namespace BaseOperations;
OperationImplementation *BinaryMathRaster::create(quin... |
<commit_before>// Time: ctor: O(n),
// update: O(h),
// query: O(h)
// Space: O(h), used by DFS
class NumArray {
public:
class SegmentTreeNode {
public:
int start, end;
int sum;
SegmentTreeNode *left, *right;
SegmentTreeNode(int i, int j, int s) :
sta... |
<commit_before>/*************************************************************************************
* Copyright (C) 2012 by Alejandro Fiestas Olivares <afiestas@kde.org> *
* *
* This program is free software; you can r... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: tk_xml.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2005-09-07 18:57:56 $
*
* The Contents of this file are made av... |
<commit_before>#include "game.hpp"
bool Game::uciHandler(std::string str) {
std::vector<std::string> cmd = getStringArray(str);
if(cmd[0] == "isready") {
std::cout << "readyok" << std::endl;
} else if(cmd[0] == "position") {
gameHash.clear();
gameHash.resize(0);
hash_decrement = 0;
if(cmd... |
<commit_before>// $Id: fe_hermite_shape_1D.C,v 1.4 2005-09-02 18:48:55 roystgnr Exp $
// The libMesh Finite Element Library.
// Copyright (C) 2002-2005 Benjamin S. Kirk, John W. Peterson
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
/... |
<commit_before>/*************************************************************************
*
* $RCSfile: macros.hxx,v $
*
* $Revision: 1.17 $
*
* last change: $Author: obo $ $Date: 2004-06-04 03:18:31 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before>#include "oglWidget.h"
#include <iostream>
//
// CONSTRUCTORS ////////////////////////////////////////////////////////////////
//
/**
* @brief Default constructor for OGLWidget.
*/
OGLWidget::OGLWidget()
{
// Update the widget after a frameswap
connect( this, SIGNAL( frameSwapped() ),
... |
<commit_before>#include <iostream>
#include <cassert>
#include "app/scenes/PlayScene.hpp"
#include "app/scenes/IntroScene.hpp"
#include "app/core/Game.hpp"
#include "app/Config.hpp"
#include "app/objects/Player.hpp"
#include "app/objects/PlayerOnline.hpp"
#include "../Common/Config.hpp"
namespace app { namespace sce... |
<commit_before>#pragma once
#include <sstream>
#include <cp/type_traits.hpp>
namespace cp { namespace diagnostics { namespace detail {
template <class T>
inline std::string to_string(const T& value);
template <class T, type_kind K = type_kind_of<T>>
struct to_string_impl : to_string_impl<T, general_type_kind_v<K>> ... |
<commit_before>/******************************************************************************
* Copyright (c) 2011, Michael P. Gerlek (mpg@flaxen.com)
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following
* conditions a... |
<commit_before>AliAnalysisTask *AddTaskHFEemcQA(Bool_t UseTender=kTRUE, Bool_t FillElecSparse=kFALSE, Bool_t ispPb=kFALSE, Int_t thEG1ADC=140, Int_t thEG2ADC=89, Bool_t ClsTypeEMC=kTRUE, Bool_t ClsTypeDCAL=kTRUE){
//get the current analysis manager
AliAnalysisManager *mgr = AliAnalysisManager::GetAnalysisManage... |
<commit_before>/*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2015 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (... |
<commit_before>#include <protobuf/LogFrame.pb.h>
#include <Geometry2d/Line.hpp>
#include <Geometry2d/Polygon.hpp>
#include <LogUtils.hpp>
#include <Robot.hpp>
#include <RobotConfig.hpp>
#include <SystemState.hpp>
#include "planning/Path.hpp"
using namespace Packet;
using namespace std;
using namespace Planning;
using ... |
<commit_before>/* -*- mode: c++; c-basic-offset:4 -*-
crypto/gui/resultlistwidget.cpp
This file is part of Kleopatra, the KDE keymanager
Copyright (c) 2008 Klarälvdalens Datakonsult AB
Kleopatra is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public Li... |
<commit_before>/*
author: Ionut-Cristian Arsene
email: i.c.arsene@cern.ch
Macro to process the TRD QA output for a given run and obtain:
1. Detailed QA plots
2. QA trending values
3. Trending values for calibration extracted from OCDB
4. Other OCDB parameters (e.g. beam intensity)
*/
AliCDBEntry* GetCDBentry... |
<commit_before>//
// Stepper.hpp
// Clock Signal
//
// Created by Thomas Harte on 12/01/2016.
// Copyright © 2016 Thomas Harte. All rights reserved.
//
#ifndef Stepper_hpp
#define Stepper_hpp
#include <stdint.h>
namespace SignalProcessing {
class Stepper
{
public:
Stepper()
{
Stepper(1, 1);
}
Stepp... |
<commit_before>/*=============================================================================
* parser for CSP instances represented in XCSP3 Format
*
* Copyright (c) 2015 xcsp.org (contact <at> xcsp.org)
* Copyright (c) 2008 Olivier ROUSSEL (olivier.roussel <at> cril.univ-artois.fr)
*
* Permission is hereby gra... |
<commit_before>/*
avdeviceconfig.cpp - Kopete Video Device Configuration Panel
Copyright (c) 2005-2006 by Cláudio da Silveira Pinheiro <taupter@gmail.com>
Copyright (c) 2010 by Frank Schaefer <fschaefer.oss@googlemail.com>
Kopete (c) 2002-2003 by the Kopete developers ... |
<commit_before>/*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015
Vladimír Vondruš <mosra@centrum.cz>
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>// This file is part of the dune-stuff project:
// https://github.com/wwu-numerik/dune-stuff
// Copyright holders: Rene Milk, Felix Schindler
// License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
#ifndef DUNE_STUFF_FUNCTIONS_VISUALIZATION_HH
#define DUNE_STUFF_FUNCTIONS_VISUAL... |
<commit_before>#include <3DGeo/angle.hh>
Angle::Angle()
{
_val = 0;
}
Angle::Angle(double rad)
{
_val = convert(rad);
simplify();
}
double Angle::GetRad() const
{
return (unConvert(_val));
}
double Angle::GetDeg() const
{
return (RadToDeg(GetRad()));
}
double Angle::Cos() const
{
return (co... |
<commit_before>// $Id: system.C,v 1.7 2000/03/03 08:04:36 oliver Exp $
#include <BALL/KERNEL/system.h>
#include <BALL/KERNEL/global.h>
#include <BALL/KERNEL/molecule.h>
#include <BALL/KERNEL/fragment.h>
#include <BALL/KERNEL/protein.h>
using namespace std;
namespace BALL
{
System::System()
: BaseFragment()
{
... |
<commit_before>// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/usb_mount_observer.h"
#include "chrome/browser/browser.h"
#include "chrome/browser/browser_window.h"... |
<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 <vector>
#include "chrome/browser/browser.h"
#include "chrome/browser/history/history.h"
#include "chrome/browser/prefs/pref_... |
<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/prerender/prerender_manager.h"
#include "base/logging.h"
#include "base/metrics/histogram.h"
#include "base/t... |
<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><commit_msg>Infobar anti-spoof arrow at wrong coord for RTL<commit_after><|endoftext|> |
<commit_before>// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/renderer/renderer_webidbcursor_impl.h"
#include "chrome/common/indexed_db_key.h"
#include "chrome/common/render_messa... |
<commit_before>#include <iostream>
#include <iomanip> // << fixed << setprecision(xxx)
#include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ;
#include <vector>
#include <string> // to_string(nnn) // substr(m, n) // stoi(nnn)
#include <complex>
#include <tuple> // get<n>(xxx)
#include <queue>
#include <st... |
<commit_before>/**
* File : E.cpp
* Author : Kazune Takahashi
* Created : 2018-3-17 22:01:10
* Powered by Visual Studio Code
*/
#include <iostream>
#include <iomanip> // << fixed << setprecision(xxx)
#include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ;
#include <vector>
#include <string> //... |
<commit_before>/**
* File : C.cpp
* Author : Kazune Takahashi
* Created : 2018-4-15 21:25:15
* Powered by Visual Studio Code
*/
#include <iostream>
#include <iomanip> // << fixed << setprecision(xxx)
#include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ;
#include <vector>
#include <string> //... |
<commit_before>/**
* File : E.cpp
* Author : Kazune Takahashi
* Created : 2018-5-16 21:22:53
* Powered by Visual Studio Code
*/
#include <iostream>
#include <iomanip> // << fixed << setprecision(xxx)
#include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ;
#include <vector>
#include <string> //... |
<commit_before>#define DEBUG 1
/**
* File : D.cpp
* Author : Kazune Takahashi
* Created : 2/24/2019, 9:21:23 PM
* Powered by Visual Studio Code
*/
#include <iostream>
#include <iomanip> // << fixed << setprecision(xxx)
#include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ;
#include <vector>
... |
<commit_before>#define DEBUG 1
/**
* File : D.cpp
* Author : Kazune Takahashi
* Created : 3/9/2019, 9:11:28 PM
* Powered by Visual Studio Code
*/
#include <iostream>
#include <iomanip> // << fixed << setprecision(xxx)
#include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ;
#include <vector>
#... |
<commit_before>#define DEBUG 1
/**
* File : D.cpp
* Author : Kazune Takahashi
* Created : 6/22/2019, 9:15:47 PM
* Powered by Visual Studio Code
*/
#include <iostream>
#include <iomanip>
#include <algorithm>
#include <vector>
#include <string>
#include <complex>
#include <tuple>
#include <queue>
#include <stack... |
<commit_before>#define DEBUG 1
/**
* File : E.cpp
* Author : Kazune Takahashi
* Created : 5/20/2020, 11:04:10 PM
* Powered by Visual Studio Code
*/
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cctype>
#include <chrono>
#include <cmath>
#include <complex>
#include <cstdint>
#include <cstd... |
<commit_before>#define DEBUG 1
/**
* File : D.cpp
* Author : Kazune Takahashi
* Created : 2019/9/21 21:33:29
* Powered by Visual Studio Code
*/
#include <iostream>
#include <iomanip>
#include <algorithm>
#include <vector>
#include <string>
#include <complex>
#include <tuple>
#include <queue>
#include <stack>
#... |
<commit_before>#include "Mesh.h"
#include "GraphicsController.h"
#include "File.h"
#include "Vector2.h"
#include "Vector3.h"
#include "AdapterController.h"
#include <sstream>
#include <vector>
#define POSITION_ATTRIBUTE 0
#define UV_ATTRIBUTE 8
#define NORMAL_ATTRIBUTE 2
//using namespace std;
using namespace Grapho... |
<commit_before>#define DEBUG 1
/**
* File : F.cpp
* Author : Kazune Takahashi
* Created : 2020/1/19 21:18:43
* Powered by Visual Studio Code
*/
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cctype>
#include <chrono>
#include <cmath>
#include <complex>
#include <cstdint>
#include <cstdio>
... |
<commit_before>//
// TZX.cpp
// Clock Signal
//
// Created by Thomas Harte on 16/07/2017.
// Copyright © 2017 Thomas Harte. All rights reserved.
//
#include "TZX.hpp"
using namespace Storage::Tape;
namespace {
const unsigned int StandardTZXClock = 3500000;
const unsigned int TZXClockMSMultiplier = 3500;
}
TZX::... |
<commit_before>#define DEBUG 1
/**
* File : E.cpp
* Author : Kazune Takahashi
* Created : 2020/2/2 16:15:30
* Powered by Visual Studio Code
*/
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cctype>
#include <chrono>
#include <cmath>
#include <complex>
#include <cstdint>
#include <cstdio>
#... |
<commit_before>#define DEBUG 1
/**
* File : F.cpp
* Author : Kazune Takahashi
* Created : 2020/6/27 20:59:09
* Powered by Visual Studio Code
*/
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cctype>
#include <chrono>
#include <climits>
#include <cmath>
#include <complex>
#include <cstdint>... |
<commit_before><commit_msg>ChromaKeyer: fix masks handling<commit_after><|endoftext|> |
<commit_before>/* Copyright 2008, 2009 (C) Nicira, Inc.
*
* This file is part of NOX.
*
* NOX 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 l... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: TestGeoView.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
Thi... |
<commit_before>#include "derivations.hh"
#include "globals.hh"
#include "shared.hh"
#include "store-api.hh"
#include <sys/utsname.h>
#include <algorithm>
#include <iostream>
#include <fstream>
#include <sys/mman.h>
#include <fcntl.h>
#include <mach-o/loader.h>
#include <mach-o/swap.h>
#define DO_SWAP(x, y) ((x) ? OSSw... |
<commit_before>// pyarea.cpp
// Copyright 2017, Lorenz Lechner
// This program is released under the BSD license. See the file COPYING for details.
#include "Area.h"
#include "Point.h"
#include "AreaDxf.h"
#include "kurve/geometry.h"
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <pybind11/operator... |
<commit_before>//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//------------------------------------------... |
<commit_before>/***********************************************************************************************************************
**
** Copyright (c) 2011, 2015 ETH Zurich
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without modification, are permitted provided tha... |
<commit_before>/**\file
*
* \copyright
* Copyright (c) 2015, ef.gy Project Members
* \copyright
* 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 l... |
<commit_before>//===-- AMDGPUTargetMachine.cpp - TargetMachine for hw codegen targets-----===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>#define _WINSOCKAPI_
#include <windows.h>
#include "qpop_app.h"
#include "qpop_frame.h"
#include <stdio.h>
#include <string>
#include <settings_class.h>
#include <iostream>
#include <qpop_server.h>
#include <gdiplus.h>
#include <img_processing.h>
#include <screen_capturer.h>
#include <a... |
<commit_before>/// @file AesopObjects.cpp
/// @brief Implementation of Objectss class as defined in AesopObjects.h
#include "AesopObjects.h"
namespace ae {
/// @class Objects
///
/// A set of named objects that exist in a particular problem.
Objects::Objects(const Types &types)
: mTypes(... |
<commit_before>#include "trace.h"
#include <thread>
#include <atomic>
#include <chrono>
#include <trace_proto/header.h>
#include <trace_proto/decoder.h>
#define NOMINMAX 1
#include <asio.hpp>
#include <sysfn/time_query.h>
#define DBG_CLIENT 1
#if !defined DBG_CLIENT
#define DBG_OUT(fmt, ...) ((void)0)
#else
void dbg_o... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: vtkX3DExporterXMLWriter.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen, Kristian Sons
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright... |
<commit_before>/*=========================================================================
Program: Advanced Normalization Tools
Copyright (c) ConsortiumOfANTS. All rights reserved.
See accompanying COPYING.txt or
https://github.com/stnava/ANTs/blob/master/ANTSCopyright.txt for details.
This software i... |
<commit_before>/*
Copyright (C) 2008-2016 The Communi Project
You may use this file under the terms of BSD license as follows:
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 mus... |
<commit_before>//
// Name: app.cpp
// Purpose: The application class the CManager application.
//
// Copyright (c) 2001-2003 Virtual Terrain Project
// Free for all uses, see license.txt for details.
//
#ifdef __GNUG__
#pragma implementation
#pragma interface
#endif
// For compilers that support precompilation, ... |
<commit_before>//=====================================================================//
/*! @file
@brief RX65N LCDサンプル
@author 平松邦仁 (hira@rvf-rc45.net)
@copyright Copyright (C) 2018 Kunihito Hiramatsu @n
Released under the MIT license @n
https://github.com/hirakuni45/RX/blob/master/LICENSE
*/
//=====... |
<commit_before>// 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 to in writing, software
... |
<commit_before>// Do not remove the include below
#include "RemoteControlReciver.h"
#include "StandardCplusplus.h"
#include <RemoteControl.h>
#include <VirtualWire.h>
#include <vector>
const int led_pin = 13;
const int transmit_pin = 12;
const int receive_pin = 10;
const int transmit_en_pin = 3;
void setup() {
Seria... |
<commit_before>/* kmail message dictionary */
/* Author: Ronen Tzur <rtzur@shani.net> */
#include "kmfolderindex.h"
#include "kmfoldermgr.h"
#include "kmmsgdict.h"
#include "kmdict.h"
#include <qfileinfo.h>
#include <kdebug.h>
#include <stdio.h>
#include <unistd.h>
#include <errno.h>
#include <config.h>
#if HAVE... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.