text
stringlengths
54
60.6k
<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><commit_msg>Cosmetic changes<commit_after><|endoftext|>
<commit_before>#include <phypp.hpp> void print_help(); int phypp_main(int argc, char* argv[]) { if (argc < 3) { print_help(); return 0; } vec1s suffix; std::string fitmask; std::string outdir; bool residuals = false; read_args(argc-2, argv+2, arg_list(suffix, fitmask, resi...
<commit_before>/*========================================================================= * * Copyright Marius Staring, Stefan Klein, David Doria. 2011. * * 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 ...
<commit_before>#include "itkCommandLineArgumentParser.h" #include "CommandLineArgumentHelper.h" #include "itkImageFileReader.h" #include "itkImageToVectorImageFilter.h" #include "itkImageFileWriter.h" #include "itkVectorIndexSelectionCastImageFilter.h" //---------------------------------------------------------------...
<commit_before>/*----------------------------------------------------------------------------- This source file is part of Hopsan NG Copyright (c) 2011 Mikael Axin, Robert Braun, Alessandro Dell'Amico, Björn Eriksson, Peter Nordin, Karl Pettersson, Petter Krus, Ingo Staack This file is provided "as is", w...
<commit_before><commit_msg>Add 1 problem<commit_after>/* Given a binary tree, determine if it is a valid binary search tree (BST). Assume a BST is defined as follows: The left subtree of a node contains only nodes with keys less than the node's key. The right subtree of a node contains only nodes with keys greater th...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2021. All rights reserved */ #include "../../StroikaPreComp.h" #if qHasFeature_OpenSSL #include <openssl/evp.h> #if OPENSSL_VERSION_MAJOR >= 3 #include <openssl/provider.h> #endif #endif #include "../../Debug/Assertions.h" #include "../../Execution/Exce...
<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>/*========================================================================= Program: ORFEO Toolbox Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. See OTBCopyright.txt for details. This software is distributed WIT...
<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>// 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/chromeos/preferences.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" #include "chro...
<commit_before>// Copyright (c) 2006-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 <string> #include <windows.h> #include "base/command_line.h" #include "base/basictypes.h" #include "chrome/common/chrome...
<commit_before>// metar interface class // // Written by Melchior FRANZ, started December 2003. // // Copyright (C) 2003 Melchior FRANZ - mfranz@aon.at // // 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...
<commit_before>/*M/////////////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2015, Youssef Kashef // Copyright (c) 2015, ELM Library Project // 3-clause BSD License // //M*/ #include "elm/layers/layers_interim/base_featuretransformationlayer.h" #include <memory> #inclu...
<commit_before>#include <iostream> #include <fstream> #include <string> #include <stdio.h> #include <unistd.h> #include <zlib.h> #include <sys/stat.h> #include <sys/types.h> #include <math.h> #include "vector_tile.pb.h" extern "C" { #include "tile.h" } #define CMD_BITS 3 // https://github.com/mapbox/mapnik-vector-t...
<commit_before>// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "Lic...
<commit_before>// Copyright CERN. This software is distributed under the terms of the GNU // General Public License v3 (GPL Version 3). // // See http://www.gnu.org/licenses/ for full licensing information. // // In applying this license CERN does not waive the privileges and immunities // granted to it by virtue of it...
<commit_before>#include "IP.h" bool IP::atBearerSettings(unsigned char cmdType, unsigned char cid, const char paramTag[], const char paramValue[]) { char buffer[22 + strlen(paramTag) + strlen(paramValue)]; // "AT+SAPBR=X,X,\"{paramTag}\",\"{paramValue}\"\r\r\n" struct BearerProfile bearerProfile; if(cmdType <= 5 ...
<commit_before><commit_msg>fixed ifdef typo<commit_after><|endoftext|>
<commit_before><commit_msg>fixed assert<commit_after><|endoftext|>
<commit_before><commit_msg>fixed bug that would grossly underestimate the TCP/IP overhead<commit_after><|endoftext|>
<commit_before>/***************************************************************************************[System.cc] Copyright (c) 2003-2006, Niklas Een, Niklas Sorensson Copyright (c) 2007-2010, Niklas Sorensson Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated...
<commit_before><commit_msg>Properly serialize surjection proof in caching checker<commit_after><|endoftext|>
<commit_before>/** @file unix/filesystem.cpp @author Tim Howard @section LICENSE Copyright (c) 2010-2011 Tim Howard 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 ...
<commit_before>//===--- IncorrectRoundings.cpp - clang-tidy ------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, development version * * (c) 2006-2016 INRIA, USTL, UJF, CNRS, MGH * * ...
<commit_before>/* =========================================================================== Daemon BSD Source Code Copyright (c) 2015, Daemon Developers 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>// -*- Mode: C++; tab-width: 2; -*- // vi: set ts=2: // // $Id: parsedFunction.C,v 1.4 2002/12/18 16:00:34 sturm Exp $ #include <BALL/MATHS/parsedFunction.h> extern int parsedFunctionparse(); extern double parsedFunctionResult; extern void parsedFunction_initBuffer(const char*); extern void parsedFunct...
<commit_before>// Copyright (c) 2013 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "atom/common/api/atom_api_clipboard.h" #include "atom/common/native_mate_converters/image_converter.h" #include "atom/common/native_mate_converters/string16_co...
<commit_before>// This class #include <Internal/ParticleClasses/ParticleEmitter.hpp> //#include <FluidManager.hpp> // Included for the sake of particle data. Kinda silly, really #include <Internal/PhysicsModuleImplementation.hpp> using namespace DirectX; using namespace physx; namespace DoremiEngine { namespace Ph...
<commit_before>/* This is both a sort of unit test, and a demonstration of how to use deadlock * prevention. * * Suggested compilation command: * c++ -Wall -pedantic -std=c++11 test.cpp -o test -lpthread */ #include <time.h> #include <errno.h> #include <stdio.h> #include <unistd.h> #include <assert.h> #include ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: cxt2ary.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: hr $ $Date: 2007-11-02 16:50:32 $ * * The Contents of this file are made a...
<commit_before>#include <stdio.h> #include <SDL/SDL.h> #ifdef __EMSCRIPTEN__ #include <emscripten.h> #endif extern "C" int main(int argc, char** argv) { printf("hello, world!\n"); SDL_Init(SDL_INIT_VIDEO); SDL_Surface *screen = SDL_SetVideoMode(640, 480, 32, SDL_SWSURFACE); #ifdef TEST_SDL_LOCK_OPTS EM_ASM(...
<commit_before>/* * Some tests of Euler's Totient Function phi. * * Copyright (c) 2012 Christian Stigen Larsen * http://csl.sublevel3.org * * Distributed under the BSD 3-clause license; see the file LICENSE. */ #include <iostream> #include <inttypes.h> #include <cassert> #include "phi.h" using namespace std; ...
<commit_before>/* * nnet test * 2016.06.06 * author:soma62jp * */ #include "test.h" using namespace std; nnet::nnet(int inputnum,int hiddennum,int outputnum,int patternnum): inputnum(inputnum) ,hiddennum(hiddennum) ,outputnum(outputnum) ,patternnum(patternnum) ,Eta(0....
<commit_before>/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: mediawindow.cxx,v $ * $Revision:...
<commit_before>#include <iostream> #include <vector> #include <ctime> #include <stdint.h> #include "libpopcnt.h" int main(int argc, char** argv) { srand((unsigned int) time(0)); int max_size = 100000; // Generate vectors with random data and compute the bit // population count using 2 different algorithms an...
<commit_before>#include <sys/socket.h> #include <sys/un.h> #include <json/json.h> #include "data/Event.h" #include "ipc/server/Json.h" namespace blitzortung { namespace ipc { namespace server { Json::Json(const unsigned int socket, const Process& process, const hardware::Pcb& hardware) : Base(socket), ...
<commit_before>#ifndef ALEPH_TOPOLOGY_SPINE_HH__ #define ALEPH_TOPOLOGY_SPINE_HH__ #include <aleph/topology/Intersections.hh> #include <algorithm> #include <unordered_map> #include <set> #include <vector> namespace aleph { namespace topology { /** Stores coface relationships in a simplicial complex. Given a simp...
<commit_before>#pragma once /** * The HeapAnalysis class wraps a Dsa-like analysis. **/ #include "clam/config.h" #include "crab/support/debug.hpp" #include "llvm/IR/Value.h" #include "llvm/Support/raw_ostream.h" #include <vector> // forward declarations namespace llvm { class Module; class Function; class Instruc...
<commit_before>#include "game.hpp" bool Game::uciHandler(std::string str) { std::vector<std::string> cmd = getStringArray(str); if(cmd[0] == "isready") { std::cout << "readyok" << std::endl; } else if(cmd[0] == "position") { gameHash.clear(); gameHash.resize(0); hash_decrement = 0; if(cmd...
<commit_before>#ifndef GAMELIB_EVENT_HPP #define GAMELIB_EVENT_HPP #include <memory> #include "../Identifier.hpp" namespace gamelib { typedef ID EventID; constexpr EventID invalidEvent = invalidID; typedef Identifiable BaseEvent; // Event Interface typedef std::shared_ptr<BaseEvent> EventPtr; /...
<commit_before>/** * @file postings_data.tcc * @author Sean Massung */ #include <algorithm> #include "index/postings_data.h" namespace meta { namespace index { template <class PrimaryKey, class SecondaryKey> postings_data<PrimaryKey, SecondaryKey>::postings_data(PrimaryKey p_id): _p_id{p_id} { /* nothing */ }...
<commit_before>#include "rdo_studio/stdafx.h" #include "rdo_studio/rdo_process/rdoprocess_project.h" #include "rdo_studio/rdostudioapp.h" #include "rdo_studio/rdo_process/rdoprocess_childfrm.h" #include "rdo_studio/rdo_process/rdoprocess_docview.h" #include "rdo_studio/rdo_process/rdoprocess_toolbar.h" #include "...
<commit_before>// MIT License // // Copyright (c) 2016-2017 Simon Ninon <simon.ninon@gmail.com> // // 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 li...
<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>/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* * Main authors: * Guido Tack <guido.tack@monash.edu> */ /* 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 ...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2014. All rights reserved */ #ifndef _Stroika_Foundation_DataExchange_OptionsFile_inl_ #define _Stroika_Foundation_DataExchange_OptionsFile_inl_ 1 /* ******************************************************************************** *******************...
<commit_before>#pragma once //=====================================================================// /*! @file @brief TELNET サーバー・クラス @n 0xF0 [Sub-negotiaon End] 2次交渉終了 2次交渉パラメータの終了 @n 0xF1 [No Operation] オペレーションなし オペレーションなし。受信した側はこれを無視する @n 0xF2 [Data Mark] データマーク データ削除・リセット @n 0xF3 [Break] ...
<commit_before>/*========================================================================= Program: ORFEO Toolbox Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. See OTBCopyright.txt for details. This software is distributed WIT...
<commit_before>/*! \file string_utils.inl \brief String utilities inline implementation \author Ivan Shynkarenka \date 15.05.2016 \copyright MIT License */ namespace CppCommon { inline bool StringUtils::IsBlank(char ch) { return std::isspace(ch); } inline char StringUtils::ToLowerInternal(cha...
<commit_before>/**@file QueryCorrectionSubmanager.cpp * @brief source file of Query Correction * @author Jinglei Zhao&Jinli Liu * @date 2009-08-21 * @details * - Log * - 2009.09.26 add new candidate generation * - 2009.10.08 add new error model for english * - 2009.11.27 add isEnglishWord() and...
<commit_before><commit_msg>add failing tests for DivModDown<commit_after><|endoftext|>
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/ocmb/odyssey/procedures/hwp/memory/lib/phy/od...
<commit_before>#include "../include/morton.h" #include <iostream> #include <iomanip> using namespace std; #define MAX 256 // Timer struct for easy timing struct Timer { clock_t Start; clock_t Elapsed; Timer(){ Elapsed = 0; Start = clock(); } void reset(){ Start = clock(); } void resetTotal(){ Elapsed ...
<commit_before>/* *************************************** * Asylum3D @ 2014-12-09 *************************************** */ #ifndef __TEXPOOL_HPP__ #define __TEXPOOL_HPP__ /* Asylum Namespace */ namespace asy { /***************/ /* TexPool Key */ /***************/ struct texpool_key { int32u ...
<commit_before>/*---------------------------------------------------------------------------*\ * OpenSG * * * * ...
<commit_before><commit_msg>compilo fixes<commit_after><|endoftext|>
<commit_before>/* * Copyright © 2010 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 in the Software without restriction, including without limitation * the rights to use, copy, mod...
<commit_before>//===-- driver.cpp - Swift Compiler Driver --------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<commit_before>/* Copyright (c) 2008-2017 the MRtrix3 contributors. * * 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/. * * MRtrix is distributed in the hope that it...
<commit_before><commit_msg>gui: check across all layers to determine rotation<commit_after><|endoftext|>
<commit_before>////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2013-2014, Luke Goddard. 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>////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2007-2008, 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>/** * @project identt * @file src/http/NotFoundService.hpp * @author S Roychowdhury <sroycode AT gmail DOT com> * @version 1.0.0 * * @section LICENSE * * Copyright (c) 2017 S Roychowdhury. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and ...
<commit_before>/** * Copyright 2014-2015 MongoDB, 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 app...
<commit_before>/** * Copyright (c) 2018 Inria * 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 conditi...
<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>#include "utils/zmq.h" #include <array> void z_send(zmq::socket_t& socket, const std::string& str, int flags) { zmq::message_t msg(str.size()); std::memcpy(msg.data(), str.c_str(), str.size()); socket.send(msg, flags); } void z_send(zmq::socket_t& socket, zmq::message_t& msg, int flags) { ...
<commit_before>#pragma once #include <imgui.h> #define IMGUI_DEFINE_MATH_OPERATORS #include <imgui_internal.h> #include <cmath> #include <vector> #include <Video/ParticleSystemRenderer.hpp> struct MyCurve { std::string curve_name; float maxTime = 1.0f; ImVec2 value[10]; ImGuiID id; int item = 0;...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (info@qt.nokia.com) ** ** ** GNU Lesser General Public License Usage ** ** This file m...
<commit_before>/*------------------------------------------------------------------------- * help_config.c * * Displays available options under grand unified configuration scheme * * Options whose flag bits are set to GUC_NO_SHOW_ALL, GUC_NOT_IN_SAMPLE, * or GUC_DISALLOW_IN_FILE are not displayed, unless the user...
<commit_before>/* Flexisip, a flexible SIP proxy server with media capabilities. Copyright (C) 2010-2015 Belledonne Communications SARL, All rights reserved. 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 S...
<commit_before>#include "command.h" #include "debug.h" #include "thread.h" #include "dwi/tractography/rng.h" #include "image.h" using namespace MR; using namespace App; std::mutex mutex; void usage () { AUTHOR = "Joe Bloggs (joe.bloggs@acme.org)"; DESCRIPTION + "raise each voxel intensity to the given power ...
<commit_before>/* Copyright (c) 2010 Sony Pictures Imageworks Inc., et al. 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 ...
<commit_before>/* Copyright (c) 2009 Sony Pictures Imageworks, et al. 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 ...
<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 "api_mac_abstract.h" NAMESPACE_BEGIN(CryptoppApi) MacA...
<commit_before>#include <stdio.h> #include <assert.h> #include <string.h> #include <google/dense_hash_set> #include <locale> #include <list> #include <iostream> #include <string> #include <re2/re2.h> #include "smart_git.h" #include "timer.h" using google::dense_hash_set; using re2::RE2; using re2::StringPiece; usi...
<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>#include <stdio.h> #include <unistd.h> #include <fcntl.h> #include <utility> #include <stdexcept> #include <string.h> #include <algorithm> #include <xf86drm.h> #include <xf86drmMode.h> #include "kms++.h" #ifndef DRM_CLIENT_CAP_ATOMIC #define DRM_CLIENT_CAP_ATOMIC 3 #endif using namespace std; namesp...
<commit_before>/* LibMary - C++ library for high-performance network servers Copyright (C) 2011 Dmitry Shatrov 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 versi...
<commit_before>/* * Copyright 2019-2020 Diligent Graphics LLC * Copyright 2015-2019 Egor Yusov * * 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/...
<commit_before>#include "ui_lua.h" #include <lua\lua.hpp> #include <util\lua_table.h> #include "image_mgr.h" #include "script_mgr.h" #include "soundbuf_mgr.h" #include "string_mgr.h" #include "ui_button.h" #include "ui_label.h" #include "ui_line.h" #include "ui_panel.h" #include "ui_progressbar.h" #include "ui_window...
<commit_before>#ifndef INCLUDE_ACKWARD_CORE_PROPERTY_HPP #define INCLUDE_ACKWARD_CORE_PROPERTY_HPP #include <string> #include <boost/call_traits.hpp> #include <ackward/core/ExceptionTranslator.hpp> #include <ackward/core/Object.hpp> namespace ackward { namespace core { /** Property<T> is a value-like C++ interface...
<commit_before>/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: dx_winstuff.hxx,v $ * $Revision:...
<commit_before>#ifdef CHANNEL_MKL #include "Tools/Exception/exception.hpp" #include "Noise_MKL.hpp" using namespace aff3ct::tools; template <typename R> Noise_MKL<R> ::Noise_MKL(const int seed) : Noise<R>(), stream_state(nullptr), is_stream_alloc(false) { this->set_seed(seed); } template <typename R> Noise_MKL<R>...
<commit_before><commit_msg>move log_entry_v4 out of unnamed namespace to make validate-reflection test happy<commit_after><|endoftext|>
<commit_before><commit_msg>[linalg] allow matrix rows to come in non-sorted order.<commit_after><|endoftext|>
<commit_before>#include "Chan.h" #include "znc.h" #include "User.h" #include "Utils.h" void CChan::Reset() { m_bWhoDone = false; m_bIsOn = false; m_bIsOp = false; m_bIsVoice = false; m_uOpCount = 0; m_uVoiceCount = 0; m_uModes = 0; m_uLimit = 0; m_uClientRequests = 0; ClearNicks(); } void CChan::Joined() { ...
<commit_before>/* * Copyright (C) 2006-2020 Music Technology Group - Universitat Pompeu Fabra * * This file is part of Essentia * * Essentia 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 (FSF),...
<commit_before>// This file is part of the AliceVision project. // Copyright (c) 2016 AliceVision contributors. // Copyright (c) 2012 openMVG contributors. // 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 obtai...
<commit_before>#include "espresso_core.h" int main(int argc, char** argv) { handle_cmd_args(argc, argv); load_persistent_metadata(argv[METADATA_FILE]); // TODO: open filesystem data for when you need it // filepath is argv[FILESYSTEM] printf("persistent metadata on %s has been loaded, ", argv[NAME_ID]); ...
<commit_before>/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab: * * libtest * * Copyright (C) 2012 Data Differential, http://datadifferential.com/ * * 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 ...
<commit_before>/** \copyright * Copyright (c) 2013, Balazs Racz * 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...
<commit_before>//============================================================================================================= /** * @file brainflowboard.cpp * @author Andrey Parfenov <a1994ndrey@gmail.com> * @version dev * @date February, 2020 * * @section LICENSE * * Copyright (C) 2020, Andrey Par...
<commit_before>#pragma once #include <type_traits> #include <boost/mpl/size.hpp> #include <boost/mpl/unique.hpp> #include <boost/mpl/vector.hpp> namespace blackhole { /// Metafunction, that detects whether a parameter pack has duplicate items. template<typename... Args> struct unique : public std::conditional< ...
<commit_before>#pragma once #include <type_traits> #include <boost/mpl/size.hpp> #include <boost/mpl/unique.hpp> #include <boost/mpl/vector.hpp> namespace blackhole { /// Metafunction, that determines whether a parameter pack has duplicate items. template<typename... Args> struct unique : public std::conditiona...
<commit_before>/* * THE NEW CHRONOTEXT TOOLKIT: https://github.com/arielm/new-chronotext-toolkit * COPYRIGHT (C) 2012-2014, ARIEL MALKA ALL RIGHTS RESERVED. * * THE FOLLOWING SOURCE-CODE IS DISTRIBUTED UNDER THE MODIFIED BSD LICENSE: * https://github.com/arielm/new-chronotext-toolkit/blob/master/LICENSE.md */ #i...
<commit_before>/**************************************************************************** * * (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * **********************...