text stringlengths 54 60.6k |
|---|
<commit_before>// Copyright 2015 Google Inc. All Rights Reserved.
// Author: Sebastian Schaffert <schaffert@google.com>
#include "SourcesToolService.h"
#include <booster/log.h>
#include <cppcms/service.h>
#include <cppcms/http_response.h>
#include <cppcms/http_request.h>
#include <cppcms/url_dispatcher.h>
#include <c... |
<commit_before>
#include "config.h"
#include "ambdec.h"
#include <cstring>
#include <cctype>
#include <limits>
#include <string>
#include <fstream>
#include <sstream>
#include "compat.h"
namespace {
int readline(std::istream &f, std::string &output)
{
while(f.good() && f.peek() == '\n')
f.ignore();
... |
<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 "app/l10n_util.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/chromeos/login/account_screen.h"
#inclu... |
<commit_before>// Copyright (c) 2012 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/process_util.h"
#include "base/sys_string_conversions.h"
#include "base/utf_string_conversions.h"
#include "chrome/brows... |
<commit_before>#include <boost/any.hpp>
#include <iostream>
#include <vector>
#include <string>
int main(int argc, char** argv) {
std::vector<boost::any> some_values;
some_values.push_back(10);
const char* c_str = "Hello there!";
some_values.push_back(c_str);
some_values.push_back(std::string("Wow!"));
std::st... |
<commit_before>#ifndef STAN_MATH_OPENCL_TRI_INVERSE_HPP
#define STAN_MATH_OPENCL_TRI_INVERSE_HPP
#ifdef STAN_OPENCL
#include <stan/math/opencl/matrix_cl.hpp>
#include <stan/math/opencl/matrix_cl_view.hpp>
#include <stan/math/opencl/kernels/diag_inv.hpp>
#include <stan/math/opencl/kernels/inv_lower_tri_multiply.hpp>
#... |
<commit_before>#include "MainFrame.h"
#include <algorithm>
#include <wx/log.h>
#include <wx/mstream.h>
#include <wx/button.h>
#include "ImageViewPanel.h"
#include "ZipEntry.h"
#include "FileEntry.h"
enum MainFrameIds { ID_DIRECTORY_TREE = 1, ID_IMAGE_BUTTON };
MainFrame::MainFrame() : wxFrame(NULL, wxID_ANY, "ZipPicV... |
<commit_before>/***************************************************************************
* Copyright (C) 2005-2017 by the FIFE team *
* http://www.fifengine.net *
* This file is part of FIFE. ... |
<commit_before>//===- BugDriver.cpp - Top-Level BugPoint class implementation ------------===//
//
// This class contains all of the shared state and information that is used by
// the BugPoint tool to track down errors in optimizations. This class is the
// main driver class that invokes all sub-functionality.
//
//=... |
<commit_before>//
// Logarithm.cpp
// Calculator
//
// Created by Gavin Scheele on 3/27/14.
// Copyright (c) 2014 Gavin Scheele. All rights reserved.
//
#include "Logarithm.h"
using namespace std;
#include <string>
//constructor for int base with an int operand
Logarithm::Logarithm(int base, int operand){
if (ope... |
<commit_before>// Copyright 2014 BVLC and contributors.
#include <glog/logging.h>
#include <leveldb/db.h>
#include <stdint.h>
#include <algorithm>
#include <string>
#include "caffe/proto/caffe.pb.h"
#include "caffe/util/io.hpp"
using caffe::Datum;
using caffe::BlobProto;
using std::max;
int main(int argc, char** a... |
<commit_before>/*
* Copyright © 2011 Stéphane Raimbault <stephane.raimbault@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your optio... |
<commit_before>/***********************************************************************************
** MIT License **
** **
** Copyright (c) 2017 Victor DENIS (victordenis01@... |
<commit_before>#include <bitset>
#include <iostream>
#include <cassert>
#include <vector>
#include <stack>
#include <map>
#include <queue>
#include <algorithm>
#include <unordered_map>
#include <algorithm>
using namespace std;
/*
GF(2n), to be productized
void print(int i)
{
// bitset<8> x(i);
// cout << x <... |
<commit_before>// Copyright Hugh Perkins 2014 hughperkins at gmail
//
// 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/.
#include <stdexcept>
#include <random>
#incl... |
<commit_before>// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/gtk/options/customize_sync_window_gtk.h"
#include <gtk/gtk.h>
#include <string>
#include "app/gtk_signal.h"... |
<commit_before><commit_msg>IOSS: Remove debugging output<commit_after><|endoftext|> |
<commit_before>/*
*
* ledger_api_blockchain_explorer_tests
* ledger-core
*
* Created by Pierre Pollastri on 10/03/2017.
*
* The MIT License (MIT)
*
* Copyright (c) 2016 Ledger
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation fil... |
<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/browser/ui/views/fullscreen_exit_bubble_views.h"
#include "base/message_loop.h"
#include "base/utf_string_conversions... |
<commit_before>// Copyright (c) 2012 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/file_util.h"
#include "base/path_service.h"
#include "base/scoped_temp_dir.h"
#include "base/string_util.h"
#include "ba... |
<commit_before>/*
* NotebookPlots.cpp
*
* Copyright (C) 2009-16 by RStudio, Inc.
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General... |
<commit_before>/*
* 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 3 of the License, or
* (at your option) any later version.
*
* Written (W) 2011 Heiko Strathmann
* Copyrig... |
<commit_before>//-----------------------------------------------------------------------bl-
//--------------------------------------------------------------------------
//
// GRINS - General Reacting Incompressible Navier-Stokes
//
// Copyright (C) 2010-2013 The PECOS Development Team
//
// This library is free softw... |
<commit_before>//
// Copyright 2012 Francisco Jerez
//
// 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>// Copyright 2017 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "referencefieldvalue.h"
#include <vespa/vespalib/util/exceptions.h>
#include <vespa/vespalib/util/stringfmt.h>
#include <cassert>
using vespalib::IllegalArgumentException;
using ve... |
<commit_before>#ifndef DUNE_DETAILED_DISCRETIZATIONS_ASSEMLBER_LOCAL_CODIM1_VECTOR_HH
#define DUNE_DETAILED_DISCRETIZATIONS_ASSEMLBER_LOCAL_CODIM1_VECTOR_HH
// system
#include <vector>
// dune-stuff
#include <dune/stuff/common/vector.hh>
namespace Dune
{
namespace Detailed {
namespace Discretizations
{
namespace ... |
<commit_before>#include <cutehmi/services/Service.hpp>
#include <cutehmi/services/ServiceManager.hpp>
#include <cutehmi/Notification.hpp>
#include <QCoreApplication>
#include <QThread>
namespace cutehmi {
namespace services {
constexpr int Service::INITIAL_STOP_TIMEOUT;
constexpr int Service::INITIAL_START_TIMEOUT;... |
<commit_before>//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
#include <assert.h>
#include <dlfcn.h>
#include <dirent.h>
#include <errno.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include ... |
<commit_before>
#include "simple_paint_file.h"
#include "simple_paint_util.h"
#include <iup.h>
#include <im_convert.h>
#include <im_process.h>
void SimplePaintFile::Close()
{
if (filename)
delete[] filename;
if (image)
imImageDestroy(image);
}
void SimplePaintFile::SetFilename(const char* new_filenam... |
<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 (c) 2019 PX4 Development Team. 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>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: rootactiontriggercontainer.cxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: rt $ $Date: 2005-09-09 01:14:22 $
*
* The Contents of t... |
<commit_before>// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// http://code.google.com/p/protobuf/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
//... |
<commit_before>/*
* Copyright 2014 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "GrGLShaderStringBuilder.h"
#include "GrSKSLPrettyPrint.h"
#include "SkAutoMalloc.h"
#include "SkSLCompiler.h"
#include "SkSLGLSLCodeGenerator.h"
#incl... |
<commit_before>/*
* Copyright 2014 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "GrGLShaderStringBuilder.h"
#include "GrSKSLPrettyPrint.h"
#include "SkAutoMalloc.h"
#include "SkSLCompiler.h"
#include "SkSLGLSLCodeGenerator.h"
#incl... |
<commit_before>#ifndef SIMULATE_ENGINE_BASE_HPP_
#define SIMULATE_ENGINE_BASE_HPP_
#include "clotho/powerset/variable_subset.hpp"
#include "clotho/utility/random_generator.hpp"
#include "clotho/classifiers/region_classifier.hpp"
#include <vector>
#include <utility>
template < class URNG, class AlleleType, class Log... |
<commit_before>#include "streamline.h"
#include "inc_glut.h"
#include "color.h"
#include "svg_line.h"
namespace INMOST
{
void GetVelocity(Element c, const Tag & velocity_tag, ElementType vel_adj, coord pnt, coord & ret)
{
coord cnt;
const Storage::real eps = 1.0e-8;
Storage::real dist = 0;
ret[0] = ret[1] ... |
<commit_before>#include "inmost.h"
using namespace INMOST;
//TODO:
//attach scale to rescale grid
//attach slice grid to cut cylinder
//option to set shear rate / pressure drop / maximum velocity
//setup BC
//cmake compilation
//setup on mesh:
//
// FORCE - 3 entries
//
// BOUNDARY_CONDITION_VELOCITY - 7 entries
// ... |
<commit_before>/** @copyright
* Copyright (c) 2018, Stuart W Baker
* 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 not... |
<commit_before>//..............................................................................
//
// This file is part of the Jancy toolkit.
//
// Jancy is distributed under the MIT license.
// For details see accompanying license.txt file,
// the public copy of which is also available at:
// http://tibbo.com/dow... |
<commit_before>/* -*- mode: c++; indent-tabs-mode: nil -*- */
/*
The thaw depth evaluator gets the subsurface temperature.
This computes the thaw depth over time.
This is SecondaryVariablesFieldEvaluator and depends on the subsurface temperature,
Authors: Ahmad Jan (jana@ornl.gov)
*/
#ifndef AMANZI_FLOWREL... |
<commit_before>/*
* Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS.... |
<commit_before>/******************************************************************************
* Copyright 2018 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>/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qbs.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses m... |
<commit_before>/****************************************************************************
*
* Copyright (c) 2015 PX4 Development Team. 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>/*=========================================================================
Program: Visualization Toolkit
Module: vtkExtractSelectedRows.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details... |
<commit_before>/*
Copyright 2014 Adam Grandquist
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>#include "SoapyAudio.hpp"
#ifdef USE_HAMLIB
RigThread::RigThread() {
terminated.store(true);
}
RigThread::~RigThread() {
}
#ifdef __APPLE__
void *RigThread::threadMain() {
terminated.store(false);
run();
return this;
};
void *RigThread::pthread_helper(void *context) {
return ((Ri... |
<commit_before>//
// Decoder.hpp
// Clock Signal
//
// Created by Thomas Harte on 30/12/20.
// Copyright © 2020 Thomas Harte. All rights reserved.
//
#ifndef InstructionSets_PowerPC_Decoder_hpp
#define InstructionSets_PowerPC_Decoder_hpp
#include "Instruction.hpp"
namespace InstructionSet {
namespace PowerPC {
... |
<commit_before>/*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkPathPriv.h"
#include "SkRecords.h"
namespace SkRecords {
PreCachedPath::PreCachedPath(const SkPath& path) : SkPath(path) {
this->update... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtDeclarative module of the Qt Toolkit.
**
** $QT_... |
<commit_before>/* dtkComposerNodeLoopDataComposite.cpp ---
*
* Author: Thibaud Kloczko
* Copyright (C) 2011 - Thibaud Kloczko, Inria.
* Created: Wed Oct 12 16:02:18 2011 (+0200)
* Version: $Id$
* Last-Updated: Fri Oct 14 16:27:22 2011 (+0200)
* By: Julien Wintz
* Update #: 140
*/
/* Commentary... |
<commit_before>/*
* fMBT, free Model Based Testing tool
* Copyright (c) 2011, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU Lesser General Public License,
* version 2.1, as published by the Free Software Foundation.
*
*... |
<commit_before>// Copyright (c) 2016 Ansho Enigu
#include "crypto/lamport.h"
#include "crypto/ripemd160.h"
#include "crypto/common.h"
#include "uint256.h"
bool LAMPORT::checksig(unsigned char data[10000], char sig[20][2][20], char rootkey[20], char merklewit[])
{
char exmerklewit[8][20]; /*this is the merkle wit mi... |
<commit_before>#include <cmath>
#include <string>
#include <ros/ros.h>
#include <dynamic_reconfigure/server.h>
#include <tf/transform_broadcaster.h>
#include <nav_msgs/Odometry.h>
#include <std_msgs/Float64.h>
#include <jaguar/diff_drive.h>
#include <jaguar/JaguarConfig.h>
using namespace can;
using namespace jaguar;... |
<commit_before>#ifndef _SNARKFRONT_COMPILE_QAP_HPP_
#define _SNARKFRONT_COMPILE_QAP_HPP_
#include <array>
#include <cstdint>
#include <fstream>
#include <functional>
#include <string>
// snarklib
#include <AuxSTL.hpp>
#include <HugeSystem.hpp>
#include <IndexSpace.hpp>
#include <PPZK_randomness.hpp>
#include <QAP_que... |
<commit_before>/**
* @file Connection.cpp
* @brief
* @author Travis Lane
* @version 0.0.1
* @date 2016-01-05
*/
#include "Connection.h"
Connection::Connection(Bluetooth &new_bt, int id) : bt(new_bt)
{
this->id = id;
}
int Connection::write(int percent)
{
int rc = 0;
StaticJsonBuffer<200> buffer;
JsonOb... |
<commit_before>//*****************************************************************************
// Copyright 2017-2019 Intel 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
//
... |
<commit_before>/*
Copyright (c) 2018, 2019 Jouni Siren
Author: Jouni Siren <jouni.siren@iki.fi>
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 li... |
<commit_before>#include "ylikuutio_string.hpp"
// Include standard headers
#include <cstdio> // std::FILE, std::fclose, std::fopen, std::fread, std::getchar, std::printf etc.
#include <cstring> // std::memcmp, std::strcmp, std::strlen, std::strncmp
#include <iostream> // std::cout, std::cin, std::cerr
#include <lis... |
<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 "app/gtk_dnd_util.h"
#include "base/logging.h"
#include "base/pickle.h"
#include "base/utf_string_conversions.h"
#include "go... |
<commit_before>#include "types.h"
#include "amd64.h"
#include "mmu.h"
#include "cpu.hh"
#include "kernel.hh"
#include "bits.hh"
#include "spinlock.h"
#include "kalloc.hh"
#include "queue.h"
#include "condvar.h"
#include "proc.hh"
#include "vm.hh"
#include <stddef.h>
using namespace std;
static pgmap*
descend(pgmap *d... |
<commit_before>
#include <iostream>
#include <string>
#include <thread>
#include <mutex>
#include <boost/program_options.hpp>
#include "filter/compiler.h"
#include "fileemitor.h"
#include "version.h"
#include "worker.h"
namespace po = boost::program_options;
std::mutex screenMutex;
std::string recordSeparator = "... |
<commit_before>// Copyright 2016 The TensorFlow Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Un... |
<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 "base/platform_thread.h"
#include <dlfcn.h>
#include <errno.h>
#include <sched.h>
#if defined(OS_MACOSX)
#include <mach... |
<commit_before><commit_msg>Fix ProcessUtilTest.FDRemapping hang on x86_64 by counting open fds in child process nondestructively BUG=25270 TEST=base_unittests --gtest_filter=ProcessUtilTest.FDRemapping on x86_64 linux<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: sbjsmeth.hxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: hr $ $Date: 2007-06-27 14:22:32 $
*
* The Contents of this file are made ... |
<commit_before>// RUN: %clang_cc1 -std=c++11 -fsyntax-only -fdiagnostics-show-option -verify %s
// C++98 [basic.lookup.classref]p1:
// In a class member access expression (5.2.5), if the . or -> token is
// immediately followed by an identifier followed by a <, the identifier must
// be looked up to determine wh... |
<commit_before><commit_msg>IMPALA-1735: ExpandRmReservation only check parent pools with limit<commit_after><|endoftext|> |
<commit_before>#include <ctime>
#include <iostream>
#include <cstdlib>
#include <iterator>
#include <dariadb.h>
#include <utils/fs.h>
#include <storage/page_manager.h>
#include <ctime>
#include <limits>
#include <cmath>
#include <chrono>
#include <thread>
#include <atomic>
#include <cassert>
class BenchCallback :publ... |
<commit_before>/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Header: FGTrimAxis.cpp
Author: Tony Peden
Date started: 7/3/00
--------- Copyright (C) 1999 Anthony K. Peden (apeden@earthlink.net) ---------
This program is free software; you can redistribute it and... |
<commit_before>#include "types.h"
#include "mmu.h"
#include "kernel.hh"
#include "amd64.h"
#include "cpu.hh"
#include "traps.h"
#include "queue.h"
#include "spinlock.h"
#include "condvar.h"
#include "proc.hh"
#include "kmtrace.hh"
#include "bits.hh"
#include "kalloc.hh"
#include "apic.hh"
#include "kstream.hh"
extern ... |
<commit_before>// File: ebdpConfigFile.cpp
// Date: 9/27/2017
// Auth: K. Loux
// Desc: Configuration file object.
// Local headers
#include "ebdpConfigFile.h"
void EBDPConfigFile::BuildConfigItems()
{
AddConfigItem(_T("OBS_DATA_FILE"), config.dataFileName);
AddConfigItem(_T("OUTPUT_FILE"), config.outputFileNam... |
<commit_before>/*
* This is part of the FL library, a C++ Bayesian filtering library
* (https://github.com/filtering-library)
*
* Copyright (c) 2014 Jan Issac (jan.issac@gmail.com)
* Copyright (c) 2014 Manuel Wuthrich (manuel.wuthrich@gmail.com)
*
* Max-Planck Institute for Intelligent Systems, AMD Lab
* Univer... |
<commit_before>// $Id$
// -*-C++-*-
// * BeginRiceCopyright *****************************************************
//
// Copyright ((c)) 2002, Rice University
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following con... |
<commit_before>//========================================================
// Hazi feladat keret.
// A //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// sorokon beluli reszben celszeru garazdalkodni, mert
// a tobbit ugyis toroljuk.
// A Hazi feladat csak ebben a fajlban lehet
// Tilos:
// - mast "beincl... |
<commit_before>/*
* MRustC - Rust Compiler
* - By John Hodge (Mutabah/thePowersGang)
*
* expand/include.cpp
* - include!/include_str!/include_bytes! support
*/
#include <synext_macro.hpp>
#include <synext.hpp> // for Expand_BareExpr
#include <parse/common.hpp>
#include <parse/parseerror.hpp> // for GET_CHECK_TO... |
<commit_before>/*
Copyright (c) 2012 Carsten Burstedde, Donna Calhoun
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 ... |
<commit_before>/*
* Copyright (c) 2016 Samsung Electronics Co., Ltd.
*
* 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 require... |
<commit_before>// Begin CVS Header
// $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/function/CFunctionDB.cpp,v $
// $Revision: 1.83 $
// $Name: $
// $Author: aekamal $
// $Date: 2009/06/12 19:58:24 $
// End CVS Header
// Copyright (C) 2008 by Pedro Mendes, Virginia Tech Intellectual
// Propertie... |
<commit_before>#include "src/fillers.h"
#include "src/utils.h"
/* ***** */
void gfx_flatFill(const gfx_Triangle *t, gfx_drawBuffer *buffer, enum TriangleType type)
{
const gfx_Vertex *v0 = &t->vertices[0];
const gfx_Vertex *v1 = &t->vertices[1];
const gfx_Vertex *v2 = &t->vertices[2];
double invDy, dxL... |
<commit_before>#include "bbprojectmanager.hpp"
#include "bbprojectmanagerplugin.hpp"
#include "bbprojectmanagerconstants.hpp"
#include <coreplugin/icore.h>
#include <coreplugin/icontext.h>
#include <coreplugin/actionmanager/actionmanager.h>
#include <coreplugin/actionmanager/command.h>
#include <coreplugin/actionmanage... |
<commit_before>/*
* FastRPC -- Fast RPC library compatible with XML-RPC
* Copyright (C) 2005-7 Seznam.cz, a.s.
*
* 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... |
<commit_before><commit_msg>refactored code to select reference camera<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: AGroup.cxx,v $
*
* $Revision: 1.19 $
*
* last change: $Author: vg $ $Date: 2007-03-26 13:56:48 $
*
* The Contents of this file are made a... |
<commit_before><commit_msg>INTEGRATION: CWS impress2 (1.1.2); FILE ADDED 2004/02/13 12:14:08 af 1.1.2.1: #i22705# Initial revision.<commit_after><|endoftext|> |
<commit_before><commit_msg>integration-quickbrown-casemapping: Added tests for Hungarian strings.<commit_after><|endoftext|> |
<commit_before><commit_msg>Prediction: use simple-version of move_sequence_predictor<commit_after><|endoftext|> |
<commit_before>// 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 writing, software
// ... |
<commit_before>/** \file map_ddc_and_rvk_to_ixtheo_notations.cc
* \brief Map certain DDC and RVK categories to ixTheo notations and add them to field 652a.
* \author Dr. Johannes Ruscheinski
*/
/*
Copyright (C) 2015, Library of the University of Tübingen
This program is free software: you can redis... |
<commit_before>// This class
#include <Internal/ParticleClasses/ParticleEmitter.hpp>
//#include <FluidManager.hpp> // Included for the sake of particle data. Kinda silly, really
#include <Internal/PhysicsModuleImplementation.hpp>
// 3rd parties
using namespace DirectX;
using namespace physx;
namespace DoremiEngine
{
... |
<commit_before>/*
Copyright 2017 Google 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
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... |
<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: QueryViewSwitch.hxx,v $
* $Revis... |
<commit_before>/*************************************************************************
*
* $RCSfile: RelationControl.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: oj $ $Date: 2002-11-08 09:27:37 $
*
* The Contents of this file are made available subject to the terms of
* either of the followin... |
<commit_before>/***************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (directui@nokia.com)
**
** This file is part of duicompositor.
**
** If you have questions regarding t... |
<commit_before>#include "Animation_Seasonal.hpp"
/* ~~~ Animation Seasonal Spring: Clear Sky Blue Color Fade */
Animation_Seasonal_Spring_ClearSkyFade::Animation_Seasonal_Spring_ClearSkyFade(Adafruit_NeoPixel* strip) {
this->strip = strip;
}
void Animation_Seasonal_Spring_ClearSkyFade::init() {
Animation_Seasonal... |
<commit_before>/*
* filter_rbpitch.c -- adjust audio pitch
* Copyright (C) 2020 Meltytech, LLC
*
* 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 ... |
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2015. All rights reserved
*/
#include "../../StroikaPreComp.h"
#if qPlatform_Windows
#include <windows.h>
#include <shellapi.h>
#include <shlobj.h>
#elif qPlatform_POSIX
#include <unistd.h>
#endif
#include "../../Characters/Strin... |
<commit_before>#include "motor/multirotor_tri_motor_mapper.hpp"
#include <array>
#include <cstddef>
#include "protocol/messages.hpp"
#include "util/time.hpp"
#include <chprintf.h>
constexpr float M_PI = 3.1415926535;
MultirotorTriMotorMapper::MultirotorTriMotorMapper(PWMDeviceGroup<3>& motors, PWMDeviceGroup<1>& ser... |
<commit_before>#include <babylon/materials/textures/raw_texture_2d_array.h>
#include <babylon/engines/engine.h>
#include <babylon/engines/scene.h>
#include <babylon/materials/textures/internal_texture.h>
namespace BABYLON {
RawTexture2DArray::RawTexture2DArray(const ArrayBufferView& data, int width, int height, int ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.