text stringlengths 54 60.6k |
|---|
<commit_before><commit_msg>Fixed timer duplication issue<commit_after><|endoftext|> |
<commit_before>#include "memory_manager_base.h"
#include "pr_l1_pr_l2_dram_directory_msi/memory_manager.h"
#include "pr_l1_pr_l2_dram_directory_mosi/memory_manager.h"
#include "log.h"
MemoryManagerBase*
MemoryManagerBase::createMMU(std::string protocol_type,
Core* core, Network* network, ShmemPerfModel* shmem_p... |
<commit_before>#include <cassert>
#include <ctime>
#include <iostream>
#include <list>
#include <sstream>
#include <string>
#include <typeinfo>
#include "../../include/domains/racetrack/RacetrackProblem.h"
#include "../../include/domains/racetrack/RTrackDetHeuristic.h"
#include "../../include/domains/DummyState.h"
#i... |
<commit_before>#include <iostream>
#include <vector>
std::vector<int> generate_range(int lowerbound, int upperbound) {
int length = upperbound - lowerbound;
std::vector<int> range;
for(int i = lowerbound + 1; i <= upperbound; i++) {
range << i;
}
return range;
}
void apply_sieve(std::vector<int> range, std::ve... |
<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 "ui/views/controls/menu/menu_config.h"
#include "build/build_config.h"
namespace views {
static MenuConfig* config_instance... |
<commit_before>// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "frtconfigresponsev3.h"
#include "compressioninfo.h"
#include <vespa/fnet/frt/frt.h>
#include <vespa/log/log.h>
LOG_SETUP(".config.frt.frtconfigresponsev3");
using namespace v... |
<commit_before>//===- OperationSupportTest.cpp - Operation support unit tests ------------===//
//
// Copyright 2019 The MLIR Authors.
//
// 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 "stdafx.h"
#include "Main.h"
#include "Config.h"
#include "PacketType.h"
#include "Exception.h"
#include "ClientSession.h"
#include "ClientManager.h"
#include "DatabaseJobManager.h"
#include "DbHelper.h"
#include "GameMap.h"
#include "PlayerManager.h"
#include "GameManager.h"
#include "Bullet... |
<commit_before>/*
<one line to give the library's name and an idea of what it does.>
Copyright (C) 2012 Dan Vratil <dvratil@redhat.com>
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... |
<commit_before>/*************************************************************************
* *
* Open Dynamics Engine, Copyright (C) 2001,2002 Russell L. Smith. *
* All rights reserved. Email: russ@q12.org Web: www.q12.org *
* ... |
<commit_before>/******************************************************************************
** Copyright (c) 2014-2015, Intel Corporation **
** All rights reserved. **
** ... |
<commit_before>/*
Copyright (c) 2012-2014, 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 ... |
<commit_before>#include <cmath>
#include <cstdarg>
#include <assert.h>
#include "opencv2/opencv.hpp"
using namespace cv;
#include "structures.hpp"
#include "util.hpp"
void showImage(const char* title, const Mat& img)
{
std::cout << "\nShowing image: \"" << title << "\"." << std::endl;
namedWindow(title, CV_WINDOW_... |
<commit_before><commit_msg>attempt blind fix of Macos compile error<commit_after><|endoftext|> |
<commit_before>/*
* Copyright (C) 2009 Toni Gundogdu.
*
* This file is part of cclive.
*
* cclive 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) an... |
<commit_before>/*************************************************************************
*
* $RCSfile: xcl97dum.cxx,v $
*
* $Revision: 1.15 $
*
* last change: $Author: vg $ $Date: 2005-02-21 13:49:34 $
*
* The Contents of this file are made available subject to the terms of
* either of the following lice... |
<commit_before>/******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2014 Crytek
*
* 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><commit_msg>dr78: #i43040# correction for BesselI, patch from Regina<commit_after><|endoftext|> |
<commit_before>// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008-2009 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// Eigen is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as publis... |
<commit_before>// Author: Daniel.Lohner@cern.ch
#include "AliTRDNDFast.h"
#include "TCanvas.h"
extern Double_t langaufunc(Double_t *x, Double_t *par) {
// needs protection, parameter [3]>0!!!!!
// needs protection, parameter [4]>0!!!!!
//Fit parameters:
//par[0]=Width (scale) parameter of Landau den... |
<commit_before><commit_msg>Small fix.<commit_after><|endoftext|> |
<commit_before>/**
* v8cgi - (fast)cgi binary
*/
#include <v8.h>
#include <v8-debug.h>
#include <stdlib.h>
#include <string.h>
#include "app.h"
#include "macros.h"
#include "path.h"
#ifdef FASTCGI
# include <fcgi_stdio.h>
# include <signal.h>
#endif
/**
* Format for command line arguments
*
* as you can see i... |
<commit_before>// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab
/*
* Ceph - scalable distributed file system
*
* Copyright (C) 2004-2006 Sage Weil <sage@newdream.net>
*
* This is free software; you can redistribute it and/or
* modify it under the terms of the GNU ... |
<commit_before>/*
* Copyright (c) 2014, Oculus VR, 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 directo... |
<commit_before>/***
* Copyright (c) 2013, Dan Hasting
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, ... |
<commit_before>/*
ESP Wlan configurator
*/
#include <ESP8266WebServer.h>
#include <ESP8266WiFi.h>
#include <EEPROM.h>
#include <string>
#include <time.h>
#define EE_SIZE 512 // Size of eeprom
#define EE_SSID_SIZE 32 // Max SSID size
#define EE_PWD_SIZE 32 // Max password size
#define EE_HOST_SIZE 32 // Max... |
<commit_before>#undef QT_NO_ASCII_CAST
// kmacctlocal.cpp
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <qdatetime.h>
#include <qfileinfo.h>
#include "kmacctlocal.h"
#include "kmfolder.h"
#include "kmmessage.h"
#include "kmacctfolder.h"
#include "kmglobal.h"
#include "kmbroadcaststatus.h"
#include <kapp.h... |
<commit_before><commit_msg>Create 1072 - Interval 2.cpp<commit_after><|endoftext|> |
<commit_before><commit_msg>default value for tau_beta vector now has 2 elements for consistency<commit_after><|endoftext|> |
<commit_before>//
// Name: canvas.cpp
// Purpose: Implements the canvas class for the wxWindows application.
//
// Copyright (c) 2001 Virtual Terrain Project
// Free for all uses, see license.txt for details.
//
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#ifndef WX_PRECOMP... |
<commit_before>//
// Helper.cpp - various helper functions used by the classes
//
// Copyright (c) 2001-2004 Virtual Terrain Project
// Free for all uses, see license.txt for details.
//
#include "wx/wxprec.h"
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
#include "wx/progdlg.h"
#include "Frame.h"
#include "BuilderVi... |
<commit_before>//
// VegDlg.h
//
// Copyright (c) 2001 Virtual Terrain Project
// Free for all uses, see license.txt for details.
//
#include <wx/wxprec.h>
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
#include "VegDlg.h"
#include "Frame.h"
////////////////////////////////////////////////////////////////
BEGIN_EVEN... |
<commit_before><commit_msg>avoid possible problems with zero values in tone mapping algorithms (http://code.opencv.org/issues/4020)<commit_after><|endoftext|> |
<commit_before>/*
* Software License Agreement (BSD License)
*
* Copyright (c) 2010, Willow Garage, 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... |
<commit_before>// Time: O(nlogn)
// Space: O(n)
class Solution {
public:
bool containsNearbyAlmostDuplicate(vector<int>& nums, int k, int t) {
deque<int64_t> window_deq;
multiset<int64_t> window;
for (int i = 0; i < nums.size(); ++i) {
// Only keep at most k elements.
... |
<commit_before>// Copyright © 2011, Université catholique de Louvain
// 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 not... |
<commit_before>#include <iostream>
using namespace std;
int iterative_power_function(int m, int n){
if(m < 0 || n < 0){
cout << "Input not valid" << endl;
return -1;
}else{
int product = 1;
for(int x=0; x<n; x++){
product *= m;
}
return product;
}
}
int iterative_factorial_function(int n){
if( n<=... |
<commit_before>/*****************************************************************************
* x266.cpp: WC Encoder Functions
*****************************************************************************
* Copyright (C) 2015-2020 x266 project
*
* Authors: Min Chen <chenm003@163.com>
*
* This program is free sof... |
<commit_before>#include "pstream.hh"
#include <string.h>
static void
streamnum (print_stream *s, unsigned long long num,
bool neg = false, unsigned base = 10, int width = 0, char pad = 0,
bool alt = false)
{
char buf[68], *x = buf + sizeof(buf);
if (num == 0)
*--x = '0';
else {
fo... |
<commit_before>#include "swrd.hpp"
#include "../parser/swrdParser.hpp"
#include <fstream>
#include "flex.hpp"
namespace wrd {
WRD_DEF_ME(sinterpreter)
tstr<sobj> me::interp(const wchar* script) {
YY_BUFFER_STATE buffer = yy_scan_string(script);
tstr<sobj> ret = _runParser();
yy_delete... |
<commit_before>/*
* Copyright (C) 2006, 2007 Apple 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: ToolBarManager.hxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: rt $ $Date: 2008-03-12 11:42:56 $
*
* The Contents of this file are... |
<commit_before>/****************************************************************************
This file is part of the GLC-lib library.
Copyright (C) 2005-2008 Laurent Ribon (laumaya@users.sourceforge.net)
Version 1.0.0, packaged on August, 2008.
http://glc-lib.sourceforge.net
GLC-lib is free software; you can r... |
<commit_before><commit_msg>fdo#46926: fix UNO struct comparison in Python 2<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: TestMenu.cxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: obo $ $Date: 2006-09-16 19:15:19 $
*
* The Contents of this file are made... |
<commit_before>#include <iostream>
#include <bits/stdc++.h>
using namespace std;
int main() {
char s;
cin>>s;
if((s>'a' && s<'z') || (s>'A' && s<'Z')) cout<<"Alphabet";
else cout<<"Not an alphabet";
return 0;
}
<commit_msg>rm unnecessary header<commit_after>#include <iostream>
using namespace std;
int main() {
... |
<commit_before>/// \file urbi/ustarter.hh
// This file is part of UObject Component Architecture
// Copyright (c) 2007, 2008 Gostai S.A.S.
//
// Permission to use, copy, modify, and redistribute this software for
// non-commercial use is hereby granted.
//
// This software is provided "as is" without warranty of any k... |
<commit_before>#include <string>
#include "gtest/gtest.h"
#include "StatechartEntryAndExitActions.h"
#include "sc_runner.h"
#include "sc_types.h"
namespace {
void entryActionsAreExecutedOnEnteringStatechartOnlyIfGuardIsTrue();
void exitActionsAreExecutedOnEnteringStatechartOnlyIfGuardIsTrue();
statechartactions::Sta... |
<commit_before>//===- Version.cpp - Clang Version Number -----------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before><commit_msg>Format<commit_after><|endoftext|> |
<commit_before><commit_msg>Create CoupledPotential.C<commit_after><|endoftext|> |
<commit_before><commit_msg>Fixing a small typo in get_ros_params.cpp<commit_after><|endoftext|> |
<commit_before>//===--- TBDGen.cpp - Swift TBD Generation --------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http... |
<commit_before>/*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distr... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: vtkAbstractGraph.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
... |
<commit_before>#include "Maze.h"
#include <cstdlib>
#include <fstream>
#include <iostream>
#include <iterator>
#include <sstream>
#include <time.h>
#include <queue>
#include <vector>
#include "Constants.h"
#include "Parameters.h"
#include "Tile.h"
namespace sim {
Maze::Maze(int width, int height, std::string mazeFi... |
<commit_before>/**
* \file dcs/system/posix_process.hpp
*
* \brief Class to create and manage a process in POSIX-compliant systems.
*
* \author Marco Guazzone (marco.guazzone@gmail.com)
*
* <hr/>
*
* Copyright (C) 2012 Marco Guazzone
* [Distributed Computing System (DCS) Group,
... |
<commit_before>// Copyright (C) 2014 Jérôme Leclercq
// This file is part of the "Nazara Engine - Utility module"
// For conditions of distribution and use, see copyright notice in Config.hpp
// Interface inspirée de la SFML par Laurent Gomila
#pragma once
#ifndef NAZARA_EVENT_HPP
#define NAZARA_EVENT_HPP
#include ... |
<commit_before>#pragma once
#include <map>
#include "string_utils.hpp"
#include "request.hpp"
#include "utils.hpp"
#include <boost/lexical_cast.hpp>
class token_parser
{
std::vector<std::string> v_; //解析之后,v_的第一个元素为函数名,后面的元素均为参数.
std::map<std::string, std::vector<std::string>> map_;
public:
/*
get("/hel... |
<commit_before>#ifndef TIMER_HPP_
#define TIMER_HPP_
#include <boost/chrono/chrono.hpp>
#include <boost/chrono/chrono_io.hpp>
#include <boost/chrono/system_clocks.hpp>
namespace clotho {
namespace utility {
typedef boost::chrono::high_resolution_clock clock_type;
typedef clock_type::time_point ti... |
<commit_before>//=======================================================================
// Copyright (c) 2014-2015 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//===================================================... |
<commit_before><commit_msg>Register chrome-extension as a secure scheme so that adding resources from an extension doesn't trip the mixed content sensor.<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.
#if defined(OS_MACOSX)
#include <signal.h>
#include <unistd.h>
#endif // OS_MACOSX
#include "base/command_line.h"
#include "base/debu... |
<commit_before>#include "line.hpp"
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include "matrixstacksingleton.hpp"
#include "logicstate.hpp"
Line::Line(){
vertices = 0;
}
void Line::setStartEnd(const glm::vec3 a, const glm::vec3 b){
if(vertices == 0 || vertexSize !=... |
<commit_before>/*
* This file is open source software, licensed to you under the terms
* of the Apache License, Version 2.0 (the "License"). See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. You may not use this file except in compliance with the License.... |
<commit_before>/*
* This file is open source software, licensed to you under the terms
* of the Apache License, Version 2.0 (the "License"). See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. You may not use this file except in compliance with the License.... |
<commit_before>//============================================================================
// include/vsmc/internal/config.hpp
//----------------------------------------------------------------------------
//
// vSMC: Scalable Monte Carlo
//
// This file is distribured under the 2-clauses BSD... |
<commit_before>#include <set>
#include <map>
#include <queue>
#include <fstream>
#include <exception>
#include <stdexcept>
#include <sstream>
#ifdef DEBUG
#include <iostream>
#define DEBUG_PRINT(...) std::cout << __VA_ARGS__ << std::endl
#else
#define DEBUG_PRINT(...)
#endif
// Maximum config file line length
#define... |
<commit_before>// Copyright (c) 2014-2020 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/syscoin-config.h>
#endif
#include <timedata.h>
#include <netaddr... |
<commit_before>/*
* Copyright (c) 2015-2018 Dubalu LLC
*
* 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, mod... |
<commit_before>
#include "CPipelineState.h"
#include <glad/glad.h>
namespace ion
{
namespace Graphics
{
namespace GL
{
CPipelineState::CPipelineState(CWindow * Window)
{
this->Window = Window;
}
CPipelineState::~CPipelineState()
{
}
void CPipelineState::SetProgra... |
<commit_before>/**
* Convert a set of aperiodic Wang tiles to an aperiodic set of "action" tiles.
* A set of action tiles has 2 properties:
* 1. The tiles are SE-identical.
* - South and east edge colors are the same.
* 2. The set is W-disabling.
* - No two tiles having the same west edge color
* can ... |
<commit_before>//===-- ARMAsmBackend.cpp - ARM Assembler Backend -------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>//===-- asan_test_main.cc -------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>/*
kmime_charfreq.cpp
KMime, the KDE internet mail/usenet news message library.
Copyright (c) 2001-2002 Marc Mutz <mutz@kde.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Sof... |
<commit_before>// The libMesh Finite Element Library.
// Copyright (C) 2002-2012 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner
// 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; eit... |
<commit_before>// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "config.h"
#include "bindings/core/v8/ScriptStreamer.h"
#include "bindings/core/v8/ScriptStreamerThread.h"
#include "bindings/cor... |
<commit_before>#include "DebugDraw.h"
#include "../../Graphics/GraphicsManager.h"
#include "../../Logger.h"
#include "../AARect.h"
#include "../Rect.h"
#include "../Helpers.h"
namespace star
{
DebugDraw * DebugDraw::m_InstancePtr = nullptr;
DebugDraw::DebugDraw()
: m_PointSize(1.0f)
, m_Shader(null... |
<commit_before>
#include "mfem.hpp"
#include "integ_algoim.hpp"
using namespace mfem;
//level set function for sphere in 3D and circle in 2D
double sphere_ls(const Vector &x)
{
double r2= x*x;
return sqrt(r2)-0.5;//the radius is 0.5
}
int main(int argc, char *argv[])
{
// Parse command-line options
... |
<commit_before>//
// Copyright (C) 2016 Clifford Wolf <clifford@clifford.at>
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTW... |
<commit_before>// @(#)root/memstat:$Id$
// Author: Anar Manafov (A.Manafov@gsi.de) 2008-03-02
/*************************************************************************
* Copyright (C) 1995-2010, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... |
<commit_before>#ifndef MJOLNIR_LOCAL_FORCE_FIELD
#define MJOLNIR_LOCAL_FORCE_FIELD
#include "LocalInteractionBase.hpp"
#include <utility>
#include <vector>
#include <array>
#include <memory>
namespace mjolnir
{
template<typename traitsT>
class LocalForceField
{
public:
typedef traitsT traits_type;
typedef t... |
<commit_before>#ifndef MJOLNIR_DEFAULT_TRAITS
#define MJOLNIR_DEFAULT_TRAITS
#include <mjolnir/math/Vector.hpp>
namespace mjolnir
{
template<typename realT, typename boundaryT>
struct SimulatorTraitsBase
{
typedef realT real_type;
typedef Vector<real_type, 3> coordinate_type;
typedef coordi... |
<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 "content/renderer/gpu/gpu_channel_host.h"
#include "base/message_loop.h"
#include "base/message_loop_proxy.h"
#include "conte... |
<commit_before>//-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2019 Ryo Suzuki
// Copyright (c) 2016-2019 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# include <Siv3D/Camera3D.hpp>
#... |
<commit_before>#include <algorithm>
#include <map>
#include <math.h>
#include <mpi.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#include <time.h>
#include <fj_tool/fapp.h>
#include <fjcoll.h>
using namespace std;
#include "pearson-3d.h"
bool EXTEND_MISSION=false;
int T_MAX;
int T_MONITOR;
int mpi... |
<commit_before>#include "Python.h"
#include "sqlite3.h"
#include <cstdint>
#include <pybind11/pybind11.h>
namespace py = pybind11;
// Assume the pysqlite_Connection object's first non-PyObject member is the
// sqlite3 database
struct Connection {
PyObject_HEAD sqlite3 *db;
};
PYBIND11_MODULE(cslumba, m) {
m.attr... |
<commit_before>/*
* Copyright (C) 2014-2015 Pavel Dolgov
*
* See the LICENSE file for terms of use.
*/
#ifndef CONSTANTS_HPP_
#define CONSTANTS_HPP_
/** Minimum width/length of game board */
const int MIN_WIDTH = 3;
/** Maximum width/length of game board */
const int MAX_WIDTH = 16;
#endif
<commit_msg>Add min/m... |
<commit_before><commit_msg>Enable configuration checkbox "Warn if my sender address is not in included in the certificate I want to use for signing.<commit_after><|endoftext|> |
<commit_before>// Copyright (c) 2022 Ultimaker B.V.
// CuraEngine is released under the terms of the AGPLv3 or higher.
#include "WallsComputation.h" //Unit under test.
#include "InsetOrderOptimizer.h" //Unit also under test.
#include "settings/Settings.h" //Settings to generate walls with.
#include "sliceDataStorage.h... |
<commit_before>// @(#)root/auth:$Id$
// Author: G. Ganis 08/07/2005
/*************************************************************************
* Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... |
<commit_before>/****************** <VPR heading BEGIN do not edit this line> *****************
*
* VR Juggler Portable Runtime
*
* Original Authors:
* Allen Bierbaum, Patrick Hartling, Kevin Meinert, Carolina Cruz-Neira
*
* -----------------------------------------------------------------
* File: $RC... |
<commit_before><commit_msg>Don't hang during DiskCacheEntryTest.CancelSparseIO on infinitely fast disks.<commit_after><|endoftext|> |
<commit_before>#include "musicquerytablewidget.h"
#include "musicdownloadqueryfactory.h"
#include "musicitemdelegate.h"
#include "musicgiflabelwidget.h"
#include <QActionGroup>
MusicQueryTableWidget::MusicQueryTableWidget(QWidget *parent)
: MusicFillItemTableWidget(parent)
{
m_downLoadManager = nullptr;
}
Mu... |
<commit_before>/** @file gsBlockOp.cpp
@brief Simple class create a block preconditioner structure.
This file is part of the G+Smo library.
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 ... |
<commit_before><commit_msg>[Second attempt]<commit_after><|endoftext|> |
<commit_before>// Copyright (c) 2019 Chris Ohk, Youngjoong Kim, SeungHyun Jeon
// We are making my contributions/submissions to this project solely in our
// personal capacity and are not conveying any rights to any intellectual
// property of any third parties.
#include <Utils/CardSetUtils.hpp>
#include <Rosetta/Ac... |
<commit_before>#include <windows.h>
#include <string>
#include <sstream>
#include <vector>
#include <codecvt>
#include <iostream>
#include <fstream>
#include <cstdio>
#include <iostream>
#include <fstream>
using namespace std;
inline wstring s2ws(const std::string& str)
{
typedef codecvt_utf8<wchar_t> convert_typ... |
<commit_before>#include "cinder/app/App.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
#include "GridMesh.h"
#include "CameraLandscape.h"
#include "cinder/MotionManager.h"
#include "cinder/Capture.h"
#include "cinder/Log.h"
#include "GridTexture.h"
using namespace ci;
using namespace ci::app;
using n... |
<commit_before>#include "core_include/api.h"
#include "core_include/rect.h"
#include "core_include/cmd_target.h"
#include "core_include/wnd.h"
#include "core_include/surface.h"
#include "core_include/resource.h"
#include "core_include/word.h"
#include "core_include/msg.h"
#include "core_include/display.h"
#inc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.