text
stringlengths
54
60.6k
<commit_before>/* vim: set sw=4 sts=4 et foldmethod=syntax : */ #include <max_clique/cco_max_clique.hh> #include <max_clique/cco_base.hh> #include <max_clique/print_incumbent.hh> #include <graph/template_voodoo.hh> #include <graph/merge_cliques.hh> #include <algorithm> #include <thread> #include <mutex> using names...
<commit_before>// Copyright 2016 Google 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 applicable law or...
<commit_before> // INCLUDES #include <unistd.h> #include <string.h> #include <netdb.h> #include <fcntl.h> #include <errno.h> #include <sys/types.h> #include <sys/socket.h> #include <sys/param.h> #include "atTCPNetworkInterface.h++" atTCPNetworkInterface::atTCPNetworkInterface(char * address, short port) { char ...
<commit_before>#include <iostream> int main(void) { int apple = 9; auto lambda_capture_value = [apple] () { return apple; }; auto lambda_capture_reference = [&apple] () { return apple; }; apple = 0; std::cout << "apple = " << apple << ", lambda_capture_value return value = " << lambda_cap...
<commit_before>//* This file is part of the MOOSE framework //* https://www.mooseframework.org //* //* All rights reserved, see COPYRIGHT for full restrictions //* https://github.com/idaholab/moose/blob/master/COPYRIGHT //* //* Licensed under LGPL 2.1, please see LICENSE for details //* https://www.gnu.org/licenses/lgp...
<commit_before>#ifndef TYPES_H #define TYPES_H /* Defines a set of types for use on the hl-side. */ #include"objects.hpp" class GenericTraverser { public: virtual void traverse(Object::ref&) =0; virtual ~GenericTraverser(); }; /*----------------------------------------------------------------------------- Generic ...
<commit_before>/*********************************************************************************** ** ** FileManager.cpp ** ** Copyright (C) August 2016 Hotride ** ************************************************************************************ */ //----------------------------------------------------------------...
<commit_before>#include "ghost/config.h" #include "ghost/types.h" #include "ghost/densemat.h" #include "ghost/util.h" #include "ghost/math.h" #include "ghost/tsmttsm_kahan.h" #include "ghost/tsmttsm_kahan_gen.h" #include <map> using namespace std; static bool operator<(const ghost_tsmttsm_kahan_parameters_t &a, cons...
<commit_before>///////////////////////////////////////////////////////////////////////// // $Id$ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2002 MandrakeSoft S.A. // // This library is free software; you can redistribute it and/or // modify it under the terms of the...
<commit_before>#include <enumerate.hpp> #include "test_helpers.hpp" #include <vector> #include <string> #include <iterator> #include <utility> #include <sstream> namespace Catch { template <typename A, typename B> std::string toString( const std::pair<A, B>& p) { std::ostringstream oss; oss << '{' << p.first...
<commit_before>/* * This file is part of the LibreOffice project. * * Based on LLVM/Clang. * * This file is distributed under the University of Illinois Open Source * License. See LICENSE.TXT for details. * */ #include "pluginhandler.hxx" #include <clang/Frontend/CompilerInstance.h> #include <clang/Frontend/F...
<commit_before>//=========================================== // Lumina-DE source code // Copyright (c) 2014, Ken Moore // Available under the 3-clause BSD license // See the LICENSE file for full details //=========================================== #include "LPlugins.h" #include <LuminaUtils.h> LPlugins::LPlugin...
<commit_before>//////////////////////////////////////////////////////////////////////////////// /// \file h5_handler.cc /// \brief main program source. /// /// \author Muqun Yang (ymuqun@ncsa.uiuc.edu) /// \author Hyo-Kyung Lee <hyoklee@hdfgroup.org> /// /// Copyright (C) 2007 HDF Group, Inc. /// /// Copyright (C) 199...
<commit_before> // Bindings #include "CPyCppyy.h" #include "PyROOTPythonize.h" #include "CPPInstance.h" #include "ProxyWrappers.h" #include "Converters.h" #include "Utility.h" // ROOT #include "TClass.h" #include "TTree.h" #include "TBranch.h" #include "TBranchElement.h" #include "TBranchObject.h" #include "TLeaf.h" #...
<commit_before>#include "Audio3DSample.h" #include "Grid.h" #include "SamplesGame.h" #if defined(ADD_SAMPLE) ADD_SAMPLE("Media", "Audio 3D", Audio3DSample, 1); #endif static const unsigned int MOVE_FORWARD = 1; static const unsigned int MOVE_BACKWARD = 2; static const unsigned int MOVE_LEFT = 4; static const unsi...
<commit_before>#include "common.h" #define GL_GLEXT_PROTOTYPES #include "GLES/gl.h" #include "GLES2/gl2.h" #include <cstdlib> // EXIT_SUCCESS, etc #include <cstdint> // uint8_t, etc #include <iostream> #include <fstream> #include <sstream> #include <vector> #include "lodepng.h" #include "json.hpp" using json = nl...
<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>/************************************************************************* * * $RCSfile: except.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: mh $ $Date: 2002-10-02 11:41:21 $ * * The Contents of this file are made available subject to the terms of * either of the following license...
<commit_before>// An Homage to Vera Molnar's "An Homange to Durer" SquareSize = [[Square Size]] gridHeight = [[Grid Height]] gridWidth = [[Grid Width]] columnCounter = [[shiftCounter]] rowCounter = [[rowCounter]] if(columnCounter < [[gridWidth]]) { drawVeraLines([[columnCounter]], [[rowCounter]]) columnCounter++;...
<commit_before>#ifndef DUNE_STUFF_FUNCTION_EXPRESSION_HH #define DUNE_STUFF_FUNCTION_EXPRESSION_HH #ifdef HAVE_CMAKE_CONFIG #include "cmake_config.h" #else #include "config.h" #endif // ifdef HAVE_CMAKE_CONFIG #include <sstream> #include <vector> #ifdef HAVE_EIGEN #include <Eigen/Core> #endif // HAVE_EIGEN #i...
<commit_before>// This file is part of the dune-stuff project: // https://github.com/wwu-numerik/dune-stuff // Copyright holders: Rene Milk, Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_STUFF_GRID_WALKER_WRAPPER_HH #define DUNE_STUFF_GRID_WALKER_WRAPPER_...
<commit_before><commit_msg>Add a CHECK() around the SharedMemory ftruncate() call to finger it as a crash culprit.<commit_after><|endoftext|>
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a ...
<commit_before>#define BOOST_TEST_MODULE ftEdgeTest #include <boost/test/unit_test.hpp> #include <fstream> #include "GoTools/utils/Point.h" #include "GoTools/geometry/Utils.h" #include "GoTools/geometry/ObjectHeader.h" #include "GoTools/geometry/Circle.h" #include "GoTools/compositemodel/Vertex.h" #include "GoTools/...
<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 "chrome/browser/extensions/extension_processes_api.h" #include "base/callback.h" #include "base/json/json_writer.h" #include ...
<commit_before>//g++ *.cpp -lpthread -lwiringPi -std=c++11 //LATER MET GUI MAKEFILE <sudo make> #include "Sensor.h" #include "I2C.h" #include "Log.h" #include "Camera.h" #include "Light.h" #include "MotionSensor.h" #include "PressureSensor.h" #define I2CLOC "/dev/i2c-1"// <-- this is the real I2C device you ...
<commit_before>// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/ref_counted.h" #include "base/string_number_conversions.h" #include "base/utf_string_conversions.h" #include "chrome/tes...
<commit_before>// Jubatus: Online machine learning framework for distributed environment // Copyright (C) 2012 Preferred Infrastructure and Nippon Telegraph and Telephone Corporation. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // Lic...
<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/session.hpp> using namespace boost::p...
<commit_before>/*********************************************************************** filename: CEGUIOpenGLGeometryBuffer.cpp created: Wed, 8th Feb 2012 author: Lukas E Meindl (based on code by Paul D Turner) *************************************************************************/ /************...
<commit_before>#ifndef VEXCL_UTIL_HPP #define VEXCL_UTIL_HPP /* The MIT License Copyright (c) 2012-2013 Denis Demidov <ddemidov@ksu.ru> 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 re...
<commit_before>/**************************************************************************** This file is part of the GLC-lib library. Copyright (C) 2005-2006 Laurent Ribon (laumaya@users.sourceforge.net) Version 0.9.6, packaged on June, 2006. http://glc-lib.sourceforge.net GLC-lib is free software; you can red...
<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 "base/command_line.h" #include "chrome/browser/extensions/extension_apitest.h" #include "chrome/common/chrome_switches.h" #if...
<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 "chrome/browser/safe_browsing/safe_browsing_database.h" #include "base/file_util.h" #include "base/logging.h" #include "...
<commit_before>/* Copyright (c) 2015 - present Advanced Micro Devices, Inc. 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 the Software without restriction, including without limitation t...
<commit_before>// This file is part of Poseidon. // Copyleft 2020, LH_Mouse. All wrongs reserved. #ifndef POSEIDON_HTTP_ENUMS_HPP_ #define POSEIDON_HTTP_ENUMS_HPP_ #include "../fwd.hpp" namespace poseidon { // These are HTTP version numbers. // At the moment only 1.0 and 1.1 are supported. enum HTTP_Version : uint1...
<commit_before>////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2011, John Haddon. All rights reserved. // Copyright (c) 2011-2013, Image Engine Design Inc. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification...
<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>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: SlsPageObjectViewContact.cxx,v $ * * $Revision: 1.6 $ * * last change: $Author: ihi $ $Date: 2006-11-14 14:36:35 $ * * The Contents of th...
<commit_before>// ****************************************************************************************** // * This project is licensed under the GNU Affero GPL v3. Copyright © 2014 A3Wasteland.com * // ****************************************************************************************** #include "player_sys.sq...
<commit_before>/** Copyright (C) 2015 Ultimaker - Released under terms of the AGPLv3 License */ #include "polygon.h" #include "linearAlg2D.h" // pointLiesOnTheRightOfLine #include "../debug.h" namespace cura { bool PolygonRef::shorterThan(int64_t check_length) const { const PolygonRef& polygon = *this; con...
<commit_before>/* Usage: seq_sample N IN.fastq OUT.fastq Samples N reads from IN.fastq and writes them to OUT.fastq without duplicates. */ #include <fstream> #include <iostream> #include <set> #include <seqan/basic.h> #include <seqan/file.h> #include <seqan/misc/misc_random.h> #include <seqan/sequence.h> #inc...
<commit_before>#include <mantella_bits/samplesSelection/bestNeighbourhoodSamplesSelection.hpp> namespace mant { void BestNeighbourhoodSamplesSelection::selectImplementation() { arma::Col<double> bestParameter; double bestObjectiveValue = std::numeric_limits<double>::infinity(); for (const auto& sample : ...
<commit_before>#ifndef VG_VARIANT_ADDER_HPP #define VG_VARIANT_ADDER_HPP /** \file * variant_adder.hpp: defines a tool class used for adding variants from VCF * files into existing graphs. */ #include "vcf_buffer.hpp" #include "path_index.hpp" #include "vg.hpp" #include "progressive.hpp" #include "name_mapper.hpp"...
<commit_before>#ifndef DUNE_DETAILED_DISCRETIZATIONS_ASSEMBLER_SYSTEM_AFFINE_HH #define DUNE_DETAILED_DISCRETIZATIONS_ASSEMBLER_SYSTEM_AFFINE_HH // std includes #include <vector> // dune-common includes #include <dune/common/dynmatrix.hh> #include <dune/common/dynvector.hh> namespace Dune { namespace Detailed { na...
<commit_before>// This macro plays a recorded ROOT session showing how to perform various // interactive graphical editing operations. The initial graphics setup // was created using the following root commands: /* t = new TRecorder(); t->Start("graphedit_playback.root"); gStyle->SetPalette(1); TC...
<commit_before>/************************************************************************* * * $RCSfile: webdavprovider.hxx,v $ * * $Revision: 1.6 $ * * last change: $Author: kso $ $Date: 2001-11-26 09:45:37 $ * * The Contents of this file are made available subject to the terms of * either of the followin...
<commit_before><commit_msg>This syntax is C++11 only.<commit_after><|endoftext|>
<commit_before>/* * This file is part of the AzerothCore Project. See AUTHORS file for Copyright information * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Affero General Public License as published by the * Free Software Foundation; either version 3 of the...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: null_spritecanvas.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: kz $ $Date: 2006-12-13 14:45:40 $ * * The Contents of this file ...
<commit_before>/* * BCJR Decoding, Memoryless Modulation, and Filtering come from Tarik BENADDI (Toulouse INP) */ #include <cassert> #include <cstdlib> #include <cstdio> #include <cmath> #include "../../../Decoder/decoder_functions.h" #include "Modulator_GSM_BCJR.hpp" ////////////////////////////////////////////////...
<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>//------------------------------------------------------------------------------ // CLING - the C++ LLVM-based InterpreterG :) // version: $Id$ // author: Vassil Vassilev <vasil.georgiev.vasilev@cern.ch> //------------------------------------------------------------------------------ #include "cling/Ut...
<commit_before>/** * @version GrPPI v0.3 * @copyright Copyright (C) 2017 Universidad Carlos III de Madrid. All rights reserved. * @license GNU/GPL, see LICENSE.txt * 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 ...
<commit_before>#include <my-class.h> /*! \namespace MyNamespace \brief This is a small namespace thought for the examle. This is a namespace. A small litte namespace. It doesn't need any detailed documentation, because it's so small. But also, because nobody will every use it. But hey, don't be sad. That's, what an...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a ...
<commit_before>#ifndef RBX_OBJECTS_HPP #define RBX_OBJECTS_HPP #include "vm.hpp" #include "object.hpp" #include "type_info.hpp" #include <iostream> #include "builtin/immediates.hpp" // TODO: remove me! namespace rubinius { class Numeric : public Object { public: static const object_type type = NumericType; ...
<commit_before>/************************************************************************* * * $RCSfile: directview.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: jb $ $Date: 2002-03-28 08:14:40 $ * * The Contents of this file are made available subject to the terms of * either of the following lic...
<commit_before>/************************************************************************* * * $RCSfile: propertyids.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: oj $ $Date: 2000-10-24 15:13:05 $ * * The Contents of this file are made available subject to the terms of * either of the following li...
<commit_before>#ifndef SAVE_STATE_H # define SAVE_STATE_H # pragma once struct statebuf { void* sp; void* bp; void* label; }; #if defined(__GNUC__) static inline bool __attribute__((always_inline)) savestate( statebuf& ssb) noexcept { bool r; #if defined(i386) || defined(__i386) || defined(__i386__) asm ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: cr_html.cxx,v $ * * $Revision: 1.8 $ * * last change: $Author: hr $ $Date: 2006-06-19 20:04:45 $ * * The Contents of this file are made a...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: xmlmetae.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: vg $ $Date: 2007-04-11 13:33:27 $ * * The Contents of this file are made ...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: PlaneSrc.cc Language: C++ Date: 5/15/94 Version: 1.12 Copyright (c) 1993-1995 Ken Martin, Will Schroeder, Bill Lorensen. This software is copyrighted by Ken Martin...
<commit_before>#include <assert.h> #include <stdio.h> #include "../ClipperUtils.hpp" #include "../Geometry.hpp" #include "../Layer.hpp" #include "../Print.hpp" #include "../PrintConfig.hpp" #include "../Surface.hpp" #include "FillBase.hpp" namespace Slic3r { // Generate infills for Slic3r::Layer::Region. // The Sli...
<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 <stdio.h> #include <stdlib.h> #include <cassert> #include "ppapi/c/ppb_gamepad.h" #include "ppapi/cpp/graphics_2d.h" #includ...
<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/focus/accelerator_handler.h" #include <bitset> #include <gtk/gtk.h> #if defined(HAVE_XINPUT2) #include <X11/extensions...
<commit_before>/*************************************************************************/ /* view_panner.cpp */ /*************************************************************************/ /* This file is part of: */ /...
<commit_before>/* Begin CVS Header $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/steadystate/CSteadyStateTask.cpp,v $ $Revision: 1.62 $ $Name: $ $Author: shoops $ $Date: 2006/04/27 01:31:49 $ End CVS Header */ // Copyright 2005 by Pedro Mendes, Virginia Tech Intellectual // Properties, ...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/ ** ** This file is part of the QtQml module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** GNU Lesser General P...
<commit_before>/* * Copyright (C) 2015 LINK/2012 <dma_2012@hotmail.com> * Licensed under the MIT License, see LICENSE at top level directory. * */ #include <stdinc.hpp> #include "../data_traits.hpp" using namespace modloader; using std::set; using std::string; namespace datalib { template<> struct data_i...
<commit_before>/** * The Seeks proxy and plugin framework are part of the SEEKS project. * Copyright (C) 2010 Emmanuel Benazera, juban@free.fr * * This program 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 ...
<commit_before>//============================================================================== // Computer engine class //============================================================================== #include "computerengine.h" #include "computerparser.h" //===================================================...
<commit_before>/** * projectM -- Milkdrop-esque visualisation SDK * Copyright (C)2003-2004 projectM Team * * 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 t...
<commit_before><commit_msg>remove unnecessary stuff<commit_after><|endoftext|>
<commit_before><commit_msg>Reverting 19447.<commit_after><|endoftext|>
<commit_before><commit_msg>Make function definition order (.cc) match function declaration order (.h). No code changes.<commit_after><|endoftext|>
<commit_before><commit_msg>Revert thakis's changes to download_file.cc from r17595.<commit_after><|endoftext|>
<commit_before><commit_msg>Fix bookmark util crash<commit_after><|endoftext|>
<commit_before><commit_msg>Show bookmark manager on Linux when menu shortcut is pressed (ctrl-shift-b).<commit_after><|endoftext|>
<commit_before><commit_msg>Add test for history HTML escaping issue.<commit_after><|endoftext|>
<commit_before>#include "stan/math/functions/log_rising_factorial.hpp" #include <gtest/gtest.h> TEST(MathFunctions, log_rising_factorial) { using stan::math::log_rising_factorial; EXPECT_FLOAT_EQ(std::log(120.0), log_rising_factorial(4.0,3)); EXPECT_FLOAT_EQ(std::log(360.0), log_rising_factorial(3.0,4)...
<commit_before>#include "common.h" #include "PlayerController.h" #include "EventManager.h" #include "PositionComponent.h" #include "OrientationComponent.h" #include "BoundingComponent.h" #include "ModelComponent.h" void PlayerController::Init() { const std::vector<Triangle> triangles = { std::make_tuple(Point3(-0.3...
<commit_before>// // C++ Implementation: localbero // // Description: // // // Author: FThauer FHammer <webmaster@pokerth.net>, (C) 2007 // // Copyright: See COPYING file that comes with this distribution // // #include "localbero.h" using namespace std; LocalBeRo::LocalBeRo(HandInterface* hi, int id, unsigned dP, i...
<commit_before>// // Copyright (c) 2008-2014 the Urho3D project. // // 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...
<commit_before>#include "testing/testing.hpp" #include "map/framework.hpp" #include "platform/http_request.hpp" #include "platform/local_country_file_utils.hpp" #include "platform/platform.hpp" #include "platform/platform_tests_support/write_dir_changer.hpp" #include "coding/file_name_utils.hpp" #include "coding/int...
<commit_before>// Module: Log4CPLUS // File: loggerimpl.cxx // Created: 6/2001 // Author: Tad E. Smith // // // Copyright (C) Tad E. Smith All rights reserved. // // This software is published under the terms of the Apache Software // License version 1.1, a copy of which has been included with this // distributio...
<commit_before>/*********************************************************************** * filename: Element.cpp * created: 28/10/2011 * author: Martin Preisler *************************************************************************/ /**************************************************************...
<commit_before>// // Custom Casts // namespace { $(when measurements $(foreach measurements $(if active and ( custom_cast or label_map ) then OUT=[[ template<typename FilterType> struct ${name}CustomCast { template <typename T> ]] if custom_cast then OUT=OUT..[[ static ${type} Helper( const T & value ) { return ${c...
<commit_before><commit_msg>Use the full URL of the icon in the notification, not just the string passed in -- so that that string doesn't have to be absolute.<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 "chrome/browser/chromeos/extensions/file_browser_event_router.h" #include "base/json/json_writer.h" #include "base/memory/sin...
<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/chromeos/status/power_menu_button.h" #include "chrome/browser/browser.h" #include "chrome/browser/browser_win...
<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 <oleacc.h> #include "app/l10n_util.h" #include "chrome/browser/browser.h" #include "chrome/browser/browser_window.h" #include...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: customcontrolcontainer.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: obo $ $Date: 2006-09-16 17:55:25 $ * * The Contents of this...
<commit_before><commit_msg>Rolled back new changes in integer_xl class.<commit_after><|endoftext|>
<commit_before>/* * Copyright (C) 2019 ScyllaDB */ /* * This file is part of Scylla. * * Scylla is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your op...
<commit_before>/* * Copyright 2014 Open Connectome Project (http://openconnecto.me) * Written by Da Zheng (zhengda1936@gmail.com) * * This file is part of FlashMatrix. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may...
<commit_before>#include <Arduino.h> #include <roboteqMC.h> AX2550::AX2550(HardwareSerial& serial_port):uart(serial_port) { uart.begin(9600,SERIAL_7E1); } void AX2550::init(uint8_t x,uint8_t y){ x_key = x; y_key = y; } void AX2550::set_report(uint8_t v,uint8_t l,uint8_t r){ volt_key = v; ...
<commit_before>// // Copyright (c) .NET Foundation and Contributors // See LICENSE file in the project root for full license information. // #include <ssl.h> #include <nanoPAL.h> #include "mbedtls.h" int ssl_available_internal(int sd) { mbedTLS_NFContext *context = (mbedTLS_NFContext *)SOCKET_DRIVER.GetSocketSslD...
<commit_before>/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve. 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 requ...
<commit_before>/* Copyright 2013 KU Leuven, Dept. Electrical Engineering, Medical Image Computing Herestraat 49 box 7003, 3000 Leuven, Belgium Written by Daan Christiaens, 06/06/13. This file is part of the Global Tractography module for MRtrix. MRtrix is free software: you can redist...