text
stringlengths
54
60.6k
<commit_before>/***************************************************************************************** * * * OpenSpace * * ...
<commit_before>// This file is part of Parsito <http://github.com/ufal/parsito/>. // // Copyright 2015 Institute of Formal and Applied Linguistics, Faculty of // Mathematics and Physics, Charles University in Prague, Czech Republic. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v...
<commit_before><commit_msg>3rd iteration.<commit_after><|endoftext|>
<commit_before>/////////////////////////////////////////////////////////////////////////////// // // CoinVault // // unspenttxoutview.cpp // // Copyright (c) 2014 Eric Lombrozo // // All Rights Reserved. #include "unspenttxoutview.h" #include "unspenttxoutmodel.h" #include <QMenu> #include <QContextMenuEvent> Unspen...
<commit_before>/* Copyright (C) 2008-2016 The Communi Project You may use this file under the terms of BSD license as follows: 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 mus...
<commit_before>// Copyright 2010 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 require...
<commit_before>/** * \file Library.cpp * \author Matt Hammerly */ #include <string> #include <iostream> #include "Library.h" /** * \brief Default constructor * * Todo: sanitize the db credentials I guess lol */ CLibrary::CLibrary() { char connectionString[512]; snprintf(connectionString, 512, "dbname=%...
<commit_before><commit_msg>make fem algorithm respect parameters<commit_after><|endoftext|>
<commit_before>/* * plugin_factory.cpp * * Created on: Nov 20, 2012 * Author: partio */ #include "plugin_factory.h" #include "logger_factory.h" #include <boost/filesystem.hpp> #include <boost/regex.hpp> #include <cstdlib> #include <dlfcn.h> #include "util.h" using namespace himan; using namespace himan::pl...
<commit_before>#include "MyModel.h" #include <cmath> namespace Perceptron { MyModel::MyModel() :MyModel{10} { } MyModel::MyModel(const std::initializer_list<unsigned int>& num_hidden) :mean(num_hidden) { } void MyModel::from_prior(DNest4::RNG& rng) { mean.from_prior(rng); } double MyModel::perturb(DNest4::R...
<commit_before> #pragma once #include <proxc.hpp> #include <src/aligned_alloc.hpp> #include <memory> #include <atomic> PROXC_NAMESPACE_BEGIN // Chase-Lev work-steal deque // // Dynamic Circular Work-Stealing Deque // http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.170.1097&rep=rep1&type=pdf // // Correct a...
<commit_before>/*************************************************************************/ /* stream_peer_tcp.cpp */ /*************************************************************************/ /* This file is part of: */ /...
<commit_before>#ifndef APPLICATION_HPP_DEFINED #define APPLICATION_HPP_DEFINED #include "QuadKey.hpp" #include "builders/BuilderContext.hpp" #include "builders/ExternalBuilder.hpp" #include "builders/TileBuilder.hpp" #include "builders/buildings/LowPolyBuildingBuilder.hpp" #include "builders/terrain/TerraBuilder.hpp" ...
<commit_before><commit_msg>coverity#1242512 silence Arguments in wrong order<commit_after><|endoftext|>
<commit_before>/* IPAddress.cpp - Base class that provides IPAddress Copyright (c) 2011 Adrian McEwen. All right reserved. 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...
<commit_before>/// /// @file CpuInfo.cpp /// @brief Get the CPUs cache sizes in bytes. /// /// Copyright (C) 2017 Kim Walisch, <kim.walisch@gmail.com> /// /// This file is distributed under the BSD License. See the COPYING /// file in the top level directory. /// #include <primesieve/CpuInfo.hpp> #include <cstddef> ...
<commit_before>/***************************************************************************** * Controller.cpp : Controller for the main interface **************************************************************************** * Copyright (C) 2006-2008 the VideoLAN team * $Id$ * * Authors: Jean-Baptiste Kempf <jb@vi...
<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 Appcelerator, Inc. All Rights Reserved. */ #include "python_module.h" namespace kroll { PythonEvaluator::PythonEvaluator() : StaticBoundObject("...
<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 Appcelerator, Inc. All Rights Reserved. */ #include "python_module.h" SharedValue PythonEvaluator::Call(const ValueList& args) { if (args.size(...
<commit_before>// // Visualization of Gaussians in 2D, using GLUT // // // // Plan // - Submit an array of 2D information matrices // and an array of x, y means // - Render an array summing an exp of them exp(x) // #include <Eigen/Dense> #include <GL/freeglut.h> #include <cuda_gl_interop.h> #include <cuda_profiler_...
<commit_before>#pragma once #include <unordered_map> #include "base/singleton.hpp" #include "sub_invoke.hpp" namespace czrpc { namespace client { class sub_router { DEFINE_SINGLETON(sub_router); public: sub_router() = default; template<typename Function> void bind(const std::string& protocol, const ...
<commit_before>/* * Copyright (c) 2011-2017, The DART development contributors * All rights reserved. * * The list of contributors can be found at: * https://github.com/dartsim/dart/blob/master/LICENSE * * This file is provided under the following "BSD-style" License: * Redistribution and use in source and ...
<commit_before>#ifndef _SNARKFRONT_SHA_224_HPP_ #define _SNARKFRONT_SHA_224_HPP_ #include <array> #include <cstdint> #include "Alg.hpp" #include "Alg_uint.hpp" #include "AST.hpp" #include "BitwiseAST.hpp" #include "BitwiseINT.hpp" #include "Lazy.hpp" #include "SHA_256.hpp" namespace snarkfront { ////////////////////...
<commit_before>//============================================================================= // ■ init.cpp //----------------------------------------------------------------------------- // 所有初始化相关的代码都被放置在这里。 //============================================================================= #include "global.hpp" //-...
<commit_before>#include "VmbCamera.h" // Frame buffer size const int VmbCamera::frame_buffer_size = 5; // Initialize Vimba and the camera void VmbCamera::Startup() { // Initialize Vimba VmbStartup(); // Send discovery packet to GigE cameras VmbFeatureCommandRun( gVimbaHandle, "GeVDiscoveryAllOnce" ); // Get the ...
<commit_before>#include <sstream> #include <iostream> #include "execution.h" const int size = 3; int field[size][size]; bool diag1(int xo) { for (int i = 0 ; i < size ; ++i) { if (field[i][i] != xo) return false; } return true; } bool diag2(int xo) { for (int i = 0 ; i < size...
<commit_before>#include "CobraProcess.h" #include "RouterInitializer.h" #include <common/SFLogger.h> #include <la-manager/LAPool.h> #include <license-manager/LicenseManager.h> #include <bundles/querylog/QueryLogBundleConfiguration.h> #include <bundles/querylog/QueryLogBundleActivator.h> #include <OnSignal.h> #includ...
<commit_before>// // Aspia Project // Copyright (C) 2020 Dmitry Chapyshev <dmitry@aspia.ru> // // 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 ...
<commit_before>#include <node.h> #include <v8.h> #include <systemd/sd-journal.h> #include <stdlib.h> using namespace std; using namespace v8; /** * Log string messages to the journal. Type checking of the arguments is performed * in the journald.js module. */ Handle<Value> SdJournalSend(const Arguments& args) { ...
<commit_before>/** * \file * \brief ThisThread namespace implementation * * \author Copyright (C) 2014 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info * * \par License * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not * dis...
<commit_before>#include <Step/SPFFunctions.h> #include <Step/BaseSPFWriter.h> #include "../../tests.h" #include <sstream> #include <cassert> #pragma execution_character_set("utf-8"); class MySPFWriter : public Step::BaseSPFWriter { public: MySPFWriter() : Step::BaseSPFWriter(0) {} virtual ~MySPFWriter() ...
<commit_before>#include "AnimSprLoader.h" #include <sprite2/AnimSprite.h> #include <sprite2/SprTreePath.h> #include <simp/from_int.h> #include <simp/NodeAnimationSpr.h> namespace gum { AnimSprLoader::AnimSprLoader(s2::AnimSprite* spr) : m_spr(spr) { if (m_spr) { m_spr->AddReference(); } } AnimSprLoader::~AnimS...
<commit_before>#include <Windows.h> #include <stdio.h> #include <detourxs.h> #include "overlay.h" #include <OvRender.h> #include "render.h" #include "thread.h" #include "menu.h" #include "kbhook.h" CHAR *pszModuleName; PUSH_SHARED_MEMORY *PushSharedMemory; void* PushImageEvent; BOOLEAN dxgiHooked = FA...
<commit_before>/* Copyright c1997-2011 Trygve Isaacson. All rights reserved. This file is part of the Code Vault version 3.3 http://www.bombaydigital.com/ */ /** @file */ #include "vsocket.h" #include "vtypes_internal.h" #include "vexception.h" #ifdef VCOMPILER_MSVC #pragma warning(disable: 6386) // the librar...
<commit_before>#include <rpcndr.h> #include <iostream> #include <fstream> #include <map> #include "Graph.h" using namespace std; struct Node { string vert; int weight; Node *next; }; struct List { struct Node *head; }; class Graph { int vertices; struct List *vertexArray; int count = 0; ...
<commit_before>#ifndef RDB_PROTOCOL_DATUM_HPP_ #define RDB_PROTOCOL_DATUM_HPP_ #include <map> #include <string> #include <utility> #include <vector> #include "utils.hpp" #include <boost/shared_ptr.hpp> #include "containers/archive/archive.hpp" #include "containers/ptr_bag.hpp" #include "http/json.hpp" #include "rdb_p...
<commit_before>/* Copyright 2017 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 Unless required by appl...
<commit_before>#include "sapsi.h" void server_routine(uint32_t nclients, CSocket* socket, bool cardinality) { //cout << "Starting server for " << nclients << " clients on address " << address << ":" << port << endl; CSocket* sockfds = socket;//(CSocket*) malloc(sizeof(CSocket) * nclients); uint32_t* neles = (uint3...
<commit_before>// ========================================================================== // // This file is part of Sara, a basic set of libraries in C++ for computer // vision. // // Copyright (C) 2014-2016 David Ok <david.ok8@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla Public // ...
<commit_before>// Test that the always/never instrument lists apply. // RUN: echo "fun:main" > %tmp-always.txt // RUN: echo "fun:__xray*" > %tmp-never.txt // RUN: %clangxx_xray \ // RUN: -fxray-never-instrument=%tmp-never.txt \ // RUN: -fxray-always-instrument=%tmp-always.txt \ // RUN: %s -o %t // RUN: %llv...
<commit_before>// Best-first Utility-Guided Search Yes! From: // "Best-first Utility-Guided Search," Wheeler Ruml and Minh B. Do, // Proceedings of the Twentieth International Joint Conference on // Artificial Intelligence (IJCAI-07), 2007 #include "../search/search.hpp" #include "../structs/binheap.hpp" #include "../...
<commit_before>#include "mpclient.h" using namespace mpc_rfid; MPClient::MPClient(const std::string &host, uint16_t port) { mpd_host = host; mpd_port = port; my_mpd_conn = NULL; mpd_info = new mpd_info_s; mpd_info_song = new mpd_info_song_s; } MPClient::~MPClient() { if (my_mpd_conn) mpd_connection_free(my_mp...
<commit_before>/************************************************************************************* * Copyright (C) 2012 by Alejandro Fiestas Olivares <afiestas@kde.org> * * * * This program is free software; you can r...
<commit_before>/******************************************************************************\ * File: shell.cpp * Purpose: Implementation of class exSTCShell * Author: Anton van Wezenbeek * RCS-ID: $Id$ * * Copyright (c) 1998-2009 Anton van Wezenbeek * All rights are reserved. Reproductio...
<commit_before>/******************************************************************************\ * File: test.cpp * Purpose: Implementation for wxextension cpp unit testing * Author: Anton van Wezenbeek * RCS-ID: $Id$ * Created: za 17 jan 2009 11:51:20 CET * * Copyright (c) 2009 Anton ...
<commit_before>/* The MIT License (MIT) Copyright (c) 2014 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, merge...
<commit_before>/*! \copyright (c) RDO-Team, 2012 \file animation_sprite.h \author (rdo@rk9.bmstu.ru) \date 14.12.2012 \brief \indent 4T */ // ---------------------------------------------------------------------------- PCH #include "simulator/compiler/parser/pch.h" // -...
<commit_before><commit_msg>Fixed wrong location of r_root_dh_frame<commit_after><|endoftext|>
<commit_before>/*============================================================================= Library: CTK Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compl...
<commit_before>#ifndef GENERIC_ALGORITHM_HPP # define GENERIC_ALGORITHM_HPP # pragma once #include <cstddef> #include <type_traits> #include <utility> #include "meta.hpp" namespace generic { // min, max template <typename T> constexpr inline T const& max(T const& a, T const& b) noexcept { return a > b ? a : b; ...
<commit_before>/* * InferenceSCM.cc * * Copyright (C) 2015 OpenCog Foundation * * Author: Misgana Bayetta <misgana.bayetta@gmail.com> Sept 2014 * * 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 Free S...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkImageWrapPad.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See ...
<commit_before>/* Copyright Eli Dupree and Isaac Dupree, 2011, 2012 This file is part of Lasercake. Lasercake 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,...
<commit_before>/********************************************************************* * Software License Agreement (BSD License) * * ROS driver for Phidgets motor control HC * Copyright (c) 2010, Bob Mottram * All rights reserved. * * Redistribution and use in source and binary forms, with or without * mod...
<commit_before><commit_msg>safeStartThread works.<commit_after><|endoftext|>
<commit_before>/** * @file llfloaterabout.cpp * @author James Cook * @brief The about box from Help->About * * $LicenseInfo:firstyear=2001&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. * * This library is free software; you can redistribute it and/or * modi...
<commit_before><commit_msg>resilience on<commit_after><|endoftext|>
<commit_before>#include "RhoLogSink.h" #include "common/RhoFile.h" #include "common/StringConverter.h" #if defined( OS_SYMBIAN ) #include <e32debug.h> #endif namespace rho { CLogFileSink::CLogFileSink(const LogSettings& oSettings) : m_oLogConf(oSettings), m_nCirclePos(-1), m_pFile(0), m_pPosFile(0), m_nFileLogS...
<commit_before>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2010 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 "kernelconnection.h" #include "trace.h" #include "pcfparser/ParaverTraceConfig.h" #include "pcfparser/ParaverStatesColor.h" #include "pcfparser/ParaverGradientColor.h" using namespace domain; Trace *Trace::create( KernelConnection *whichKernel, const string& whichFile ) { return new TracePro...
<commit_before>/* \author Bastian Steder */ /* ---[ */ #include <iostream> using namespace std; #include <pcl/io/openni_grabber.h> #include <pcl/range_image/range_image_planar.h> #include <pcl/common/common_headers.h> #include <pcl/visualization/range_image_visualizer.h> #include <pcl/visualization/pcl_visualizer.h> #...
<commit_before>#include <algorithm> // for std::sort #include "ac_slow.hpp" #include "ac_fast.hpp" uint32 AC_Converter::Calc_State_Sz(const ACS_State *s) const { AC_State dummy; uint32 sz = offsetof(AC_State, input_vect); sz += s->Get_GotoNum() * sizeof(dummy.input_vect[0]); if (sz < sizeof(AC_...
<commit_before>#ifndef DUNE_STUFF_FUNCTIONADAPTER_HH #define DUNE_STUFF_FUNCTIONADAPTER_HH #include <vector> #include <boost/shared_ptr.hpp> #include <dune/stuff/printing.hh> namespace Stuff { /** DiscreteFunction container \f$G\f$ that takes a \$f(dxd)\$f matrix valued function \f$f\f$ as input that splits itself i...
<commit_before>#include <QtWidgets> #include "GeometryWidget.hpp" #include <Spirit/Geometry.h> GeometryWidget::GeometryWidget(std::shared_ptr<State> state, SpinWidget * spinWidget) { this->state = state; this->spinWidget = spinWidget; // Setup User Interface this->setupUi(this); // We use a regular expressi...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2022. All rights reserved */ #include "../StroikaPreComp.h" #include "../Execution/Thread.h" #include "Sanitizer.h" #include "Trace.h" #include "AssertExternallySynchronizedMutex.h" using namespace Stroika; using namespace Stroika::Foundation; using n...
<commit_before>#pragma once #include <Grappa.hpp> #include <graph/Graph.hpp> #include <Reducer.hpp> GRAPPA_DECLARE_METRIC(SummarizingMetric<double>, iteration_time); DECLARE_int32(max_iterations); using namespace Grappa; using delegate::call; using Empty = struct {}; template< typename T > struct GraphlabVertex { ...
<commit_before>/// \file RNTuple.cxx /// \ingroup NTuple ROOT7 /// \author Jakob Blomer <jblomer@cern.ch> /// \date 2018-10-04 /// \warning This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback /// is welcome! /******************************************************...
<commit_before><commit_msg>Skip METADATA sections in VTK files<commit_after><|endoftext|>
<commit_before>#include "PipeBase.h" #include "Simulation.h" #include "FEProblem.h" #include "Conversion.h" #include "R7Conversion.h" #include "OneDEnergyWallHeating.h" #include "edge_edge2.h" #include "fe_type.h" // physics #include "Diffusion.h" const std::string PipeBase::_type("pipe"); template<> InputParamete...
<commit_before>/* jabberchatsession.cpp - Jabber Chat Session Copyright (c) 2004 by Till Gerken <till@tantalo.net> Kopete (c) 2004 by the Kopete developers <kopete-devel@kde.org> ************************************************************************* * ...
<commit_before>/////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2015, STEREOLABS. // // All rights reserved. // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IM...
<commit_before>//===---------- llvm/unittest/Support/Casting.cpp - Casting tests ---------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/************************************************************************* * * $RCSfile: templdlg.hxx,v $ * * $Revision: 1.5 $ * * last change: $Author: pb $ $Date: 2001-06-19 06:25:14 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>/* knode.cpp KNode, the KDE newsreader Copyright (c) 1999-2000 the KNode authors. See file AUTHORS for details 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 Foundati...
<commit_before>/* Kopete , The KDE Instant Messenger Copyright (c) 2001-2002 by Duncan Mac-Vicar Prett <duncan@kde.org> Viva Chile Mierda! Started at Wed Dec 26 03:12:10 CLST 2001, Santiago de Chile Kopete (c) 2002-2003 by the Kopete developers <kopete-devel@kde.org> *********************...
<commit_before>/* Kopete , The KDE Instant Messenger Copyright (c) 2001-2002 by Duncan Mac-Vicar Prett <duncan@kde.org> Viva Chile Mierda! Started at Wed Dec 26 03:12:10 CLST 2001, Santiago de Chile Kopete (c) 2002-2005 by the Kopete developers <kopete-devel@kde.org> *********************...
<commit_before>/*************************************************************************** main.cpp - description ------------------- begin : Wed Dec 26 03:12:10 CLST 2001 copyright : (C) 2001 by Duncan Mac-Vicar Prett email...
<commit_before>/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2013-2015 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permit...
<commit_before>// ======================================================================== // // Copyright 2009-2017 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); ...
<commit_before><commit_msg>修正 Camera 的 Update/Prepare 没有被调用的问题。<commit_after><|endoftext|>
<commit_before>//////////////////////////////////////////////////////////////////////// // This file is part of Grappa, a system for scaling irregular // applications on commodity clusters. // Copyright (C) 2010-2014 University of Washington and Battelle // Memorial Institute. University of Washington authorizes use ...
<commit_before>#include <QStringList> #include <QString> #include <QDebug> #include "wd.h" #include "font.h" #include "../base/state.h" // --------------------------------------------------------------------- Font::Font(string s) { if (s=="fixfont") { font=config.Font; return; } angle=0; QString face...
<commit_before> #include <QBoxLayout> #include <QMenuBar> #include <QSignalMapper> #include <sstream> //include this to use string streams #include "wd.h" #include "font.h" #include "cmd.h" #include "form.h" #include "pane.h" #include "tabs.h" #include "child.h" #include "isigraph2.h" #include "menus.h" #ifdef QT_OP...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: DAVException.hxx,v $ * * $Revision: 1.8 $ * * last change: $Author: hr $ $Date: 2006-06-20 05:33:18 $ * * The Contents of this file are m...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: filrow.cxx,v $ * * $Revision: 1.6 $ * * last change: $Author: rt $ $Date: 2005-09-09 15:27:00 $ * * The Contents of this file are made av...
<commit_before>#include "./NearBranchTrampoline.h" #include "dobby_internal.h" #include "NearMemoryArena.h" #include "InterceptRouting/ExtraInternalPlugin/RegisterPlugin.h" using namespace zz; void dobby_enable_near_branch_trampoline() { RoutingPlugin *plugin = new NearBranchTrampolinePlugin; ExtraInternalPlugi...
<commit_before>#include "CPU.h" #if defined(__x86_64__) || defined(__i386__) #include <cpuid.h> #endif #include "Log.h" #ifndef bit_AES #define bit_AES (1 << 25) #endif #ifndef bit_AVX #define bit_AVX (1 << 28) #endif namespace i2p { namespace cpu { bool aesni = false; bool avx = false; void Detect() { #if defi...
<commit_before>#include "stdafx.h" #include "AlembicWriteJob.h" #include "AlembicImport.h" //#include "AlembicGetInfo.h" //#include "AlembicGetNodeFromIdentifier.h" #include "AlembicTimeControl.h" #include "AlembicFileNode.h" #include "AlembicXform.h" #include "AlembicCamera.h" #include "AlembicPolyMesh.h" #include "Al...
<commit_before>#include "algebra.h" #include <vector> #include <cmath> std::tuple<bool,int,int,int,int> algebra::quad_factor(int a, int b, int c) { // factors ax^2 + bx + c into (mx + n)(rx + s) // returns (factorable,m,n,r,s) auto f = std::tuple<bool,int,int,int,int>(); float d = discriminant(a,b,c); if (!i...
<commit_before>/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <memory> #include <string> #include <fb/fbjni.h> #include <jsi/jsi.h> #include <jsireact/TurboModuleBind...
<commit_before>/************************************************************************** * * Copyright 2011 Jose Fonseca * All Rights Reserved. * * 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 t...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: salpixmaputils.cxx,v $ * * $Revision: 1.9 $ * * last change: $Author: rt $ $Date: 2007-07-05 08:29:13 $ * * The Contents of this file are...
<commit_before>/*************************************************************************** copyright : (C) 2004 by Allan Sandfeld Jensen (C) 2002 - 2008 by Scott Wheeler (id3v2header.cpp) email : kde@carewolf.org ********************************************...
<commit_before>#include "kernel.h" #include "raster.h" #include "columndefinition.h" #include "table.h" #include "attributerecord.h" #include "polygon.h" #include "geometry.h" #include "feature.h" #include "featurecoverage.h" #include "featureiterator.h" #include "symboltable.h" #include "ilwisoperation.h" #include "pi...
<commit_before>// Copyright Steinwurf ApS 2011-2012. // Distributed under the "STEINWURF RESEARCH LICENSE 1.0". // See accompanying file LICENSE.rst or // http://www.steinwurf.com/licensing #pragma once #include <ctime> #include <cstdint> #include <cstdio> #include <gauge/gauge.hpp> /// A test block represents an e...
<commit_before>/** s3tee.cc Jeremy Barnes, 4 September 2012 Copyright (c) 2012 Datacratic. All rights reserved. Implementation of the "tee" command that can write its data to an s3 bucket. */ #include "soa/service/s3.h" #include "jml/utils/filter_streams.h" #include <boost/program_options/cmdline.hpp...
<commit_before>#pragma once #include "acmacs-base/text-style.hh" // ---------------------------------------------------------------------- namespace acmacs { class PointShape { public: enum Shape {Circle, Box, Triangle}; PointShape() : mShape{Circle} {} PointShape(const PointSha...
<commit_before>// Copyright Daniel Wallin 2006. Use, modification and distribution is // subject to the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <libtorrent/sha1_hash.hpp> #include <boost/python.hpp> void bind_sha1_hash() ...
<commit_before> #include "cc/tiles/Tile.h" #include "SkBitmap.h" #include "SkCanvas.h" #include "cc/tiles/TileGrid.h" #include "cc/tiles/TileWidthHeight.h" #include "cc/blink/WebLayerImpl.h" // TODO for backgroundColor #include "third_party/WebKit/Source/wtf/RefCountedLeakCounter.h" namespace cc { #ifn...
<commit_before><commit_msg>[Chromecast] ATV: don't include logs from renderer process in logfile.<commit_after><|endoftext|>