text
stringlengths
54
60.6k
<commit_before>#pragma once //=====================================================================// /*! @file @brief ST7565(R) LCD ドライバー @n Copyright 2016 Kunihito Hiramatsu @author 平松邦仁 (hira@rvf-rc45.net) */ //=====================================================================// #include <cstdint> #include "...
<commit_before>#include "list.h" #include <core/db.h> #include <text/text.h> #include <algorithm> #include <sstream> #include <stdio.h> #define FIELDS "tracks.id, tracks.title, tracks.user_id, users.name, tracks.date, tracks.visible" #define TABLES "users, tracks" #define JOIN "tracks.user_id = users.id" #define JOIN...
<commit_before>/* Copyright (c) 2013 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura */ #include <iostream> #include <sstream> #include <set> #include <string> #include <memory> #include <cstdlib> #ifndef _WINDOWS // Support for ...
<commit_before> /*************************/ /* Edition des Pastilles */ /*************************/ #include "fctsys.h" #include "gr_basic.h" #include "common.h" #include "pcbnew.h" #include "autorout.h" #include "trigo.h" #include "drag.h" #include "protos.h" /* Routines Locales */ /* Variables locales */ stati...
<commit_before>#include "rename_buffer.h" #include <iostream> #include <memory> #include <set> #include <string> #include <sys/stat.h> #include <utility> #include <vector> #include "../../log.h" #include "batch_handler.h" #include "recent_file_cache.h" using std::endl; using std::move; using std::ostream; using std:...
<commit_before>#include "precomp.hpp" #include "internal.hpp" using namespace std; using namespace kfusion; using namespace kfusion::cuda; static inline float deg2rad (float alpha) { return alpha * 0.017453293f; } kfusion::KinFuParams kfusion::KinFuParams::default_params() { const int iters[] = {10, 5, 4, 0}; ...
<commit_before>// This file is part of the "x0" project, http://github.com/christianparpart/x0> // (c) 2009-2016 Christian Parpart <trapni@gmail.com> // // Licensed under the MIT License (the "License"); you may not use this // file except in compliance with the License. You may obtain a copy of // the License at: ht...
<commit_before>/* FS.cpp - file system wrapper Copyright (c) 2015 Ivan Grokhotkov. All rights reserved. This file is part of the esp8266 core for Arduino environment. 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 t...
<commit_before>/******************************************************************************* * * MIT License * * Copyright (c) 2017 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software...
<commit_before>#include "IMUModel.h" //TODO: remove pragma, problem with eigens optimization stuff "because conversion sequence for the argument is better" #if defined(__GNUC__) #pragma GCC diagnostic ignored "-Wconversion" #endif IMUModel::IMUModel(): integrated(1,0,0,0) { DEBUG_REQUEST_REGISTER("IMUModel:re...
<commit_before>#include <gtest/gtest.h> #include <string> #include "lru.h" #include <chrono> #include <future> #include <random> using namespace std; using namespace ::testing; TEST(LruTest,AddTest) { LruCache<int,string> cache(50); cache.add(5,"some"); ASSERT_STREQ(cache.get(5)->c_str(), "some"); } TEST(LruTe...
<commit_before>/*========================================================================= Program: ORFEO Toolbox Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. See OTBCopyright.txt for details. This software is distr...
<commit_before>/* Basic Server code for CMPT 276, Spring 2016. */ #include <exception> #include <iostream> #include <memory> #include <string> #include <unordered_map> #include <utility> #include <vector> #include <cpprest/base_uri.h> #include <cpprest/http_listener.h> #include <cpprest/json.h> #include <pplx/pplx...
<commit_before>#include "positiontracker.h" #include <cmath> #include <common/config/configmanager.h> PositionTracker::PositionTracker() : LOnGPSData(this), LOnMotionCommand(this), LOnIMUData(this) { } Position PositionTracker::GetPosition() { return _current_estimate; } Position PositionTracker:...
<commit_before>#define WIN32_LEAN_AND_MEAN #include <SDKDDKVer.h> #include <windows.h> #include "HookAPI.h" #include "TeamSpeak.h" #include <ws2tcpip.h> #include <atomic> #include <list> #include <concurrent_queue.h> #pragma comment (lib, "Ws2_32.lib") // Default buffer length #define BUFLEN 4096 //...
<commit_before>/* * TableJoin.cpp * * Copyright (C) 2016-2017 by VISUS (University of Stuttgart) * Alle Rechte vorbehalten. */ #include "stdafx.h" #include "TableJoin.h" #include <limits> using namespace megamol::stdplugin::datatools; using namespace megamol::stdplugin::datatools::table; using namespace megamol...
<commit_before>#include "vast/search.h" #include "vast/expression.h" #include "vast/optional.h" #include "vast/query.h" #include "vast/util/make_unique.h" #include "vast/util/trial.h" namespace vast { using namespace cppa; search_actor::search_actor(actor_ptr archive, actor_ptr index, ...
<commit_before>// // The following pseudo header file isn't actually valid C++ code, but is // intended to document the L0_L1 UDP packet format in a C++-like syntax. // For real packet-encoding code, see intensity_network_ostream.cpp. // // We don't bother network-encoding ints and floats, under the assumption // that ...
<commit_before>// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. #include <v...
<commit_before>//===--- GenClosure.cpp - Miscellaneous IR Generation for Expressions -----===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<commit_before>/* This file is part of the Kate project. * * Copyright (C) 2010 Christoph Cullmann <cullmann@kde.org> * * 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 ...
<commit_before>#include <cstdint> #include <vector> #include <memory> #include <iostream> #include <fstream> #include <exception> #include <type_traits> #include <random> #include "gtest/gtest.h" using namespace std; struct My_Base{}; template <typename T> struct S_P : public My_Base { typedef shared_ptr<T> Pointer_...
<commit_before>#include "../../shader_structs/forward_render.h" #include "../example_common.h" using namespace put; using namespace put::ecs; pen::window_creation_params pen_window{ 1280, // width 720, // height 4, // MSAA samples "rasterizer_state" // window...
<commit_before>#ifndef VEXCL_TYPES_HPP #define VEXCL_TYPES_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 ...
<commit_before>/* Begin CVS Header $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/report/CReport.cpp,v $ $Revision: 1.46 $ $Name: $ $Author: shoops $ $Date: 2006/04/20 15:27:06 $ End CVS Header */ #include "copasi.h" #include "CReportDefinition.h" #include "CReport.h" #include "CCopasiC...
<commit_before>//===- TGLexer.cpp - Lexer for TableGen -----------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/* * Launch WAS child processes. * * author: Max Kellermann <mk@cm4all.com> */ #include "was_launch.hxx" #include "fd_util.h" #include "fd-util.h" #include "exec.hxx" #include "child_options.hxx" #include "sigutil.h" #include "gerrno.h" #include "util/ConstBuffer.hxx" #include <daemon/log.h> #inclu...
<commit_before>/* * This file is part of OpenModelica. * * Copyright (c) 1998-CurrentYear, Linköping University, * Department of Computer and Information Science, * SE-58183 Linköping, Sweden. * * All rights reserved. * * THIS PROGRAM IS PROVIDED UNDER THE TERMS OF GPL VERSION 3 * AND THIS OSMC PUB...
<commit_before>/* * IceWM * * Copyright (C) 1997-2001 Marko Macek */ #include "config.h" #include "ylib.h" #include <X11/keysym.h> #include "wmcontainer.h" #include "wmframe.h" #include "yxapp.h" #include "prefs.h" #include <stdio.h> YClientContainer::YClientContainer(YWindow *parent, YFrameWindow *frame) :YWind...
<commit_before>/* mbed Microcontroller Library * Copyright (c) 2018 ARM Limited * * 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 * *...
<commit_before><commit_msg>Disable PersonalDataManagerTest.ImportFormDataNotEnoughFilledFields<commit_after><|endoftext|>
<commit_before><commit_msg>fix chart background color<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * $RCSfile: templwin.hxx,v $ * * $Revision: 1.26 $ * * last change: $Author: hr $ $Date: 2003-03-27 14:37:41 $ * * The Contents of this file are made available subject to the terms of * either of the following lice...
<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/ui/touch/frame/touch_browser_frame_view.h" #include <algorithm> #include "chrome/browser/profiles/profile.h"...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkSelectionSource.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>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: scrptfld.cxx,v $ * * $Revision: 1.11 $ * * last change: $Author: rt $ $Date: 2008-03-12 12:20:41 $ * * The Contents of this file are made...
<commit_before>//************************************************************************** //* This file is property of and copyright by the ALICE HLT Project * //* ALICE Experiment at CERN, All rights reserved. * //* ...
<commit_before>/* Copyright 2011-2015 David Robillard <http://drobilla.net> Copyright 2015 Rui Nuno Capela <rncbc@rncbc.org> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission not...
<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 require...
<commit_before><commit_msg>typos<commit_after><|endoftext|>
<commit_before>#include "zmq.h" #include <iostream> #include "AliHLTDataTypes.h" #include "AliHLTComponent.h" #include "AliHLTMessage.h" #include "TClass.h" #include "TCanvas.h" #include "TMap.h" #include "TPRegexp.h" #include "TObjString.h" #include "TDirectory.h" #include "TList.h" #include "AliZMQhelpers.h" #include...
<commit_before>#include <MeshSim.h> #include <SimPartitionedMesh.h> #include <SimUtil.h> #include <apf.h> #include <gmi_mesh.h> #include <gmi_sim.h> #include <apfMDS.h> #include <apfMesh2.h> #include <PCU.h> int main(int argc, char** argv) { assert(argc==4); MPI_Init(&argc,&argv); PCU_Comm_Init(); gmi_register...
<commit_before><commit_msg>Fix default OADB container in case of pp 13 TeV<commit_after><|endoftext|>
<commit_before><commit_msg>remove empty DumpHints() [loplugin:unreffun]<commit_after><|endoftext|>
<commit_before>#include "SmallFS.h" #include <string.h> #ifdef __linux__ #include <fcntl.h> #include <unistd.h> #include <endian.h> #include <stdio.h> #include <strings.h> #define BE32(x) be32toh(x) #else #include "Arduino.h" #include "zfdevice.h" #define BE32(x) x #endif #undef SMALLFSDEBUG #ifdef HAVE_ZFDEV...
<commit_before>#include"j1Collision.h" #include"j1App.h" #include"j1Player.h" #include"j1Render.h" j1Collision::j1Collision() { //for (uint i = 0; i < colliders.size(); ++i) //colliders[i] = nullptr; matrix[collider_link][collider_zelda] = true; matrix[collider_zelda][collider_link] = true; matrix[collider_butto...
<commit_before>/* * Copyright (C) 2011 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>/*! Registry Settings Handler Copyright 2012 Astea Solutions AD Licensed under the New BSD license. You may not use this file except in compliance with this License. You may obtain a copy of the License at https://github.com/gpii/windows/LICENSE.txt */ #include <Windows.h> #include <iostream> #includ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: breakiterator_cjk.cxx,v $ * * $Revision: 1.11 $ * * last change: $Author: rt $ $Date: 2005-09-07 17:00:36 $ * * The Contents of this file...
<commit_before>/* * Copyright 2018-2020, INRIA */ #ifndef __eigenpy_details_rvalue_from_python_data_hpp__ #define __eigenpy_details_rvalue_from_python_data_hpp__ #include <boost/python/converter/rvalue_from_python_data.hpp> #include <Eigen/Core> namespace boost { namespace python { namespace converter ...
<commit_before>/********************************************************************** ** Copyright (C) 2015 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com ** Author: Sérgio Martins <sergio.martins@kdab.com> ** ** This file may be distributed and/or modified under the terms of the ** GNU Lesser Gen...
<commit_before>#include "Updater.h" #include "Arduino.h" #include "eboot_command.h" #include "interrupts.h" #include "esp8266_peri.h" //#define DEBUG_UPDATER Serial extern "C" { #include "c_types.h" #include "spi_flash.h" #include "user_interface.h" } extern "C" uint32_t _SPIFFS_start; UpdaterClass::Upd...
<commit_before>/*========================================================================= Library: CTK Copyright (c) 2010 Kitware 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 a...
<commit_before>#include "pch.h" #include "utils.h" #ifndef _WIN32 web::http::client::http_client::~http_client() noexcept {} #endif static pplx::task<bool> _do_while_iteration(std::function<pplx::task<bool>(void)> func) { pplx::task_completion_event<bool> ev; func().then([=](bool task_completed)...
<commit_before>#include <list.h> #include <move.h> #include "yatf/include/yatf.h" using namespace yacppl; TEST(list, can_create_empty_list) { list<int> list; REQUIRE(list.size() == 0); } TEST(list, can_add_front_item) { list<int> list; list.push_front(2); REQUIRE(list.size() == 1); REQUIRE(li...
<commit_before>#include "Updater.h" #include "Arduino.h" #include "eboot_command.h" #include "interrupts.h" //#define DEBUG_UPDATER Serial extern "C" { #include "c_types.h" #include "spi_flash.h" } extern "C" uint32_t _SPIFFS_start; UpdaterClass::UpdaterClass() : _error(0) , _buffer(0) , _bufferLen(0) , _si...
<commit_before>/* This file is part of the Vc library. Copyright (C) 2009-2012 Matthias Kretz <kretz@kde.org> Vc 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 3 of th...
<commit_before>//===- Args.cpp -----------------------------------------------------------===// // // The LLVM Linker // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------...
<commit_before><commit_msg>Fix the opacity of titlebars on the NTP page. We were accidentally setting the opacity to 1/255.<commit_after><|endoftext|>
<commit_before>/*! @file @author Albert Semenov @date 02/2008 */ /* This file is part of MyGUI. MyGUI 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 3 of the License, or (at your ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: fontlb.hxx,v $ * * $Revision: 1.5 $ * * last change: $Author: ihi $ $Date: 2006-12-20 14:10:16 $ * * The Contents of this file are made a...
<commit_before>/* This file is part of Bohrium and Copyright (c) 2012 the Bohrium team: http://bohrium.bitbucket.org Bohrium 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 3 of the Licens...
<commit_before>/************************************************************************* * * $RCSfile: breakit.hxx,v $ * * $Revision: 1.1 $ * * last change: $Author: jp $ $Date: 2000-11-20 09:33:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>/** * This file is part of the CernVM File System. */ #include "cvmfs_config.h" #include "loader_talk.h" #include <errno.h> #include <sys/socket.h> #include <sys/un.h> #include <unistd.h> #include <cassert> #include <cstdlib> #include "loader.h" #include "logging.h" #include "platform.h" #include "...
<commit_before>//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use t...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ndhints.hxx,v $ * * $Revision: 1.10 $ * * last change: $Author: rt $ $Date: 2007-04-25 08:55:37 $ * * The Contents of this file are made ...
<commit_before>#include <ctime> #include <iostream> #include <cassert> #include "enforcer/setup_cmd.h" #include "shared/duration.h" #include "shared/file.h" #include "shared/str.h" #include "daemon/engine.h" #include "daemon/orm.h" #include "policy/update_kasp_task.h" #include "policy/kasp.pb.h" #include "keystate/...
<commit_before><commit_msg>WaE: overriding destructor declaration not explicitly marked 'virtual'<commit_after><|endoftext|>
<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>#include <sys/types.h> #include <dirent.h> #include "opencv2/objdetect/objdetect.hpp" #include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" #include <iostream> #include <string> #include <stdio.h> using namespace cv; using namespace std; int main(void) { DIR *dirp = opendir(...
<commit_before>// For conditions of distribution and use, see copyright notice in license.txt #include "StableHeaders.h" #include "QOgreUIView.h" #include <QPaintEvent> #ifndef Q_WS_WIN #include <QX11Info> #endif namespace OgreRenderer { QOgreUIView::QOgreUIView () : QGraphicsView(), ...
<commit_before>#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ lineLength = 25; // length of drawn lines reverseDrawing = false; // boolean to flip the drawing method (toggle with mouse) ellipse_color = ofColor(0); // color of drawn ellipses line_co...
<commit_before>/* Copyright (c) 2015, Daniel C. Dillon * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * thi...
<commit_before>/******************************************************************************* * E.S.O. - ACS project * * "@(#) $Id: maciContainerLogLevel.cpp,v 1.7 2008/07/14 13:41:20 bjeram Exp $" * * who when what * -------- -------- ---------------------------------------------- * bgustafs 2002-04-15 ...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2020. All rights reserved */ #ifndef _Stroika_Foundation_Execution_Function_inl_ #define _Stroika_Foundation_Execution_Function_inl_ 1 /* ******************************************************************************** ***************************** Imp...
<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>#include "GuiGamelistOptions.h" #include "GuiMetaDataEd.h" #include "views/gamelist/IGameListView.h" #include "views/ViewController.h" GuiGamelistOptions::GuiGamelistOptions(Window* window, SystemData* system) : GuiComponent(window), mSystem(system), mMenu(window, "OPTIONS") { addChild(&mMenu); /...
<commit_before>/* // Copyright (c) 2018 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
<commit_before> #include <qstylesheet.h> #include <klocale.h> #include <kstandarddirs.h> #include <kglobal.h> #include <kdebug.h> #include "device.h" #include "helper.h" using namespace OpieHelper; Base::Base( CategoryEdit* edit, KSync::KonnectorUIDHelper* helper, const QString &tz, ...
<commit_before>/* -*- mode: c++; c-basic-offset:4 -*- decryptverifyemailcontroller.cpp This file is part of Kleopatra, the KDE keymanager Copyright (c) 2008 Klarälvdalens Datakonsult AB Kleopatra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public L...
<commit_before>#include "paletteTreeWidgets.h" #include "mainWindow/palette/paletteTree.h" #include "mainWindow/palette/draggableElement.h" using namespace qReal; using namespace gui; PaletteTreeWidgets::PaletteTreeWidgets(PaletteTree &parent, MainWindow *mainWindow , EditorManagerInterface &editorManagerProxy) :...
<commit_before>/** * @defgroup pwg2_forward_scripts Scripts used in the analysis * * @ingroup pwg2_forward */ /** * @file * @ingroup pwg2_forward_scripts * */ /** * This is the macro to include the Forward multiplicity in a train. * * @ingroup pwg2_forward_scripts */ AliAnalysisTask* AddTaskFMD() { ...
<commit_before>//===- SparcDisassembler.cpp - Disassembler for Sparc -----------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#include "aio_private.h" #define EVEN_DISTRIBUTE const int MAX_BUF_REQS = 1024 * 3; /* * each file gets the same number of outstanding requests. */ #ifdef EVEN_DISTRIBUTE #define MAX_OUTSTANDING_NREQS (AIO_DEPTH / num_open_files()) #define ALLOW_DROP #endif void aio_callback(io_context_t ctx, stru...
<commit_before>//--------------------------------------------------------------------*- C++ -*- // CLING - the C++ LLVM-based InterpreterG :) // author: Axel Naumann <axel@cern.ch> // // This file is dual-licensed: you can choose to license it under the University // of Illinois Open Source License or the GNU Lesser G...
<commit_before>#include "config.h" #include "systemintfcmds.hpp" #include "host-cmd-manager.hpp" #include "host-interface.hpp" #include <cstring> #include <ipmid-host/cmd.hpp> #include <ipmid/api.hpp> void register_netfn_app_functions() __attribute__((constructor)); using namespace sdbusplus::xyz::openbmc_project:...
<commit_before>#include "mainwindow.h" #include "ui_mainwindow.h" #include <functional> #include <mutex> #include <cstdlib> #ifdef WIN32 #define BIND_EVENT(IO,EV,FN) \ do{ \ client::event_listener_aux l = FN;\ IO->on(EV,l);\ } while(0) #else #define BIND_EVENT(IO,EV,FN) \ IO->on(EV,FN) #end...
<commit_before>#ifndef __CINT__ # include <TFile.h> # include <TString.h> # include <TGraphAsymmErrors.h> # include <TMultiGraph.h> # include <TROOT.h> # include <TError.h> # include <TSystem.h> # include <TH1F.h> # include <TStyle.h> # include <TMath.h> #else class TFile; class TGraphAsymmErrors; class TMultiGraph; c...
<commit_before>// Undeprecate CRT functions #ifndef _CRT_SECURE_NO_DEPRECATE #define _CRT_SECURE_NO_DEPRECATE 1 #endif #include "SenseKit.h" #include "streams/depth.h" #include "SimpleViewer.h" #include <memory.h> #ifdef _WIN32 #include <GL/glut.h> #else #include <GLUT/glut.h> #endif //from glext.h #ifndef GL_SGIS_g...
<commit_before>/* * Copyright (c) 2012 Holger Schletz <holger.schletz@web.de> * 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 copyrig...
<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 "ui/message_center/notification_view.h" #include "base/utf_string_conversions.h" #include "grit/ui_resources.h" #include "ui/...
<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/clipboard/clipboard.h" #include <gtk/gtk.h> #include <map> #include <set> #include <string> #include <utility> #include...
<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/external_tab_container.h" #include "app/win_util.h" #include "base/logging.h" #include "base/win_util.h"...
<commit_before><commit_msg>An attempt to fix windows going fullscreen on startup. My best guess is that the size we're trying to restore is bigger than the current monitor causing the window to be sized to the monitor, triggering the fullscreen behavior.<commit_after><|endoftext|>
<commit_before><commit_msg>gtk: button-press events return coordinates relative to the gdk window in which the button was pressed. Convert this point to a browser window-relative coordinate when handling resizing the custom frame.<commit_after><|endoftext|>
<commit_before><commit_msg>GTK Themes: Initialize theme resources to make download shelf work.<commit_after><|endoftext|>
<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 "chrome/browser/tab_contents/render_view_context_menu_win.h" #include "chrome/browser/profile.h" #include "chrome/common/l10n...
<commit_before>#include <vector> #ifdef _MSC_VER #include <algorithm> #endif #include "common.h" #include "GCF.h" #include "fft_dyn_padded.h" #include "OskarBinReader.h" #include "stats_n_utils.h" #include "scatter_gridder_w_dependent_dyn_1p_halide_full.h" // Config const double wstep = 10000.0; const double t2 = 0....
<commit_before>#include "Precompiled.hpp" #include "Errors.hpp" #include "BulkMarketHistory.hpp" #include "crest/CacheOld.hpp" #include "crest/JsonHelpers.hpp" #include "crest/Urls.hpp" #include "lib/Params.hpp" #include <iostream> #include <chrono> #include <json/Reader.hpp> #include <json/Writer.hpp> #include <json/C...
<commit_before>#ifndef __EXTENSION_COMPUTE_INTERESTING_RUN_OF_THE_SYSTEM_HPP #define __EXTENSION_COMPUTE_INTERESTING_RUN_OF_THE_SYSTEM_HPP #include "gr1context.hpp" /** * An extension that computes an "interesting" run of the synthesized system, i.e., a run in which * both the assumptions and the guarantees are fulf...