text stringlengths 54 60.6k |
|---|
<commit_before>#include <algorithm>
#include <iostream>
#include "../shared/util.h"
#include "../../include/ctf.hpp"
tCTF_ScheduleBase* global_schedule;
template<typename dtype>
void tCTF_Schedule<dtype>::record() {
global_schedule = this;
}
template<typename dtype>
inline void tCTF_Schedule<dtype>::s... |
<commit_before><commit_msg>Add version to window title if version.txt exists<commit_after><|endoftext|> |
<commit_before><commit_msg>Updated version number and date.<commit_after><|endoftext|> |
<commit_before><commit_msg>NEW removed MPI C++ binding and replaced them by C<commit_after><|endoftext|> |
<commit_before><commit_msg>Remove a redundant test.<commit_after><|endoftext|> |
<commit_before>// LAF Base Library
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "base/rw_lock.h"
// Uncomment this line in case that you want TRACE() lock/unl... |
<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 "base/string16.h"
#if defined(WCHAR_T_IS_UTF16)
#error This file should not be used on 2-byte wchar_t systems
// If this win... |
<commit_before>#ifndef LAYER_HPP_
#define LAYER_HPP_
#include "tensor.cu"
#include <vector>
// TODO: discuss and finalize interfaces: forward() & backward()
template <class Dtype>
class Layer {
public:
virtual void Forward(Tensor<Dtype>* bottom, Tensor<Dtype>* top) = 0;
// virtual std::vector<Tensor<Dtype>* > Fo... |
<commit_before>/*
########## Copyright (C) 2015 Vincenzo Pacella
## ## Distributed under MIT license, see file LICENSE
## ## or <http://opensource.org/licenses/MIT>
## ##
########## ############################################################# shaduzlabs.com ... |
<commit_before>#include <cmath>
#include "mbed.h"
#include "motor.h"
#include "encoder.h"
#include "irsensor.h"
Serial serial(PA_9, PA_10);
Motor left_motor(PB_6, PA_7, 3);
Motor right_motor(PC_7, PB_10);
Encoder left_encoder(PA_1, PC_4, Encoder::X2, 1.72);
Encoder right_encoder(PA_15, PB_3, Encoder::X0)... |
<commit_before>//----------------------------------------------------------------------------
// $Id$
// Version: $Name$
//
// Copyright (C) 2000, 2001, 2002, 2003 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please ref... |
<commit_before>#include <algorithm>
#include <ostream>
#include <iostream>
#include "mjolnir/edgeinfobuilder.h"
namespace valhalla {
namespace mjolnir {
// Constructor
EdgeInfoBuilder::EdgeInfoBuilder() {
}
// Set the reference node (start) of the edge.
void EdgeInfoBuilder::set_nodea(const baldr::GraphId& nodea) {... |
<commit_before>#ifndef VXL_ROTATION_HPP
# define VXL_ROTATION_HPP
# pragma once
#include "cross.hpp"
#include "quat.hpp"
#include "sinf.hpp"
namespace vxl
{
enum struct ea
{
XYZ,
XZY,
YXZ,
YZX,
ZXY,
ZYX
};
namespace detail
{
template <typename T>
constexpr inline auto rot_x(std::pair<vxl::vector<T, 3... |
<commit_before><commit_msg>bfd_section_vma is not macro<commit_after><|endoftext|> |
<commit_before><commit_msg>Work in progress<commit_after><|endoftext|> |
<commit_before><commit_msg>Refactorings<commit_after><|endoftext|> |
<commit_before><commit_msg>java: constant pool tags<commit_after><|endoftext|> |
<commit_before><commit_msg>update r697<commit_after><|endoftext|> |
<commit_before>//---------------------------------------------------------------------------//
/*!
* \file tstMeshContainer.cpp
* \author Stuart R. Slattery
* \brief MeshContainer unit tests.
*/
//---------------------------------------------------------------------------//
#include <iostream>
#include <vector>
#i... |
<commit_before>//
// GameplayScene.cpp
// MasmorraDados
//
// Created by Marlon Andrade on 16/02/2015.
//
//
#include "GameplayScene.h"
#include "BackgroundLayer.h"
#include "CharacterDiceSprite.h"
#include "RoomPlacement.h"
USING_NS_CC;
#pragma mark - Public Interface
bool GameplayScene::init() {
if (!Scene:... |
<commit_before>/*
* MinimumSpanningTrees.cpp - Main entry point for the program
*
* Built for EECS2510 - Nonlinear Data Structures
* at The University of Toledo, Spring 2016
*
* Copyright (c) 2016 Nathan Lowe
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software a... |
<commit_before>/*
* Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ob... |
<commit_before>
#include <rtabmap/utilite/ULogger.h>
#include <rtabmap/utilite/UFile.h>
#include <rtabmap/core/CameraThread.h>
#include <rtabmap/core/CameraRGBD.h>
#include <rtabmap/core/Camera.h>
#include <rtabmap/core/CameraThread.h>
#include <rtabmap/gui/DataRecorder.h>
#include <QtGui/QApplication>
#includ... |
<commit_before>#include <algorithm>
#include <fstream>
#include <iostream>
#include <iterator>
#include <set>
#include <string>
#include <sstream>
#include <cmath>
#include "filtrations/Data.hh"
#include "geometry/RipsExpander.hh"
#include "persistentHomology/ConnectedComponents.hh"
#include "topology/CliqueGraph.... |
<commit_before>#include <iostream>
#include <string>
#include <unistd.h>
#include <vector>
#include <atomic>
#include <signal.h>
#include <getopt.h>
#include "zcm/zcm-cpp.hpp"
using namespace std;
static atomic_int done {0};
static void sighandler(int signal)
{
done++;
if (done == 3) exit(1);
}
struct Arg... |
<commit_before>#include "Common.hpp"
#include "MsgDisplay.hpp"
#include "TypeDb.hpp"
#include "MsgInfo.hpp"
#include "Debug.hpp"
#define SELECT_TIMEOUT 20000
#define ESCAPE_KEY 0x1B
#define DEL_KEY 0x7f
static volatile bool quit = false;
enum class DisplayMode {
Overview, Decode,
};
struct SpyInfo
{
SpyInfo... |
<commit_before>/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
... |
<commit_before>/*
* Accounts model item, represents an account in the contactlist tree
* This file is based on TelepathyQt4Yell Models
*
* Copyright (C) 2010 Collabora Ltd. <http://www.collabora.co.uk/>
* Copyright (C) 2011 Martin Klapetek <martin dot klapetek at gmail dot com>
*
* This library is free software;... |
<commit_before>/*************************************************************************/
/* area_bullet.cpp */
/*************************************************************************/
/* This file is part of: */
/... |
<commit_before>#include <iostream>
#include <fstream>
#include <string>
using namespace std;
int main() {
string line;
ifstream myFile("Animals.txt");
if(myFile.is_open()) {
while(getline(myFile, line)) {
cout << line << "\n";
}
myFile.close();
}
else
cout << "Unable to open file.";
return 0;
}
<comm... |
<commit_before>//
// Created by iskakoff on 19/07/16.
//
#include <iostream>
#include <edlib/EDParams.h>
#include "edlib/Hamiltonian.h"
#include "edlib/SzSymmetry.h"
#include "edlib/SOCRSStorage.h"
#include "edlib/CRSStorage.h"
#include "edlib/HubbardModel.h"
#include "edlib/GreensFunction.h"
#include "edlib/ChiLoc.h"... |
<commit_before>#include <iostream.h>
#include <iomanip.h>
#include <SharedMem/MemPool.h>
#include <SharedMem/SharedType.h>
#include <Input/vjPosition/vjFlock.h>
#include <Input/ibox/ibox.h>
#include <Input/vjGlove/vjCyberGlove.h>
int main()
{
MemPool* anSgiPool = new MemPoolSGI(1024*1024);
C2Flock* flock = new(... |
<commit_before>// XYFunctionInterface.cpp
// Authors: Peter Loan
/*
* Copyright (c) 2009, Stanford University. All rights reserved.
* Use of the OpenSim software in source form is permitted provided that the following
* conditions are met:
* 1. The software is used only for non-commercial research and educati... |
<commit_before>/*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
... |
<commit_before>/**
* @author Mike Bogochow
* @version 2.4.0, Dec 8, 2015
*
* @file Auctioneer.cpp
*
* Auctioneer class implementation
*/
#include "Auctioneer.h"
#include "../lib_auction/AuctionDefs.h"
#include "../lib_auction/DebugPrinter.h"
#include "MBUtils.h"
#include <boost/algorithm/string/predicate.hpp>... |
<commit_before><commit_msg>In KMFolderTree::contentsMouseReleaseEvent make sure all code paths call the base class method KFolderTree::contentsMouseReleaseEvent.<commit_after><|endoftext|> |
<commit_before>#include <benchmark/benchmark.h>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wshadow"
#pragma GCC diagnostic ignored "-Wdouble-promotion"
#include <flat_hash_map.hpp>
#pragma GCC diagnostic pop
#include <random>
#include <sparsehash/dense_hash_map>
#include <unordered_map>
#include <util... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: urlkeys.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: vg $ $Date: 2007-04-11 20:20:56 $
*
* The Contents of this file are made a... |
<commit_before><commit_msg>Add files via upload<commit_after><|endoftext|> |
<commit_before><commit_msg>Minor bug fix<commit_after><|endoftext|> |
<commit_before>#include <windows.h>
#include <math.h>
#include <string>
#include <vector>
#include <sstream>
#include "../math/math.h"
#include <objidl.h>
#include <gdiplus.h>
#pragma comment( lib, "gdiplus.lib" )
using namespace std;
using namespace Gdiplus;
// Gdiplus
GdiplusStartupInput g_gdiplusStartupInput;
... |
<commit_before>#include "plant_generator.h"
#include <algorithm>
#include <chrono>
#include <functional>
#include <iostream>
#include <numeric>
#include <random>
#include <type_traits>
#include <asdf_multiplat/main/asdf_defs.h>
#include "from_json.h"
namespace plantgen
{
//std::vector<std::string> roll_multi_va... |
<commit_before>//
// WMSLayer.cpp
// G3MiOSSDK
//
// Created by José Miguel S N on 18/07/12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#include "WMSLayer.hpp"
#include "Tile.hpp"
#include "Petition.hpp"
#include "IStringBuilder.hpp"
#include "LayerTilesRenderParameters.hpp"
#include "Mercat... |
<commit_before>// Copyright (c) 2017, CNRS
// Authors: Florent Lamiraux
//
// This file is part of hpp-pinocchio.
// hpp-pinocchio 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 o... |
<commit_before>#include "ioutils.h"
#include "stringutils.h"
#include <iostream>
#include <math/infnan.h>
#include <fstream>
#include <limits>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
#include <stdio.h>
//if c is preceded by a \, returns the translated ascii character
int TranslateEscape(int c)
{
s... |
<commit_before>/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2013 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to ... |
<commit_before>#pragma once
/**
* \file sal/span.hpp
*
* Temporary partial std::span implementation until it is provided by
* clang++, g++ and MSVC.
*/
#include <sal/config.hpp>
#include <iterator>
#include <type_traits>
__sal_begin
template <typename T>
class span_t
{
public:
using element_type = T;
us... |
<commit_before>/*
* Copyright (c) 2013, Red Hat.
* Copyright (c) 2007-2009, Aconex. All Rights Reserved.
*
* 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... |
<commit_before>/**************************************************************************/
/**
** ChildRInterface.cpp: This is the C++ source file for ChildRInterface, which
** provides a generalized, OpenMI-style interface to the release
** version of the CHILD
** landscape evolution model.
**
** For infor... |
<commit_before>/**
* @file mega/posix/drivenotifyposix.cpp
* @brief Mega SDK various utilities and helper classes
*
* (c) 2013-2020 by Mega Limited, Auckland, New Zealand
*
* This file is part of the MEGA SDK - Client Access Engine.
*
* Applications using the MEGA API must present a valid application key
* and... |
<commit_before>#ifdef HAVE_CONFIG_H
#include "sys_config.h"
#endif
#include "arch/MGSystem.h"
#include "simreadline.h"
#include "commands.h"
#include "sim/config.h"
#ifdef ENABLE_MONITOR
# include "sim/monitor.h"
#endif
#include <sstream>
#include <iostream>
#include <limits>
#ifdef USE_SDL
#include <SDL.h>
#endif
... |
<commit_before>#include <sstream>
#include <iostream>
#include <vector>
#include <cassert>
#include <cmath>
#include <tr1/memory>
#include <boost/program_options.hpp>
#include <boost/program_options/variables_map.hpp>
#include "hg_sampler.h"
#include "sentence_metadata.h"
#include "scorer.h"
#include "verbose.h"
#inc... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: gsiconv.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: rt $ $Date: 2005-09-09 15:00:09 $
*
* The Contents of this file are made a... |
<commit_before>/**
* projectM -- Milkdrop-esque visualisation SDK
* Copyright (C)2003-2004 projectM Team
*
* 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 t... |
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-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"
#end... |
<commit_before>#include "../base/SRC_FIRST.hpp"
#include "renderer.hpp"
#include "utils.hpp"
#include "framebuffer.hpp"
#include "renderbuffer.hpp"
#include "resource_manager.hpp"
#include "internal/opengl.hpp"
#include "../base/logging.hpp"
namespace yg
{
namespace gl
{
const yg::Color Renderer::s_bgColor(192... |
<commit_before>/*-------------Lanczos.cpp----------------------------------------------------//
*
* Purpose: To diagonalize a random matrix using the Lanczos algorithm
*
* Notes: Compile with (for Arch systems):
* g++ -I /usr/include/eigen3/ Lanczos.cpp
* 0's along the prime diagonal. I don't kn... |
<commit_before>//===- SILLowerAggregateInstrs.cpp - Aggregate insts to Scalar insts -----===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http... |
<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 "askpassphrasedialog.h"
#include "ui_askpassphrasedialog.h"
#include "guiconstants.h"
#include "walle... |
<commit_before>#include <stdio.h>
#include <time.h>
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/msg.h>
#include <errno.h>
#include <string.h>
#include "stdsneezy.h"
#include "connect.h"
#define WIZ_KEY_FILE "/mud/prod/lib/IPC_Wiznet"
#define MAIN_PORT 7900
#define BUILD_PORT 8900
#define WIZNET_FORMAT "%... |
<commit_before>/*
// Copyright (c) 2018 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... |
<commit_before>/* Copyright (C) LinBox
*
* Author: Zhendong Wan
*
*
* ========LICENCE========
* This file is part of the library LinBox.
*
* LinBox 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 Found... |
<commit_before>/*
* yosys -- Yosys Open SYnthesis Suite
*
* Copyright (C) 2012 Clifford Wolf <[email protected]>
* Copyright (C) 2019 The Symbiflow Authors
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the abo... |
<commit_before>/*******************************************************************************
Module: FGGain.cpp
Author:
Date started:
------------- Copyright (C) 2000 -------------
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Publi... |
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one ... |
<commit_before>
#include <stdlib.h> /* srand, rand */
#include <iostream>
#include <fstream>
#include <string>
#include <algorithm>
#include <unsupported/Eigen/SparseExtra>
#ifdef _OPENMP
#include <omp.h>
#else
#include <tbb/tbb.h>
#endif
#include "bpmf.h"
using namespace std;
using namespace Eigen;
const int... |
<commit_before>#include <algorithm>
#include "./types.h"
#include "utils/logger.h"
namespace {
bool IsTypeInvalid(rpc::Enum<rpc::policy_table_interface_base::RequestType> request) { return !request.is_valid(); }
}
namespace rpc {
namespace policy_table_interface_base {
CREATE_LOGGERPTR_GLOBAL(logger_, "PolicyTableVa... |
<commit_before>#include <iostream>
#include <vector>
#include <list>
#include <chrono>
#include <sstream>
#include <string.h>
#ifndef _WIN32
#include <unistd.h>
#include <sys/select.h>
#include <sys/wait.h>
#endif
#include "plugin.h"
#include "term_network.h"
#include "term_data_handler.h"
#include "term_context.h"
... |
<commit_before>//------------------------------------------------------------------------------
// CLING - the C++ LLVM-based InterpreterG :)
// author: Vassil Vassilev <[email protected]>
//
// This file is dual-licensed: you can choose to license it under the University
// of Illinois Open Source Licens... |
<commit_before>#ifndef COMPRESS__H__
#define COMPRESS__H__
#include "iterbase.hpp"
#include <utility>
#include <initializer_list>
namespace iter {
//Forward declarations of Compressed and compress
template <typename Container, typename Selector>
class Compressed;
template <typename Container, typen... |
<commit_before>/*=========================================================================
Library: CTK
Copyright (c) Kitware 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
... |
<commit_before>#include "MT_XDFDialogs.h"
enum
{
ID_X_CHOICE = wxID_HIGHEST + 1,
ID_Y_CHOICE,
ID_TIMESTEP
};
MT_LoadXDFDialog::MT_LoadXDFDialog(wxWindow* parent,
MT_ExperimentDataFile* pXDF)
: wxDialog(parent,
wxID_ANY,
wxT("XDF Settings... |
<commit_before>/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Co... |
<commit_before>// Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
#include "sfidl-generator.hh"
#include "sfidl-options.hh"
#include "sfidl-parser.hh"
using namespace Sfidl;
int main (int argc, char **argv)
{
Options options;
Parser parser;
if (!options.parse (&argc, &argv, parser))
... |
<commit_before>// MapView.cpp : Դϴ.
//
#include "stdafx.h"
#include "MapTool.h"
#include "MapView.h"
#include "../../etc/Utility.h"
#include "MainPanel.h"
CMapView *g_mapView = NULL;
vector<graphic::cCube*> g_cubes;
using namespace graphic;
const int WINSIZE_X = 1024; //ʱ ũ
const int WINSIZE_Y = 768; //ʱ ũ
... |
<commit_before>#include <array>
using box = std::array<int, 4>;
auto prelude = x3::lit('[') ;
auto box = x3::lit('[') > x3::int_ > ',' x3::int_ > ',' x3::int_ > ',' x3::int_ > ']';
auto innerboxlist = *(box > ',') > box;
auto fullboxlist = x3::lit("array") > '(' > '[' > boxlist > ']' > ',' > "dtype" > '=' > "int64" >... |
<commit_before>#pragma once
#include <iostream>
#include <sstream>
#include <map>
#include <set>
#include <vector>
#include <algorithm>
#include <functional>
#include <iterator>
// forward for polyfill::make_ostream_joiner
template <typename Stream, typename V1, typename V2> Stream& operator << (Stream& out, const st... |
<commit_before>#ifndef __CCCALLCC_HPP__
#define __CCCALLCC_HPP__
#include <functional>
#include <memory>
#include <unistd.h>
#ifdef __GNUC__
#define NORETURN __attribute__((noreturn))
#else
#define NORETURN
#endif
template <typename T>
class cont {
public:
typedef std::function<T (cont<T>)> call_cc_arg;
sta... |
<commit_before>/*
* Copyright 2014 Open Connectome Project (http://openconnecto.me)
* Written by Da Zheng ([email protected])
*
* This file is part of FlashMatrix.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... |
<commit_before>/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2013 Torus Knot Software Ltd
Permission is hereby granted, free of charge,... |
<commit_before>#include "Camera.h"
#include <GL\freeglut.h>
#include <iostream>
float Camera::fov = 45.0f;
float Camera::aspect = 1.0f;
float hAngle = 3.14f;
float vAngle = 0.0f;
float speed = 3.0f;
float mouseSpeed = 0.05f;
glm::vec3 position = glm::vec3(4, 3, 3);
glm::vec3 direction, right, up;
float deltaTime = ... |
<commit_before>//
// sim_tools.cpp
//
// Program to read and process contents of a SIM file
//
// $Id: sim.cpp 1354 2010-11-11 16:20:09Z js10 $
//
//
// Author: Jennifer Liddle <[email protected], [email protected]>, Iain Bancarz <[email protected]>
//
// Copyright (c) 2009 - 2013 Genome Research Ltd. All rights ... |
<commit_before>//=============================================================================
// ■ VMtest.cxx
//-----------------------------------------------------------------------------
// 虚拟机测试程序。
// 扩展名用了.cxx,意思是“×不要自动编译”。
//=============================================================================
#incl... |
<commit_before>#include "ApacheProcess.h"
#include "ApacheRequest.h"
namespace mod_node {
static apr_queue_t *queue;
static ev_async req_watcher;
static Persistent<Object> Process;
static Persistent<Function> ProcessFunc;
static Persistent<String> onrequest_sym;
static process_rec *process... |
<commit_before>/*
* opencog/atoms/base/Atom.cc
*
* Copyright (C) 2002-2007 Novamente LLC
* All Rights Reserved
*
* Written by Thiago Maia <[email protected]>
* Andre Senna <[email protected]>
* Welter Silva <[email protected]>
*
* This program is free software; you can redistribu... |
<commit_before>#include "pch.h"
#include "GameMenuLayer.h"
#include "ResourceManager.h"
#include "ButtonLayer.h"
GameMenuLayer::GameMenuLayer()
{
}
GameMenuLayer::~GameMenuLayer()
{
}
bool GameMenuLayer::init()
{
if (!Layer::init())
{
return false;
}
auto winSize = cocos2d::Director::getInstance()->getWinSi... |
<commit_before>/* The MIT License (MIT)
*
* Copyright (c) 2016 Ștefan-Gabriel Mirea, Adrian Dobrică
*
* 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 with... |
<commit_before>// Copyright (C) 2015 Elviss Strazdins
// This file is part of the Ouzel engine.
#include "Engine.h"
#include "CompileConfig.h"
#ifdef OUZEL_PLATFORM_OSX
#include "RendererOGL.h"
#endif
#ifdef OUZEL_PLATFORM_WINDOWS
#include "RendererD3D11.h"
#endif
#include "Utils.h"
#include "Renderer.h"
#include "... |
<commit_before>//
// CRTMachine.hpp
// Clock Signal
//
// Created by Thomas Harte on 31/05/2016.
// Copyright 2016 Thomas Harte. All rights reserved.
//
#ifndef CRTMachine_hpp
#define CRTMachine_hpp
#include "../Outputs/ScanTarget.hpp"
#include "../Outputs/Speaker/Speaker.hpp"
#include "../ClockReceiver/ClockRece... |
<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/external_cookie_handler.h"
#include <set>
#include <vector>
#include "base/basictypes.h"
#include "... |
<commit_before>// Copyright 2015 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/command_line.h"
#include "base/files/file_path.h"
#include "base/path_service.h"
#include "chrome/browser/media/webrtc_brows... |
<commit_before>//
// riscv-format.cc
//
#include <map>
#include <vector>
#include <string>
#include "riscv-opcodes.h"
#include "riscv-types.h"
#include "riscv-imm.h"
#include "riscv-regs.h"
#include "riscv-decode.h"
#include "riscv-regs.h"
#include "riscv-csr.h"
#include "riscv-processor.h"
#include "riscv-compressi... |
<commit_before>//
// riscv-format.cc
//
#include <map>
#include <vector>
#include <string>
#include "riscv-opcodes.h"
#include "riscv-types.h"
#include "riscv-imm.h"
#include "riscv-decode.h"
#include "riscv-regs.h"
#include "riscv-csr.h"
#include "riscv-processor.h"
#include "riscv-compression.h"
#include "riscv-ut... |
<commit_before>/*
* ModSecurity, http://www.modsecurity.org/
* Copyright (c) 2015 Trustwave Holdings, Inc. (http://www.trustwave.com/)
*
* 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
*
* If any of... |
<commit_before>#include "sift.hpp"
#include "internal.hpp"
#include <opencv2/imgproc/imgproc.hpp>
#include <vector>
#include <utility>
#include <iterator>
#include <algorithm>
namespace sift {
void buildGaussianPyramid(Mat& image, vector<vector<Mat>>& pyr, int nOctaves) {
Mat image_ds = image.clone();
pyr.r... |
<commit_before>/*
* Copyright (C) 2015 deipi.com LLC and contributors. All rights reserved.
*
* 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 limit... |
<commit_before>//-----------------------------------
// Copyright Pierric Gimmig 2013-2017
//-----------------------------------
#include <iostream>
#include <fstream>
#include "LinuxUtils.h"
#include "Utils.h"
#include "PrintVar.h"
#include "Capture.h"
#include "Callstack.h"
#include "SamplingProfiler.h"
#include "E... |
<commit_before>
#include "PN532_HSU.h"
#include "PN532_debug.h"
PN532_HSU::PN532_HSU(HardwareSerial &serial)
{
_serial = &serial;
command = 0;
}
void PN532_HSU::begin()
{
_serial->begin(115200);
}
void PN532_HSU::wakeup()
{
_serial->write(0x55);
_serial->write(0x55);
_serial->write(0);
_... |
<commit_before>/*
* SSL/TLS configuration.
*
* author: Max Kellermann <[email protected]>
*/
#include "ssl_factory.hxx"
#include "ssl_config.hxx"
#include "ssl_domain.hxx"
#include "util/Error.hxx"
#include <inline/compiler.h>
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <assert.h>
struct ssl_cert_key... |
<commit_before>/*
Project: TUC
File: syntax_tree.cpp
Author: Leonardo Banderali
Created: September 6, 2015
Last Modified: November 4, 2015
Description:
TUC is a simple, experimental compiler designed for learning and experimenting.
It is not intended to have any useful purpose other than being a way to learn
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.