text
stringlengths
54
60.6k
<commit_before>/*********************************************************************************************************************** ** ** Copyright (c) 2011, 2015 ETH Zurich ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without modification, are permitted provided tha...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/hwpf/fapi2/include/fapi2_i2c_access.H $ ...
<commit_before>/* * Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com> */ #pragma once #include <cassert> #include <uavcan/stdint.hpp> #include <uavcan/transport/transfer_listener.hpp> #include <uavcan/transport/outgoing_transfer_registry.hpp> #include <uavcan/transport/can_io.hpp> #include <uavcan/linked...
<commit_before>/* * Copyright (C) 2011 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 applicab...
<commit_before><commit_msg>capsule tunneling through terrain - fixes #881<commit_after><|endoftext|>
<commit_before>#include <plasp/sas/Description.h> #include <iostream> #include <boost/filesystem.hpp> #include <plasp/sas/ParserException.h> namespace plasp { namespace sas { //////////////////////////////////////////////////////////////////////////////////////////////////// // // Description // //////////////////...
<commit_before>#pragma once /* ** Copyright (C) 2012 Aldebaran Robotics ** See COPYING for the license */ #ifndef _QI_EVENTLOOP_HPP_ #define _QI_EVENTLOOP_HPP_ #ifdef _MSC_VER # pragma warning( disable: 4503 ) // decorated name length #endif #include <boost/shared_ptr.hpp> #include <boost/function.hpp> #include ...
<commit_before>/** * @file * * @brief Write key sets using yaml-cpp * * @copyright BSD License (see LICENSE.md or https://www.libelektra.org) */ #include "write.hpp" #include "log.hpp" #include "yaml-cpp/yaml.h" #include <kdbassert.h> #include <kdbease.h> #include <kdblogger.h> #include <kdbplugin.h> #include ...
<commit_before>#include <znc/User.h> #include <znc/znc.h> using std::map; using std::vector; class CUserIPMod : public CModule { private: typedef map<CString, CUser*> MUsers; void ShowCommand(const CString& sLine) { if (!GetUser()->IsAdmin()) { PutModule("Access denied"); r...
<commit_before>#include "opencv2/objdetect.hpp" //#include "opencv2/videoio.hpp" #include "opencv2/highgui.hpp" #include "opencv2/imgproc.hpp" #include <iostream> #include <stdio.h> using namespace std; using namespace cv; int imageHeight; int numPos = 100; // number of positive images int numNeg = 100; // number of ...
<commit_before>// // Created by Sam on 11/18/2017. // #include "../../../build/catch-src/include/catch.hpp" #include "../../../include/Game/Python/Factory.h" TEST_CASE("Create factory") { SECTION("Verify minimum python version") { auto* factory = new Factory(); std::string minimumVersion = "...
<commit_before>#pragma once #include "../range.hpp" namespace frea { namespace random { template <class T, class RD> Range<T> GenRange(RD&& rd) { T rmin = rd(), rmax = rd(); if(rmin > rmax) std::swap(rmin, rmax); return {rmin, rmax}; } } } <commit_msg>Rangeランダム生成関数のバグ修正<commit_after>#pragma on...
<commit_before>/* * Copyright deipi.com LLC and contributors. 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 the...
<commit_before>/** * @file c_api_version.cc * * @section LICENSE * * The MIT License * * @copyright Copyright (c) 2016 MIT and Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal *...
<commit_before>//===----------------------------------------------------------------------===// // // Peloton // // packet_manager_test.cpp // // Identification: test/wire/packet_manager_test.cpp // // Copyright (c) 2016-17, Carnegie Mellon University Database Group // //===---------------------...
<commit_before>#ifndef SPL_UPSAMPLER_HH #define SPL_UPSAMPLER_HH #include "2DSignal.hh" #include "stdtools.hh" namespace spl { template<typename V, unsigned L> struct BilinearInterpolation { const Signal2D<V>& _sig; BilinearInterpolation(const Signal2D<V>& sig) : _sig(sig) {} ...
<commit_before>//===----------------------------------------------------------------------===// // // PelotonDB // // materialization_test.cpp // // Identification: tests/executor/materialization_test.cpp // // Copyright (c) 2015, Carnegie Mellon University Database Group // //===---------------...
<commit_before>// ----------------------------------------------------------------------------- // // Copyright (C) The BioDynaMo Project. // 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. // // See the LICEN...
<commit_before>// irview : simple viewer for adding false colour to IR or thermal images // / video / camera feed // usage: prog {image/video file} // Author : Toby Breckon, toby.breckon@durham.ac.uk // Copyright (c) 2008 School of Engineering, Cranfield University // Copyright (c) 2017 School of Engineering and ...
<commit_before>#include <async.h> #include <dbfe.h> #include <rxx.h> #define USENET_PORT 11999 // xxx dbfe *group_db, *article_db; // in group_db, each key is a group name. each record contains messageIDs // in article_db, each key is a messageID. each record is an article void timemark(str foo) { struct timeval t...
<commit_before>// Copyright 2015 Open Source Robotics Foundation, 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 re...
<commit_before>#define CATCH_CONFIG_MAIN #include "../../vendor/catch/catch.hpp" #include "../share/json_helper.hpp" #include "grabber_alerts_manager.hpp" #include "thread_utility.hpp" #include <unistd.h> TEST_CASE("initialize") { krbn::thread_utility::register_main_thread(); } TEST_CASE("set_alert") { using nam...
<commit_before>// Copyright 2010-2014 RethinkDB, all rights reserved. #include "rdb_protocol/var_types.hpp" #include "containers/archive/stl_types.hpp" #include "rdb_protocol/datum.hpp" #include "rdb_protocol/error.hpp" #include "rdb_protocol/env.hpp" #include "stl_utils.hpp" namespace ql { var_visibility_t::var_vis...
<commit_before>#include "renderer/frame_buffer.h" #include "engine/json_serializer.h" #include "engine/log.h" #include "engine/string.h" #include "engine/vec.h" #include <bgfx/bgfx.h> #include <lua.hpp> #include <lauxlib.h> namespace Lumix { FrameBuffer::FrameBuffer(const Declaration& decl) : m_declaration(decl) {...
<commit_before>/// /// @file fast_div.hpp /// @brief Integer division of small types is much faster than /// integer division of large types on most CPUs. The /// fast_div(x, y) function tries to take advantage of /// this by casting x and y to smaller types (if possible) /// before doing t...
<commit_before>#include <atomic> #include "percpu.hh" class filetable { private: static const int cpushift = 16; static const int fdmask = (1 << cpushift) - 1; public: static filetable* alloc() { return new filetable(); } filetable* copy() { filetable* t = new filetable(false); for(int cpu = 0...
<commit_before>#pragma once #include <cstddef> #include "move.hpp" #include "types.hpp" #include "unique_ptr.hpp" namespace yacppl { namespace detail { template <typename R, typename ...Args> class callable { public: virtual ~callable() {} virtual R operator()(Args ...args) = 0; }; template<typename Closur...
<commit_before>#ifndef HORNET_VM_HH #define HORNET_VM_HH #include <cstddef> #include <cstdint> #include <memory> #include <string> #include <vector> #include <mutex> #include <map> #include <classfile_constants.h> namespace hornet { class constant_pool; struct method; struct field; struct klass; class loader; clas...
<commit_before>#include <limits.h> #include "gtest/gtest.h" #include "hybrid_automaton/DescriptionTreeXML.h" using namespace ha; //This just tests the structure of the tree - no XML specific things are tested TEST(TestDescriptionTreeStructure, Positive) { DescriptionTreeXML::Ptr tree(new DescriptionTreeXML()); De...
<commit_before>// -*- coding:utf-8-unix; -*- #pragma once #include <stdint.h> #include "mpmc/queue.hh" #include "processor.hh" #include "thread.hh" // namespace NAMESPACE { // const size_t kDefaultMaxCPU(32); // class _Task : public mpmc::Node<_Task> { public: virtual bool DoWork() = 0; }; // template<typename T...
<commit_before>// Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html #include "../bse.hh" #include "v8bse.cc" #include <node.h> #include <uv.h> // v8pp binding for Bse static V8stub *bse_v8stub = NULL; // event loop integration static uv_poll_t bse_uv_watcher; static Rapico...
<commit_before>/** * @page shaders Shaders * @section tzsl Topaz Shader Language * @section Introduction * TZSL is a high-level shader language with a syntax very similar to that of GLSL. A tool named tzslc ships with the engine, which can be used to build tzsl shaders to output SPIRV, GLSL shaders or SPIRV encoded...
<commit_before>#include <cmath> #include <array> #include <chrono> #include <sstream> #include <iostream> #include <iomanip> #include <algorithm> #include <sys/stat.h> #include "simulation.h" #include "codes/codes.h" namespace detail { inline bool file_exists(const std::string &fname) { struct stat buf; return (...
<commit_before>/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab: * * Libmemcached Client and Server * * Copyright (C) 2011 Data Differential, http://datadifferential.com/ * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided ...
<commit_before>/* * This file is part of cryptopp-bindings-api. * * (c) Stephen Berquet <stephen.berquet@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ #include "src/exception/api_exception.h" #include "src/keying/api_...
<commit_before>/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2011-2012, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the follo...
<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>/* This file is part of Strigi Desktop Search * * Copyright (C) 2006 Jos van den Oever <jos@vandenoever.info> * * 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; eithe...
<commit_before>#include <QApplication> #include <QWebSettings> #include "KVMainWindow.h" int main(int argc, char *argv[]) { QApplication app(argc, argv); QCoreApplication::setApplicationName("KCTViewer"); QCoreApplication::setApplicationVersion("0.0.1a"); QCoreApplication::setOrganizationName("MacaroniCode"); Q...
<commit_before>#include "montecarlohost.hpp" // optional: bool MonteCarloHost::acceptance(const double Eold, const double Enew, const double temperature) { #ifndef NDEBUG double random = enhance::random_double(0.0, 1.0); double condition = std::exp(-(Enew-Eold)/temperature); Logger::g...
<commit_before>#include <cstdio> #include <cstdint> #include <vector> #include <stack> #include <functional> #define ZFLAG(loc, exp) loc.zf=((exp)==0) enum e_opcode : uint8_t { mov = 0x00, or = 0x01, xor = 0x02, and = 0x03, not = 0x04, add = 0x05, sub = 0x06, mul = 0x07, shl = 0x08, shr = 0x09, inc = 0x0a,...
<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>#include "../utils/image.hpp" #include <vector> struct Point { static double distance(const Point &p0, const Point &p1) { double dx = p1.x - p0.x, dy = p1.y - p0.y; return sqrt(dx * dx + dy * dy); } Point(void) { } Point(double _x, double _y) : x(_x), y(_y) { } double x, y; }; struct Line ...
<commit_before>#include "console.h" #include <iostream> #include <string> #include <vector> #include "person.h" #include <algorithm> #include "data.h" #include <cctype> #include <ctype.h> using namespace std; Console::Console() { } bool Console::validYear(string s) { for (unsigned int i = 0; i < s.size(); i++) ...
<commit_before>/* nobleNote, a note taking application * Copyright (C) 2012 Christian Metscher <hakaishi@web.de>, Fabian Deuchler <Taiko000@gmail.com> * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Soft...
<commit_before>#ifndef TH_GENERIC_FILE #define TH_GENERIC_FILE "generic/Storage.c" #else #include "EasyCL.h" #include "util/StatefulTimer.h" #include <stdexcept> #include <string> using namespace std; #define EXCEPT_TO_THERROR(method) \ try { \ method; \ } catch(exception &e) { \ THError("Something went wrong: %...
<commit_before>/*========================================================================= Program: Visualization Library Module: BYUWrite.cc Language: C++ Date: $Date$ Version: $Revision$ This file is part of the Visualization Library. No part of this file or its contents may be copied, reprod...
<commit_before>// definition of necessary units static const double cm=1; static const double cm3=cm*cm*cm; static const double volt=1; static const double C=1; // Coulomb static const double Qe=-1.6e-19*C; // eletron charge static const double epsilon0=8.854187817e-14*C/volt/cm; // vacuum permittivity // https://link....
<commit_before>#include "df_font.h" #include "df_window.h" #include <math.h> #include <stdlib.h> struct Point { float x, y, z; }; #define NUM_POINTS 1000000 Point g_points[NUM_POINTS]; Point g_cameraPos = { 0.0f, 0.0f, -100.0f }; float g_rotationX = 0.0f; static void CreateSierpinski3D()...
<commit_before>/* Begin CVS Header $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/scan/CScanTask.cpp,v $ $Revision: 1.63 $ $Name: $ $Author: shoops $ $Date: 2006/06/20 13:19:52 $ End CVS Header */ // Copyright 2005 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc. and EML R...
<commit_before>/* This code is provided under the BSD license. Copyright (c) 2014, Emlid Limited. All rights reserved. Written by Igor Vereninov and Mikhail Avkhimenia twitter.com/emlidtech || www.emlid.com || info@emlid.com Application: Mahory AHRS algorithm supplied with data from MPU9250. Outputs roll, pitch and ya...
<commit_before>// Time: O(n) // Space: O(n) class Solution { public: int minTotalDistance(vector<vector<int>>& grid) { vector<int> x, y; for (int i = 0; i < grid.size(); ++i) { for (int j = 0; j < grid[0].size(); ++j) { if (grid[i][j]) { x.emplace_ba...
<commit_before>//============================================================================================================= /** * @file ecddatatreeitem.cpp * @author Lorenz Esch <Lorenz.Esch@tu-ilmenau.de>; * Matti Hamalainen <msh@nmr.mgh.harvard.edu> * @version 1.0 * @date November, 2015 * * @s...
<commit_before>#include "SINSymbolTable.h" #include "SINAssert.h" #define ASSERT_CURRENT_SCOPE() SINASSERT(currScope < table.size()); SINASSERT(currScope >= 0) #define ASSERT_GIVEN_SCOPE() SINASSERT(scope < table.size()) #define ASSERT_SCOPE(SCOPE) SINASSERT(SCOPE < table.size()) #defi...
<commit_before>/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the imp...
<commit_before>#include "amatrix.h" #include "checks.h" template<std::size_t TSize1, std::size_t TSize2> std::size_t TestZeroMatrixAssign() { AMatrix::Matrix<double, TSize1,TSize2> a_matrix; a_matrix = AMatrix::ZeroMatrix<double>(TSize1, TSize2); for (std::size_t i = 0; i < a_matrix.size1(); i++) for (std::s...
<commit_before>/* Copyright (c) 2012, Arvid Norberg 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 of condi...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2019. All rights reserved */ #include "Stroika/Frameworks/StroikaPreComp.h" #include "Stroika/Foundation/DataExchange/OptionsFile.h" #include "Stroika/Foundation/Debug/Trace.h" #include "Stroika/Foundation/Execution/ModuleGetterSetter.h" #include "Stroik...
<commit_before>#include "Particle.h" #include "EEPROM_ACCESS_PARTICLE/EEPROM_ACCESS_PARTICLE.h" SYSTEM_MODE(MANUAL); char s[35]; int i; void setup() { i = 0; EEPROM.put(0,0); Particle.connect(); } void loop() { if(i % 4 == 0) Particle.connect(); if(i % 5 == 0) Particle.disconnect(); s...
<commit_before>#ifndef TIMEDISPLAY_H #define TIMEDISPLAY_H #include "TimeDisplay.h" #include "SecondsRing.h" #include <graphics.h> #include <gpio.h> #include <led-matrix.h> #include <threaded-canvas-manipulator.h> #include <ctime> using namespace rgb_matrix; using namespace uwhtimer; TimeDisplay::TimeDisplay(RGBM...
<commit_before>// RUN: %clangxx_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s #include "test.h" #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> // dup2(oldfd, newfd) races with read(newfd). // This is not reported as race because: // 1. Some software dups a closed pipe in place of a socket before cl...
<commit_before>//--------------------------------------------------------------------*- C++ -*- // CLING - the C++ LLVM-based InterpreterG :) // version: $Id$ // author: Axel Naumann <axel@cern.ch> //------------------------------------------------------------------------------ #include "ExecutionContext.h" #include...
<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/dom_ui/shown_sections_handler.h" #include "base/file_path.h" #include "base/scoped_ptr.h" #include "chrome/br...
<commit_before>// // EigenJS.cpp // ~~~~~~~~~~~ // // Copyright (c) 2014 Rick Yang (rick68 at gmail dot com) // // 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/. // #if...
<commit_before>#include "swift/IDE/CodeCompletion.h" #include "swift/AST/NameLookup.h" #include "swift/Basic/LLVM.h" #include "swift/ClangImporter/ClangImporter.h" #include "swift/Parse/CodeCompletionCallbacks.h" #include "swift/Subsystems.h" #include "llvm/ADT/StringRef.h" #include "llvm/ADT/SmallString.h" #include "l...
<commit_before>#include "Content.h" #include "ContentGraphicsItem.h" #include "main.h" #include "TextureContent.h" #include "DynamicTextureContent.h" #include "MovieContent.h" Content::Content(std::string uri) { uri_ = uri; // default position / size x_ = y_ = 0.; w_ = h_ = 0.25; // default to ce...
<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/sync/profile_sync_service.h" #include "chrome/browser/sync/profile_sync_service_harness.h" #include "chrome/br...
<commit_before>/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2010 Couchbase, 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>//===--- AccessMarkerElimination.cpp - Eliminate access markers. ----------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<commit_before>// Tests for UNIX to-from struct tm functions. // // http://trac.osgeo.org/gdal/browser/trunk/gdal/port/cpl_time.cpp // // Copyright 2014 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 Lic...
<commit_before>/* --------------------------------------------------------------------- The template library textwolf implements an input iterator on a set of XML path expressions without backward references on an STL conforming input iterator as source. It does no buffering or read ahead and is dedicat...
<commit_before>/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the imp...
<commit_before>/* $Id$ */ # ifndef CPPAD_HASH_CODE_INCLUDED # define CPPAD_HASH_CODE_INCLUDED /* -------------------------------------------------------------------------- CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-09 Bradley M. Bell CppAD is distributed under multiple licenses. This distribution is u...
<commit_before>/*========================================================================= * * Copyright Insight Software Consortium * * 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>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: CenterViewFocusModule.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: kz $ $Date: 2008-04-03 13:37:29 $ * * The Contents of this f...
<commit_before>#include <boost/filesystem/operations.hpp> #include <catch/catch.hpp> #include <pjsettings-pugixml.h> #include <pjsua2/endpoint.hpp> #include <iostream> #include "SimpleClass.h" using namespace pj; using namespace pjsettings; SCENARIO("pugixml from string") { const char *xmlString = "" "<?x...
<commit_before>/************************************************************************* * * $RCSfile: SlsFocusManager.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: rt $ $Date: 2004-07-13 14:13:32 $ * * The Contents of this file are made available subject to the terms of * either of the followin...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: SlsTransferable.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: hr $ $Date: 2006-01-24 14:43:43 $ * * The Contents of this file ar...
<commit_before>#include "gtest/gtest.h" // GTest helpers #include "nomlib/tests/common/UnitTest.hpp" #include <nomlib/graphics.hpp> #include <nomlib/system.hpp> namespace nom { class FontCacheTest: public nom::UnitTest { public: FontCacheTest() { // Enable function call tracing of engine initializat...
<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/gl/gl_surface.h" #include <algorithm> #include <vector> #include "base/command_line.h" #include "base/debug/trace_event....
<commit_before>#include <wx/wxprec.h> #ifndef WX_PRECOMP #include <wx/wx.h> #endif #include <wx/display.h> #include <wx/filefn.h> #include <string> #include "MainFrame.hpp" #include "GUI.hpp" #include "misc_ui.hpp" #include "Preset.hpp" // Logging mechanism #include "Log.hpp" namespace Slic3r { namespace GUI {...
<commit_before><commit_msg>Trace RenderWidget methods triggered by WillBeginCompositorFrame<commit_after><|endoftext|>
<commit_before>#include "catalog_counters.h" #include "directory_entry.h" using namespace catalog; void DeltaCounters::ApplyDelta(const DirectoryEntry &dirent, const int delta) { if (dirent.IsRegular()) { self.regular_files += delta; if (dirent.IsChunkedFile()) { self.chunked_files += delta; } ...
<commit_before>#pragma once #include "privileged.h" #include "serialize.hpp" #include "types.h" namespace eosio { struct blockchain_parameters { uint32_t base_per_transaction_net_usage; uint32_t base_per_transaction_cpu_usage; uint32_t base_per_action_cpu_usage; uint32_t base_setcode_cpu_us...
<commit_before>/* dlloader.cpp * * cxxtools - general purpose C++-toolbox * Copyright (C) 2003 Tommi Maekitalo * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2...
<commit_before>/************************************************************************* * * $RCSfile: DataFmtTransl.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: tra $ $Date: 2001-03-09 08:46:46 $ * * The Contents of this file are made available subject to the terms of * either of the following...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkBridgeDataSet.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>#include "mainwindow.h" #include "ui_mainwindow.h" #include "SteelCoil.h" #include <QListIterator> #include <QMessageBox> #include <QFile> #include <unistd.h> #include <iostream> #include <QtSql> //class SteelCoil; MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi...
<commit_before> #define OLDEST_FILE_NUMBER 1 #define MAXFILENUM 4 #define MAXUPLOADFILENUM 15 #define MAXFILESIZE_KB 12.5 * 1024 int WriteStumble::sCurrentFileNumber = 1; int WriteStumble::sUploadFileNumber = 0; nsCString Filename(int aFileNum) { return nsPrintfCString("feeding-%d.json.gz", aFileNum); } nsCString ...
<commit_before>//=- ClangDiagnosticsEmitter.cpp - Generate Clang diagnostics 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>/* * Copyright 2008-2010 NVIDIA 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 require...
<commit_before>/** * Non-metric Space Library * * Authors: Bilegsaikhan Naidan (https://github.com/bileg), Leonid Boytsov (http://boytsov.info). * With contributions from Lawrence Cayton (http://lcayton.com/). * * For the complete list of contributors and further details see: * https://github.com/searchivarius/N...
<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: Dan Petrie <dpet...
<commit_before>// // Copyright (C) 2006 SIPfoundry Inc. // Licensed by SIPfoundry under the LGPL license. // // Copyright (C) 2006 SIPez LLC. // Licensed to SIPfoundry under a Contributor Agreement. // // $$ ////////////////////////////////////////////////////////////////////////////// #include <cppunit/ex...
<commit_before>// Jubatus: Online machine learning framework for distributed environment // Copyright (C) 2013 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>/* * (C) Copyright 2015 Kurento (http://kurento.org/) * * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser General Public License * (LGPL) version 2.1 which accompanies this distribution, and is available at * http://www.gnu.org...
<commit_before>/*********************************************************************** created: Wed, 8th Feb 2012 author: Lukas E Meindl (based on code by Paul D Turner) *************************************************************************/ /**********************************************************...
<commit_before>/* chiasmusjob.cpp This file is part of libkleopatra, the KDE keymanagement library Copyright (c) 2005 Klarlvdalens Datakonsult AB Libkleopatra 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 S...
<commit_before>/*****************************************************************************\ * ANALYSIS PERFORMANCE TOOLS * * wxparaver * * Paraver Trace Visualization and Analysis Tool ...
<commit_before>// __BEGIN_LICENSE__ // // Copyright (C) 2006 United States Government as represented by the // Administrator of the National Aeronautics and Space Administration // (NASA). All Rights Reserved. // // Copyright 2006 Carnegie Mellon University. All rights reserved. // // This software is distributed u...