text stringlengths 54 60.6k |
|---|
<commit_before><commit_msg>Remove dead code<commit_after><|endoftext|> |
<commit_before>/******************************************************************************
* _ _____ __________ *
* | | / / _ | / __/_ __/ Visibility *
* | |/ / __ |_\ \ / / Across ... |
<commit_before>#pragma once
/*
* Copyright (c) 2013 Aldebaran Robotics. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the COPYING file.
*/
#ifndef _QI_DETAILS_TRACKABLE_HXX_
#define _QI_DETAILS_TRACKABLE_HXX_
#include <boost/function.hpp>
#include <boost/... |
<commit_before>#include "wordribbonitem.h"
#include "mscalableimage.h"
#include <QString>
#include <QtCore>
#include <QtGui>
namespace {
static const int FocusZoneMargin = 30;
}
WordRibbonItem::WordRibbonItem(WordRibbon::ItemStyleMode mode, MWidget* parent):
MStylableWidget(parent),
label(""),
... |
<commit_before>// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "xwalk/application/browser/application_protocols.h"
#i... |
<commit_before>/* mbed Microcontroller Library
* Copyright (c) 2006-2013 ARM Limited
*
* 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
... |
<commit_before>//==============================================================================
// CellML Model Repository window
//==============================================================================
#include "cellmlmodelrepositorywindow.h"
#include "cellmlmodelrepositorywidget.h"
#include "coreutils.... |
<commit_before>#include "BuildingQueue.h"
#include "bwem.h"
#include "UnitManager.h"
#include "BaseManager.h"
#include "BuildingPlacer.h"
#include "DrawingManager.h"
Neolib::BuildingQueue buildingQueue;
namespace Neolib {
void BuildingQueue::onFrame() {
for (auto it = buildingQueue.begin(); it != buildingQueue.e... |
<commit_before>// Time: O(1)
// Space: O(1)
// Thread-Safe, Lazy Initilization
class Solution {
public:
/**
* @return: The same instance of this class every time
*/
static Solution* getInstance() {
static Solution *instance = new Solution();
return instance;
}
private:
Soluti... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p10/procedures/hwp/corecache/p10_hcd_core_sto... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p10/procedures/hwp/corecache/p10_hcd_core_sto... |
<commit_before>/*
* (C) Copyright 2016 Mirantis 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 by applica... |
<commit_before>/**
* Zillians MMO
* Copyright (C) 2007-2011 Zillians.com, Inc.
* For more information see http://www.zillians.com
*
* Zillians MMO is the library and runtime for massive multiplayer online game
* development in utility computing model, which runs as a service for every
* developer to build their ... |
<commit_before>// Copyright (c) 2019 by Robert Bosch GmbH. All rights reserved.
// Copyright (c) 2021 by Apex.AI Inc. 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
... |
<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>/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2014 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>/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
... |
<commit_before>/**
* Copyright © 2016 IBM 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 applic... |
<commit_before>#include <iostream>
#include <algorithm>
#include <fstream>
#include <vector>
#include <string>
#include <type_traits>
#include <iomanip>
#include "cmdline/cmdline.h"
#include "picojson/picojson.h"
#include "sais/sais.hxx"
#include "wavelet_matrix.h"
using namespace std;
typedef int64_t index_type;
#d... |
<commit_before>#include "NeuralNetwork.hpp"
using namespace std;
NeuralNetwork::NeuralNetwork(const int nbi, const int nbh, const int nbo, const bool regression)
: ni(nbi+1), nh(nbh+1), no(nbo), regression(regression), ai(ni, 1.0), ah(nh, 1.0), ao(no, 1.0)
{
wi = NeuralNetwork::makeMatrix(ni, nh);
wo = NeuralNetwo... |
<commit_before>namespace iox
{
template <uint64_t Capacity, typename ValueType>
IndexQueue<Capacity, ValueType>::IndexQueue(ConstructEmpty_t)
: m_readPosition(Index(Capacity))
, m_writePosition(Index(Capacity))
{
}
template <uint64_t Capacity, typename ValueType>
IndexQueue<Capacity, ValueType>::IndexQueue(Con... |
<commit_before>namespace mant {
namespace bbob {
template <typename T = double>
class BlackBoxOptimisationBenchmark : public OptimisationProblem<T, T> {
static_assert(std::is_floating_point<T>::value, "T must be a floating point type.");
public:
explicit BlackBoxOptimisationBenchmark(
... |
<commit_before>/***************************************************************************
copyright : (C) 2002 - 2008 by Scott Wheeler
email : [email protected]
***************************************************************************/
/*********************************************... |
<commit_before>#include <iostream>
#include <algorithm>
#include <time.h>
#include "../Eigen/Dense"
using namespace Eigen;
// Gaussian elimination
// [ A | b ] = [ U | c ]
bool GaussElimination(const MatrixXf &a, const VectorXf &b, MatrixXf &u, VectorXf &c) {
// 'a' should be a square matrix
assert(a.rows() == a.co... |
<commit_before>#ifndef DUNE_STUFF_DEBUG_HH
#define DUNE_STUFF_DEBUG_HH
#include <cstring>
#define SEGFAULT {int*J=0;*J=9;}
//! from right/bottom limiter for file paths
const char* rightPathLimiter( const char* path, int depth = 2 )
{
char* c = new char[255];
strcpy(c,path);
const char* p = strtok( c, "/" );
i... |
<commit_before>#ifndef DUNE_STUFF_DEBUG_HH
#define DUNE_STUFF_DEBUG_HH
#define SEGFAULT {int*J=0;*J=9;}
//! from right/bottom limiter for file paths
const char* rightPathLimiter( const char* path, int depth = 2 )
{
char* c = new char[255];
strcpy(c,path);
const char* p = strtok( c, "/" );
int i = 0;
while ( p... |
<commit_before>#include "yaml-cpp/yaml.h"
#include "yaml-cpp/eventhandler.h"
#include <fstream>
#include <iostream>
#include <vector>
struct Params {
bool hasFile;
std::string fileName;
};
Params ParseArgs(int argc, char **argv) {
Params p;
std::vector<std::string> args(argv + 1, argv + argc);
return p;
}
cl... |
<commit_before>#define _USE_MATH_DEFINES
#include <cmath>
#include "Cylinder.h"
#include <MathGeoLib/include/Math/MathFunc.h>
::Cylinder::Cylinder(GLfloat radius, GLfloat height) :
Primitive(), Radius(radius), Height(height) {}
::Cylinder::Cylinder(const float3& position, const Quat& rotation, GLfloat radius, GLf... |
<commit_before>/**************************************************************************
* Copyright(c) 2004, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Con... |
<commit_before>#include "tst_qlistobject.h"
void TST_QListObject::test()
{
CWF::QListObject listObj;
listObj.add(new QObject);
listObj.add(new QObject);
QVERIFY2(listObj.size() == 2, "Should be equal 2");
QObject *obj = listObj[0];
QVERIFY2(obj != nullptr, "Should be different nullptr");
... |
<commit_before>#include <iostream>
#include <stdint.h>
#include <map>
#include <vector>
#include <string>
#include <sys/stat.h>
#include "boost/program_options.hpp"
#include "api/BamReader.h"
#include "utils/bamtools_pileup_engine.h"
#include "utils/bamtools_fasta.h"
#include "model.h"
#include "parsers.h"
using n... |
<commit_before>/*
* Copyright (C) 2007, 2008, 2009, 2010, 2011, 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... |
<commit_before>// This file is part of the dune-gdt project:
// http://users.dune-project.org/projects/dune-gdt
// Copyright holders: Felix Schindler
// License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
//
// Contributors: Kirsten Weber
#ifndef DUNE_GDT_DISCRETEFUNCTION_DEFAULT_HH
#define D... |
<commit_before>#include "PackTexture.h"
#include "check_params.h"
#include "utility.h"
#include <ee/FileHelper.h>
#include <ee/SettingData.h>
#include <ee/Config.h>
#include <ee/StringHelper.h>
#include <ee/SymbolFile.h>
#include <easytexpacker.h>
#include <easyimage.h>
#include <gimg_typedef.h>
#include <gimg_impor... |
<commit_before>#include <fstream>
#include <BGL.hh>
#include "testbed.h"
// Rectangle
BGL::Point pointSet1[] = {
BGL::Point(-8.590003524884, 8.590000000000),
BGL::Point(-8.590046474991, -8.590000000000),
BGL::Point( 8.590000000000, -8.590000000000),
BGL::Point( 8.590000000000, 8.590000000000),
... |
<commit_before><commit_msg>Increase simulation loop rate to 1 kHz<commit_after><|endoftext|> |
<commit_before>#include "StatefulTimer.h"
#include "BackpropErrorsv2Cached.h"
using namespace std;
#undef STATIC
#define STATIC
#undef VIRTUAL
#define VIRTUAL
VIRTUAL BackpropErrorsv2Cached::~BackpropErrorsv2Cached() {
delete kernel;
delete applyActivationDeriv;
}
VIRTUAL void BackpropErrorsv2Cached::bac... |
<commit_before>#include <iostream>
#include <mutex>
#include <highgui.h>
#include <Camera/ClickIndexTaker.h>
namespace Camera{
ClickIndexTaker::ClickIndexTaker(const Image& data)
:
_data(data)
{
updateCoords(0,0);
}
void ClickIndexTaker::updateCoords(int row, int column){
cv::namedWindow("Ch... |
<commit_before>namespace mant {
namespace bbob {
class EllipsoidalFunctionRotated : public BlackBoxOptimisationBenchmark {
public:
inline explicit EllipsoidalFunctionRotated(
const unsigned int numberOfDimensions) noexcept;
inline std::string toString() const noexcept override;
... |
<commit_before>// This file is distributed under the MIT license.
// See the LICENSE file for details.
#include <visionaray/math/math.h>
#include <gtest/gtest.h>
using namespace visionaray;
TEST(Vector, Ctor)
{
// Test constructability from vectors with different
// sizes to define a higher-dimensional vec... |
<commit_before>// CompMap.cpp
#include "CompMap.h"
#include "MassTable.h"
#include "CycArithmetic.h"
#include "CycException.h"
#include "CycLimits.h"
#include <sstream>
#include <cmath> // std::abs
using namespace std;
LogLevel CompMap::log_level_ = LEV_INFO3;
//- - - - - - - - - - - - - - - - - - - - - - - - - - ... |
<commit_before>
#include <qcheckbox.h>
#include <qdir.h>
#include <qlineedit.h>
#include <kaboutdata.h>
#include <kapplication.h>
#include <kconfig.h>
#include <kdebug.h>
#include <kiconloader.h>
#include <kglobal.h>
#include <kstandarddirs.h>
#include <ksimpleconfig.h>
#include <kurlrequester.h>
#include <kabc/stdad... |
<commit_before>#include "gtest/gtest.h"
#include "../../cvmfs/statistics.h"
using namespace std; // NOLINT
namespace perf {
TEST(T_Statistics, Counter) {
Counter counter;
EXPECT_EQ(0, counter.Get());
counter.Set(1);
EXPECT_EQ(1, counter.Get());
counter.Inc();
EXPECT_EQ(2, counter.Get());
counter.Dec(... |
<commit_before>// This file is distributed under the BSD License.
// See "license.txt" for details.
// Copyright 2009, Jonathan Turner ([email protected])
// and Jason Turner ([email protected])
// http://www.chaiscript.com
#include <boost/preprocessor.hpp>
#include <boost/preprocessor/arithmetic/inc.hpp>
#def... |
<commit_before>/*
Copyright (c) 2006, 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) 2017 Sony Corporation. 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
//
// Unle... |
<commit_before>/******************************************************************************
* SOFA, Simulation Open-Framework Architecture, development version *
* (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH *
* ... |
<commit_before>#include "Vajra/Engine/AssetLibrary/AssetLibrary.h"
#include "Vajra/Engine/Components/DerivedComponents/Renderer/WaterRenderer.h"
#include "Vajra/Engine/Core/Engine.h"
#include "Vajra/Engine/Timer/Timer.h"
#include "Vajra/Framework/OpenGL/OpenGLWrapper/OpenGLWrapper.h"
#include "Vajra/Framework/OpenGL/Sh... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: vtkAxes.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This so... |
<commit_before>/*
* Copyright 2010 Martin Hebnes Pedersen, martinhpedersen @ "google mail"
* All rights reserved. Distributed under the terms of the MIT License.
*/
#include "HTGTweetTextView.h"
static size_t WriteUrlCallback(void *ptr, size_t size, size_t nmemb, void *data);
status_t _threadDownloadLinkIconURLs... |
<commit_before><commit_msg>cppcheck: redundantAssignment<commit_after><|endoftext|> |
<commit_before>// Copyright (c) Microsoft. All rights reserved.
//
// i2ctesttool
//
// Utility to read and write I2C devices from the command line.
// Shows how to use C++/CX in console applications.
//
#include <ppltasks.h>
#include <string>
#include <vector>
#include <sstream>
#include <iostream>
#include <cwc... |
<commit_before>/*=========================================================================
Program: openCherry Platform
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) German Cancer Research Center, Division of Medical and
Biological Informatics. All rights reserved.
See MITKCopyright.tx... |
<commit_before>/* Copyright 2017 The Apollo 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 applicab... |
<commit_before>/* Copyright 2007-2015 QReal Research Group
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
<commit_before>// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "filestormetrics.h"
#include <vespa/metrics/loadmetric.hpp>
#include <vespa/metrics/summetric.hpp>
#include <sstream>
namespace storage {
using metrics::MetricSet;
using metri... |
<commit_before>// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "feedconfigstore.h"
#include "feedstates.h"
#include "ifeedview.h"
#include "ireplayconfig.h"
#include "replaypacketdispatcher.h"
#include "replay_throttling_policy.h"
#include <vespa/search... |
<commit_before>// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "feedconfigstore.h"
#include "feedstates.h"
#include "ifeedview.h"
#include "ireplayconfig.h"
#include "replaypacketdispatcher.h"
#include <vespa/searchcore/proton/bucketdb/ibu... |
<commit_before>/**
* \file
* \brief SysTick_Handler() for ARMv6-M and ARMv7-M
*
* \author Copyright (C) 2014-2017 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
*
* \par License
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: pam.hxx,v $
*
* $Revision: 1.17 $
*
* last change: $Author: hr $ $Date: 2007-09-27 08:07:57 $
*
* The Contents of this file are made avai... |
<commit_before>/*
The OpenTRV project licenses this file to you
under the Apache Licence, Version 2.0 (the "Licence");
you may not use this file except in compliance
with the Licence. You may obtain a copy of the Licence at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in w... |
<commit_before>/*
yahoochatselectordialog.h
Copyright (c) 2006 by Andre Duffeck <[email protected]>
Kopete (c) 2002-2006 by the Kopete developers <[email protected]>
*************************************************************************
* ... |
<commit_before><commit_msg>When run chrome with --no-sandbox, the renderer process calls the dtor of BrokerServicesBase. There some API calls have invalid parameters.<commit_after><|endoftext|> |
<commit_before>/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "YogaLayoutableShadowNode.h"
#include <algorithm>
#include <limits>
#include <memory>
#include <react/co... |
<commit_before>
#include "../../Flare.h"
#include "FlareSpacecraftDockingSystem.h"
#include "../FlareStationDock.h"
#include "../FlareSpacecraft.h"
#define LOCTEXT_NAMESPACE "FlareSpacecraftDockingSystem"
/*----------------------------------------------------
Constructor
--------------------------------------------... |
<commit_before>#include "Event.h"
#include "FightSystem.h"
#include "Components\PowerComponent.h"
#include "Events\FightResolvedEvent.h"
#include "..\Events\ShipDefeatedEvent.h"
#include "..\Events\ShipVictoriousEvent.h"
using namespace PinnedDownGameplay::Events;
using namespace PinnedDownGameplay::Systems;
using n... |
<commit_before>//-----------------------------------
// Copyright Pierric Gimmig 2013-2017
//-----------------------------------
#include "Track.h"
#include "Capture.h"
#include "GlCanvas.h"
#include "TimeGraphLayout.h"
#include "absl/strings/str_format.h"
float TEXT_Z = -0.004f;
float TRACK_Z = -0.005f;
//--------... |
<commit_before>/*
* SessionProjects.hpp
*
* Copyright (C) 2009-11 by RStudio, Inc.
*
* This program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTAB... |
<commit_before>/*************************************************************************
*
* $RCSfile: ScriptingContext.cxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: dfoster $ $Date: 2003-11-04 17:45:28 $
*
* The Contents of this file are made available subject to the terms of
* either of the fo... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: TaskPaneTreeNode.hxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: rt $ $Date: 2005-09-09 06:02:41 $
*
* The Contents of this file a... |
<commit_before>/*************************************************************************
*
* $RCSfile: undopage.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: dl $ $Date: 2001-09-27 15:03:46 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: undopage.cxx,v $
*
* $Revision: 1.7 $
*
* last change: $Author: obo $ $Date: 2006-09-16 19:00:21 $
*
* The Contents of this file are made... |
<commit_before><commit_msg>don't crash on formatting outline level 10 in master view<commit_after><|endoftext|> |
<commit_before>#ifndef ASYNCCURL_HPP_
#define ASYNCCURL_HPP_
/*
* Author: jrahm
* created: 2015/02/13
* AsyncCurl.hpp: <description>
*/
#include <curl/curl.h>
#include <os/Runnable.hpp>
#include <containers/BlockingQueue.hpp>
#include <lang/Deallocator.hpp>
namespace curl {
class CurlException: public CExcepti... |
<commit_before>/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "Lice... |
<commit_before>#ifdef HAVE_CONFIG_H
# include <simgear_config.h>
#endif
#include "event_mgr.hxx"
#include <simgear/debug/logstream.hxx>
void SGEventMgr::add(const std::string& name, SGCallback* cb,
double interval, double delay,
bool repeat, bool simtime)
{
// Clamp the... |
<commit_before>#include <iostream>
#include "readatomslinks.h"
#include "limits.h"
#include "spin.h"
std::vector<Atom> atoms;
/**
* Computes the energy of the system.
* <p>
* Using the atom, the spin and the neighbors, it is computed the energy of the system.
* @param atoms vector with the spin values of the at... |
<commit_before>#include <cstring>
#include <iostream>
#include <net/ethernet.h>
#include <netinet/ether.h>
#include <netinet/ip.h>
#include <netinet/udp.h>
#include <arpa/inet.h>
#include "colors.h"
#include "interface.h"
using namespace std;
using namespace Colors;
void sigint_handler(int);
int main(int argc, char... |
<commit_before>#include <cstdint>
#include <cstring>
#include <memory>
#include <cmath>
namespace Sieves {
constexpr size_t compileTimeLogBase2(size_t n) {
return (n <= 1) ? 0 : 1 + compileTimeLogBase2(n / 2);
}
constexpr size_t sizeOfElementInBytes = sizeof(uint32_t);
constexpr size_t sizeOfElementInBits = 8 *... |
<commit_before>#include "LiquidCrystal.h"
#include "LiquidCrystalRus.h"
#include <stdio.h>
#include <string.h>
#include <inttypes.h>
#include <avr/pgmspace.h>
#include "WProgram.h"
// except 0401 --> 0xa2 = , 0451 --> 0xb5
PROGMEM prog_uchar utf_recode[] =
{
0x41,0xa0,0x42,0xa1,0xe0,0x45,0xa3,0xa4,0xa5,0xa6,0x4b... |
<commit_before>// Copyright 2015 Esri.
// 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>/*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 1999 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistri... |
<commit_before>/*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 1999 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistri... |
<commit_before>/*
* This file is part of telepathy-accounts-kcm
*
* Copyright (C) 2011 David Edmundson <[email protected]>
* Copyright (C) 2012 Daniele E. Domenichelli <[email protected]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU ... |
<commit_before>#include "yebash.hpp"
#include "History.hpp"
#include "catch.hpp"
#include <iostream>
#include <algorithm>
#include <sstream>
using namespace yb;
using namespace std;
namespace {
void tearDown() {
std::stringstream output, ss;
Printer printer(output);
History history;
history.read(ss);... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Qt Software Information ([email protected])
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** No... |
<commit_before>#ifndef SDD_CG_HPP
#define SDD_CG_HPP
#include <iostream>
#include <iomanip>
#include <fstream>
#include <vector>
#include <cmath>
#include <boost/range/algorithm.hpp>
#include <amgcl/amgcl.hpp>
#include <amgcl/backend/builtin.hpp>
#include <amgcl/backend/crs_tuple.hpp>
#include <amgcl/coarsening/plai... |
<commit_before>// __BEGIN_LICENSE__
// Copyright (C) 2006-2011 United States Government as represented by
// the Administrator of the National Aeronautics and Space Administration.
// All Rights Reserved.
// __END_LICENSE__
/// \file StereoSettings.h
///
#include <asp/Core/StereoSettings.h>
#include <vw/Core/Thread.... |
<commit_before>/* OpenSceneGraph example, osganimate.
*
* 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... |
<commit_before>#include <osg/Group>
#include <osg/Notify>
#include <osg/Geometry>
#include <osg/ArgumentParser>
#include <osg/ApplicationUsage>
#include <osg/Texture2D>
#include <osg/Geode>
#include <osg/PagedLOD>
#include <osgDB/Registry>
#include <osgDB/ReadFile>
#include <osgDB/WriteFile>
#include <osgUtil/Optimiz... |
<commit_before>//===-- MipsTargetInfo.cpp - Mips Target Implementation -------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>//===-- VPlanHCFGBuilder.cpp ----------------------------------------------===//
//
// 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>Yet another Ex28 commit<commit_after><|endoftext|> |
<commit_before>/*
This file is part of Bohrium and copyright (c) 2012 the Bohrium
team <http://www.bh107.org>.
Bohrium 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
of the License, or (a... |
<commit_before>#include "filefilteritems.h"
#include <qdebug.h>
namespace QmlProjectManager {
FileFilterBaseItem::FileFilterBaseItem(QObject *parent) :
QmlProjectContentItem(parent),
m_recursive(false)
{
connect(&m_fsWatcher, SIGNAL(directoryChanged(QString)), this, SLOT(updateFileList()));
co... |
<commit_before>/*
* This file is part of the AzerothCore Project. See AUTHORS file for Copyright information
*
* This program 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... |
<commit_before>// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/log/log.h>
LOG_SETUP("generation_handler_stress_test");
#include <vespa/vespalib/gtest/gtest.h>
#include <vespa/vespalib/util/generationhandler.h>
#include <vespa/vespalib/util/lambdat... |
<commit_before>#include "Runtime/World/CScriptSwitch.hpp"
#include "Runtime/CStateManager.hpp"
#include "TCastTo.hpp" // Generated file, do not modify include path
namespace urde {
CScriptSwitch::CScriptSwitch(TUniqueId uid, std::string_view name, const CEntityInfo& info, bool active, bool opened,
... |
<commit_before>/******************************************************************************
This source file is part of the TEM tomography project.
Copyright Kitware, Inc.
This source code is released under the New BSD License, (the "License").
Unless required by applicable law or agreed to in writing, s... |
<commit_before>#include "BinaryTree.hpp"
#include <catch.hpp>
SCENARIO("default constructor")
{
Tree<int> node;
REQUIRE(node.root_() == nullptr);
}
SCENARIO("insert")
{
Tree<int> tree;
tree.insert(7);
REQUIRE(tree.x_() == 7);
REQUIRE(tree.left_() == nullptr);
REQUIRE(tree.right_() == nullptr);
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.