text
stringlengths
54
60.6k
<commit_before>/** * 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 agreed to in writing, software...
<commit_before> #include "Lbl.h" namespace XLS { const wchar_t* const AutoFilterDefineNames[] = { L"_FilterDatabase", // English L"_FilterDatenbank", // German L"_" // Russian }; Lbl::Lbl() : rgce(false) { } Lbl::~Lbl() { } BaseObjectPtr Lbl::clone() { return BaseObjectP...
<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/wm/workspace/multi_window_resize_controller.h" #include "ash/shell.h" #include "ash/shell_window_ids.h" #include "ash/wm...
<commit_before>/* * Copyright 2013 Kamil Michalak <kmichalak8@gmail.com> * * 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 * * Unl...
<commit_before>#include<stdlib.h> #include <iostream> #include <fstream> #include <sstream> #include <string> #include <cmath> #include <algorithm> using namespace std; class Stat { private: double sum, sum2; int n; public: double min, max; double sigma, mu; Stat() {reset();} void add(double x) { ++n; s...
<commit_before><commit_msg>coverity#1158122 : Explicit null dereferenced<commit_after><|endoftext|>
<commit_before> /*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkDICOMImageIO2.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 2002 Insight Consortium. All rights reserved. See ITKC...
<commit_before>#include <gtest/gtest.h> #include <ros/ros.h> #include <actionlib/client/simple_action_client.h> #include <actionlib/client/terminal_state.h> #include <move_base_msgs/MoveBaseAction.h> #include <move_basic/queued_action_server.h> #include <queue> #include <memory> #include <mutex> #include <condition_var...
<commit_before>#include <cstddef> #include <utility> #include <new> namespace archie { namespace utils { namespace containers { template <typename Tp, std::size_t N> struct stack_allocator { using value_type = Tp; using pointer = Tp*; using reference = Tp&; using const_reference = Tp...
<commit_before>/* FileName: GUID.aof File struct: CapHeader| LevelHeader | Meas0 | Meas1|....| LevelHeader|Meas0 |Meas1... Alg: 1. Measurements save to COLA file struct 2. When the append-only-file is fulle, it is converted to a sorted table (*.page) and a new log file is created for future u...
<commit_before>/* mbed Microcontroller Library * Copyright (c) 2006-2013 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>/*========================================================================= Program: Medical Imaging & Interaction Toolkit Language: C++ Date: $Date: 2009-05-13 14:52:01 +0200 (Mi, 13. Mai 2009) $ Version: $Revision: 17230 $ Copyright (c) German Cancer Research Center, Division of Medical and...
<commit_before><commit_msg>Adicionada questão dos dicionários de Andy<commit_after><|endoftext|>
<commit_before>#include "tools/generate_profiles.hpp" #include <algorithm> #include <experimental/filesystem> #include <fstream> #include <map> #include <set> #include <string> #include <vector> #include "glog/logging.h" #include "google/protobuf/descriptor.h" #include "serialization/journal.pb.h" namespace principi...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: $RCSfile: CheckTopology.cxx,v $ Language: C++ $Date: 2008/12/07 03:06:27 $ $Revision: 1.8 $ Copyright (c) 2002 Insight Consortium. All rights reserved. ...
<commit_before>#define LOG_TAG "silk-h264-enc" #include "SimpleH264Encoder.h" #include <queue> #include <media/stagefright/MediaBuffer.h> #include <media/stagefright/MetaData.h> // This is an ugly hack. We forked this from libstagefright // so we can trigger key frames and adjust bitrate #include "MediaCodecSource.h"...
<commit_before>/* @(#)main.cpp --- * * Author: Nicolas Niclausse * Copyright (C) 2014 - Nicolas Niclausse, Inria. * Created: 2014/04/25 16:28:19 */ /* Commentary: * */ /* Change log: * */ #include <dtkCore/dtkCore.h> #include <dtkDistributed/dtkDistributedServerDaemon.h> #include <dtkLog/dtkLogger.h> #in...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: precompiled_tools.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: kz $ $Date: 2007-05-10 16:38:26 $ * * The Contents of this file ...
<commit_before>#include <stdio.h> #include <iostream> #include <vector> #include <boost/program_options.hpp> #include <davix.hpp> #include "davix_test_lib.h" namespace po = boost::program_options; using namespace Davix; #define SSTR(message) static_cast<std::ostringstream&>(std::ostringstream().flush() << message).s...
<commit_before>//======================================================================= // Copyright (c) 2014-2016 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //===================================================...
<commit_before>#include <new> #include <typeinfo> #include <string> #include <list> #include <map> #include <cstdarg> #include <cstdlib> #include <cstdio> #include <cerrno> #include <ctime> #include "Server.hpp" #include "Prototypes.hpp" <commit_msg>Update Engine.hpp<commit_after>#include <new> #include <typeinfo> #...
<commit_before>/* * gst-droid * * Copyright (C) 2014 Mohammed Sameer <msameer@foolab.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 * version 2 of the License, or ...
<commit_before>#define BOOST_TEST_MODULE "MultiViewGeometry/Geometry/Point Tracks" #include <DO/Sara/Core/DebugUtilities.hpp> #include <DO/Sara/Core/StringFormat.hpp> #include <DO/Sara/MultiViewGeometry/FeatureGraph.hpp> #include <boost/foreach.hpp> #include <boost/graph/graph_utility.hpp> #include <boost/graph/incre...
<commit_before>// The MIT License (MIT) // Copyright (c) 2014 Rapptz // 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 // us...
<commit_before>#include <cstdio> #include <cstdlib> #include <cstring> #include <vector> #include <iostream> #include "genome.h" using namespace std; int main(int argc, const char **argv) { if(argc != 4) { cout<<"usage: " << endl; cout<<" " << argv[0] << " RPKM2TPM <in-gtf-file> <out-gtf-file>"<<endl; ...
<commit_before> #include "DemoPipeline.h" #include <glbinding/gl/enum.h> #include <gloperate/gloperate.h> #include <gloperate/stages/base/TextureLoadStage.h> #include <gloperate/stages/base/BasicFramebufferStage.h> #include <gloperate/stages/base/FramebufferStage.h> #include <gloperate/stages/base/TextureStage.h> #i...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * The Contents of this file are made available subject to * the terms of GNU...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p10/procedures/hwp/perv/p10_sbe_lpc_init.C $ ...
<commit_before>/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2010-2011, Willow Garage, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the ...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/pm/p9_pm_set_homer_bar.H $ ...
<commit_before>//===------ utils/obj2yaml.cpp - obj2yaml conversion tool -------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/pm/p9_pm_stop_gpe_init.H $ ...
<commit_before>#include "tcpclient.h" #include <boost/bind.hpp> #include <boost/lexical_cast.hpp> #include <boost/interprocess/detail/atomic.hpp> namespace adrianx { tcp_client::tcp_client(): _error_state(0), _shutdown( 1 ),_recv_pack_size(0) { } tcp_client::~tcp_client() { close(); } bool tcp_client::connec...
<commit_before>#include "../tlang.h" #include <taichi/testing.h> #include <numeric> TLANG_NAMESPACE_BEGIN TC_TEST("compiler_basics_gpu") { CoreState::set_trigger_gdb_when_crash(true); int n = 128; Program prog(Arch::x86_64); prog.config.print_ir = true; prog.config.arch = Arch::gpu; Global(a, i32); aut...
<commit_before>/* * Author: Yevgeniy Kiveisha <yevgeniy.kiveisha@intel.com> * Contributions: Jon Trulson <jtlulson@ics.com> * Copyright (c) 2014 Intel Corporation. * * Credits to Seeed Studeo. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated docu...
<commit_before>#include <iostream> #include <string> #include <vector> #include "tokenizer.h" std::vector<std::string>* tokenize(std::string str) { std::vector<std::string>* tokens = new std::vector<std::string>(); std::string curToken = ""; bool inString = false; for (std::string::iterator it = str.begin()...
<commit_before>#include <angelscript-integration/angelscript-integration.h> #include <QDebug> #include <QString> namespace AngelScriptIntegration { void handleMessage(const AngelScript::asSMessageInfo* message, void*); void init_message_callback_qt(AngelScript::asIScriptEngine* engine) { int r = engine->SetMessag...
<commit_before>#include <system/Mutex.h> #include <system/System.h> #include <utils/Bytes.h> #include <map> namespace lime { static int id_b; static int id_length; static bool init = false; static bool useBuffer = false; static std::map<Bytes*, bool> hadValue; static std::map<Bytes*, bool> usingValue; static...
<commit_before>#include "scrollwidget.h" #include <Tempest/Layout> using namespace Tempest; struct ScrollWidget::BoxLayout: public Tempest::LinearLayout { BoxLayout( ScrollWidget* owner, Tempest::Orientation ori ):LinearLayout(ori), sc(owner){} void applyLayout(){ if(widgets().size()==0) ...
<commit_before>// // Name: StartupDlg.cpp // // Copyright (c) 2001 Virtual Terrain Project // Free for all uses, see license.txt for details. // #ifdef __GNUG__ #pragma implementation "StartupDlg.cpp" #endif // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" #ifndef WX_PRECOMP...
<commit_before>/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2010 Torus Knot Software Ltd Permission is hereby granted, free of charge, to ...
<commit_before><commit_msg>decrease query count before dispatching callback<commit_after><|endoftext|>
<commit_before><commit_msg>more than one seed<commit_after><|endoftext|>
<commit_before><commit_msg>Fixing a small error.<commit_after><|endoftext|>
<commit_before><commit_msg>moved the callback before client connect<commit_after><|endoftext|>
<commit_before><commit_msg>fix(specializer): check number of args before reusing function<commit_after><|endoftext|>
<commit_before><commit_msg>try fix start new network problem<commit_after><|endoftext|>
<commit_before>// Copyright (c) 2022 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 // // ...
<commit_before><commit_msg>drop checkpoints<commit_after><|endoftext|>
<commit_before><commit_msg>Slowallel but works<commit_after><|endoftext|>
<commit_before><commit_msg>~ realignment<commit_after><|endoftext|>
<commit_before>/* * Copyright (C) 2011 Scott MacDonald. All rights reserved. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any la...
<commit_before>/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2013 Ben Vanik. All rights reserved. ...
<commit_before>#include <cstdio> #include "submodular-flow.hpp" #include <algorithm> #include <limits> #include <queue> SubmodularFlow::SubmodularFlow() : m_constant_term(0), m_num_nodes(0), m_c_si(), m_c_it(), m_phi_si(), m_phi_it(), m_labels(), m_num_cliques(0), m_cliques(), m...
<commit_before><commit_msg>Expand route tests to unroute existing routes.<commit_after><|endoftext|>
<commit_before>#include "SyntaxTree.h" #include <list> #include <vector> #include <sstream> #include <iostream> #include <stdexcept> #include <assert.h> #include <boost/format.hpp> #include "parser.tab.hh" #include "template.common.h" #include "template.cs.h" using namespace std; using namespace Rakjin::Krystal; ...
<commit_before>/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2013, Unbounded Robotics Inc. * Copyright (c) 2012, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or with...
<commit_before>/*************************************************************\ * TextEngine.cpp * * This file was created by Jeremy Greenburg * * As part of The God Core game for the University of * * Tennessee at Martin's University Scholars Organiz...
<commit_before>/************************************************************************* > File Name: main.cpp > Project Name: Hearthstone++ > Author: Chan-Ho Chris Ohk > Purpose: Main entry of Hearthstone++ tool. > Created Time: 2018/08/18 > Copyright (c) 2018, Chan-Ho Chris Ohk **************************************...
<commit_before>#include <babylon/materials/node/blocks/worley_noise3d_block.h> #include <babylon/core/json_util.h> #include <babylon/materials/node/node_material_build_state.h> #include <babylon/materials/node/node_material_connection_point.h> #include <babylon/misc/string_tools.h> namespace BABYLON { WorleyNoise3DB...
<commit_before><commit_msg>Add stats test<commit_after><|endoftext|>
<commit_before>#ifndef STAN_MATH_FWD_FUN_QUAD_FORM_HPP #define STAN_MATH_FWD_FUN_QUAD_FORM_HPP #include <stan/math/fwd/core.hpp> #include <stan/math/fwd/fun/dot_product.hpp> #include <stan/math/fwd/fun/multiply.hpp> namespace stan { namespace math { /** * Return the quadratic form \f$ B^T A B \f$. * * Symmetry of...
<commit_before><commit_msg>Revert "Avoid bogus warnings (GCC 4.4.6)"<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: aeitem.cxx,v $ * * $Revision: 1.9 $ * * last change: $Author: obo $ $Date: 2006-09-17 14:58:07 $ * * The Contents of this file are made a...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ddeimp.hxx,v $ * * $Revision: 1.6 $ * * last change: $Author: vg $ $Date: 2007-09-20 16:30:19 $ * * The Contents of this file are made av...
<commit_before>/************************************************************************* * * $RCSfile: unoctabl.cxx,v $ * * $Revision: 1.8 $ * * last change: $Author: rt $ $Date: 2003-09-19 08:32:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>/************************************************************************* * * $RCSfile: unodtabl.cxx,v $ * * $Revision: 1.10 $ * * last change: $Author: kz $ $Date: 2005-01-21 17:01:34 $ * * The Contents of this file are made available subject to the terms of * either of the following lice...
<commit_before><commit_msg>coverity#705919 Dereference before null check<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * $RCSfile: txtinit.cxx,v $ * * $Revision: 1.1.1.1 $ * * last change: $Author: hr $ $Date: 2000-09-19 00:08:26 $ * * The Contents of this file are made available subject to the terms of * either of the following li...
<commit_before>/************************************************************************* * * $RCSfile: fields.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: rt $ $Date: 2003-09-25 07:40:18 $ * * The Contents of this file are made available subject to the terms of * either of the following license...
<commit_before><commit_msg>support ww2, etc via fftester<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * $RCSfile: condedit.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: jp $ $Date: 2001-07-11 17:05:38 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>// Copyright (C) 2017 Elviss Strazdins // This file is part of the Ouzel engine. #ifdef _WIN32 #ifndef NOMINMAX #define NOMINMAX #endif #include <winsock2.h> #include <ws2tcpip.h> #else #include <sys/socket.h> #include <netinet/in.h> #include <poll.h> #include <netdb.h> #include <unistd.h> #endif #inclu...
<commit_before>/* * Copyright 2017-2018 Baidu 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 applicabl...
<commit_before>#include "RootDirectory.h" std::vector<RootDirectory*> RootDirectory::rootdirectories = std::vector<RootDirectory*>(); RootDirectory::RootDirectory(const std::string &root) { rootdirectories.push_back(this); this->id = rootdirectories.size(); this->root = (root[root.size()-1] == '/') ? root.substr(0...
<commit_before>// SimpleLayout.cpp #include "SimpleLayout.h" #include "SimpleLayoutData.h" #include "SimpleTextRunLoop.h" #include "SimpleTextBlock.h" #include "TextLayoutArgs.h" #include "TextDocument.h" #include "TextStyleRegistry.h" #include "Assert.h" #include <algorithm> #undef min #undef max cla...
<commit_before>#include <iostream> #include <iomanip> // << fixed << setprecision(xxx) #include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ; #include <vector> #include <string> // to_string(nnn) // substr(m, n) // stoi(nnn) #include <complex> #include <tuple> // get<n>(xxx) #include <queue> #include <st...
<commit_before>/** * File : D.cpp * Author : Kazune Takahashi * Created : 2018-4-7 15:32:10 * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> // << fixed << setprecision(xxx) #include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ; #include <vector> #include <string> // ...
<commit_before>/* * bacteria-core, core for cellular automaton * Copyright (C) 2016 Pavel Dolgov * * See the LICENSE file for terms of use. */ #ifndef CONSTANTS_HPP_ #define CONSTANTS_HPP_ /** Default mass of bacteria */ const int DEFAULT_MASS = 5; /** Minimum width of board */ const int MIN_WIDTH = 5; /** Max...
<commit_before>#define DEBUG 1 /** * File : E.cpp * Author : Kazune Takahashi * Created : 2/17/2019, 2:03:40 PM * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> // << fixed << setprecision(xxx) #include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ; #include <vector> ...
<commit_before>#include "ledtable.h" LEDTable::LEDTable(int pin, int width, int height, PixelOrder pixelorder, neoPixelType strip_type) : _width(width), _height(height), _pixelorder(pixelorder), strip_type(strip_type), pin(pin) { /* determine whether the table is rotated by 90° */ int x = originalW...
<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>#include <iostream> #include <string> #include <cstring> #include "OpenCLHelper.h" #include "stringhelper.h" #include "Timer.h" #include "test/TestArgsParser.h" #include "test/SpeedTemplates.h" using namespace std; // for use in conjunction with http://www.cs.berkeley.edu/~volkov/volkov10-GTC.pdf int ...
<commit_before>// Copyright (c) 2009-2018 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <primitives/block.h> #include <primitives/transaction.h> #include <script/script.h> #include <script/...
<commit_before>#include "types.h" #include "amd64.h" #include "kernel.hh" #include "cpu.hh" #include "gc.hh" #include "percpu.hh" #include "spinlock.h" #include "condvar.h" #include "proc.hh" #include "uwq.hh" #include "vm.hh" #include "kalloc.hh" #include "bits.hh" extern "C" { #include "kern_c.h" } bool uwq_trywork(...
<commit_before>/** * Copyright (c) 2014 Ruben Nijveld, Aaron van Geffen * See LICENSE for license. */ #include "../config.h" #include "sqlite.h" #include <sqlite3.h> #include <stdio.h> #include <iostream> namespace dazeus { namespace db { /** * Cleanup all prepared queries and close the connection. */ SQLiteDat...
<commit_before>#include "TChain.h" #include "TTree.h" #include "TH1F.h" #include "TF1.h" #include "TH2F.h" #include "TCanvas.h" #include "TObjArray.h" #include "TTreeStream.h" #define NPMTs 24 int MakeTrendT0( char *infile, int run) { char *outfile = "trending.root"; if(!infile) return -1; if(!outfile) retur...
<commit_before>#pragma once #include "core_configuration/core_configuration.hpp" #include "device_properties.hpp" #include "event_queue.hpp" #include "hid_keyboard_caps_lock_led_state_manager.hpp" #include "iokit_utility.hpp" #include "pressed_keys_manager.hpp" #include "types.hpp" #include <pqrs/osx/iokit_hid_queue_v...
<commit_before>/// /// @file S2_easy.cpp /// @brief Calculate the contribution of the clustered easy leaves /// and the sparse easy leaves in parallel using OpenMP /// (Deleglise-Rivat algorithm). /// /// Copyright (C) 2016 Kim Walisch, <kim.walisch@gmail.com> /// /// This file is distributed under the B...
<commit_before>/* * Copyright (C) 2011-2013 Yule Fox. All rights reserved. * http://www.yulefox.com/ */ #include <elf/log.h> #include <elf/memory.h> #include <elf/time.h> #include <elf/timer.h> #include <algorithm> #include <list> namespace elf { #define WHEEL_SET_BIT0 8 #define WHEEL_SET_BITS ...
<commit_before>// Copyright 2016, Alex Dunyak #include "drake/solvers/MosekLP.h" extern "C" { #include <mosek/mosek.h> } #include <memory> #include <vector> #include <iostream> #include <string> #include <map> #include <Eigen/Sparse> #include <Eigen/Core> #include "drake/solvers/Constraint.h" namespace drake {...
<commit_before>#include "mainwindow.hpp" #include "drape_surface.hpp" #include <QtWidgets/QWidget> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , m_surface(NULL) { resize(1200, 800); DrapeSurface * surface = new DrapeSurface(); m_surface = QWidget::createWindowContainer(surface, this); s...
<commit_before>/** @file @brief Implementation @date 2015 @author Sensics, Inc. <http://sensics.com/osvr> */ // Copyright 2015 Sensics, 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 ...
<commit_before>// [WriteFile Name=ConfigureSubnetworkTrace, Category=Analysis] // [Legal] // Copyright 2020 Esri. // 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/li...
<commit_before>/************************************************************************* E12 - Etat de l'analyseur ------------------- début : 8 mars 2016 10:43:21 copyright : (C) 2016 par H4112 ********************************...
<commit_before>/* * yosys -- Yosys Open SYnthesis Suite * * Copyright (C) 2012 Clifford Wolf <clifford@clifford.at> * * 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 ...
<commit_before>#include "command.h" #include <QRegExp> #include "engine/util.h" Command::Command(Player *player, QObject *parent) : QObject(parent), m_player(player) { Q_ASSERT(m_player); } Command::~Command() { } void Command::setDescription(const QString &description) { m_description = descrip...
<commit_before>/** * Copyright (c) 2016 zScale Technology GmbH <legal@zscale.io> * Authors: * - Paul Asmuth <paul@zscale.io> * - Laura Schlimmer <laura@zscale.io> * * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License ("the licen...
<commit_before>/* Copyright (c) 2006, 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>/// \file src/fmm_method.cc /// \brief Implementation of FMM Method #include "include/fmm_method.h" namespace dashmm { void FMM::generate(SourceNode &curr, const ExpansionRef expand) const { int n_digits = expand.accuracy(); curr.set_expansion(expand.get_new_expansion(curr.center(), n_digits)); ...