text
stringlengths
54
60.6k
<commit_before>/* RTcmix - Copyright (C) 2000 The RTcmix Development Team See ``AUTHORS'' for a list of contributors. See ``LICENSE'' for the license to this software and for a DISCLAIMER OF ALL WARRANTIES. */ #include <globals.h> #include <stdio.h> #include <stdlib.h> #include <pthread.h> #include <iostream.h>...
<commit_before>/* RTcmix - Copyright (C) 2000 The RTcmix Development Team See ``AUTHORS'' for a list of contributors. See ``LICENSE'' for the license to this software and for a DISCLAIMER OF ALL WARRANTIES. */ /* The set_option function, called from a script, lets the user override default options (and those s...
<commit_before>#include <iostream> #include <helper/args.h> #include <helper/link.h> #include <boost/filesystem.hpp> #include <boost/range/iterator_range.hpp> #include <boost/date_time/posix_time/posix_time.hpp> #include <boost/regex.hpp> using namespace boost::filesystem; using namespace boost; void testFiles(std::ve...
<commit_before>#include <sys/socket.h> #include <sys/un.h> #include <unistd.h> #include <fcntl.h> #include <errno.h> #include <cstdio> #include <cstdlib> #include <map> #include <string> #include <gtk/gtk.h> #define die(msg, ...) \ ({fprintf(stderr, "gtkglswitch: fatal: " msg "\n", ##__VA_ARGS__); exit(1);}) static...
<commit_before>/* * Software License Agreement (Apache License) * * Copyright (c) 2014, Dan Solomon * * 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...
<commit_before><commit_msg>Sim_Control : use absolute time for point search and fix compile warnings<commit_after><|endoftext|>
<commit_before>/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, version 1.0 beta 4 * * (c) 2006-2009 MGH, INRIA, USTL, UJF, CNRS * * ...
<commit_before>/* * Copyright (c) 2012 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>/*! * \author ddubois * \date 21-Aug-18. */ #include "shaderpack_loading.hpp" #include "../folder_accessor.hpp" #include "../loading_utils.hpp" #include "../zip_folder_accessor.hpp" #include "../regular_folder_accessor.hpp" #include "../utils.hpp" #include "json_interop.hpp" #include <ftl\atomic_cou...
<commit_before>//=- ClangSACheckersEmitter.cpp - Generate Clang SA checkers tables -*- C++ -*- // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-----------------------------------------...
<commit_before>/** * @file llfloaterconversationpreview.cpp * * $LicenseInfo:firstyear=2012&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2012, Linden Research, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Pub...
<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 "views/controls/menu/menu_item_view.h" #include "base/utf_string_conversions.h" #include "grit/app_resources.h" #include "thi...
<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 <windows.h> #include <psapi.h> #include "skia/ext/bitmap_platform_device_win.h" #include "third_party/skia/include/core...
<commit_before>#pragma once #include <UtH/UtHEngine.hpp> #include <Player.hpp> class EnemyFactory { static uth::Layer* m_layer; static uth::PhysicsWorld* m_physicsWorld; static Player* m_player; static uth::Sound* m_expSound; static uth::Sound* m_hpSound; static uth::Sound* m_starSound; static uth::...
<commit_before><commit_msg>Composer now tests different OpenGL versions to get the highest<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: otherjre.cxx,v $ * * $Revision: 1.8 $ * * last change: $Author: rt $ $Date: 2005-09-07 19:30:24 $ * * The Contents of this file are made ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: AccessibleDocumentViewBase.hxx,v $ * * $Revision: 1.11 $ * * last change: $Author: rt $ $Date: 2005-09-09 04:57:44 $ * * The Contents of ...
<commit_before>/* * Copyright (C) 2009 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>// 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 "webkit/fileapi/file_system_usage_cache.h" #include "base/file_path.h" #include "base/file_util.h" #include "base/pickle.h" ...
<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/string_util.h" #include "webkit/glue/plugins/test/plugin_client.h" #include "webkit/glue/plugins/test/plugin_argume...
<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: PresenterPaneFactory.hxx,v $ * ...
<commit_before>#define SEQAN_TEST #include <seqan/sequence.h> #include <seqan/file.h> #include <seqan/align.h> using namespace std; using namespace seqan; template <typename TAlphabet> String<TAlphabet> generate_random(int length_of_sequence) { // init string String<TAlphabet> ret; resize(ret,length...
<commit_before>/* Copyright (C) 2018 Alexander Akulich <akulichalexander@gmail.com> This file is a part of TelegramQt library. 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; e...
<commit_before>//============================================================================================================= /** * @file main.cpp * @author Juan Garcia-Prieto <juangpc@gmail.com>; * Lorenz Esch <lesch@mgh.harvard.edu>; * Wayne Mead <wayne.mead@uth.tmc.edu>; * J...
<commit_before>/** * \file * \brief chip::lowLevelInitialization() implementation for STM32F7 * * \author Copyright (C) 2017 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 ...
<commit_before>#include "Halide.h" #define AUTOTUNE_HOOK(x) #define BASELINE_HOOK(x) using namespace Halide; Var x, y, c; Func haar_x(Func in) { Func out; out(x, y, c) = select(c == 0, (in(2*x, y) + in(2*x+1, y)), (in(2*x, y) - in(2*x+1, y)))/2; out.u...
<commit_before>#ifndef slic3r_TransformationMatrix_hpp_ #define slic3r_TransformationMatrix_hpp_ #include "libslic3r.h" #include "Point.hpp" namespace Slic3r { class TransformationMatrix { public: TransformationMatrix(); TransformationMatrix(const std::vector<double> &entries_row_maj); TransformationMa...
<commit_before>#include "splm.h" #include "splm_util.h" #include <ranking-manager/RankQueryProperty.h> #include <ranking-manager/RankDocumentProperty.h> #include <ranking-manager/BM25Ranker.h> #include <ranking-manager/PlmLanguageRanker.h> #include <ranking-manager/ClosestPositionTermProximityMeasure.h> #include <cma...
<commit_before>/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */ /* * Copyright (c) 2008 litl, LLC * * 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, ...
<commit_before>#pragma once //=====================================================================// /*! @file @brief input クラス @n 数値、文字列などの入力クラス Copyright 2017 Kunihito Hiramatsu @author 平松邦仁 (hira@rvf-rc45.net) */ //=====================================================================// #incl...
<commit_before><commit_msg>Fix baud rate calculation to be dynamic instead of hardcoded. Closes #3<commit_after><|endoftext|>
<commit_before>#include <babylon/mesh/polygonmesh/polygon_mesh_builder.h> #include <babylon/babylon_stl_util.h> #include <babylon/math/path2.h> #include <babylon/math/vector2.h> #include <babylon/mesh/mesh.h> #include <babylon/mesh/polygonmesh/indexed_vector2.h> #include <babylon/mesh/vertex_buffer.h> #ifdef _...
<commit_before>/* * Copyright (c) 2011 Timo Savola * * 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>// 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/. // // Copyright 2016 [bk]door.maus #ifndef LIBGLURG_COMMON_FILE_STREAM_HPP #define LIBGLURG_COMMON_FIL...
<commit_before>/** * @file * @copyright defined in eos/LICENSE.txt */ #include <eosio/chain/contracts/abi_serializer.hpp> #include <eosio/chain/contracts/types.hpp> #include <eosio/chain/authority.hpp> #include <eosio/chain/chain_config.hpp> #include <eosio/chain/transaction.hpp> #include <fc/io/raw.hpp> #include ...
<commit_before>#include "mainboard.h" #include <QApplication> #include "menu.h" #include "chesslogic.h" #include "QDebug" int main(int argc, char *argv[]) { QApplication a(argc, argv); //MainBoard w; //w.show(); ChessLogic cl(1); int** arr = cl.GetBoard(); for(int i = 0; i < 8; i++) { ...
<commit_before>#include "../../include/server0/listFiles.hpp" bool listFiles(Client& client){ //checking allowance and sending what's up about this DIR* directory = opendir(client.path.c_str()); struct dirent* redfile = NULL; client.packet.clear(); if( directory == NULL ){ client.packet << VoidDirectory; ...
<commit_before>// main.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "Utilities.h" // Functions to load in a single image or all images Mat loadImage(char* location, char* file); Mat* loadImages(int numberOfImages, char* location, char** files); // A function which tempor...
<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 "ash/status_area/status_area_view.h" #include "ash/ash_export.h" #include "ash/shell.h" #include "ash/shell_window_ids.h" #in...
<commit_before>#ifndef ALEPH_PERSISTENT_HOMOLOGY_PHI_PERSISTENCE_HH__ #define ALEPH_PERSISTENT_HOMOLOGY_PHI_PERSISTENCE_HH__ #include <aleph/persistenceDiagrams/PersistenceDiagram.hh> #include <aleph/persistentHomology/Calculation.hh> #include <aleph/topology/Conversions.hh> #include <aleph/topology/Intersections.hh...
<commit_before>// Copyright (c) 2020 The Orbit 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 "OrbitGgp/GgpClient.h" #include <QDebug> #include <QEventLoop> #include <QPointer> #include <QProcess> #include <QTimer> #inclu...
<commit_before>// // This file contains the class InputDialog. // An InputDialog object prompts for an input string using a simple // dialog box. The InputDialog class is also a good example of how // to use the ROOT GUI classes via the interpreter. Since interpreted // classes can not call virtual functions via base c...
<commit_before>#include <bits/stdc++.h> // using GCC/G++ using namespace std; // linked list node class class Node { public: int val; Node *next; Node(int x) { val = x; next = nullptr; } }; /** * 2.1 Remove Duplicates * O(N^2) time algorithm */ void removeDuplicates(Node *head) { Node *curr = he...
<commit_before>/* * The MIT License * * Copyright 2017-2018 Norwegian University of Technology * * 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 ...
<commit_before>#ifndef MJOLNIR_BOX_INTEARACTION_BASE #define MJOLNIR_BOX_INTEARACTION_BASE #include <mjolnir/core/ExternalInteractionBase.hpp> namespace mjolnir { /*! @brief Interaction between particle and a region based on their distance. * * @details shapeT represents the shape. It provides a method to calculate...
<commit_before>#pragma once #include <sys/mman.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <sys/types.h> #include <limits.h> #include "oqpi/platform.hpp" #include "oqpi/error_handling.hpp" #include "oqpi/synchronization/sync_common.hpp" namespace oqpi { //--------------------------...
<commit_before>#include <config.h> #include "grid_creation.hh" #include <dune/stuff/common/ranges.hh> #include <dune/stuff/grid/structuredgridfactory.hh> #include <dune/stuff/grid/information.hh> #include <dune/stuff/common/parameter/tree.hh> #include <dune/multiscale/problems/selector.hh> #include <dune/common/parall...
<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. #if defined(OS_WIN) #include <windows.h> #endif #include "content/gpu/gpu_watchdog_thread.h" #include "base/bind.h" #include "base/bi...
<commit_before>/** * This file is part of Slideshow. * Copyright (C) 2008-2010 David Sveningsson <ext@sidvind.com> * * Slideshow 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...
<commit_before>#include <QtWidgets/QApplication> #include <canrawloggermodel.h> #include <datamodeltypes/canrawdata.h> #define CATCH_CONFIG_RUNNER #include "log.h" #include <QSignalSpy> #include <catch.hpp> #include <fakeit.hpp> std::shared_ptr<spdlog::logger> kDefaultLogger; // needed for QSignalSpy cause according t...
<commit_before>#include <boost/foreach.hpp> #include <sstream> #include "Hypothesis.h" #include "Manager.h" #include "ActiveChart.h" #include "TargetPhraseImpl.h" #include "../System.h" #include "../Scores.h" #include "../InputPathBase.h" #include "../FF/StatefulFeatureFunction.h" using namespace std; namespace Moses...
<commit_before>/** * Class CCopasiContainer * * This class is the is used to group CCopasiObjects logically. It inself is * an object. Contained objects are still globally accessible. * * Copyright Stefan Hoops 2002 */ #include "copasi.h" #include "CCopasiObjectName.h" #include "CCopasiContainer.h" #include "u...
<commit_before>// Copyright (C) 2010 - 2016 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., University of Heidelberg, and The University // of Manchester. // All rights reserved. // Copyright (C) 2008 - 2009 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., EML Research, gGmbH, Universi...
<commit_before>// Compile with // g++ perfanalysis.cpp -o perfanalyis -std=c++14 -Wall -O3 #include <algorithm> #include <cstring> #include <iostream> #include <memory> #include <string> #include <unordered_map> #include <vector> using namespace std; struct StrTok { string& s; size_t pos; bool done; voi...
<commit_before>/* -*- mode: C++; c-basic-offset: 4; tab-width: 8; -*- * vi: set shiftwidth=4 tabstop=8: * :indentSize=4:tabSize=8: */ #include "regex_index.h" #include <iostream> void convert(const std::string& flags, std::regex_constants::syntax_option_type& fl, bool& positiveMatch) { bool positive_match = tru...
<commit_before>/* Copyright (c) 2018 PaddlePaddle 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 applic...
<commit_before>/* Copyright (c) 2018 PaddlePaddle 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 req...
<commit_before>#include "lambda_man.hpp" namespace shiranui{ namespace syntax{ void LambdaMarkerScanner::visit(ast::Identifier&){} void LambdaMarkerScanner::visit(ast::Variable&){} void LambdaMarkerScanner::visit(ast::Number&){} void LambdaMarkerScanner::visit(ast::String&){} ...
<commit_before>/* * This file is part of Poedit (https://poedit.net) * * Copyright (C) 2014-2022 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 restrictio...
<commit_before>/* * This file is part of Poedit (https://poedit.net) * * Copyright (C) 2014-2019 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 restrictio...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/centaur/procedures/hwp/perv/cen_pll_setup.C $...
<commit_before>/* Copyright 2014 CyberTech Labs 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 required by applicab...
<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. #include "flutter/shell/platform/android/platform_view_android.h" #include <memory> #include <utility> #include "flutter/fml/synchronizati...
<commit_before>#include "ExternalInput.h" #include "../WebRtcConnection.h" #include "../RTPSink.h" #include <cstdio> #include <boost/cstdint.hpp> #include <sys/time.h> #include <arpa/inet.h> namespace erizo { ExternalInput::ExternalInput(const std::string& inputUrl){ sourcefbSink_=NULL; context_ = NULL; ...
<commit_before>#include "ControlUtil.h" #include <algorithm> #include <limits> #include <cmath> using namespace std; typedef Matrix<double, 6,1> Vector6d; struct PelvisMotionControlData { RigidBodyManipulator* r; double alpha; double pelvis_height_previous; double nominal_pelvis_height; Vecto...
<commit_before>/* This file is part of KOrganizer. Copyright (c) 2002 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 Software Foundation; either version 2 of...
<commit_before>/** * @file * * @date 12.04.2021 * @author Alexander Kalmuk */ #include <stdio.h> #include <drivers/video/fb.h> #include <util/log.h> #include <algorithm> #include <cv_embox_imshowfb.hpp> void imshowfb(cv::Mat& img, int fbx) { struct fb_info *fbi; int w, h; fbi = fb_lookup(fbx); if (!fbi) {...
<commit_before>#ifndef _PROPHY_GENERATED_FULL_Unions_HPP #define _PROPHY_GENERATED_FULL_Unions_HPP #include <stdint.h> #include <numeric> #include <vector> #include <string> #include <prophy/array.hpp> #include <prophy/endianness.hpp> #include <prophy/optional.hpp> #include <prophy/detail/byte_size.hpp> #include <prop...
<commit_before>// This file is part of the dune-hdd project: // http://users.dune-project.org/projects/dune-hdd // Copyright holders: Felix Albrecht // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_HDD_LINEARELLIPTIC_PROBLEMS_OS2014_HH #define DUNE_HDD_LINEARELLIPTIC_PROBLE...
<commit_before>// Copyright (c) 2016 ASMlover. 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 o...
<commit_before>// Copyright 2014-2015 Project Vogue. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <algorithm> #include <string> #include <vector> #include "elang/compiler/semantics/formatters/text_formatter.h" #include "base/con...
<commit_before>#include "himan_unit.h" #include "numerical_functions.h" #include "numerical_functions_helper.h" #include "timer.h" #define BOOST_TEST_MODULE numerical_functions using namespace std; using namespace himan; const double kEpsilon = 1e-3; void Dump(const himan::matrix<double>& m) { for (size_t i=0; i...
<commit_before>// // Copyright (C) 2010-2011 SIPez LLC. // Licensed by SIPfoundry under the LGPL license. // // $$ /////////////////////////////////////////////////////////////////////////////// // Author: Dan Petrie <dpetrie AT SIPez DOT com> #define LOG_NDEBUG 0 //#define LOG_TAG defined in <mp/MpAndroidX_XAudio...
<commit_before>// // Copyright (C) 2007 SIPez LLC. // Licensed to SIPfoundry under a Contributor Agreement. // // Copyright (C) 2007 SIPfoundry Inc. // Licensed by SIPfoundry under the LGPL license. // // $$ /////////////////////////////////////////////////////////////////////////////// // Author: Alexander Chemer...
<commit_before>// // CompositeTileImageProvider.cpp // G3MiOSSDK // // Created by Diego Gomez Deck on 4/23/14. // // #include "CompositeTileImageProvider.hpp" #include "TileImageListener.hpp" #include "Tile.hpp" #include "CompositeTileImageContribution.hpp" #include "IFactory.hpp" #include "ICanvas.hpp" #include "I...
<commit_before>/* * Copyright (c) 2020 Project CHIP 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/L...
<commit_before>/* * Copyright 2014-2015 CyberVision, 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 required by a...
<commit_before>/* Copyright Sven Bergström 2014 created for snow https://github.com/underscorediscovery/snow MIT license */ #ifdef HX_WINDOWS #include <windows.h> #include "SDL.h" #include "SDL_syswm.h" namespace snow { namespace platform { namespace window { void load_icon(SDL...
<commit_before>/*========================================================================= * * Copyright UMC Utrecht and contributors * * 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) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura */ #include "kernel/declaration.h" #include "kernel/type_checker.h" #include "library/aux_recursors.h" #include "library/user_recursors.h" #incl...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: framegrabber.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2005-09-07 19:44:41 $ * * The Contents of this file are m...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * 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 ...
<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 "ui/gfx/compositor/compositor.h" #include <GL/gl.h> #include "base/basictypes.h" #include "base/compiler_specific.h" #includ...
<commit_before>#include "ride/runner.h" #include <wx/utils.h> #include <wx/process.h> #include <wx/txtstrm.h> #include "ride/mainwindow.h" class PipedProcess; class Process; ////////////////////////////////////////////////////////////////////////// Command::Command(const wxString& r, const wxString& c) : root(r), c...
<commit_before>/* Bacula® - The Network Backup Solution Copyright (C) 2007-2009 Free Software Foundation Europe e.V. The main author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. This program is Free Software; you can redistribute it a...
<commit_before>#include<xerus.h> #include "../../include/xerus/test/test.h" using namespace xerus; static misc::UnitTest tt_entryprod("TT", "entrywise_product", [](){ Index i,j,k; TTTensor A = TTTensor::random(std::vector<size_t>(10,2), std::vector<size_t>(9,2)); TTTensor B = TTTensor::random(std::vector<s...
<commit_before><commit_msg>protect against NULL current SfxViewShell<commit_after><|endoftext|>
<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 "ui/views/bubble/bubble_delegate.h" #include "ui/base/animation/slide_animation.h" #include "ui/views/bubble/bubble_frame_vie...
<commit_before>/*************************************************************************** * Copyright (c) 2013 Werner Mayer <wmayer[at]users.sourceforge.net> * * * * This file is part of the FreeCAD CAx development system. ...
<commit_before>#include "ngraph.h" #include <PCU.h> #include "agi.h" namespace agi { void writePoints(Ngraph* g,FILE* f) { fprintf(f,"<Points>\n"); fprintf(f,"<DataArray NumberOfComponents=\"3\""); fprintf(f," type=\"Float64\" format=\"ascii\" Name=\"Points\">\n"); //Write the position of each vertex...
<commit_before>#pragma once //=====================================================================// /*! @file @brief NES Emulator ハンドラー @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2018 Kunihito Hiramatsu @n Released under the MIT license @n https://github.com/hirakuni45/RX/blob/master/LICE...
<commit_before>/* Copyright (C) 2013 Samsung Electronics 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 version....
<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 <boost/python.hpp> #include <libtorrent/alert.hpp> #include <libtorrent/alert_...
<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/alert.hpp> #include <libtorrent/alert_types.hpp> #include <boost/p...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: b3dvector.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: obo $ $Date: 2006-09-17 08:08:25 $ * * The Contents of this file are mad...
<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/alert.hpp> #include <libtorrent/alert_types.hpp> #include <boost/p...
<commit_before>#include "Halide.h" using namespace Halide; int main(int argc, char* argv[]) { ImageParam in(UInt(8), 3, "input"); float a0 = 0.7; float a1 = 0.2; float a2 = 0.1; Func rec_filter{"rec_filter"}; Var x("x"), y("y"), c("c"); RDom r(2, in.width()-3, 0, in.height()-1); re...
<commit_before>/* * Copyright (C) 2008-2010 The QXmpp developers * * Author: * Manjeet Dahiya * * Source: * http://code.google.com/p/qxmpp * * This file is a part of QXmpp library. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public ...
<commit_before>/* --------------------------------------------------------------------------- ** This software is in the public domain, furnished "as is", without technical ** support, and with no warranty, express or implied, as to its usefulness for ** any purpose. ** ** v4l2compress_jpeg.cpp ** ** Read YUYC from a ...
<commit_before>#include <ffigen/process/code_entity/fundamental_type.hpp> #include <ffigen/utility/logger.hpp> #include <unordered_map> namespace ffigen { using namespace utility::logs; typedef std::unordered_map<std::string, std::string> ffi_type_map; static ffi_type_map clang_type_to_ffi_types; st...