text
stringlengths
54
60.6k
<commit_before>730fca5a-2e4d-11e5-9284-b827eb9e62be<commit_msg>7314b8e4-2e4d-11e5-9284-b827eb9e62be<commit_after>7314b8e4-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>/****************************************************************************** This source file is part of the MoleQueue project. Copyright 2012 Kitware, Inc. This source code is released under the New BSD License, (the "License"). Unless required by applicable law or agreed to in writing, s...
<commit_before>07b588f2-2e4e-11e5-9284-b827eb9e62be<commit_msg>07ba8d98-2e4e-11e5-9284-b827eb9e62be<commit_after>07ba8d98-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>e887eca8-2e4e-11e5-9284-b827eb9e62be<commit_msg>e894b0b4-2e4e-11e5-9284-b827eb9e62be<commit_after>e894b0b4-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>636c506e-2e4d-11e5-9284-b827eb9e62be<commit_msg>63715960-2e4d-11e5-9284-b827eb9e62be<commit_after>63715960-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>c35ce050-2e4e-11e5-9284-b827eb9e62be<commit_msg>c361dc04-2e4e-11e5-9284-b827eb9e62be<commit_after>c361dc04-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>6a067728-2e4e-11e5-9284-b827eb9e62be<commit_msg>6a0b74bc-2e4e-11e5-9284-b827eb9e62be<commit_after>6a0b74bc-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>815498c0-2e4d-11e5-9284-b827eb9e62be<commit_msg>81599c6c-2e4d-11e5-9284-b827eb9e62be<commit_after>81599c6c-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>4db6f256-2e4d-11e5-9284-b827eb9e62be<commit_msg>4dbbff12-2e4d-11e5-9284-b827eb9e62be<commit_after>4dbbff12-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>6d221318-2e4e-11e5-9284-b827eb9e62be<commit_msg>6d27167e-2e4e-11e5-9284-b827eb9e62be<commit_after>6d27167e-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>b8c890a8-2e4e-11e5-9284-b827eb9e62be<commit_msg>b8cda318-2e4e-11e5-9284-b827eb9e62be<commit_after>b8cda318-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>87fe0340-2e4e-11e5-9284-b827eb9e62be<commit_msg>880319f2-2e4e-11e5-9284-b827eb9e62be<commit_after>880319f2-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>a54264be-2e4e-11e5-9284-b827eb9e62be<commit_msg>a5478c0a-2e4e-11e5-9284-b827eb9e62be<commit_after>a5478c0a-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>c3280b48-2e4c-11e5-9284-b827eb9e62be<commit_msg>c32d0102-2e4c-11e5-9284-b827eb9e62be<commit_after>c32d0102-2e4c-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>ac45bee6-2e4e-11e5-9284-b827eb9e62be<commit_msg>ac4abba8-2e4e-11e5-9284-b827eb9e62be<commit_after>ac4abba8-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>b84e9296-2e4c-11e5-9284-b827eb9e62be<commit_msg>b853d35a-2e4c-11e5-9284-b827eb9e62be<commit_after>b853d35a-2e4c-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>3912e51a-2e4f-11e5-9284-b827eb9e62be<commit_msg>3917deb2-2e4f-11e5-9284-b827eb9e62be<commit_after>3917deb2-2e4f-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>06acf9d6-2e4e-11e5-9284-b827eb9e62be<commit_msg>06b1f5c6-2e4e-11e5-9284-b827eb9e62be<commit_after>06b1f5c6-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>5b43e14a-2e4d-11e5-9284-b827eb9e62be<commit_msg>5b48e7e4-2e4d-11e5-9284-b827eb9e62be<commit_after>5b48e7e4-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>75befe2e-2e4d-11e5-9284-b827eb9e62be<commit_msg>75c3f082-2e4d-11e5-9284-b827eb9e62be<commit_after>75c3f082-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>8bae7ed4-2e4e-11e5-9284-b827eb9e62be<commit_msg>8bb3df28-2e4e-11e5-9284-b827eb9e62be<commit_after>8bb3df28-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>822ce4e6-2e4d-11e5-9284-b827eb9e62be<commit_msg>8231dffa-2e4d-11e5-9284-b827eb9e62be<commit_after>8231dffa-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>97fd91ee-2e4d-11e5-9284-b827eb9e62be<commit_msg>98028ec4-2e4d-11e5-9284-b827eb9e62be<commit_after>98028ec4-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>f41cf0a0-2e4d-11e5-9284-b827eb9e62be<commit_msg>f4220072-2e4d-11e5-9284-b827eb9e62be<commit_after>f4220072-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>/* * Copyright 2015 Cloudius Systems */ /* * 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 you...
<commit_before>facc00fe-2e4c-11e5-9284-b827eb9e62be<commit_msg>fad0f2d0-2e4c-11e5-9284-b827eb9e62be<commit_after>fad0f2d0-2e4c-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>1115bfb0-2e4f-11e5-9284-b827eb9e62be<commit_msg>111ab858-2e4f-11e5-9284-b827eb9e62be<commit_after>111ab858-2e4f-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>f6cd0380-2e4d-11e5-9284-b827eb9e62be<commit_msg>f6d1f64c-2e4d-11e5-9284-b827eb9e62be<commit_after>f6d1f64c-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>//============================================================================================================= /** * @file test_forward_solution.cpp * @author Christoph Dinh <chdinh@nmr.mgh.harvard.edu>; * Matti Hamalainen <msh@nmr.mgh.harvard.edu> * @version 1.0 * @date December, 2...
<commit_before>5a46e16a-2e4e-11e5-9284-b827eb9e62be<commit_msg>5a4c8d04-2e4e-11e5-9284-b827eb9e62be<commit_after>5a4c8d04-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>5d2e4f72-2e4d-11e5-9284-b827eb9e62be<commit_msg>5d33581e-2e4d-11e5-9284-b827eb9e62be<commit_after>5d33581e-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>f4bb2d38-2e4d-11e5-9284-b827eb9e62be<commit_msg>f4c042a0-2e4d-11e5-9284-b827eb9e62be<commit_after>f4c042a0-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>3d664da2-2e4d-11e5-9284-b827eb9e62be<commit_msg>3d6b552c-2e4d-11e5-9284-b827eb9e62be<commit_after>3d6b552c-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>915cd498-2e4e-11e5-9284-b827eb9e62be<commit_msg>9161ceda-2e4e-11e5-9284-b827eb9e62be<commit_after>9161ceda-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>2180aa0a-2e4e-11e5-9284-b827eb9e62be<commit_msg>2185c1de-2e4e-11e5-9284-b827eb9e62be<commit_after>2185c1de-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>36559db4-2e4e-11e5-9284-b827eb9e62be<commit_msg>365a99f4-2e4e-11e5-9284-b827eb9e62be<commit_after>365a99f4-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>64b0acb2-2e4e-11e5-9284-b827eb9e62be<commit_msg>64b5baf4-2e4e-11e5-9284-b827eb9e62be<commit_after>64b5baf4-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>737371fe-2e4d-11e5-9284-b827eb9e62be<commit_msg>7378efbc-2e4d-11e5-9284-b827eb9e62be<commit_after>7378efbc-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>70c5d8d8-2e4e-11e5-9284-b827eb9e62be<commit_msg>70cacf6e-2e4e-11e5-9284-b827eb9e62be<commit_after>70cacf6e-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>d10c7956-2e4c-11e5-9284-b827eb9e62be<commit_msg>d111ae8a-2e4c-11e5-9284-b827eb9e62be<commit_after>d111ae8a-2e4c-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>c9f45e30-2e4d-11e5-9284-b827eb9e62be<commit_msg>c9f95e1c-2e4d-11e5-9284-b827eb9e62be<commit_after>c9f95e1c-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>223c3e78-2e4e-11e5-9284-b827eb9e62be<commit_msg>22413fd6-2e4e-11e5-9284-b827eb9e62be<commit_after>22413fd6-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>aeb21ece-2e4c-11e5-9284-b827eb9e62be<commit_msg>aeb70fc4-2e4c-11e5-9284-b827eb9e62be<commit_after>aeb70fc4-2e4c-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>a2c08c30-2e4d-11e5-9284-b827eb9e62be<commit_msg>a2c58758-2e4d-11e5-9284-b827eb9e62be<commit_after>a2c58758-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>d3f72dd2-2e4c-11e5-9284-b827eb9e62be<commit_msg>d3fc56ae-2e4c-11e5-9284-b827eb9e62be<commit_after>d3fc56ae-2e4c-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>7ce50648-2e4e-11e5-9284-b827eb9e62be<commit_msg>7cea2556-2e4e-11e5-9284-b827eb9e62be<commit_after>7cea2556-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>0d4f1ea8-2e4f-11e5-9284-b827eb9e62be<commit_msg>0d54135e-2e4f-11e5-9284-b827eb9e62be<commit_after>0d54135e-2e4f-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>#include "aerial_autonomy/controllers/rpyt_based_position_controller.h" #include <aerial_autonomy/tests/test_utils.h> #include <gtest/gtest.h> #include <tf/transform_datatypes.h> class RPYTBasedPositionControllerTests : public ::testing::Test { public: RPYTBasedPositionControllerTests() : confi...
<commit_before> #include "expirypropertiesdialog.h" #include "folderrequester.h" #include "kmfoldertree.h" #include "kmglobal.h" #include <qvariant.h> #include <qpushbutton.h> #include <qgroupbox.h> #include <qcheckbox.h> #include <qspinbox.h> #include <qlabel.h> #include <qradiobutton.h> #include <qbuttongroup.h> #in...
<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/process_util.h" #include <ctype.h> #include <dirent.h> #include <dlfcn.h> #include <errno.h> #include <fcntl.h> #includ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: opcodes.hxx,v $ * * $Revision: 1.8 $ * * last change: $Author: rt $ $Date: 2005-09-07 21:34:17 $ * * The Contents of this file are made a...
<commit_before><commit_msg>coverity#984078 Uninitialized scalar field<commit_after><|endoftext|>
<commit_before>/*********************************************************************** created: Sat Jul 19 2014 author: Timotei Dolean <timotei21@gmail.com> *************************************************************************/ /***********************************************************************...
<commit_before>#include "properties/QuaternionProperty.h" #include "i6engine/math/i6eVector.h" #include "properties/Vec3Property.h" #include "widgets/PropertyWindow.h" #include <QLabel> #include <QDoubleSpinBox> namespace i6engine { namespace particleEditor { namespace properties { QuaternionProperty::Quaternion...
<commit_before>/* -*- mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ // vim:sts=8:sw=8:ts=8:noet:sr:cino=>s,f0,{0,g0,(0,\:0,t0,+0,=s //#include "goto-def.h" /* Copyright (c) FFLAS-FFPACK * Written by Clément Pernet <clement.pernet@imag.fr> * ========LICENCE======== * This file is part of the li...
<commit_before>#include <QtCore/QFile> #include <QtTest/QtTest> #include <QMimeDatabase> #include "../../src/qmimedatabase_p.h" class tst_QMimeType : public QObject { Q_OBJECT public: tst_QMimeType(); ~tst_QMimeType(); private Q_SLOTS: void initTestCase(); void findByName_data(); void fin...
<commit_before>#include "sf_client.h" #include <cpprest/http_client.h> #define TRACE if (tracing) { \ cerr << "\n|trace|" << __FILE__ << ":" << __LINE__ << "|\n"; } using namespace web; using namespace http; using namespace std; sf_client::sf_client(std::string apikey) : sf_client(move(apike...
<commit_before>/* @ Kingsley Chen */ #include "kbase/files/file_path.h" #include <cassert> #include <cstdlib> #include <algorithm> #include <functional> #include <stdexcept> #include "kbase/strings/string_util.h" namespace kbase { typedef FilePath::PathChar PathChar; typedef FilePath::PathString PathString; con...
<commit_before>/** * @file h5_pool.cpp * @brief implementation of #h5_pool_iface * @author Oleg Borschuk * @version 1.0 * @date 2011-03-05 */ #include <hdf5.h> #include <stdio.h> #include <iomanip> #include "h5_pool.h" #include "h5_helper.h" using namespace std; using namespace boost::python; namespace blue_s...
<commit_before>/* This file is part of Android File Transfer For Linux. Copyright (C) 2015 Vladimir Menshakov Android File Transfer For Linux 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, e...
<commit_before><commit_msg>Fix leak: explicitly delete seed clones not cached in local buffer<commit_after><|endoftext|>
<commit_before>#if defined(LINUX) #include <sys/syscall.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <stdio.h> #include <string.h> #include <stdint.h> #include <stddef.h> #include <errno.h> typedef uint64_t u64; #include "include/wq.hh" #include "user/dirit.hh" #includ...
<commit_before>// // TreeView.cpp // // Copyright (c) 2001 Virtual Terrain Project // Free for all uses, see license.txt for details. // // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" #ifdef _MSC_VER #pragma warning( disable : 4786 ) #endif #include "vtlib/vtlib.h" #includ...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2012 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: http://www.qt-project.org/ ** ** ** GNU Lesser General Public License Usage ** ** This file may be used ...
<commit_before>/* Copyright (c) 2014 Harm Hanemaaijer <fgenfb@yahoo.com> 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 notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" A...
<commit_before>/*********************************************************************** filename: SVGDataManager.cpp created: 30th July 2013 author: Lukas Meindl *************************************************************************/ /*************************************************************...
<commit_before>// // vtTin3d.cpp // // Class which represents a Triangulated Irregular Network. // // Copyright (c) 2002-2003 Virtual Terrain Project // Free for all uses, see license.txt for details. // #include "vtlib/vtlib.h" #include "vtTin3d.h" vtTin3d::vtTin3d() { m_pGeom = NULL; m_pDropGeom = NULL; } /** ...
<commit_before>#include <nan.h> #include <stdint.h> #if defined(__APPLE__) #include <fcntl.h> #include <sys/disk.h> #include <sys/ioctl.h> #include <sys/stat.h> #elif defined(_WIN32) #include <io.h> #include <malloc.h> #include <winioctl.h> #else #include <errno.h> #include <linux/fs.h> #include <stdlib.h> #include <sy...
<commit_before>#include <node.h> #include <v8.h> #include <rpcsvc/ypclnt.h> using namespace v8; Handle<Value> CreateObject(const Arguments& args) { HandleScope scope; char* domp; int error; Local<Object> obj = Object::New(); error = yp_get_default_domain(&domp); if (error) { Local<Str...
<commit_before>/* -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of signon * * Copyright (C) 2009-2010 Nokia Corporation. * * Contact: Aurel Popirtac <mailto:ext-Aurel.Popirtac@nokia.com> * Contact: Alberto Mardegan <alberto.mardegan@nokia.com> * * This library is free sof...
<commit_before>#include "handleSerial.h" #include <SPI.h> #include <SD.h> #include "state.h" #include "powerSleep.h" void handleSerial(State_t* State) { Serial.print(F(">> User: ")); char input; if(Serial.available() > 0) // Check if serial data is available. { input = Serial.read(); if (input !...
<commit_before>#include "Pointer.hpp" #include <Windows.h> #include <TlHelp32.h> //GetModuleBase #include <memory> #include <string> namespace Util { Pointer Pointer::GetModuleBase() { static void* Base = nullptr; if( Base == nullptr ) { HANDLE hSnapShot = CreateToolhelp32S...
<commit_before>#include <ShaderCompiler.h> #include <ShaderDB.h> #define WIN32_LEAN_AND_MEAN #include <windows.h> BOOL WINAPI DllMain(_In_ HINSTANCE hinstDLL, _In_ DWORD fdwReason, _In_ LPVOID lpvReserved) { if (fdwReason == DLL_PROCESS_DETACH && !lpvReserved) { CloseDB(); } return TRUE; } //------------------...
<commit_before>#include "gtest/gtest.h" #include "gmock/gmock.h" #include "hotel/planning.h" class HotelPlanning : public testing::Test { public: boost::gregorian::date makeDate(int day) { using namespace boost::gregorian; return date(2017, 1, 1) + days(day); } hotel::Reservation makeReservation(int ...
<commit_before>/* * Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license, you may redistribute it and/or modify it under version 2 of the License, or (at your option), any later version. * Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: inidef.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2005-09-08 16:20:06 $ * * The Contents of this file are made av...
<commit_before>/* * This file is part of ofono-qt * * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). * * Contact: Alexander Kanavin <alexander.kanavin@nokia.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public Lice...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: transfrm.hxx,v $ * * $Revision: 1.5 $ * * last change: $Author: hr $ $Date: 2006-04-19 13:47:32 $ * * The Contents of this file are made ...
<commit_before><commit_msg>translate comments<commit_after><|endoftext|>
<commit_before>// // Copyright (c) 2011 Kim Walisch, <kim.walisch@gmail.com>. // All rights reserved. // // This file is part of primesieve. // Visit: http://primesieve.googlecode.com // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following cond...
<commit_before>// Copyright (c) 2016 Kasper Kronborg Isager and Radosław Niemczyk. #include <vector> #include <iostream> #include <fstream> #include <hayai/hayai.hpp> #include <hayai/hayai_posix_main.cpp> #include <hemingway/vector.hpp> #include <hemingway/table.hpp> using namespace lsh; std::vector<vector> parse(std...
<commit_before><commit_msg>CID#736510 mem leaks in early error return cases<commit_after><|endoftext|>
<commit_before>/* * Java Genetic Algorithm Library (@__identifier__@). * Copyright (c) @__year__@ Franz Wilhelmstötter * * 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 * ve...
<commit_before>MATFile *pmat; int i; int ndir; const char **dir; const char *file = "pqfile.mat"; mxArray *pa; const char *name; double *in1pr; cout << "Hello World!" << endl; pmat = matOpen("test.mat", "r"); if (pmat == NULL) { printf("Error opening file\n"); } dir = (const char **)matGetDir(pmat, &nd...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: edglss.cxx,v $ * * $Revision: 1.12 $ * * last change: $Author: obo $ $Date: 2006-09-16 21:06:24 $ * * The Contents of this file are made ...
<commit_before><commit_msg>Remove some warnings<commit_after><|endoftext|>
<commit_before>//------------------------------------------------------------------------------ // CLING - the C++ LLVM-based InterpreterG :) // version: $Id$ // author: Vassil Vassilev <vvasilev@cern.ch> //------------------------------------------------------------------------------ #include "MetaParser.h" #includ...
<commit_before><commit_msg>Tiled Rendering: ensure rendered area is visible correctly.<commit_after><|endoftext|>
<commit_before><commit_msg>added Size touch_lo_get_content_size()<commit_after><|endoftext|>
<commit_before>/*------------------------------------------------------------------------- * * bridge_test_mix.cpp * file description * * Copyright(c) 2015, CMU * * /peloton/tests/bridge/bridge_test_mix.cpp * *------------------------------------------------------------------------- */ #include "bridge_test....
<commit_before>/*************************************************************************** * * * Copyright (C) 2003 * * by Unai Garro (ugarro@users.sourceforge.net) * ...
<commit_before>/* * The Apache Software License, Version 1.1 * * Copyright (c) 2001 The Apache Software Foundation. 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. Redistributi...
<commit_before>// Copyright (c) 2010-2020, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-806117. // // This file is part of the MFEM library. For more information and source code // availa...
<commit_before>#include "imageinsertdialog.h" #include <QGridLayout> #include <QVBoxLayout> #include <QUrl> #include <QRegularExpression> #include <QLabel> #include <QPushButton> #include <QRegExpValidator> #include <QSpinBox> #include <QSlider> #include <QScrollArea> #include <QFileInfo> #include <QDir> #include <QFi...
<commit_before>// For conditions of distribution and use, see copyright notice in license.txt #include "StableHeaders.h" #include "DebugOperatorNew.h" #include "WorldMapWidget.h" #include "ImageItem.h" #include <QGraphicsScene> #include "MemoryLeakCheck.h" namespace WorldMap { WorldMapWidget::WorldMapWidget() :...
<commit_before>/* * The Apache Software License, Version 1.1 * * Copyright (c) 2003 The Apache Software Foundation. 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. Redistributi...
<commit_before>//---------------------------------------------------------------------------// //! //! \file tstParticleBank.cpp //! \author Alex Robinson //! \brief Particle bank unit test //! //---------------------------------------------------------------------------// // Std Lib Includes #include <iostream> /...
<commit_before>#include "misc.h" /** * Returns a statm_t object containing information about memory usage. */ statm_t * memory_get_usage() { const char* statm_path = "/proc/self/statm"; statm_t * result = (statm_t *) malloc(sizeof(statm_t)); result->size = 0; result->resident = 0; result->share = 0; re...
<commit_before>/* * File: DebugServer.cpp * Author: thomas * * Created on 10. September 2010, 15:38 */ #include <string> #include <stdlib.h> #include <iostream> #include <string.h> #include "DebugServer.h" DebugServer::DebugServer(unsigned int port) : comm(port) { commands = g_async_queue_new(); answer...
<commit_before>/************************************************************************* * * $RCSfile: ZipPackageBuffer.cxx,v $ * * $Revision: 1.8 $ * * last change: $Author: mtg $ $Date: 2001-04-19 14:16:31 $ * * The Contents of this file are made available subject to the terms of * either of the follow...