text stringlengths 54 60.6k |
|---|
<commit_before>//////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2008, Image Engine Design 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:... |
<commit_before>#ifndef MATH_HPP
#define MATH_HPP
#include <algorithm>
#include <cmath>
#include <math.h>
#define PI 3.14159265358979323846f
#define TAU 6.28318530717958647692f
#define KAPPA90 0.5522847493f
// KAPPA90 = (4/3 * (sqrt(2) - 1))
// https://de.wikipedia.org/wiki/Datei:Circle-cbezier-method2.svg
#define O... |
<commit_before>#include <sstream>
#include <pwd.h>
#include <iostream>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <dirent.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <string>
#include <errno.h>
#include <iomanip>
#include <vector>
#include <algorithm>
#include <t... |
<commit_before>//
// Copyright (c) 2018 The nanoFramework project contributors
// Portions Copyright (c) 2006-2015, ARM Limited, All Rights Reserved
// Portions Copyright (c) Microsoft Corporation. All rights reserved.
// See LICENSE file in the project root for full license information.
//
#include <ssl.h>
#include ... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/memory/lib/eff_config/memor... |
<commit_before>// Copyright 2017 Global Phasing Ltd.
#include "gemmi/symmetry.hpp"
#include <stdio.h>
void print_symmetry_operations(const gemmi::GroupOps& ops) {
printf("%zu x %zu symmetry operations:\n",
ops.cen_ops.size(), ops.sym_ops.size());
for (const gemmi::Op& op : ops.all_ops_sorted())
print... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2013 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>/*
Copyright 2015-2020 Igor Petrovic
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 i... |
<commit_before>#include <QSettings>
#include <QThread>
#include "canconnection.h"
CANConnection::CANConnection(QString pPort,
QString pDriver,
CANCon::type pType,
int pNumBuses,
int pQueueLen,
... |
<commit_before>/***************************************************************************
* Copyright (c) 2011 Juergen Riegel <FreeCAD@juergen-riegel.net> *
* *
* This file is part of the FreeCAD CAx development system. ... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/common/utils/imageProcs/common_ringId.H $ ... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/memory/p9_mss_scrub.C $ ... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/nest/p9_attr_update.C $ ... |
<commit_before>#include "ImGuiEntitySelectorSystem.hpp"
#include "data/ImGuiComponent.hpp"
#include "data/ImGuiToolComponent.hpp"
#include "data/NameComponent.hpp"
#include "data/SelectedComponent.hpp"
#include "helpers/typeHelper.hpp"
#include "helpers/sortHelper.hpp"
#include "meta/Has.hpp"
#include "meta/MatchStri... |
<commit_before>// Copyright 2020 Open Source Robotics Foundation, 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 re... |
<commit_before>/******************************************************************************
* Copyright (c) 2011, Michael P. Gerlek (mpg@flaxen.com)
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following
* conditions a... |
<commit_before><commit_msg>INTEGRATION: CWS warnings01 (1.3.30); FILE MERGED 2006/01/25 20:57:58 sb 1.3.30.4: RESYNC: (1.3-1.5); FILE MERGED 2005/12/22 11:44:53 fs 1.3.30.3: #i57457# warning-free code 2005/11/21 10:07:53 fs 1.3.30.2: #i57457# warning-free code on unx* 2005/11/07 14:43:49 fs 1.3.30.1: #i57457# warning-f... |
<commit_before>/* Copyright 2017 Istio 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 requi... |
<commit_before>// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Copyright (c) 2015 Felix Rieseberg <feriese@microsoft.com> and Jason Poon <jason.poon@microsoft.com>. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE-CHROMIUM file.
... |
<commit_before><commit_msg>Bug Hunting<commit_after><|endoftext|> |
<commit_before>#include <ShaderReflection.h>
#include <ShaderMeta/USMShaderMeta.h>
#include <LogDelegate.h>
#include <cassert>
#include <map>
#define WIN32_LEAN_AND_MEAN
#include <d3dcompiler.h>
// StructCache stores D3D11 type to metadata index mapping, where metadata index is an index in the Out.Structs array
static... |
<commit_before>/**
* Appcelerator Kroll - licensed under the Apache Public License 2
* see LICENSE in the root folder for details on the license.
* Copyright (c) 2008-2009 Appcelerator, Inc. All Rights Reserved.
*/
#include "boot.h"
#include "popup_dialog_win32.h"
#include <process.h>
#include <windows.h>
using st... |
<commit_before>// $Id$
// The libMesh Finite Element Library.
// Copyright (C) 2002-2008 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foun... |
<commit_before>/*=========================================================================
*
* Copyright 2011-2013 The University of North Carolina at Chapel Hill
* All rights reserved.
*
* Licensed under the MADAI Software License. You may obtain a copy of
* this license at
*
* https://madai-public... |
<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 "webkit/tools/test_shell/test_shell_webmimeregistry_impl.h"
#include "base/string_util.h"
#include "net/base/mime_util.h"
#in... |
<commit_before>// Copyright 2015 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 "remoting/host/logging.h"
#include <asl.h>
#include <sys/types.h>
#include <unistd.h>
#include "base/logging.h"
#include "base/s... |
<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 "chrome/test/automation/browser_proxy.h"
#include "chrome/test/automation/tab_proxy.h"
#include "chrome/test/ui/ui_test.h"
#in... |
<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 <stdlib.h> // required by _set_abort_behavior
#include <gtk/gtk.h>
#include "base/command_line.h"
#include "webkit/tools/tes... |
<commit_before>// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "process_memory_stats.h"
#include <vespa/vespalib/stllike/asciistream.h>
#include <algorithm>
#include <vespa/log/log.h>
LOG_SETUP(".vespalib.util.process_memory_stats");
namespace vespal... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: UriSchemeParser_vndDOTsunDOTstarDOTexpand.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: obo $ $Date: 2007-03-12 10:55:34 $
*
* T... |
<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>/*
* Copyright © 2010 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, including without limitation
* the rights to use, copy, mod... |
<commit_before>/*
* Copyright (c) 2012-2015 Advanced Micro Devices, Inc.
* All rights reserved.
*
* For use for simulation and test purposes only
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistrib... |
<commit_before>/* Please refer to license.txt */
#include "window.hpp"
#include "../2d/2d.hpp"
#include <iostream>
#include <CEGUI/CEGUI.h>
#include <CEGUI/RendererModules/OpenGL/GLRenderer.h>
namespace GEngine
{
namespace mgfx
{
Window::Window()
{
parent_d2d = nullptr;
width = nullptr;
height = nullptr;
de... |
<commit_before>#include "graphics/textureAtlas.h"
#include "graphics/opengl.h"
#include "textureManager.h"
#include <algorithm>
namespace sp {
AtlasTexture::AtlasTexture(glm::ivec2 size)
{
texture_size = size;
available_areas.push_back({{0, 0}, {size.x, size.y}});
gl_handle = 0;
smooth = textureManag... |
<commit_before>#include "packagemanagerplugin.h"
#include "dbsettings.h"
PackageManagerPlugin::PackageManagerPlugin(QObject *parent) :
QObject(parent)
{}
void PackageManagerPlugin::initialize()
{
}
bool PackageManagerPlugin::startGuiInstall(const QStringList &packages)
{
Q_UNUSED(packages);
return false;
}
bool... |
<commit_before>/*
* Copyright (c) 2008 James Molloy, Jörg Pfähler, Matthew Iselin
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWA... |
<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>/* © 2010 David Given.
* LBW is licensed under the MIT open source license. See the COPYING
* file in this distribution for the full text.
*/
#include "globals.h"
#include "filesystem/RealFD.h"
#include "filesystem/InterixVFSNode.h"
#include "filesystem/PtsVFSNode.h"
#include "filesystem/Fak... |
<commit_before>/* 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.org/MPL/2.0/. */
#ifndef ECL_LIB_UTILS_ERR_HPP_
#define ECL_LIB_UTILS_ERR_HPP_
namespace ecl
{
//! theCore system-... |
<commit_before>
#include <cstring>
#include <cstdarg>
#include <cstdio>
#include <ctype.h>
#include "Assert.h"
#include "String.h"
String::Data String::emptyData("");
String::Data* String::firstFreeData = 0;
String::String(const char* str, int length)
{
if(length < 0)
length = strlen(str);
init(length, str, ... |
<commit_before>#include <SDL2/SDL.h>
#include <stdio.h>
#include <iostream>
#include <string>
#include <Vect2.h>
#include "Systems/RenderSystem.h"
#include "Systems/ComponentManager.h"
#include "Systems/EntitySystem.h"
#include "Components/Sprite.h"
#include "Components/Transform.h"
#include "Components/B... |
<commit_before>#include <Box2D/Box2D.h>
#include "cinder/app/AppNative.h"
#include "cinder/gl/gl.h"
#include "cinder/Rand.h"
#include "Attractor.h"
#include "Particle.h"
using namespace ci;
using namespace ci::app;
using namespace std;
class Ex56ForcesApp : public AppNative {
public:
void setup();
void mouseDown(... |
<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
// "Lic... |
<commit_before>
/*
********************************************************************************
***************************** Implementation Details ***************************
********************************************************************************
*/
#ifndef _Stroika_Foundation_Containers_TimedC... |
<commit_before>#include "erl_nif.h"
static ErlNifResourceType* bulleterl_RESOURCE = NULL;
typedef struct
{
} bulleterl_handle;
// Prototypes
static ERL_NIF_TERM bulleterl_new(ErlNifEnv* env, int argc,
const ERL_NIF_TERM argv[]);
static ERL_NIF_TERM bulleterl_myfunction(ErlNifEnv* e... |
<commit_before>#include "ovpCTestCodecToolkit.h"
using namespace OpenViBE;
using namespace OpenViBE::Kernel;
using namespace OpenViBE::Plugins;
using namespace OpenViBEPlugins;
using namespace OpenViBEPlugins::Samples;
using namespace OpenViBEToolkit;
boolean CTestCodecToolkit::initialize(void)
{
m_oS... |
<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>/* bzflag
* Copyright (c) 1993 - 2004 Tim Riker
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the license found in the file
* named COPYING that should have accompanied this file.
*
* THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
... |
<commit_before>#include "game.h"
#include "camera.h"
#include "util/gui/cutscene.h"
#include "world.h"
#include "util/bitmap.h"
#include "util/stretch-bitmap.h"
#include "util/debug.h"
#include "util/events.h"
#include "util/font.h"
#include "util/init.h"
#include "util/input/input-map.h"
#include "util/input/input-m... |
<commit_before>#include "../stdafx.h"
#include "SLCImageProcess.h"
#include <vector>
namespace slcimage
{
//====================================================================================================================
//----------------------------------------------------------------------------------------... |
<commit_before><commit_msg>ServiceWorker: Add null check in ServiceWorkerContextWrapper::DeleteAndStartOver<commit_after><|endoftext|> |
<commit_before>// Copyright 2016 Benjamin Glatzel
//
// 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 l... |
<commit_before>#define BOOST_TEST_MODULE path_element_tests
// boost.test
#include <boost/test/included/unit_test.hpp>
// boost.filesystem
#include <boost/filesystem.hpp>
// mapnik
#include <mapnik/map.hpp>
#include <mapnik/rule.hpp>
#include <mapnik/feature_type_style.hpp>
#include <mapnik/svg/output/svg_renderer.h... |
<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><commit_msg>fix typo<commit_after><|endoftext|> |
<commit_before>#include "addressbookdialog.h"
#include "ui_addressbookdialog.h"
#include "addresstablemodel.h"
#include "editaddressdialog.h"
#include <QSortFilterProxyModel>
#include <QClipboard>
#include <QDebug>
AddressBookDialog::AddressBookDialog(Mode mode, QWidget *parent) :
QDialog(parent),
ui(new Ui:... |
<commit_before>#pragma once
#include <cstdint>
#include <array>
namespace Utility
{
namespace MemoryManager
{
class AllocationHeaderBuilder
{
private:
AllocationHeaderBuilder();
virtual ~AllocationHeaderBuilder();
public:
/**
... |
<commit_before>/*ckwg +5
* Copyright 2011-2013 by Kitware, Inc. All Rights Reserved. Please refer to
* KITWARE_LICENSE.TXT for licensing information, or contact General Counsel,
* Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065.
*/
#include "utils.h"
#ifdef HAVE_PTHREAD_NAMING
#define NAME_THREAD_USING_... |
<commit_before>/**************************************************************************************/
/* */
/* Visualization Library */
/* http://visualizationlibrary.org... |
<commit_before>#include "widgets/notebookpage.hpp"
#include "colorscheme.hpp"
#include "widgets/chatwidget.hpp"
#include "widgets/notebook.hpp"
#include "widgets/notebooktab.hpp"
#include <QDebug>
#include <QHBoxLayout>
#include <QMimeData>
#include <QObject>
#include <QPainter>
#include <QVBoxLayout>
#include <QWidge... |
<commit_before>/**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2015 Ben Vanik. All rights reserved. ... |
<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
// "Lic... |
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2011. All rights reserved
*/
#include "../StroikaPreComp.h"
#include "Sleep.h"
#include "ThreadPool.h"
using namespace Stroika::Foundation;
using namespace Stroika::Foundation::Execution;
class ThreadPool::MyRunnable_ : public IRunnable {
public... |
<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>/*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distr... |
<commit_before>#include <ros/ros.h>
#include <tf/transform_listener.h>
#include <geometry_msgs/Twist.h>
#include <sensor_msgs/PointCloud.h>
void center_cloud_cb(const sensor_msgs::PointCloud::ConstPtr& inMsg)
{
if (inMsg->points.size()>0)
{
ros::Time now = ros::Time(0);
sensor_msgs::PointCloud c... |
<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
* "... |
<commit_before>/*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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>/*************************************************************************
* Copyright(c) 1998-2008, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Con... |
<commit_before>{
{
mode: "dorian",
progression: "1,2,1,5,5,2,2,4,5,2",
origin: "white stripes - little apple blossom"
},
{
mode: "dorian",
progression: "1,7,4,4",
origin: "depeche mode - never let me down"
},
{
mode: "minor",
progression: "1,7,4,6",
origin: "cure - the figu... |
<commit_before>/*
* File: deletions.cpp
* Copyright (C) 2004 The Institute for System Programming of the Russian Academy of Sciences (ISP RAS)
*/
#include "common/sedna.h"
#include "tr/updates/updates.h"
#include "tr/executor/base/xptr_sequence.h"
#include "tr/mo/micro.h"
#include "tr/auth/auc.h"
#ifdef SE_ENABLE... |
<commit_before>#include <kdebug.h>
#include "certificatewizardimpl.h"
/*
* Constructs a CertificateWizardImpl which is a child of 'parent', with the
* name 'name' and widget flags set to 'f'
*
* The wizard will by default be modeless, unless you set 'modal' to
* TRUE to construct a modal wizard.
*/
Certi... |
<commit_before>/*
* Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this l... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/include/usr/ipmi/ipmiif.H $ ... |
<commit_before>/****************************************************************************
ui_features.hpp - Support file for writing LV2 plugins in C++
Copyright (C) 2013 Michael Fisher <mfisher31@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of... |
<commit_before>/*
MusicXML Library
Copyright (C) Grame 2006-2013
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.org/MPL/2.0/.
Grame Research Laboratory, 11, cours de Verdun G... |
<commit_before>/*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distr... |
<commit_before>/**************************************************************************************/
/* */
/* Visualization Library */
/* http://www.visualizationlibrary... |
<commit_before>//
// This file is part of the Marble Virtual Globe.
//
// This program is free software licensed under the GNU LGPL. You can
// find a copy of this license in LICENSE.txt in the top directory of
// the source code.
//
// Copyright 2012 Dennis Nienhüser <earthwings@gentoo.org>
// Copyright 2012 ... |
<commit_before>/*
* Copyright © 2012 Intel Corporation
*
* 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.1 of the License, or (at your option) any later version.... |
<commit_before>// @(#)root/base:$Name: $:$Id: TContextMenu.cxx,v 1.5 2002/04/05 11:39:21 rdm Exp $
// Author: Nenad Buncic 08/02/96
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. ... |
<commit_before><commit_msg>fix windows DdePoke signature<commit_after><|endoftext|> |
<commit_before><commit_msg>Added prototype functions for various C++ surface operations to be benchmarked.<commit_after>//
//
//
//
// extern "C"
// #ifdef _WIN32
// __declspec(dllexport)
// #endif
int fill_surf(int* array_data, int array_width, int array_height);
int fill_surf_memest(){ return 0; }
int... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/memory/lib/workarounds/wr_v... |
<commit_before>/*
Copyright 2012 <copyright holder> <email>
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 b... |
<commit_before>/*
* yosys -- Yosys Open SYnthesis Suite
*
* Copyright (C) 2012 Clifford Wolf <clifford@clifford.at>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission no... |
<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>// Sh: A GPU metaprogramming language.
//
// Copyright 2003-2005 Serious Hack Inc.
//
// 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 an... |
<commit_before>/*
Copyright (C) 1998 by Jorrit Tyberghein
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 ve... |
<commit_before>#include <cassert>
#include <cstring>
#include <fstream>
#include <string>
#include <memory>
#include <GraphMol/FileParsers/MolSupplier.h>
#include <sqlite3ext.h>
extern const sqlite3_api_routines *sqlite3_api;
#include "utils.hpp"
#include "sdf_io.hpp"
#include "mol.hpp"
// static const int SDF_INDE... |
<commit_before>//---------------------------------------------------------------------------
/// \file es/storage.hpp
/// \brief The entity/component data store
//
// Copyright 2013, nocte@hippie.nu Released under the MIT License.
//-------------------------------------------------------------------------... |
<commit_before>/*
* Actuator.cc
*
* Author: Lunatic
*/
#include <cstring>
#include <cstdlib>
#include "actuator.h"
#include "lexer.h"
#include "alarm.h"
namespace Script {
bool Env::contains(const std::string& name) {
return vars.find(name) != vars.end();
}
std::string Env::get(const std::string& name) {
... |
<commit_before>//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===-------------------------... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/memory/lib/workarounds/wr_v... |
<commit_before>/**
* machina
*
* Copyright (c) 2014, drmats
* All rights reserved.
*
* https://github.com/drmats/machina
*/
#ifndef __SHADER_CPP_
#define __SHADER_CPP_ 1
#include "shader.hpp"
namespace machina {
/**
* Shader source helper macro.
*/
#define GLSL(version, src) "#version " #version "\... |
<commit_before>/* This file is part of Mapnik (c++ mapping toolkit)
* Copyright (C) 2006 Artem Pavlenko
*
* Mapnik 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 an... |
<commit_before>#include <string>
#include <nds.h>
#include <nds/debug.h>
#include "./math.h"
#include "./sprite.h"
#include "./debug.h"
namespace FMAW {
//------------------------------------------------------------------------------
// Common sprite helpers.
//------------------------------------------------------... |
<commit_before>/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
... |
<commit_before>//-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2019 Ryo Suzuki
// Copyright (c) 2016-2019 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# include <GL/glew.h>
# include ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.