text stringlengths 54 60.6k |
|---|
<commit_before>/*************************************************************************************
* Copyright (C) 2012 by Alejandro Fiestas Olivares <[email protected]> *
* *
* This program is free software; you can r... |
<commit_before>
#include "stdafx.h"
#include "gtest\gtest.h"
#include "kbase\auto_reset.h"
#include <string>
#include <vector>
using namespace kbase;
namespace {
std::vector<std::string> origin {"hello", "world", "kc"};
} // namespace
TEST(AutoResetTest, AutoReset)
{
std::vector<std::string> v = origin;
... |
<commit_before>// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "create_blueprint_visitor_helper.h"
#include "leaf_blueprints.h"
#include "dot_product_blueprint.h"
#include "get_weight_from_node.h"
#include "wand/parallel_weak_and_blueprin... |
<commit_before><commit_msg>Prevent client crash for starting constructions of other players.<commit_after><|endoftext|> |
<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 ... |
<commit_before>#include "3DScene.hpp"
namespace Slic3r {
// caller is responsible for supplying NO lines with zero length
void
_3DScene::_extrusionentity_to_verts_do(const Lines &lines, const std::vector<double> &widths,
const std::vector<double> &heights, bool closed, double top_z, const Point ©,
... |
<commit_before>/*
* opencog/benchmark/BenchmarkModule.cc
*
* Copyright (C) 2014 Cosmo Harrigan
* All Rights Reserved
*
* Written by Cosmo Harrigan
*
* 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 Fre... |
<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 ... |
<commit_before>/*
* (C) 2017 Jack Lloyd
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#include "../tests.h"
#include "test_runner.h"
#include "test_stdout_reporter.h"
#include <botan/version.h>
#include <botan/internal/loadstor.h>
#include <botan/internal/cpuid.h>
#if defined(BOTAN_HAS... |
<commit_before>/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2008 by Sun Microsystems, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: textparagraphpropertiescontext.hx... |
<commit_before>/******************************************************************************
The MIT License(MIT)
Embedded Template Library.
Copyright(c) 2014 jwellbelove
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files(the "Software")... |
<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.
//
// Broker RPC Client implementation.
#include "ceee/ie/broker/broker_rpc_client.h"
#include <atlbase.h>
#include "base/lock.h"
#inc... |
<commit_before>#include <VertexAttributeBuffer.h>
void GLVertexAttributeBuffer::toGPU(const void* data, const size_t size)
{
if (bufferId.value == 0)
{
Init();
}
glBindBuffer(GL_ARRAY_BUFFER, bufferId.value);
if (m_maxSize < size) {
//grow buffer and load all data
glBufferData(GL_ARRAY_BUFFER, size, data,... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: XMLScanner.cxx,v $
*
* $Revision: 1.8 $
*
* last change: $Author: ihi $ $Date: 2008-02-04 13:50:23 $
*
* The Contents of this file are ma... |
<commit_before>/**
* @file Cognition.cpp
*
* @author <a href="mailto:[email protected]">Heinrich Mellmann</a>
* Implementation of the class Cognition
*/
#include "Cognition.h"
#include <PlatformInterface/Platform.h>
// tools
#include "Tools/Debug/Trace.h"
/////////////////////////////////////
//... |
<commit_before>#include "pch.h"
#include "rdo_resources.h"
#include <rdortp.h>
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
namespace rdoMBuilder
{
// --------------------------------------------------------------------
// ----------
// ------------------------... |
<commit_before>//Copyright (c) 2013 Christopher Johnstone(meson800)
//The MIT License - See ../../../LICENSE for more info
#include "MacroExpander.h"
void MacroExpander::expandString(std::string& string)
{
//loop while we still have macros (defined by angle brackets)
while (string.find(">") != std::string::npos)
{... |
<commit_before>//
// Class AliRsnCutPrimaryVertex
//
// This cut implementation checks the quality of event primary vertex.
// It currently works only with ESD events (not AOD).
//
// authors: Martin Vala ([email protected])
// Alberto Pulvirenti ([email protected])
//
#include "AliRsnCutPrimary... |
<commit_before>#include "ExecutionEngine.h"
#include <chrono>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#include <llvm/IR/LLVMContext.h>
#include <llvm/IR/Module.h>
#include <llvm/ADT/Triple.h>
#include <llvm/ExecutionEngine/ExecutionEngine.h>
#include <llvm/ExecutionEngine/Sect... |
<commit_before>AliAnalysisTask* AddTaskQAHighPtDeDx(Bool_t AnalysisMC = kFALSE,
Int_t typerun =1, // 0 for pp and 1 for Pb-Pb or pPb
TString type ="ESD",
UInt_t kTriggerInt = AliVEvent::kINT7, //for pPb kINT7, for pp or PbPb kMB
... |
<commit_before>/**************************************************************************************/
/* */
/* Visualization Library */
/* http://www.visualizationlibrary... |
<commit_before>#include "xchainer/routines/sorting.h"
#include <cstdint>
#include <string>
#include <gtest/gtest.h>
#include <nonstd/optional.hpp>
#include "xchainer/array.h"
#include "xchainer/device.h"
#include "xchainer/device_id.h"
#include "xchainer/error.h"
#include "xchainer/testing/array.h"
#include "xchaine... |
<commit_before>// Copyright 2022 The XLS 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... |
<commit_before>/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
*
* Gearmand client and server library.
*
* Copyright (C) 2012 Data Differential, http://datadifferential.com/
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provi... |
<commit_before>/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2012 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 <cstring>
namespace accelergy
{
void invokeAccelergy(std::vector<std::string> inputFiles) {
#ifdef ACCELERGY_PATH
std::string cmd = std::string(ACCELERGY_PATH) + "/accelergy";
for (auto inputFile : inputFiles) {
cmd += " " + inputFile;
}
cmd += " -o ./ > ./accelergy.log ... |
<commit_before>/*
* Copyright (c) 2015, Facebook, 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 directory.
*
... |
<commit_before>//
// Log - simple message logging to a file.
//
// Copyright (c) 2002-2005 Virtual Terrain Project
// Free for all uses, see license.txt for details.
//
#include "cpl_error.h" // From GDAL/include
#include "vtString.h"
#include "vtLog.h"
#include <stdarg.h>
#ifndef __DARWIN_OSX__
#include <wchar.h> /... |
<commit_before>//------------------------------------------------------------------------------
// CLING - the C++ LLVM-based InterpreterG :)
// version: $Id$
// author: Vassil Vassilev <[email protected]>
//------------------------------------------------------------------------------
#include "MetaParser.h"
#includ... |
<commit_before>#ifdef NDEBUG
#undef NDEBUG
#endif
#include <llvm/IR/IRBuilder.h>
#include <llvm/IR/LLVMContext.h>
#include <llvm/IR/Module.h>
#include <llvm/IR/Verifier.h>
#include <vector>
#include <string>
struct LLVMCodeGen {
using IRBuilder = llvm::IRBuilder<>;
llvm::LLVMContext &Context;
llvm::Module &M;
... |
<commit_before>#include <llvm/IR/IRBuilder.h>
#include <llvm/IR/LLVMContext.h>
#include <llvm/IR/Module.h>
#include <llvm/IR/Verifier.h>
#include <vector>
#include <string>
struct LLVMCodeGen {
using IRBuilder = llvm::IRBuilder<>;
llvm::LLVMContext &Context;
llvm::Module &M;
IRBuilder &Builder;
LLVMCodeGen(... |
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2020. All rights reserved
*/
#include "../StroikaPreComp.h"
#include <algorithm>
#include <cstdlib>
#include "../../Foundation/Characters/ToString.h"
#include "../../Foundation/Containers/Common.h"
#include "../../Foundation/DataExchange/BadFormatExcept... |
<commit_before>//============================================================================
// Name : UDPReader.cpp
// Author : Rodolfo Lam
// Version :
// Copyright : (C) 2016 Rodolfo Lam. All Rights Reserved.
// Description : Get one DATA-type package and display its contents.
//==================... |
<commit_before>#include "cuda_runtime.h"
#include "device_launch_parameters.h"
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <math.h>
#include <imgui.h>
#include "aten.h"
#include "atenscene.h"
#include "idaten.h"
#include "scenedefs.h"
#define MULTI_GPU_SVGF
#define GPU_NUM (2)
static int WID... |
<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>/** @file
Record compatibility definitions
@section license License
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... |
<commit_before>#define BOOST_TEST_MAIN
#include <lightex/workspace.h>
#include <boost/test/unit_test.hpp>
namespace {
class Tester {
public:
Tester()
: workspace_(lightex::MakeHtmlWorkspace()) {}
void check(const std::string& tex_input, const std::string& expected_output) const {
s... |
<commit_before>// This file is part of the dune-gdt project:
// http://users.dune-project.org/projects/dune-gdt
// Copyright holders: Felix Albrecht
// License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
//
// Contributors: Kirsten Weber
#ifndef DUNE_GDT_DISCRETEFUNCTION_DEFAULT_HH
#define DU... |
<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_EVALUATION_ELLIPTIC_HH
#define DUNE_G... |
<commit_before>// This file is part of the dune-stuff project:
// https://users.dune-project.org/projects/dune-stuff/
// Copyright holders: Rene Milk, Felix Schindler
// License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
#ifndef DUNE_STUFF_FUNCTION_CHECKERBOARD_HH
#define DUNE_STUFF_FUNCTIO... |
<commit_before>/*
* File: SDFLoader.cpp
* Author: Benedikt Vogler
*
* Created on 8. Juli 2014, 18:52
*/
#include <algorithm>
#include "SDFloader.hpp"
#include "Camera.hpp"
#include "Box.hpp"
#include "Sphere.hpp"
#include <iostream>
#include <fstream>
#include <string>
#include <sstream>
#include "Material.hp... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: impoct.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: rt $ $Date: 2007-07-24 10:00:21 $
*
* The Contents of this file are made av... |
<commit_before><commit_msg>document VclContainer a bit<commit_after><|endoftext|> |
<commit_before>#ifndef CXX_OBJECT_HXX
# define CXX_OBJECT_HXX
# include <boost/bind.hpp>
# include <object/atom.hh>
# include <object/primitive-class.hh>
# include <object/string-class.hh>
# include <object/object-class.hh>
# include <object/primitives.hh>
namespace object
{
template <typename T>
bool CxxObject:... |
<commit_before>#include <cstring>
#include "../uri/parse-query.hh"
#include "../uri/percent-encoding.hh"
#include "../stream/buffer.hh"
#include "request-reader.hh"
namespace mimosa
{
namespace http
{
RequestReader::RequestReader(stream::Stream::Ptr stream,
runtime::Time ... |
<commit_before>
//
// This source file is part of appleseed.
// Visit http://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited
// Copyright (c) 2014 Francois Beaune, The appleseedhq Organi... |
<commit_before><commit_msg>Fix loss scaling when running ORTTrainer with BERT under mixed-precision mode (#6932)<commit_after><|endoftext|> |
<commit_before>/**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2015 Ben Vanik. All rights reserved. ... |
<commit_before>/**
* @file AddingImages.cpp
* @brief Simple linear blender ( dst = alpha*src1 + beta*src2 )
* @author OpenCV team
*/
#include "opencv2/imgcodecs.hpp"
#include "opencv2/highgui.hpp"
#include <iostream>
using namespace cv;
/**
* @function main
* @brief Main function
*/
int main( void )
{
doub... |
<commit_before>/*************************************************************************/
/* gdnative.cpp */
/*************************************************************************/
/* This file is part of: */
/... |
<commit_before>#/** \ingroup kernel
* \{
*
* \file kernel/memory_map.hpp
* \brief This file defines the memory map used by the
* kernel as well as some auxilliary types.
*/
#ifndef H_kernel_memory
#define H_kernel_memory
#include <common/types.hpp>
#include "dynarray.hpp"
#include "debug.hpp"
#include "consta... |
<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 ... |
<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-2009 Torus Knot Software Ltd
Permission is hereby granted, free of charge,... |
<commit_before>#define HUE_STEP 1
#define VALUE_STEP 5
#define PERIOD_STEP 3
#define LETTERS_LAYER 0
#define BACKGROUND_LAYER 1
#include "Effects.h"
#include "effects/Effect.cpp"
#include "effects/RandomOn.cpp"
#include "effects/Counter.cpp"
#include "effects/BasicTyping.cpp"
#include "effects/SolidColor.cpp"
#includ... |
<commit_before>/**
* @file Mesh.cpp
* @author Sebastian Maisch <[email protected]>
* @date 2017.03.24
*
* @brief Implementation of the Mesh class.
*/
#include "Mesh.h"
#include "gfx/vk/LogicalDevice.h"
#include "gfx/vk/memory/MemoryGroup.h"
#include "gfx/Texture2D.h"
#include <glm/gtc/matrix_i... |
<commit_before>#include "Runtime/World/CScriptDamageableTrigger.hpp"
#include "Runtime/CStateManager.hpp"
#include "Runtime/World/CActorParameters.hpp"
#include "Runtime/World/CScriptActor.hpp"
#include "Runtime/World/CWorld.hpp"
#include "TCastTo.hpp" // Generated file, do not modify include path
namespace urde {
s... |
<commit_before>/*
* Copyright (C) 2008 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>#include <ast/all.hh>
#include <ast/new-clone.hh>
#include <ast/parametric-ast.hh>
#include <object/symbols.hh>
#include <parser/ast-factory.hh>
#include <parser/parse.hh>
#include <parser/parse-result.hh>
namespace std
{
ostream&
operator<< (ostream& o, const parser::case_type& c)
{
return o ... |
<commit_before>// Copyright (c) 2006-2008 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/info_bubble.h"
#include "app/gfx/canvas.h"
#include "app/gfx/color_utils.h"
#include "app/gfx/path... |
<commit_before>#include "filepickerwidget.h"
#include "debug.h"
#include <QKeyEvent>
#include <QPersistentModelIndex>
#include <QSettings>
FilePickerWidget::FilePickerWidget(QWidget *parent)
: QWidget(parent)
{
_ui.setupUi(this);
_ui.optionsContainer->hide();
_model.setRootPath(QDir::rootPath());
... |
<commit_before>#include "line_shape.hpp"
#include "../drape/utils/vertex_decl.hpp"
#include "../drape/glsl_types.hpp"
#include "../drape/glsl_func.hpp"
#include "../drape/shader_def.hpp"
#include "../drape/attribute_provider.hpp"
#include "../drape/glstate.hpp"
#include "../drape/batcher.hpp"
#include "../drape/textur... |
<commit_before><commit_msg>Reuse UseReferenceBuild() cleanup in startup test.<commit_after><|endoftext|> |
<commit_before>/// Project-level integration tests
#include "stdafx.h"
#include <CppUnitTest.h>
using Assert = Microsoft::VisualStudio::CppUnitTestFramework::Assert;
namespace You {
namespace NLP {
namespace Tests {
TEST_CLASS(NlpTests) {
public:
TEST_METHOD(DummyTest1) {
Assert::IsTrue(true);
}
};
} // na... |
<commit_before>/*
Copyright (C) 2003-2013 by Kristina Simpson <[email protected]>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this softw... |
<commit_before>//
// LocalNotificationSystem.cpp
// Chilli Source
// Created by Scott Downie on 01/07/2011.
//
// The MIT License (MIT)
//
// Copyright (c) 2011 Tag Games Limited
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation fi... |
<commit_before>#ifndef STAN_MATH_GPU_OPENCL_CONTEXT_HPP
#define STAN_MATH_GPU_OPENCL_CONTEXT_HPP
#ifdef STAN_OPENCL
#define __CL_ENABLE_EXCEPTIONS
#include <stan/math/prim/arr/err/check_opencl.hpp>
#include <stan/math/prim/scal/err/domain_error.hpp>
#include <CL/cl.hpp>
#include <cmath>
#include <fstream>
#include <io... |
<commit_before>// Copyright (c) 2015 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "atom/browser/api/atom_api_cookies.h"
#include "atom/common/native_mate_converters/callback.h"
#include "atom/common/native_mate_converters/gurl_converter.h"
#... |
<commit_before>#include <iostream>
#include "WakeDefines.h"
#include "Logging/LogMacros.h"
#include "Engine/InputManager.h"
#include "Engine/GEngine.h"
#include "Engine/Bootstrap.h"
#include "Engine/Shader.h"
#include "World/World.h"
#include "World/StaticMeshComponent.h"
#include <glm/glm.hpp>
#include <glm/gtc/t... |
<commit_before>#include "halley/core/graphics/painter.h"
#include "halley/core/graphics/render_context.h"
#include "halley/core/graphics/render_target/render_target.h"
#include "halley/core/graphics/material/material.h"
#include "halley/core/graphics/material/material_definition.h"
#include "halley/core/graphics/materi... |
<commit_before>/*
* Copyright (c) 2011-2016, Graphics Lab, Georgia Tech Research Corporation
* Copyright (c) 2011-2016, Humanoid Lab, Georgia Tech Research Corporation
* Copyright (c) 2016, Personal Robotics Lab, Carnegie Mellon University
* All rights reserved.
*
* This file is provided under the following "BSD-... |
<commit_before>/*-------------------------------------------------------------------------
*
* FILE
* result.cxx
*
* DESCRIPTION
* implementation of the pqxx::result class and support classes.
* pqxx::result represents the set of result tuples from a database query
*
* Copyright (c) 2001-2005, Jeroe... |
<commit_before>/*************************************************************************
*
* $RCSfile: retstrm.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: obo $ $Date: 2004-09-09 17:23:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before>#include "newarc.h"
ArchiveModuleManager::ArchiveModuleManager(const TCHAR* lpCurrentLanguage)
{
m_bLoaded = false;
m_pFilter = new ArchiveFilter(this, true);
m_strCurrentLanguage = lpCurrentLanguage;
}
bool ArchiveModuleManager::LoadIfNeeded()
{
if ( !m_bLoaded )
{
string strModulesPath = Info.... |
<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 ... |
<commit_before>//
// Exponent.cpp
// Calculator
//
// Created by Gavin Scheele on 3/27/14.
// Copyright (c) 2014 Gavin Scheele. All rights reserved.
//
#include "Exponential.h"
Exponential::Exponential(Expression* base, Rational* exponent){
this->type = "exponential";
this->base = base;
this->exponen... |
<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 even the implied ... |
<commit_before>//
// libavg - Media Playback Engine.
// Copyright (C) 2003-2008 Ulrich von Zadow
//
// 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 of the Li... |
<commit_before>#include <vector>
#include <string>
#include <limits>
#include <memory>
#include <iostream>
#include <arpa/inet.h>
#include "caf/all.hpp"
#include "caf/io/all.hpp"
CAF_PUSH_WARNINGS
#include "pingpong.pb.h"
CAF_POP_WARNINGS
using namespace std;
using namespace caf;
using namespace caf::io;
void prin... |
<commit_before>/******************************************************************************
* SOFA, Simulation Open-Framework Architecture, development version *
* (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH *
* ... |
<commit_before>/****************************************************************************
This file is part of the GLC-lib library.
Copyright (C) 2005-2008 Laurent Ribon ([email protected])
Version 1.1.0, packaged on March, 2009.
http://glc-lib.sourceforge.net
GLC-lib is free software; you can re... |
<commit_before>/*
* Copyright (C) 2008-2011 J-P Nurmi [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 option) any later version... |
<commit_before>//
// Copyright (c) 2019-2020 the rbfx 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 use, co... |
<commit_before>
#include "MarchingCubesShaded.h"
#include "MappedData.h"
#include "ShaderProgram.h"
#include "MarchingCubesFactory.h"
#include "Camera.h"
#include <glm\geometric.hpp>
#include <glm\common.hpp>
#include <glm\gtc\matrix_transform.hpp>
#include <glm\gtc\type_ptr.hpp>
using namespace std;
MarchingCubesSha... |
<commit_before>// C++ source file - (C) 2003 Robert Osfield, released under the OSGPL.
#include <osgViewer/Viewer>
#include <osgViewer/StatsHandler>
#include <osgGA/TrackballManipulator>
#include <osgDB/ReadFile>
#if USE_QT4
#include <QtCore/QTimer>
#include <QtGui/QKeyEvent>
#include <QtGui/QApplication... |
<commit_before>/**
Copyright (c) 2014-2015, Sandia Corporation
All rights reserved.
This file is part of fast-matmul and is under the BSD 2-Clause License,
which can be found in the LICENSE file in the root directory, or at
http://opensource.org/licenses/BSD-2-Clause.
*/
#include "common.hpp"
#ifdef ... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: style.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: obo $ $Date: 2008-01-07 08:55:43 $
*
* The Contents of this file are made av... |
<commit_before>/*************************************************************************
*
* $RCSfile: imap3.cxx,v $
*
* $Revision: 1.1.1.1 $
*
* last change: $Author: hr $ $Date: 2000-09-18 16:59:02 $
*
* The Contents of this file are made available subject to the terms of
* either of the following lice... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: contwnd.cxx,v $
*
* $Revision: 1.13 $
*
* last change: $Author: hr $ $Date: 2007-06-27 16:56:17 $
*
* The Contents of this file are made ... |
<commit_before><commit_msg>coverity#1251167 Logically dead code<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* $RCSfile: flyfrm.hxx,v $
*
* $Revision: 1.11 $
*
* last change: $Author: rt $ $Date: 2004-05-17 16:15:11 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licens... |
<commit_before><commit_msg>Remove redundant IF clause<commit_after><|endoftext|> |
<commit_before><commit_msg>n#778148 SwEditWin::MouseButtonDown: prefer url over hell frames on ctrl-click<commit_after><|endoftext|> |
<commit_before>#include "sendcoinsentry.h"
#include "ui_sendcoinsentry.h"
#include "guiutil.h"
#include "bitcoinunits.h"
#include "addressbookpage.h"
#include "walletmodel.h"
#include "optionsmodel.h"
#include "addresstablemodel.h"
#include <QApplication>
#include <QClipboard>
SendCoinsEntry::SendCoinsEntry(QWidget *... |
<commit_before>// This file is a part of the OpenSurgSim project.
// Copyright 2013, SimQuest Solutions 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.or... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: glossary.hxx,v $
*
* $Revision: 1.9 $
*
* last change: $Author: hr $ $Date: 2006-08-14 17:41:51 $
*
* The Contents of this file are made ... |
<commit_before>#include "bitcoin-config.h"
#if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h"
#endif
#ifdef ENABLE_WALLET
#include "paymentservertests.h"
#endif
#include "uritests.h"
#include <QCoreApplication>
#include <QObject>
#include <QTest>
#if defined(QT_STATICPLUGIN) && QT_VERSION < 0x050000
#incl... |
<commit_before>//
// Copyright (C) 2004, 2005 Pingtel Corp.
//
//
// $$
////////////////////////////////////////////////////////////////////////
// SYSTEM INCLUDES
#include <assert.h>
#include <stdio.h>
#if defined(_WIN32)
# include <winsock.h>
#elif defined(_VXWORKS)
# include <inetLib.h>
# include <netdb.h>
... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: glshell.cxx,v $
*
* $Revision: 1.14 $
*
* last change: $Author: hr $ $Date: 2006-08-14 17:49:26 $
*
* The Contents of this file are made ... |
<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)
#ifndef DUNE_GDT_OPERATORS_INTERFACES_HH
#define DUNE_GDT_OPERATORS_INTERFACES_HH
#incl... |
<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)
#ifndef DUNE_GDT_OPERATORS_INTERFACES_HH
#define DUNE_GDT_OPERATORS_INTERFACES_HH
#incl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.