text
stringlengths
54
60.6k
<commit_before>/*************************************************************************/ /* bone_attachment.cpp */ /*************************************************************************/ /* This file is part of: */ /...
<commit_before>// RUN: cat %s | %cling | FileCheck %s // The test verifies the expected behavior in cling::utils::Transform class, // which is supposed to provide different transformation of AST nodes and types. #include "cling/Interpreter/Interpreter.h" #include "cling/Interpreter/LookupHelper.h" #include "cling/Uti...
<commit_before>#pragma once #include <bts/blockchain/types.hpp> #include <bts/blockchain/operations.hpp> #include <bts/blockchain/error_codes.hpp> #include <fc/optional.hpp> #include <fc/reflect/variant.hpp> #include <fc/io/raw.hpp> #include <unordered_set> namespace bts { namespace blockchain { class chain_inter...
<commit_before> // // This source file is part of appleseed. // Visit https://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2019 Luke Wilimitis, The appleseedhq Organization // // Permission is hereby granted, free of charge, to any...
<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>// This file is part of the dune-gdt project: // https://github.com/dune-community/dune-gdt // Copyright 2010-2018 dune-gdt developers and contributors. All rights reserved. // License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // or GPL-2.0+ (http://open...
<commit_before>//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS...
<commit_before>////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2007-2009, Image Engine Design Inc. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // ...
<commit_before>// This file is part of the dune-stuff project: // https://github.com/wwu-numerik/dune-stuff // Copyright holders: Rene Milk, Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) /** * \file logging.hh * \brief logging **/ #ifndef DUNE_STUFF_COMMON...
<commit_before>// // Alert system // #include <algorithm> #include <boost/algorithm/string/classification.hpp> #include <boost/algorithm/string/replace.hpp> #include <boost/thread.hpp> #include <map> #include "alert.h" #include "key.h" #include "net.h" #include "sync.h" #include "ui_interface.h" #include "uint256.h" ...
<commit_before>////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2007, Image Engine Design 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:...
<commit_before>#include <pwd.h> #include <grp.h> #include <sys/wait.h> #include "org_simplenfast_security_PAMUser.h" #include "common.h" #include "auth.h" #include "ex.h" static bool set_principals( JNIEnv *env, jobject obj, const char *user) { const char *who = "set_principals"; int retval = 0; ...
<commit_before>// Macro designed for use with the AliAnalysisTaskDptDptCorrelations task. // Author: Prabhat Pujahari & Claude Pruneau, Wayne State // system: 0: PbPb 1: pPb // singlesOnly: 0: full correlations 1: singles only // useWeights: 0: no 1: yes // c...
<commit_before>/* * This file is a part of Xpiks - cross platform application for * keywording and uploading images for microstocks * Copyright (C) 2014-2016 Taras Kushnir <kushnirTV@gmail.com> * * Xpiks is distributed under the GNU General Public License, version 3.0 * * This program is free software: you can r...
<commit_before>#include <easylogging.h> #include <glm/gtc/type_ptr.hpp> #include "core/model.h" #include <stdexcept> std::vector<std::string> &split(const std::string &s, char delim, std::vector<std::string> &elems) { std::stringstream ss(s); std::string item; while (std::getline(ss, item, delim)) { ...
<commit_before>/* -*- mode: c++; c-default-style: "google"; indent-tabs-mode: nil -*- */ /* ------------------------------------------------------------------------- ATS License: see $AMANZI_DIR/COPYRIGHT Author: ?? Effectively stolen from Amanzi, with few modifications. ---------------------------------------------...
<commit_before>/* * Copyright 2010 Alex Graveley * * 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 ...
<commit_before>/* Copyright (c) 2013, The Cinder Project (http://libcinder.org) 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 n...
<commit_before>// NavierStokesModel.cc // // Description: Implementation of the NavierStokesModel class // // Author(s): // Clancy Rowley // // Date: 3 Jul 2008 // // $Revision$ // $LastChangedDate$ // $LastChangedBy$ // $HeadURL$ #include "NavierStokesModel.h" namespace ibpm { NavierStokesModel::NavierStokesModel...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/io/p9_io_xbus_clear_firs.C ...
<commit_before>/* * Copyright (c) 2015-2016 WinT 3794 <http://wint3794.org> * * 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 r...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/memory/lib/phy/phy_cntrl.C ...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/memory/p9_mss_eff_config.C ...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/pm/p9_update_ec_eq_state.C ...
<commit_before>#ifndef AMGCL_COARSENING_SMOOTHED_AGGREGATION_HPP #define AMGCL_COARSENING_SMOOTHED_AGGREGATION_HPP /* The MIT License Copyright (c) 2012-2018 Denis Demidov <dennis.demidov@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documenta...
<commit_before>// Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html IGNORE: struct DUMMY { // dummy class for auto indentation interface_scope:Object: BSE_USE_RESULT ::Aida::IfaceEventConnection on (const ::std::string &type, ::Aida::EventHandlerF handler) { return this->ImplicitBase::__a...
<commit_before>/****************************************************************************** * Copyright 2017 The Apollo 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 ...
<commit_before>/* bzflag * Copyright (c) 1993 - 2009 Tim Riker * * This package is free software; you can redistribute it and/or * modify it under the terms of the license found in the file * named COPYING that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ...
<commit_before>/* bzflag * Copyright (c) 1993 - 2005 Tim Riker * * This package is free software; you can redistribute it and/or * modify it under the terms of the license found in the file * named COPYING that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR * IMPLI...
<commit_before>/* bzflag * Copyright (c) 1993 - 2004 Tim Riker * * This package is free software; you can redistribute it and/or * modify it under the terms of the license found in the file * named COPYING that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR * IMPLI...
<commit_before>// Copyright (C) 2012-2014 Leap Motion, Inc. All rights reserved. #include "stdafx.h" #include "AutoNetServerImpl.hpp" #include "at_exit.h" #include "autowiring.h" #include "demangle.h" #include "ObjectTraits.h" #include "EventRegistry.h" #include "TypeRegistry.h" #include <iostream> #include FUTURE_HEAD...
<commit_before>/* OpenDeck MIDI platform firmware Copyright (C) 2015-2018 Igor Petrovic 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...
<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>//===----------------------------------------------------------------------===// // // Peloton // // packet_manager_test.cpp // // Identification: test/wire/packet_manager_test.cpp // // Copyright (c) 2016-17, Carnegie Mellon University Database Group // //===---------------------...
<commit_before>/** * AES * (C) 1999-2009 Jack Lloyd * * Distributed under the terms of the Botan license */ #include <botan/aes_intel.h> #include <wmmintrin.h> namespace Botan { namespace { __m128i aes_128_key_expansion(__m128i key, __m128i key_with_rcon) { key_with_rcon = _mm_shuffle_epi32(key_with_rcon, 0xf...
<commit_before>/* bzflag * Copyright (c) 1993 - 2004 Tim Riker * * This package is free software; you can redistribute it and/or * modify it under the terms of the license found in the file * named LICENSE that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ...
<commit_before>#include <string> #include <vector> #include <llvm/ADT/ArrayRef.h> #include <llvm/ADT/StringRef.h> #include <llvm/Support/raw_ostream.h> #include "../driver/driver.h" #include "../driver/repl.h" #include "../support/utility.h" using namespace delta; static std::vector<std::string> removeFileArgs(std::v...
<commit_before>#include "dsa/message.h" #include "gtest/gtest.h" using namespace dsa; class InvokeRequestMessageExt : public InvokeRequestMessage { public: InvokeRequestMessageExt() : InvokeRequestMessage() {} bool check_static_headers(uint8_t *expected_values, size_t size) { uint8_t buf[1024]; static_h...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/nest/p9_adu_setup.H $ ...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/perv/p9_start_cbs.C $ ...
<commit_before>#pragma once #include <iostream> #include <sstream> #include <stdlib.h> #include "BigInt.hpp" #include "types.hpp" namespace Ethereum{namespace Connector{ template<typename T> std::string hex(const T &); template<typename T> T unhex(const char *); template<> uint32_t unhex<uint32_t>(const char ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: bmpsum.cxx,v $ * * $Revision: 1.8 $ * * last change: $Author: hr $ $Date: 2006-06-19 20:07:37 $ * * The Contents of this file are made av...
<commit_before>#include <stdio.h> #include <udis86.h> #include <disassembly.hh> static int next_byte(ud_t *ud); class Disassembly : public IDisassembly { public: friend int next_byte(ud_t *); Disassembly() { ud_init(&m_ud); ud_set_user_opaque_data(&m_ud, (void *)this); ud_set_input_hook(&m_ud, next_byte);...
<commit_before> #ifndef SVTOOLS_COLLATORRESSOURCE_HXX #define SVTOOLS_COLLATORRESSOURCE_HXX #ifndef INCLUDED_SVTDLLAPI_H #include "svtools/svtdllapi.h" #endif #ifndef _STRING_HXX #include <tools/string.hxx> #endif class CollatorRessourceData; class SVT_DLLPUBLIC CollatorRessource { private: CollatorRess...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: stmenu.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: hr $ $Date: 2007-06-27 13:24:53 $ * * The Contents of this file are made av...
<commit_before>#include "../include/image.h" #include "../include/glinclude.h" #include "../include/math.h" #include <math.h> #include <stdlib.h> #include "../include/renderer.h" // TAREA: Declarar funciones de stb_image.c extern "C" { unsigned char *stbi_load(char const *filename, int *x, int *y, int *comp, int req...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/nest/p9_l2_flush.H $ ...
<commit_before>#include "combiner_gridcompare_hist.h" /// SYSTEM #include <pluginlib/class_list_macros.h> #include <QComboBox> PLUGINLIB_EXPORT_CLASS(csapex::GridCompareHist, csapex::BoxedObject) using namespace csapex; using namespace cv_grid; GridCompareHist::GridCompareHist() : GridCompare(State::Ptr(new Sta...
<commit_before>// // This file is part of the Marble Virtual Globe. // // This program is free software licensed under the GNU LGPL. You can // find a copy of this license in LICENSE.txt in the top directory of // the source code. // // Copyright 2012 Shou Ya <shouyatf@gmail.com> // Copyright 2012 Dennis Nien...
<commit_before>// // C++ Implementation: BuiltinFuncs // // Description: // // // Author: Carmelo Piccione <carmelo.piccione@gmail.com>, (C) 2007 // // Copyright: See COPYING file that comes with this distribution // // /* Loads all builtin functions */ /* Loads a builtin function */ #include "BuiltinFuncs.hpp" #...
<commit_before>#include <GLFW/glfw3.h> #include "GLFWSystem.hpp" #include "kengine.hpp" #include "data/InputBufferComponent.hpp" #include "data/GLFWWindowComponent.hpp" #include "data/WindowComponent.hpp" #include "functions/OnTerminate.hpp" #include "functions/OnMouseCaptured.hpp" #include "functions/Execute.hpp" ...
<commit_before>#include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <ncurses.h> #include "barney_pilot.h" #include "ros/ros.h" #include <sensor_msgs/Joy.h> #include "rxtx_server/distance.h" #include "rxtx_server/AngularPos.h" #include "rxtx_server/status.h" #include "rxtx_server/command.h" #include "osu...
<commit_before>#include "sqlitewrapper/exceptions.h" #include "result_names.h" #include "sqlitewrapper/sqlite3.h" namespace SqliteWrapper { Exception::Exception(const std::string &message) throw() : m_message(message) { } const char *Exception::what() const throw() { return m_message.c_str(); } SqliteExcep...
<commit_before>/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor ...
<commit_before>/* * Stack.cpp * * Created on: 24 Oct 2015 * Author: hieu */ #include <algorithm> #include <boost/foreach.hpp> #include "Stack.h" #include "../Hypothesis.h" #include "../Manager.h" #include "../../Scores.h" #include "../../System.h" using namespace std; namespace Moses2 { namespace NSCubePr...
<commit_before>/* * Copyright 2007-2017 Content Management AG * All rights reserved. * * author: Max Kellermann <mk@cm4all.com> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source...
<commit_before> /* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkBBoxRecord.h" void SkBBoxRecord::drawOval(const SkRect& rect, const SkPaint& paint) { if (this->transformBounds(rect, &paint)) { INHER...
<commit_before>/* * ===================================================================================== * * Filename: file_utils.cpp * * Description: A collection of helper functions related to file operations * * Version: 1.0 * Created: 12/15/2014 11:37:05 AM * Revision: no...
<commit_before>/* * * NodeRippleLikeBlockchainExplorer * * Created by El Khalil Bellakrid on 09/01/2019. * * The MIT License (MIT) * * Copyright (c) 2019 Ledger * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
<commit_before>/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* * Main authors: * Guido Tack <tack@gecode.org> * Modified: * Laurent Perron (lperron@google.com) * * Copyright: * Guido Tack, 2007 * * * This file is part of Gecode, the generic constraint * development envir...
<commit_before>#ifndef KEYCODE_HPP #define KEYCODE_HPP namespace org_pqrs_KeyRemap4MacBook { class KeyCode; class Flags; class Buttons; // ====================================================================== class EventType { public: EventType(unsigned int v = 0) : value_(v) {} unsigned int get(...
<commit_before>// Copyright (c) 2012-2016 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 "coins.h" #include "consensus/consensus.h" #include "memusage.h" #include "random.h" #include <asse...
<commit_before>#include "acmacs-base/debug.hh" #include "time-series-draw.hh" #include "tree.hh" #include "tree-draw.hh" #include "coloring.hh" // ---------------------------------------------------------------------- void TimeSeriesDraw::prepare() { std::map<date::year_month_day, size_t> sequences_per_month; ...
<commit_before>#include "task_charset.h" #include "cortex/class.h" #include "math/gauss.hpp" #include "math/clamp.hpp" #include "math/random.hpp" #include "tensor/numeric.hpp" #include "text/to_string.hpp" #include "text/to_params.hpp" #include "text/from_params.hpp" #include "tensor/algorithm.hpp" #include "vision/war...
<commit_before>#include "qtkapplicationparameters.h" #include <QFile> #include <QDebug> #include <QDateTime> #ifndef VEJAM_NO_GUI #include <QMessageBox> #endif #include <QJsonObject> #include <QJsonDocument> #include <qcoreapplication.h> QtKApplicationParameters::QtKApplicationParameters(QObject *parent, QString appNa...
<commit_before>/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ #include <quic/logging/FileQLogger.h> #include <fstream> #include <folly/json.h> namespace quic { void FileQLo...
<commit_before>/* * This file is part of signon * * Copyright (C) 2009-2010 Nokia Corporation. * * Contact: Aurel Popirtac <ext-aurel.popirtac@nokia.com> * Contact: Alberto Mardegan <alberto.mardegan@nokia.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the...
<commit_before>#include "cpu.h" #include "../bitwise.h" #include "../util/log.h" #include <cstdlib> [[noreturn]] inline void unimplemented_opcode() { log_error("Unimplemented opcode"); std::exit(1); } /* ADC */ inline void CPU::_opcode_adc(u8 value) { u8 reg = a.value(); u8 carry = flag_carry_value...
<commit_before>/* This file is part of VoltDB. * Copyright (C) 2008-2014 VoltDB Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your...
<commit_before>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2006 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public...
<commit_before>#include "SkCanvas.h" #include "SkLayerDrawLooper.h" #include "SkPaint.h" SkLayerDrawLooper::SkLayerDrawLooper() { fRecs = NULL; fCount = 0; } SkLayerDrawLooper::~SkLayerDrawLooper() { Rec* rec = fRecs; while (rec) { Rec* next = rec->fNext; SkDELETE(rec); rec = n...
<commit_before>/* Copyright 2019 The TensorFlow 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 Unless required by appl...
<commit_before>/// /// @file D4.cpp /// @brief This is a highly optimized implementation of the D(x, y) /// formula in Xavier Gourdon's prime counting algorithm. The D /// formula is very similar to the formula of the hard special /// leaves in the Deleglise-Rivat algorithm. Hence this /// ...
<commit_before>// This file is part of the dune-gdt project: // http://users.dune-project.org/projects/dune-gdt // Copyright holders: Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #include "config.h" #if HAVE_ALUGRID #include <dune/grid/alugrid.hh> #include "../pro...
<commit_before>/* * Copyright (C) 2006,2007,2008,2009,2010,2011,2012 Olly Betts * * 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>/* * Copyright 2012 Bram van der Kroef * * This file is part of LESS CSS Compiler. * * LESS CSS Compiler 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, o...
<commit_before>// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/fastos/fastos.h> #include <vespa/filedistribution/common/logfwd.h> #include <stdarg.h> #include <iostream> #include <boost/scoped_array.hpp> #include <stdio.h> void filedi...
<commit_before>/* * Copyright (c) 2011, Peter Thorson. 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, th...
<commit_before>/* * ImageWrapper_to_GLTexture.cpp * * Copyright (C) 2021 by VISUS (Universitaet Stuttgart). * Alle Rechte vorbehalten. */ #include "ImageWrapper_to_GLTexture.hpp" #include "ImageWrapper_Conversion_Helpers.hpp" #include "glad/gl.h" #include <tuple> using namespace megamol::frontend_resources; n...
<commit_before>/* * Copyright (c) 2019 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS....
<commit_before>#include <Rcpp11> #include <iostream> #include <math.h> #include <numeric> using namespace Rcpp; using namespace std; double loglik(NumericVector eta, NumericVector y, NumericVector weights, Function linkinv, Function devfun) { try { // Compute some values we need for the logLik computati...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2012. All rights reserved */ #ifndef _Stroika_Foundation_Execution_CriticalSection_inl_ #define _Stroika_Foundation_Execution_CriticalSection_inl_ 1 /* ******************************************************************************** *****************...
<commit_before>// Copyright (c) 2019 by Robert Bosch GmbH. All rights reserved. // Copyright (c) 2021 - 2022 by Apex.AI 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 Lice...
<commit_before>// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <util/timer.h> #include <httpclient/httpclient.h> #include <util/filereader.h> #include "client.h" Client::Client(ClientArguments *args) : _args(args), _status(new ClientS...
<commit_before>#include <sstream> #include <julia.h> #include "debug.h" using namespace std; string nj::getTypeName(jl_value_t *v) { string res = "none"; stringstream ss; if(v) { if(jl_is_structtype(v)) ss << "value is struct_type"; if(jl_is_datatype(v)) ss << "value is type datatype"; if(...
<commit_before>#include "model.hpp" namespace Model { } <commit_msg>Added destructor<commit_after>#include "model.hpp" namespace Model { model::~model(void) {} } <|endoftext|>
<commit_before>#include "stdafx.h" #include "CppUnitTest.h" #include "../dummy_values.h" #include "internal/operations/erase_operation.h" #include "internal/operations/post_operation.h" #include "internal/operations/put_operation.h" #include "internal/internal_datastore.h" using Assert = Microsoft::VisualStudio::CppU...
<commit_before>// // Copyright (c) 2016 CNRS // Author: NMansard // // // This file is part of hpp-pinocchio // hpp-pinocchio 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...
<commit_before>// The MIT License(MIT) // // Copyright 2017 bladez-fate // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files(the "Software"), to deal // in the Software without restriction, including without limitation the rights // to...
<commit_before>/* * Copyright (c) 2017 Darren Smith * * wampcc is free software; you can redistribute it and/or modify * it under the terms of the MIT license. See LICENSE for details. */ #include "wampcc/kernel.h" #include "wampcc/io_loop.h" #include "wampcc/event_loop.h" #include "wampcc/ssl.h" #include "wampc...
<commit_before>#include "./nodes.h" #include <QDebug> #include <string> #include <vector> #include "./utils/persister.h" #include "./importer.h" #include "./mesh_node.h" #include "./label_node.h" #include "./obb_node.h" #include "./camera_node.h" #include "./coordinate_system_node.h" Nodes::Nodes() { addNode(std::ma...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkObjectMorphologyImageFilterTest.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 2002 Insight Consortium. All rights reser...
<commit_before>/* * IceWM * * Copyright (C) 1999-2002 Marko Macek */ #include "config.h" #ifndef NO_CONFIGURE_MENUS #include "objmenu.h" #endif #ifdef CONFIG_TASKBAR #include "objbar.h" #include "objbutton.h" #include "ybutton.h" #include "prefs.h" #include "wmtaskbar.h" #include "wmapp.h" #include "wpixmaps.h" #...
<commit_before>#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup() { ofSetLogLevel(OF_LOG_VERBOSE); ofSetLogLevel("ofThread", OF_LOG_ERROR); ofEnableAlphaBlending(); doDrawInfo = true; targetWidth = 640; targetHeight = 480; #if defined(TARGET_O...
<commit_before>#include "opencv2/highgui/highgui.hpp" #include "opencv2/opencv.hpp" #include <iostream> #include <stdio.h> #include <sstream> #include <string> using namespace std; //using namespace cv; int H_MIN = 0; int H_MAX = 256; int S_MIN = 0; int S_MAX = 256; int V_MIN = 0; int V_MAX = 256; //Things I want to...
<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>/* Copyright (c) 2003, 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>#include "mmap_reader.hpp" #include "../std/target_os.hpp" #include "../std/memcpy.hpp" // @TODO we don't support windows at the moment #ifndef OMIM_OS_WINDOWS #include <sys/mman.h> #include <sys/stat.h> #include <sys/fcntl.h> #include <unistd.h> #endif class MmapReader::MmapData { int m_fd;...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Script Generator project on Qt Labs. ** **...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Script Generator project on Qt Labs. ** **...