text stringlengths 54 60.6k |
|---|
<commit_before>/****************************************************************/
/* MOOSE - Multiphysics Object Oriented Simulation Environment */
/* */
/* All contents are licensed under LGPL V2.1 */
/* See LICENSE for full r... |
<commit_before>// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "precomp.h"
using namespace Dml;
TensorDesc::TensorDesc(
DML_TENSOR_DATA_TYPE dataType,
gsl::span<const uint32_t> sizes,
std::optional<gsl::span<const uint32_t>> strides,
uint32_t g... |
<commit_before>// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
//
// Copyright 2015 Heiko Fink, All Rights Reserved.
//
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
//
// Perception Neuron (TM) is a trademark of Beijing N... |
<commit_before>/*
Copyright (c) 2017-2018 Andrew Depke
*/
#include "LinuxStackTrace.h"
#include "../../Math/MathCore.h"
#include <cxxabi.h>
#include <execinfo.h>
namespace Red
{
bool CaptureStackTrace(int MaxDepth, std::vector<StackFrame>* Output)
{
if (!Output || MaxDepth <= 0)
{
return false;
}
size... |
<commit_before>/*
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License version 2 as published by the Free Software Foundation.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without ev... |
<commit_before>#ifndef _MSP_GPIO_HPP
#define _MSP_GPIO_HPP
#include <stdint.h>
#include <msp430.h>
#include "utilities/utilities.hpp"
namespace McuPeripheral {
template<uint8_t _input, uint8_t _select2>
class McuPort
{
public:
static const uint8_t mInputReg = _input;
static const uint8_t mOutputReg = _input+1;
st... |
<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/browser/printing/print_job.h"
#include "base/message_loop.h"
#include "base/timer.h"
#include "chrome/browser/printin... |
<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/common/process_watcher.h"
#include "base/env_var.h"
#include "base/message_loop.h"
#include "base/object_watcher.h"
#... |
<commit_before>/*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkOnce.h"
#include "SkOpts.h"
#include "SkXfermode_opts.h"
#if defined(SK_CPU_X86)
#if defined(SK_BUILD_FOR_WIN32)
#include <intrin.h>
... |
<commit_before>#include "stdafx.h"
#include "CoreContext.h"
#include "Autowired.h"
#include "CoreThread.h"
#include "GlobalCoreContext.h"
#include "OutstandingCountTracker.h"
#include "ThreadStatusMaintainer.h"
#include <boost/thread.hpp>
#include <algorithm>
#include <memory>
using namespace boost;
thread_specific_p... |
<commit_before>#include "stdafx.h"
#include "BindingHandler.h"
namespace CefSharp
{
CefRefPtr<CefV8Value> BindingHandler::ConvertToCef(Type^ type, Object^ obj)
{
if(type == Void::typeid)
{
return CefV8Value::CreateUndefined();
}
if(obj == nullptr)
{
... |
<commit_before>#ifndef ALPHA_SCREENGLWIDGET_HEADER
#define ALPHA_SCREENGLWIDGET_HEADER
#include <QGLWidget>
#include "../Box2.hpp"
#include "Screen.hpp"
namespace nt {
namespace gl {
/**
* A Qt-specific wrapper of a Screen.
*
* ScreenGLWidget takes care of the Qt-specific setup and behavior
* necessary to render... |
<commit_before>// Copyright 2013-2015 Stanford University
//
// 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 appli... |
<commit_before>/*
* Copyright (c) 2007-2008 The Florida State University
* 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
* n... |
<commit_before>/* -*- coding: utf-8; mode: c++; tab-width: 3 -*-
Copyright 2010, 2011, 2012, 2013
Raffaello D. Di Napoli
This file is part of Application-Building Components (henceforth referred to as ABC).
ABC is free software: you can redistribute it and/or modify it under the terms of the GNU General
Public Lice... |
<commit_before>/*
* Copyright (c) 2001-2005 The Regents of The University of Michigan
* 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 c... |
<commit_before>/*
Copyright (c) 2008, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of condi... |
<commit_before>/*
* Copyright (c) 2015, Nils Asmussen
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in bin... |
<commit_before>/*
Copyright (c) 2005, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of condi... |
<commit_before>/*
* Author: doe300
*
* See the file "LICENSE" for the full license governing this code.
*/
#include "CodeGenerator.h"
#include "../InstructionWalker.h"
#include "../Module.h"
#include "../Profiler.h"
#include "GraphColoring.h"
#include "KernelInfo.h"
#include "log.h"
#include "../../lib/vc4asm/src... |
<commit_before>/*
* Author: Mihai T Panu <[email protected]>
* Copyright (c) 2015 Intel Corporation.
*
* 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, incl... |
<commit_before>/*******************************************************
* Copyright (c) 2015, Arrayfire
* all rights reserved.
*
* This file is distributed under 3-clause bsd license.
* the complete license agreement can be obtained at:
* http://Arrayfire.com/licenses/bsd-3-clause
*******************************... |
<commit_before>//=======================================================================
// Copyright (c) 2014 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//========================================================... |
<commit_before>#pragma once
/**
@file
@brief converter between integer and string
@author MITSUNARI Shigeo(@herumi)
*/
#include <memory.h>
#include <limits>
#include <cybozu/exception.hpp>
namespace cybozu {
namespace atoi_local {
template<typename T, size_t n>
T convertToInt(bool *b, const char *p, size_t size... |
<commit_before>/*
* Copyright 2014-2019, CNRS
* Copyright 2018-2020, INRIA
*/
#ifndef __eigenpy_map_hpp__
#define __eigenpy_map_hpp__
#include "eigenpy/fwd.hpp"
#include "eigenpy/exception.hpp"
#include "eigenpy/stride.hpp"
namespace eigenpy
{
template<typename MatType, typename InputScalar, typename Stride, bo... |
<commit_before>#ifndef BROADCAST_HPP
#define BROADCAST_HPP
#include <utility>
#include <tuple>
#include <type_traits>
#include <stdexcept>
#include <iterator>
#include <array>
#include <algorithm>
#include "xindex.hpp"
#include "utils.hpp"
namespace qs
{
/*************************
* Broadcast functions
... |
<commit_before>/*
* Copyright 2019 Couchbase, Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... |
<commit_before>// $Id: GEOSNearestPointsTest.cpp 2424 2009-04-29 23:52:36Z mloskot $
//
// Test Suite for C-API GEOSNearestPoints
#include <tut/tut.hpp>
// geos
#include <geos_c.h>
// std
#include <cstdarg>
#include <cstdio>
#include <cstdlib>
namespace tut {
//
// Test Group
//
// Common data used in test cases.
st... |
<commit_before>// Copyright (c) 2010-2020, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
// This file is part of the MFEM library. For more information and source code
// availa... |
<commit_before>/*
* Copyright (C) 2009, Gostai S.A.S.
*
* This software is provided "as is" without warranty of any kind,
* either expressed or implied, including but not limited to the
* implied warranties of fitness for a particular purpose.
*
* See the LICENSE file for more information.
*/
// Network API ba... |
<commit_before>#include <vector>
#include <boost/filesystem.hpp>
#include <bitcoin/bitcoin.hpp>
#include <obelisk/zmq_message.hpp>
#include "config.hpp"
#define HEARTBEAT_LIVENESS 3 // 3-5 is reasonable
#define HEARTBEAT_INTERVAL 1000 // msecs
#define LOG_BALANCER "balancer"
#if ZMQ_VERSION_MAJOR == 4
... |
<commit_before>/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2006 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public... |
<commit_before>#include <simcode/log/logging.h>
using namespace simcode;
using namespace log;
static const char* LogLevelName[]={
"[TRACE]",
"[DEBUG]",
"[INFO]",
"[WARN]",
"[ERROR]",
"[FATAL]"
};
static const char* get_level_name(int level)
{
return LogLevelName[level];
}
int Logging::... |
<commit_before>/******************************************************************************
* $Id$
*
* Project: pdal - http://pdal.org - A BSD library for LAS format data.
* Purpose: LAS bounds class
* Author: Howard Butler, [email protected]
*
************************************************************... |
<commit_before>/* sunfish.cpp
*
* Kubo Ryosuke
*/
#include "sunfish.h"
#include "config.h"
#include "console/ConsoleManager.h"
#include "program_options/ProgramOptions.h"
#include "logger/Logger.h"
#include <iostream>
#include <string>
using namespace sunfish;
int play(const ConsoleManager::Config&);
// book.cp... |
<commit_before>#include "ModuleManager.hpp"
#include <QPluginLoader>
#include <QApplication>
#include <QObject>
#include <QDir>
#include <QObjectList>
#include <QStringList>
#include <string>
#include "Logger.hpp"
#include "ModuleBase.hpp"
using namespace uipf;
using namespace std;
// loads the configuration and st... |
<commit_before>#include "pch.h"
#include "slide_menu.h"
SlideMenu::SlideMenu()
: _currentItemIndex(INVALID_ITEM_INDEX)
, _animationDuration(0.2f)
, _animationInterpolator(gameplay::Curve::QUARTIC_IN_OUT)
, _itemScrollingClip(NULL)
{
}
SlideMenu::~SlideMenu()
{
}
const char * SlideMenu::getTypeNam... |
<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.
//
// File contains modifications by: The Gulden developers
// All ... |
<commit_before>//
// Copyright (c) 2008-2015 the Urho3D project.
//
// 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... |
<commit_before>/*
* Copyright (c) 2004-2005 The Regents of The University of Michigan
* 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 c... |
<commit_before>/* This file is part of Zanshin
Copyright 2014 Kevin Ottens <[email protected]>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of
the License or (at your ... |
<commit_before>#include <iostream>
#include <string>
#include <fstream>
#include <cstdint>
using namespace std;
template <typename T>
class BinaryTree;
template <typename T>
std::ostream& operator<<<T>(std::ostream&, const BinaryTree<T>&);
template <typename T>
struct Node {
Node *left;
Node *right;
T data;
... |
<commit_before>#pragma once
#if defined(__arm__)
# define __NR_pause 29
#elif defined(__x86_64__)
# define __NR_pause 34
#else
# error
#endif
<commit_msg>pause: not needed (yet)<commit_after><|endoftext|> |
<commit_before>// Copyright (c) Google LLC 2019
//
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.
#include "./ans_encode.h"
#include <vector>
#include <brunsli/types.h>
#include "./histogram_encode.h"
#include "./w... |
<commit_before>/** @file gsFunctionExpr.hpp
@brief Provides implementation of FunctionExpr class.
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 o... |
<commit_before>/*
* Copyright (c) 2015-2018, Technische Universität Dresden, Germany
* 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 ab... |
<commit_before>/*******************************************************************************
* c7a/api/context.hpp
*
* Part of Project c7a.
*
*
* This file has no license. Only Chuck Norris can compile it.
******************************************************************************/
#pragma once
#ifndef C7... |
<commit_before>/*******************************************************************************
*
* X testing environment - Google Test environment feat. dummy x server
*
* Copyright (C) 2011, 2012 Canonical Ltd.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software ... |
<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/vespalib/testkit/test_kit.h>
#include <vespa/searchlib/attribute/attribute.h>
#include <vespa/searchlib/attribute/attributefactory.h>
#include... |
<commit_before>/*
* This file is part of Poedit (http://www.poedit.net)
*
* Copyright (C) 2003 Christophe Hermier
*
* 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 restric... |
<commit_before>#include "fake_player.hpp"
#include <ctime>
#include <boost/random/discrete_distribution.hpp>
#include <boost/log/core.hpp>
#include <boost/log/trivial.hpp>
#include <boost/log/exceptions.hpp>
#include <boost/log/sources/global_logger_storage.hpp>
#include <boost/log/sources/logger.hpp>
#include <boos... |
<commit_before>#include <cstdlib>
#include <cmath>
#include <fstream>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <string>
#include <vector>
#include <algorithm>
#include <exception>
#include <sys/time.h>
#include "modules/htmTree.h"
#include "modules/kdTree... |
<commit_before>/*
* Copyright (C) 2016 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 (c)2015 - 2016 Oasis LMF Limited
* 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... |
<commit_before>#include "likelihood.h"
#include <queso/GslVector.h>
#include <queso/GslMatrix.h>
#include <queso/VectorSet.h>
#include <mkl.h>
#include <cmath>
template <class V, class M>
Likelihood<V, M>::Likelihood(const char * prefix,
const QUESO::VectorSet<V, M> & domainSet)
: QUESO::BaseScalarFunction<V,... |
<commit_before><commit_msg>gui: display location with correct precision<commit_after><|endoftext|> |
<commit_before>/*
* Copyright (C) 2002-2007 Novamente LLC
* Copyright (C) 2008 by Singularity Institute for Artificial Intelligence
* 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... |
<commit_before>/*
* Copyright 2018 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "GrBackendSurface.h"
#include "GrClip.h"
#include "GrContext.h"
#include "GrContextPriv.h"
#include "GrRenderTargetContext.h"
#include "GrTexture.h"
#i... |
<commit_before>//---------------------------------------------------------------------------//
//!
//! \file MonteCarlo_CollisionHandler.cpp
//! \author Alex Robinson
//! \brief Collision handler class definition.
//!
//---------------------------------------------------------------------------//
// Std Lib Include... |
<commit_before>/*
Copyright (C) 2002 by John Harger
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 later version.
This library is di... |
<commit_before>/******************************************************************************
* Copyright (c) 2014, Howard Butler ([email protected])
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following
* conditions are m... |
<commit_before>#include <ignition/math/Pose3.hh>
#include "gazebo/physics/physics.hh"
#include "gazebo/common/common.hh"
#include "gazebo/gazebo.hh"
#include <ros/ros.h>
#include <boost/bind/bind.hpp>
#include <tf2_msgs/TFMessage.h>
#include <tf/transform_listener.h>
#include <boost/thread.hpp>
namespace gazebo
{
... |
<commit_before>/*!
\copyright (c) RDO-Team, 2011
\file main.cpp
\authors ([email protected])
\authors ([email protected])
\date 13.07.2009
\brief RDOValue
\indent 4T
*/
// ---------------------------------------------------------------------------- PCH
// ---------... |
<commit_before>/*
* copyright: (c) RDO-Team, 2011
* filename : statements.cpp
* author : ,
* date : 16.04.11
* bref :
* indent : 4T
*/
// ====================================================================== PCH
#include "rdo_lib/rdo_runtime/pch.h"
// ================================... |
<commit_before>
#include <cassert>
#ifdef _WIN32
#include <windows.h>
#include <malloc.h>
#endif
#include "Process.h"
#ifdef _WIN32
#include "Array.h"
#include "Map.h"
#include "File.h"
#endif
#ifdef _WIN32
static Array<HANDLE> runningProcessHandles;
#endif
Process::Process()
{
#ifdef _WIN32
assert(sizeof(hProcess... |
<commit_before>#include <sstream>
#include "sprite_sheet.h"
#include "game_window.h"
SpriteSheet::SpriteSheet( std::string pPath, int pixelRefX, int pixelRefY, int altoSprite, int anchoSprite, int cantSprites, double fps, double delay, GameWindow & owner) : owner(owner){
std::stringstream message;
message << "Creat... |
<commit_before><commit_msg>Formatting doc<commit_after><|endoftext|> |
<commit_before>#include <iostream>
#include <cstring>
#include <openssl/md5.h>
#include <openssl/sha.h>
#include "args.hh"
#include "hash.hh"
#include "archive.hh"
#include "split.hh"
#include "util.hh"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
namespace nix {
static size_t regularHashSize(H... |
<commit_before>//
// Copyright (c) .NET Foundation and Contributors
// Portions Copyright (c) Microsoft Corporation. All rights reserved.
// See LICENSE file in the project root for full license information.
//
#include <targetPAL.h>
#include <corlib_native.h>
#include "sys_dev_gpio_native_target.h"
#include "nf_rt_e... |
<commit_before>//== RegionStore.cpp - Field-sensitive store model --------------*- C++ -*--==//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>//===-- LowerSubregs.cpp - Subregister Lowering instruction pass ----------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>//===-- RegAllocBase.cpp - Register Allocator Base Class ------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>/* Copyright 2021 The TensorFlow 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/LICENSE-2.0
Unless required by appl... |
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2021. All rights reserved
*/
#include "../../StroikaPreComp.h"
#if qHasFeature_OpenSSL
#include <openssl/evp.h>
#if OPENSSL_VERSION_MAJOR >= 3
#include <openssl/provider.h>
#endif
#endif
#include "../../Debug/Assertions.h"
#include "../../Execution/Exce... |
<commit_before>// The MIT License (MIT)
//
// Copyright (c) 2013 Patrick Van Oosterwijck
//
// 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 limitat... |
<commit_before>/* indent-tabs-mode: nil -*- */
/*
odbc-module.cpp
Qore ODBC module
Copyright (C) 2016 Ondrej Musil
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... |
<commit_before>/*! \file omproutines.cxx
* \brief this file contains routines used with OpenMP compilation.
OpenMP routines pertaining to complex OpenMP calls.
*/
#ifdef USEOPENMP
//-- For MPI
#include "stf.h"
/// \name routines which check to see if some search region overlaps with local mpi domain
//@{
//... |
<commit_before>#ifndef SRC_ONLINE_AROW_HPP_
#define SRC_ONLINE_AROW_HPP_
#include <Eigen/Dense>
#include <cstdbool>
#include <boost/serialization/serialization.hpp>
#include <boost/serialization/nvp.hpp>
#include <boost/serialization/split_member.hpp>
#include <boost/serialization/vector.hpp>
#include <boost/archive/t... |
<commit_before>/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
*
* This library is open source and may be redistributed and/or modified under
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
* (at your option) any later version. The full license is in LICENSE file
*... |
<commit_before>#include <stdarg.h>
#include <list>
#include "errors.hpp"
#include <boost/bind.hpp>
#include <boost/tokenizer.hpp>
#include "arch/runtime/coroutines.hpp"
#include "containers/scoped.hpp"
#include "logger.hpp"
#include "perfmon/core.hpp"
/* Constructor and destructor register and deregister the perfmo... |
<commit_before>#ifndef _TEST_H_
#define _TEST_H_
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include <cmath>
#include "utils.hpp"
#include "debug.hpp"
#include "constants.hpp"
static const u8 *global_keys_pressed = 0;
typedef struct
{
float red;
float green;
float blue;
float alpha;
} color_t... |
<commit_before>/****************************************************************************
**
** This file is part of the $PACKAGE_NAME$.
**
** Copyright (C) $THISYEAR$ $COMPANY_NAME$.
**
** $QT_EXTENDED_DUAL_LICENSE$
**
****************************************************************************/
#include "qcoordin... |
<commit_before>#include "queueloader.h"
#include <cerrno>
#include <cstdlib>
#include <cstdio>
#include <cstring>
#include <fstream>
#include <iostream>
#include <libgen.h>
#include <unistd.h>
#include "config.h"
#include "configcontainer.h"
#include "logger.h"
#include "stflpp.h"
#include "strprintf.h"
#include "uti... |
<commit_before>/*
+----------------------------------------------------------------------+
| Swoole |
+----------------------------------------------------------------------+
| This source file is subject to version 2.0 of the Apache license, |
... |
<commit_before>/*
* Copyright (c) 2016 liblcf authors
* This file is released under the MIT License
* http://opensource.org/licenses/MIT
*/
#include "reader_options.h"
#ifdef LCF_SUPPORT_ICU
# include <unicode/ucsdet.h>
# include <unicode/ucnv.h>
#else
# ifdef _MSC_VER
# error MSVC builds require ICU
# end... |
<commit_before>#include "reidmanager.h"
#include <iostream>
#include <fstream>
#include <list>
using namespace std;
static const float thresholdValueSamePerson = 0.5;
ReidManager::ReidManager()
{
Features::getInstance();
}
void ReidManager::computeNext()
{
// Get the next received sequence
string nextS... |
<commit_before>/*
* Copyright 2014 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkAdvancedTypefaceMetrics.h"
#include "SkBitmap.h"
#include "SkCanvas.h"
#include "SkDescriptor.h"
#include "SkFontDescriptor.h"
#include "SkGlyph.h"
... |
<commit_before>#include "motion.h"
#include "util.h"
#include "godot_vim.h"
Motion::Pos Motion::_move_forward(Motion::matchFunction function, bool accept_empty) {
int next_cc = vim->_cursor_get_column() + 1;
int next_cl = vim->_cursor_get_line();
String line_text = vim->_get_line(next_cl);
for (int i... |
<commit_before>/*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the imp... |
<commit_before>#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
#include <signal.h>
#include <curl/curl.h>
#include "fcgiapp.h"
#include "common/ceph_argparse.h"
#include "global/global_init.h"
#include "... |
<commit_before>/*
* File: histograms.cpp
* Author: claas
*
* Created on 9. Juli 2009, 13:40
*/
#include "Histograms.h"
// debug
#include "Tools/Debug/DebugRequest.h"
#include "Tools/Debug/DebugImageDrawings.h"
using namespace naoth;
using namespace std;
Histograms::Histograms()
{
std::stringstream dbgStrin... |
<commit_before>#define AODSelector_cxx
// The class definition in AODSelector.h has been generated automatically
// by the ROOT utility TTree::MakeSelector(). This class is derived
// from the ROOT class TSelector. For more information on the TSelector
// framework see $ROOTSYS/README/README.SELECTOR or the ROOT User M... |
<commit_before>//===----------------------------------------------------------------------===//
//
// Peloton
//
// string_functions.cpp
//
// Identification: src/function/string_functions.cpp
//
// Copyright (c) 2015-2017, Carnegie Mellon University Database Group
//
//===----------------------... |
<commit_before>/*
* simple_tree.cpp
*
* Created on: Aug 12, 2010
* Author: programmer
*/
#include "../system/discursive_system.h"
#include "./initial_agents.h"
#include "repository_access.h"
#include <Magick++.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "../model/surrogate_tree_n... |
<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/browser/browser.h"
#include "chrome/browser/profile.h"
#include "chrome/browser/extensions/extension_browsertest.h"
#i... |
<commit_before>/*
* simple_tree.cpp
*
* Created on: Aug 12, 2010
* Author: programmer
*/
#include <Magick++.h>
#include "../model/surrogate_tree_node.h"
#include "../io/git_repository_access.h"
#include "../io/github_repository_access.h"
#include "../io/svn_remote_repository_access.h"
#include "../io/cvs_rem... |
<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/browser/extensions/extension_apitest.h"
#include "net/base/mock_host_resolver.h"
IN_PROC_BROWSER_TEST_F(ExtensionApiT... |
<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/views/extensions/extension_installed_bubble.h"
#include "app/l10n_util.h"
#include "app/resource_bundle.h"
#i... |
<commit_before>/*
* CityRegionImplementation.cpp
*
* Created on: Feb 9, 2012
* Author: xyborn
*/
#include "CityRegion.h"
#include "events/CityUpdateEvent.h"
#include "server/chat/StringIdChatParameter.h"
#include "server/ServerCore.h"
#include "server/zone/managers/city/CityManager.h"
#include "server/zone/... |
<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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.