text stringlengths 54 60.6k |
|---|
<commit_before>// Scintilla source code edit control
/** @file LexMSSQL.cxx
** Lexer for MSSQL.
**/
// By Filip Yaghob <fyaghob@gmail.com>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <stdio.h>
#include <stdarg.h>
#include "Platform.h"
#include "PropSet.h"
#include "Accessor.h"
#include "Ke... |
<commit_before><commit_msg>INTEGRATION: CWS dr48 (1.38.110); FILE MERGED 2006/05/22 16:33:51 dr 1.38.110.2: type correctness for stream related code in Excel filters (sal_Size vs. ULONG vs. sal_uInt32) 2006/05/10 16:59:31 dr 1.38.110.1: #i63105# backport changes from CWS chart2mst3<commit_after><|endoftext|> |
<commit_before>#include "pixelboost/graphics/camera/camera.h"
#include "pixelboost/graphics/camera/viewport.h"
#include "pixelboost/graphics/renderer/common/renderable.h"
#include "pixelboost/logic/system/graphics/render/render.h"
using namespace pb;
Renderable::Renderable(Uid entityUid)
: _BoundsDirty(true)
... |
<commit_before>/*
* logger.hpp
*
* Created on: Aug 9, 2012
* Author: philipp
*/
#ifndef __LOGGER_HPP__
#define __LOGGER_HPP__
#include <string>
#if defined(_GLIBCXX_HAS_GTHREADS)
#include <thread>
#define THREAD_GET_ID() std::this_thread::get_id()
#else
#include <boost/thread.hpp>
namespace std {
using... |
<commit_before>#include "gtest/gtest.h"
#include "langmem/Tokenizer.hpp"
void
assertTokenStream (std::string src, langmem::_TokenKind* tokens)
{
langmem::Tokenizer tkz;
tkz.reset();
tkz.setInputString(src);
while ((*tokens) != langmem::T_YACC_END)
{
ASSERT_EQ(*tokens, tkz.getNextToken().Kind());
... |
<commit_before>#include <SDL.h>
#include <setjmp.h>
#include "MainLoop.h"
#include "Mutex.h"
#include "ReadWriteLock.h"
#include "AuxLib.h"
#include "EventQueue.h"
#include "Options.h"
#include "LieroX.h"
#include "Cache.h"
#include "OLXCommand.h"
#include "InputEvents.h"
#include "TaskManager.h"
#include "Timer.h"
#i... |
<commit_before>//
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2010-2011 Alessandro Tasora
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file at the top level of the distribution
// and at http://projectchrono.org/licens... |
<commit_before>#ifndef NANOCV_DOT_H
#define NANOCV_DOT_H
namespace ncv
{
///
/// \brief general dot-product
///
template
<
typename tscalar,
typename tsize
>
tscalar dot(const tscalar* vec1, const tscalar* vec2, tsize size)... |
<commit_before>#include "Odometry.h"
#include <cstdint>
#include "WProgram.h"
#include "Device.h"
#include "config.h"
namespace tamproxy {
Odometer::Odometer(Encoder& lEncoder, Encoder& rEncoder, Gyro& gyro, float alpha)
: _encL(lEncoder),
_encR(rEncoder),
_gyro(gyro),
... |
<commit_before>#include "DirectedGraph.hh"
#include "Edge.hh"
#include "EdgeType.hh"
#include "Vertex.hh"
using namespace std;
template <typename V>
unsigned int DirectedGraph<V>::addEdge(EdgeType type, V distance, unsigned int start, unsigned int end) {
Edge<V> e = Edge<V>(this->edges_nb_, start, end, type, di... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/memory/lib/dimm/rcd_load.C ... |
<commit_before>/****************************************************************************
** libebml : parse EBML files, see http://embl.sourceforge.net/
**
** <file/class description>
**
** Copyright (C) 2002-2010 Steve Lhomme. All rights reserved.
**
** This file is part of libebml.
**
** This library is free sof... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/memory/lib/dimm/rcd_load.C ... |
<commit_before>/// Timestamps.
// Stores a monotonic* time value with (theoretical) microseconds resolution. Timestamps can be compared with each other and simple arithmetic is supported.
// Note: Timestamp values are only monotonic as long as the systems's clock is monotonic as well (and not, e.g. set back).
// Note: ... |
<commit_before>// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// fou... |
<commit_before>// RefCount.hh for FbTk - Fluxbox Toolkit
// Copyright (c) 2002 Henrik Kinnunen (fluxgen at users.sourceforge.net)
//
// 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... |
<commit_before><commit_msg>Renderer - Enums - BufferUsage / IndexType<commit_after><|endoftext|> |
<commit_before>/*!
* \file shader_source.hpp
* \brief file shader_source.hpp
*
* Adapted from: WRATHGLProgram.hpp of WRATH:
*
* Copyright 2013 by Nomovok Ltd.
* Contact: info@nomovok.com
* 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 dis... |
<commit_before>#ifndef __SCRIPT_HH__
#define __SCRIPT_HH__
#include <sstream>
#include <iterator>
#include <iostream>
#include <string>
#include <cstdio>
#include <stdarg.h>
#include <stdint.h>
#include <vector>
#include <list>
#include <queue>
#include <map>
#include "Action/AAction.hh"... |
<commit_before>#include "stdafx.h"
#include "FBOCommFabric.h"
#include <mpi.h>
megamol::pbs::MPICommFabric::MPICommFabric(int target_rank, int source_rank)
: my_rank_{0}
, target_rank_{target_rank}
, source_rank_{source_rank}
, recv_count_{1} {
MPI_Comm_rank(MPI_COMM_WORLD, &my_rank_);
}
bool m... |
<commit_before>#include "connection.h"
#include <QDataStream>
#include <QtConcurrent/QtConcurrent>
Connection::Connection(uint32_t id)
:
socket_(0),
shouldConnect_(false),
connected_(),
destination_(),
port_(0),
socketDescriptor_(0),
buffer_(),
sendMutex_(),
running_(false),
... |
<commit_before><commit_msg>Fix class_creator::implicit_ctor.<commit_after><|endoftext|> |
<commit_before><commit_msg>Fixing bug in GRD addClique<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: collator_unicode.cxx,v $
*
* $Revision: 1.10 $
*
* last change: $Author: kz $ $Date: 2006-01-31 18:35:58 $
*
* The Contents of this file ... |
<commit_before>// Copyright 2017 Netherlands eScience Center and Netherlands Institute for Radio Astronomy (ASTRON)
//
// 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... |
<commit_before>#include "Resolver.h"
#include "Hash.h"
#include "Requirement.h"
#include <cassert>
#include <exception>
#include <stdexcept>
#include <unordered_map>
#include <unordered_set>
using namespace Arbiter;
using namespace Resolver;
namespace {
/**
* Filters out versions from the given generator which fa... |
<commit_before>/**
* Copyright (c) 2015 - The CM Authors <legal@clickmatcher.com>
* All Rights Reserved.
*
* This file is CONFIDENTIAL -- Distribution or duplication of this material or
* the information contained herein is strictly forbidden unless prior written
* permission is obtained.
*/
#include "AutoComp... |
<commit_before>#include <wayfire/plugin.hpp>
#include <wayfire/output.hpp>
#include <wayfire/opengl.hpp>
#include <wayfire/render-manager.hpp>
static const char *vertex_shader =
R"(
#version 100
attribute mediump vec2 position;
attribute highp vec2 uvPosition;
varying highp vec2 uvpos;
void main() {
gl_Pos... |
<commit_before>//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant... |
<commit_before>#include <plugin.hpp>
#include <output.hpp>
#include <core.hpp>
#include <debug.hpp>
#include <view.hpp>
#include <view-transform.hpp>
#include <render-manager.hpp>
#include <workspace-stream.hpp>
#include <workspace-manager.hpp>
#include <signal-definitions.hpp>
#include <glm/glm.hpp>
#include <glm/gtc/... |
<commit_before>#include "Genes/Genome.h"
#include <string>
#include <vector>
#include <iostream>
#include <algorithm>
#include <numeric>
#include "Game/Color.h"
#include "Game/Clock.h"
#include "Utility/Random.h"
#include "Utility/String.h"
#include "Utility/Exceptions.h"
#include "Genes/Gene.h"
#include "Genes/Tot... |
<commit_before><commit_msg>fix build failure if pch is on<commit_after><|endoftext|> |
<commit_before>//
// Copyright (c) 2014-2020 CNRS INRIA
//
#ifndef __eigenpy_eigen_from_python_hpp__
#define __eigenpy_eigen_from_python_hpp__
#include "eigenpy/fwd.hpp"
#include "eigenpy/numpy-type.hpp"
#include "eigenpy/eigen-allocator.hpp"
#include "eigenpy/scalar-conversion.hpp"
#include <boost/python/converter/... |
<commit_before>#pragma once
#include <iostream>
#include <type_traits> // for std::is_same<>
#include <functional>
#include <type_traits> // for std::false_type/std::true_type
#include <exception> // for std::is_same<>
namespace mittens
{
//////////////////////////////////////////////////////////////////////////
... |
<commit_before>/* This file is part of the KDE project
*
* Copyright (C) 2005 Christoph Cullmann <cullmann@kde.org>
*
* 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
* ... |
<commit_before>/**
* Node Native Module for Lib Sodium
*
* @Author Pedro Paixao
* @email paixaop at gmail dot com
* @License MIT
*/
#include "node_sodium.h"
#include "crypto_sign_ed25519.h"
/**
* Register function calls in node binding
*/
void register_crypto_sign(Handle<Object> target) {
// Sign
NEW... |
<commit_before>// This file is part of OpenMVG, an Open Multiple View Geometry C++ library.
// Copyright (c) 2016 Pierre MOULON.
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.o... |
<commit_before>/*
* Copyright 2007-2017 Content Management AG
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source... |
<commit_before>//=============================================================================================================
/**
* @file eegosportsdriver.cpp
* @author Christoph Dinh <chdinh@nmr.mgh.harvard.edu>;
* Lorenz Esch <lesch@mgh.harvard.edu>;
* Viktor Klueber <Viktor.Klueber@tu-... |
<commit_before><<<<<<< HEAD
/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the Qt Mobility Components.
**
**... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the Qt Mobility Components.
**
** $QT_BEGIN_LI... |
<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>#ifndef INCLUDED_U5E_CANONICAL_COMPOSITION
#define INCLUDED_U5E_CANONICAL_COMPOSITION
#include <u5e/props/canonical_composition_mapping.hpp>
namespace u5e {
/**
* \brief performs in-place canonical composition.
*
* This will return the iterator in the end position after the
* composition.... |
<commit_before>/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** Commercial Usage
**
** Licensees holding valid Qt Commercial... |
<commit_before>#include "pch.h"
#include "RTHRMain.h"
#include "Common\DirectXHelper.h"
// Loads and initializes application assets when the application is loaded.
RTHRMain::RTHRMain(const std::shared_ptr<DX::DeviceResources>& deviceResources) :
deviceResources(deviceResources)
{
// Register to be notified if the D... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: vtkMesaActor.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 1993-2001 Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
Redistribut... |
<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>/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
*
* 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 ... |
<commit_before>// This file is distributed under the MIT license.
// See the LICENSE file for details.
#include <cstddef>
#include "../matrix.h"
#include "math.h"
namespace MATH_NAMESPACE
{
//-------------------------------------------------------------------------------------------------
// quaternion members
//
... |
<commit_before>// Copyright (C) 2016 xaizek <xaizek@openmailbox.org>
//
// This file is part of uncov.
//
// uncov 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 License, or
/... |
<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 "CCPACSPointListXYZ.h"
namespace tigl
{
void CCPACSPointListXYZ::ReadCPACS(const TixiDocumentHandle& tixiHandle, const std::string &xpath)
{
generated::CPACSPointListXYZVector::ReadCPACS(tixiHandle, xpath);
// create cached representation from CPACS fields
... |
<commit_before>#ifndef _SWAP_SCHEDULING_
#define _SWAP_SCHEDULING_
#include <vector>
#include "../VoltageTable.hpp"
#include "../nnet/nnetmultitask.hpp"
#include "../TaskHandoff.hpp"
class SwapScheduling {
public:
void buildTaskTable(char *filename);
void buildSolarPowerTrace();
std::vector<double> generateCharg... |
<commit_before>// StlSolid.cpp
#include "stdafx.h"
#include "StlSolid.h"
#include "../tinyxml/tinyxml.h"
#include <fstream>
using namespace std;
CStlSolid::CStlSolid(const HeeksColor* col):color(*col), m_gl_list(0){
m_title.assign(GetTypeString());
}
CStlSolid::CStlSolid(const wxChar* filepath, cons... |
<commit_before>/*
Copyright 2008 Larry Gritz and the other authors and contributors.
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 cop... |
<commit_before>#ifndef ALPHA_DIRECTRENDERLAYER_HEADER
#define ALPHA_DIRECTRENDERLAYER_HEADER
#include "gl/RenderLayer.hpp"
#include "gl/Physical.hpp"
#include "gl/util.hpp"
#include <GL/gl.h>
#include <vector>
#include <algorithm>
namespace nt {
namespace gl {
/**
* Represents something that can be rendered. Spec... |
<commit_before>#include "trace.h"
#include "lib/lambertian.h"
#include "lib/stats.h"
Color trace(const Vec& origin, const Vec& dir,
const Tree& triangles_tree, const std::vector<Light>& lights,
int depth, const Configuration& conf)
{
Stats::instance().num_rays += 1;
if (depth > conf.max_depth)... |
<commit_before>#include "timer.h"
#ifdef _WIN32
#include <windows.h>
#include <winbase.h>
#else
#include <time.h>
#endif
HighResTimer::HighResTimer()
{
ElapsedTime = 0;
running = 0;
}
HighResTimer::~HighResTimer() {}
void HighResTimer::Start()
{
#ifdef _WIN32
__int64 istart;
QueryPerformanceCounter((LARGE_INTEGE... |
<commit_before><commit_msg>pTBins -> binsPt<commit_after><|endoftext|> |
<commit_before>
/***************************************************************************
adash@cern.ch - last modified on 03/04/2013
// modified by rsingh@cern.ch -- 19-11-2016
// General macro to configure the RSN analysis task.
// It calls all configs desired by the user, by means
// of the boolean s... |
<commit_before>//
// Euler's sum of powers conjecture counterexample test without recursion
// Wikipedia: Euler's conjecture was disproven by L. J. Lander and T. R. Parkin
// in 1966 when, through a direct computer search on a CDC 6600, they found
// a counterexample for k = 5. A total of three primitive (that is, in w... |
<commit_before>//#include "blocksOverlap.h"
#include "ChimericDetection.h"
#include "ChimericSegment.h"
int chimericAlignScore (ChimericSegment & seg1, ChimericSegment & seg2)
{
int chimScore=0;
uint chimOverlap = seg2.roS>seg1.roS ? (seg2.roS>seg1.roE ? 0 : seg1.roE-seg2.roS+1) : (seg2.roE<seg1.roS ? 0 : seg... |
<commit_before>/*
* Distributed under the OSI-approved Apache License, Version 2.0. See
* accompanying file Copyright.txt for details.
*
* BP5Writer.cpp
*
*/
#include "BP5Writer.h"
#include "adios2/common/ADIOSMacros.h"
#include "adios2/core/IO.h"
#include "adios2/helper/adiosFunctions.h" //CheckIndexRange
#in... |
<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 "base/threading/platform_thread.h"
#include "base/logging.h"
#include "base/threading/thread_local.h"
#include "base/threadin... |
<commit_before>#pragma once
#include <cstdint>
#include "pstream.hh"
#ifdef XV6_KERNEL
#include "cpu.hh"
#endif
// XXX(Austin) With decent per-CPU static variables, we could just use
// a per-CPU variable for each of these stats, plus some static
// constructor magic to build a list of them, and we could avoid this... |
<commit_before>#include <iostream>
#include <fstream>
#include <string>
using namespace std;
void Nr(int &k) {
int nrOfDigits = 0;
k /= 10;
int tmp = k;
while (tmp) {
++nrOfDigits;
tmp /= 10;
}
switch (nrOfDigits) {
case 2: k = k % 10; break;
case 3: k = k % 100... |
<commit_before>// $Id$
// Author: Constantin Loizides <mailto: loizides@ikf.physik.uni-frankfurt.de
#include <stream.h>
#include <libgen.h>
#include "AliL3RootTypes.h"
#include "AliL3Logger.h"
#include "AliL3MemHandler.h"
#include "AliL3AltroMemHandler.h"
#include "AliL3DigitData.h"
#include "AliL3Transform.h"
#incl... |
<commit_before>/*
* rkf78.hpp
*
* Created on: Wed Mar 16 2016
* Author: zhengfaxiang
*/
#ifndef RKF78_HPP_
#define RKF78_HPP_
#include <fstream>
#include <iostream>
#include <iomanip>
#include <cmath>
#include <algorithm>
#include <sstream>
#include <string>
#include <stdexcept>
using namespace std;
templ... |
<commit_before>#include "stack.hpp"
#ifndef STACK_CPP
#define STACK_CPP
template <typename T>
stack<T>::stack() : count_(0), array_size_(1), array_(new T[array_size_])
{}
template <typename T>
size_t stack<T> :: count() const
{
return count_;
}
template <typename T>
stack<T>::~stack()
{
delete[] array_;
}
template ... |
<commit_before>#include "Stack.hpp"
#include <stdexcept>
#ifndef STACK_CPP
#define STACK_CPP
template <typename T1, typename T2>
void construct(T1 * ptr, T2 const & value)
{
new(ptr) T1(value);
}
template <typename T>
void destroy(T * array) noexcept
{
array->~T();
}
template <typename FwdIter>
void destroy(FwdIter... |
<commit_before>#include "processdepth.h"
ProcessDepth::ProcessDepth()
{
}
bool ProcessDepth::detectHand(Mat depth, vector<int> &bbox,
Point3f ¢er, int &gesture)
{
Mat depth_in_range;
if (getContentInRange(depth, depth_in_range, bbox, 0.45)) {
return analyseGesture(depth_in_r... |
<commit_before>
#ifndef DUNE_GRID_PART_LOCAL_INDEXBASED_HH
#define DUNE_GRID_PART_LOCAL_INDEXBASED_HH
// system
#include <map>
#include <set>
// dune-common
#include <dune/common/shared_ptr.hh>
#include <dune/common/exceptions.hh>
// dune-geometry
#include <dune/geometry/type.hh>
// dune-grid-multiscale
#include <d... |
<commit_before>#include <tiramisu/tiramisu.h>
#include "benchmarks.h"
using namespace tiramisu;
/**
* Benchmark for BLAS SYRK
* out = alpha * A * A' + beta * C
*
* A : a N by K matrix
* C : a symmetric N by N matrix
* alpha, beta : scalars
* A' is the transpose of A
*/
/**
We will make a tiramis... |
<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>//============================================================================
// Name : benchmark_main.cc
// Author : Giovanni Azua (bravegag@hotmail.com)
// Since : 25.07.2013
// Description : Main application for benchmarking Eigen with MAGMA and MKL
//===============================... |
<commit_before>// This file is part of BlueSky
//
// BlueSky 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 (at your option) any later version.
//
// BlueSky is... |
<commit_before>#include "product_price_trend.h"
#include <common/Utilities.h>
#include <log-manager/PriceHistory.h>
#include <am/range/AmIterator.h>
#include <libcassandra/util_functions.h>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/filesystem.hpp>
#include <algorithm>
using namespace std;
... |
<commit_before>//=======================================================================
// Copyright Baptiste Wicht 2013-2016.
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://www.opensource.org/licenses/MIT)
//==================================================... |
<commit_before>#include "Base.h"
#include "Camera.h"
#include "Game.h"
#include "Node.h"
#include "Game.h"
#include "PhysicsController.h"
// Camera dirty bits
#define CAMERA_DIRTY_VIEW 1
#define CAMERA_DIRTY_PROJ 2
#define CAMERA_DIRTY_VIEW_PROJ 4
#define CAMERA_DIRTY_INV_VIEW 8
#define CAMERA_DIRTY_INV_VIEW_PROJ 16
#... |
<commit_before>/*
Resembla: Word-based Japanese similar sentence search library
https://github.com/tuem/resembla
Copyright 2017 Takashi Uemura
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
h... |
<commit_before>/*
* libeinit++.c++
* einit
*
* Created by Magnus Deininger on 01/08/2007.
* Copyright 2006, 2007 Magnus Deininger. All rights reserved.
*
*/
/*
Copyright (c) 2007, Magnus Deininger
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are perm... |
<commit_before>// @(#)root/proofx:$Id$
// Author: Gerardo Ganis Apr 2008
/*************************************************************************
* Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... |
<commit_before>
///////////////////////////////////////////////////////////////////////////////
//
// +-----------------------------------------------------------+
// | Grok : A Naive JavaScript Interpreter |
// +-----------------------------------------------------------+
//
// Copyright 2... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: xmlprmap.cxx,v $
*
* $Revision: 1.8 $
*
* last change: $Author: obo $ $Date: 2006-09-17 11:00:40 $
*
* The Contents of this file are made... |
<commit_before>#pragma once
#ifndef TETRA_SQLITE_SQLITE
#define TETRA_SQLITE_SQLITE
#include "sqlite3.h"
#include <vector>
#include <stdexcept>
#include <memory>
#include <cstdint>
namespace tetra
{
namespace sqlite
{
template <class T>
struct ScopeExit
{
inline ScopeExit( T fun ) : fun{fun} {};
~ScopeExit() {... |
<commit_before>/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
#ident "$Id$"
#ident "Copyright (c) 2007-2012 Tokutek Inc. All rights reserved."
#include "test.h"
int num_entries;
bool flush_may_occur;
int expected_flushed_key;
bool check_flush;
sta... |
<commit_before>/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2013 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 "filesystem.h"
FileSystem::FileSystem() {
this->mRoot = new Dnode();
this->mWalker = Walker(this->mRoot, nullptr, "/");
}
FileSystem::~FileSystem() {
delete this->mRoot;
}
int FileSystem::createFolder(std::string folderName) {
dynamic_cast<Dnode*>(mWalker.getLookingAt())->addNode(... |
<commit_before>/*************************************************************************/
/* material_editor_plugin.cpp */
/*************************************************************************/
/* This file is part of: */
/... |
<commit_before><commit_msg>Fix miscalculation of debug vertex buffer size<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: Style.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: obo $ $Date: 2006-09-17 13:14:39 $
*
* The Contents of this file are made av... |
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2011. All rights reserved
*/
#include "../StroikaPreComp.h"
#include <cstdlib>
#include <cstring>
#include <ctime>
#include "../Configuration/Common.h"
#include "../Debug/Assertions.h"
#include "DateTime.h"
#include "Timezone.h"
using namespace Stroik... |
<commit_before>// Copyright (c) 1998-1999 Matra Datavision
// Copyright (c) 1999-2012 OPEN CASCADE SAS
//
// The content of this file is subject to the Open CASCADE Technology Public
// License Version 6.5 (the "License"). You may not use the content of this file
// except in compliance with the License. Please obtain ... |
<commit_before>/* Authors: Don Sanders <sanders@kde.org>
Copyright (C) 2000 Don Sanders <sanders@kde.org>
Includes KMLittleProgressDlg which is based on KIOLittleProgressDlg
by Matt Koss <koss@miesto.sk>
License GPL
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "kmbroadcaststatus.h"
#inclu... |
<commit_before>/*
* shaperenderer.cpp
*
* Created on: Mar 11, 2013
* @author schurade
*/
#include "shaperenderer.h"
#include "glfunctions.h"
#include "../../data/mesh/tesselation.h"
#include <QDebug>
#include <QtOpenGL/QGLShaderProgram>
ShapeRenderer::ShapeRenderer() :
vboIds( new GLuint[ 5 ] )
{
}
ShapeR... |
<commit_before>/**
@copyright MIT license; see @ref index or the accompanying LICENSE file.
@file
@brief %Object commands.
@ingroup cmd_object
*/
#pragma once
#include <Hord/config.hpp>
#include <Hord/String.hpp>
#include <Hord/Data/Defs.hpp>
#include <Hord/Data/ValueRef.hpp>
#include <Hord/Data/Table.hpp>
#include ... |
<commit_before>/*
* This file is part of Poedit (http://www.poedit.net)
*
* Copyright (C) 1999-2005 Vaclav Slavik
*
* 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>/** Copyright (C) 2016, 2017 European Spallation Source ERIC */
#include <common/version.h>
#include <test/TestBase.h>
class VersionTest : public TestBase {};
TEST_F(VersionTest, Constructor) {
ASSERT_TRUE(EFU_VERSION_NUM(0,0,1) > EFU_VERSION_NUM(0,0,0));
ASSERT_TRUE(EFU_VERSION_NUM(0,1,0) > EFU... |
<commit_before>/*
This file is part of KOrganizer.
Copyright (c) 1998 Barry D Benowitz
Copyright (c) 2001 Cornelius Schumacher <schumacher@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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.