text
stringlengths
7
961k
#include "chatgui.h" #include <wx/colour.h> #include <wx/filename.h> #include <wx/image.h> #include <memory> #include <string> #include "chatbot.h" #include "chatlogic.h" // size of chatbot window const int width = 414; const int height = 736; // wxWidgets APP IMPLEMENT_APP(ChatBotApp); std::string dataPath = ".....
// // AmazonIAPSystem.cpp // Chilli Source // Created by Ian Copland on 10/12/2013. // // The MIT License (MIT) // // Copyright (c) 2013 Tag Games Limited // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to...
#include <geometry_msgs/Pose2D.h> #include <geometry_msgs/Twist.h> #include <math.h> #include <mbed.h> #include <pid.hpp> #include <ros.h> #include <rotary_inc.hpp> #include <scrp_slave.hpp> #include <std_msgs/Float32.h> #include <tf.h> using namespace arrc; constexpr int NUM_WHEEL = 4; /* constexpr double M_PI = 3.1...
/** ****************************************************************************** * This file is part of the TouchGFX 4.10.0 distribution. * * <h2><center>&copy; Copyright (c) 2018 STMicroelectronics. * All rights reserved.</center></h2> * * This software component is licensed by ST under Ultimate Libert...
/* * Copyright Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "license" f...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2011-2013 The PPCoin developers // Copyright (c) 2013-2014 The NovaCoin Developers // Copyright (c) 2014-2018 The BlackCoin Developers // Copyright (c) 2015-2020 ...
#include <cassert> #include "../HTTP.h" using namespace i2p::http; int main() { std::string in("/%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D0%B0/"); std::string out = UrlDecode(in); assert(strcmp(out.c_str(), "/страница/") == 0); in = "/%00/"; out = UrlDecode(in, false); assert(strcmp(out.c_str(), "/%0...
/* ---------------------------------------------------------------------------- * GTSAM Copyright 2010-2020, Georgia Tech Research Corporation, * Atlanta, Georgia 30332-0415 * All Rights Reserved * Authors: Frank Dellaert, et al. (see THANKS for the full author list) * See LICENSE for the license information *...
//--------------------------------------------*-C++-*---------------------------------------------// /*! * \file cdi_ipcress/IpcressMaterial.hh * \author Kelly Thompson * \date Tue Aug 22 15:15:49 2000 * \brief Header file for IpcressMaterial class * \note Copyright (C) 2016-2020 Triad National Security, LL...
// 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 <string> #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" #include "base/prefs/pref_service.h" #include "base/strin...
// File implement/oglplus/enums/pixel_data_format_range.ipp // // Automatically generated file, DO NOT modify manually. // Edit the source 'source/enums/oglplus/pixel_data_format.txt' // or the 'source/enums/make_enum.py' script instead. // // Copyright 2010-2014 Matus Chochlik. // Distributed under the Boost Sof...
// Copyright (C) 2009 Cornell University // All rights reserved. // Original Author: Theodore Kim (http://www.cs.cornell.edu/~tedkim) // 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 v...
#include "table_fn.hh" #define uint unsigned int // displays the list of tables stored in the database void show_tables (vector <table> list_table) { if (list_table.size() == 0) cout<<"\nNO TABLES ARE CURRENTLY ADDED TO THE DATABASE.\n"; else { cout<<"\nTABLES IN THE DATABASE:\n"; for (uint i = 0; i < ...
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2008 - 2010 Greenplum, Inc. // // @filename: // CTask.cpp // // @doc: // Task implementation //--------------------------------------------------------------------------- #include "gpos/error/CErrorCo...
/* Copyright 2012 Aphid Mobile 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 di...
// // Copyright (c) 2000-2002 // Joerg Walter, Mathias Koch // // Permission to use, copy, modify, distribute and sell this software // and its documentation for any purpose is hereby granted without fee, // provided that the above copyright notice appear in all copies and // that both that copyright notice and t...
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
/* =========================================================================== * * This file is part of HISE. * Copyright 2016 Christoph Hart * * HISE 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,...
//$Id$ //------------------------------------------------------------------------------ // GmatMainFrame //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool // // Copyright (c) 2002 - 2017 United States Government as repres...
#include "mitkAreaUnderFirstMomentDescriptionParameter.h" const std::string mitk::AreaUnderFirstMomentDescriptionParameter::PARAMETER_NAME = "AreaUnderFirstMoment"; mitk::AreaUnderFirstMomentDescriptionParameter::AreaUnderFirstMomentDescriptionParameter() { } mitk::AreaUnderFirstMomentDescriptionParameter::~AreaUnde...
#include <iostream> #include <memory> #ifdef _WIN32 #include <windows.h> #include <dbghelp.h> #include <crtdbg.h> #endif #include <sys/stat.h> #include <SoFGV.hpp> #ifdef _WIN32 std::string getLastError(int err = GetLastError()) { char *s = nullptr; std::string str; FormatMessageA( FORMAT_MESSAGE_ALLOCATE_BUFFER...
#include <iostream> #include <time.h> using namespace std; #define DEGTORAD 0.0174532925199432957f #define RADTODEG 57.295779513082320876f float axis[3] = { 0 }; float angle; float matrixRotation[3][3] = { 0 }; float trace = 0; void GetRotationFromAxisAngle(float* axis, float angle, float rotation[][3]); bool EqualTo...
// Copyright (c) 2019 Graphcore Ltd. All rights reserved. #define BOOST_TEST_MODULE DynamicSliceTest #include <boost/test/framework.hpp> #include <boost/test/unit_test.hpp> #include <iostream> #include <numeric> #include <poplar/Type.hpp> #include <poplibs_support/TestDevice.hpp> #include <popops/DynamicSlice.hpp> #inc...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2017 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 <miner.h> #include <amount.h> #include <chain.h> #include <chainparams....
/* * Copyright (c) 2016 Andrew Kelley * * This file is part of zig, which is MIT licensed. * See http://opensource.org/licenses/MIT */ #ifndef ZIG_TARGET_HPP #define ZIG_TARGET_HPP #include <zig_llvm.h> struct Buf; // Synchronize with target.cpp::os_list enum Os { OsFreestanding, OsAnanas, OsCloudA...
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2012-2021 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
// Copyright (c) 2012-2015 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 "util.h" #include "memusage.h" #include "random.h" #include <assert.h> /** * calculate number...
/////////////////////////////////////////////////////////////////////////////// /// /// \file Precompiled.hpp /// Resource precompiled header. /// /// Authors: Chris Peters /// Copyright 2010, DigiPen Institute of Technology /// /////////////////////////////////////////////////////////////////////////////// #pragma onc...
// // SMTPClientSession.cpp // // $Id: //poco/1.4/Net/src/SMTPClientSession.cpp#1 $ // // Library: Net // Package: Mail // Module: SMTPClientSession // // Copyright (c) 2005-2008, Applied Informatics Software Engineering GmbH. // and Contributors. // // SPDX-License-Identifier: BSL-1.0 // #include "Poco/Net/SMTPClie...
// Copyright 2013 15418 Course Staff. #include <netdb.h> #include <netinet/in.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include "./connect.h" static void parse_hostport(char* hostport, char** host, char** port) { // TODO(awreece) Support IPv6. char* state; *host = strt...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "db.h" #include "addrman.h" #include "hash.h" #include "protocol.h" #inc...
/* * 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 * "License"); you ...
// Copyright 2016 The Fuchsia 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 <lib/app_driver/cpp/app_driver.h> #include <lib/async-loop/cpp/loop.h> #include <lib/sys/cpp/component_context.h> #include <trace-provider/provide...
/* * Copyright 2012 Rolando Martins, CRACS & INESC-TEC, DCC/FCUP * * 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 * * Unle...
/** * This program is free software: you can redistribute it and/or modify * it under the terms of the License. * * This program is distributed in the hope that it will be useful, * but WITHOUT WARRANTY OF ANY KIND; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See th...
#include "core/core.h" #include "zynqps8/display_port/display.hpp" #include "zynqps8/display_port/aux.hpp" #include "zynqps8/display_port/serdes.hpp" #include "zynqps8/display_port/train.hpp" #include "zynqps8/display_port/eedid.hpp" #include "hw/reg_access.h" #include "hw/memory_map.h" #include "hw_regs/dp.h" #include...
template <typename T> void cpuFbou1(T *f, T *xdg, T *udg, T *odg, T *wdg, T *uhg, T *nlg, T *tau, T *uinf, T *param, T time, int ng, int nc, int ncu, int nd, int ncx, int nco, int ncw) { #pragma omp parallel for for (int i = 0; i <ng; i++) { T param1 = param[0]; T param2 = param[1]; T param3 = param[2]; T par...
//============================================================================= /** * @file transaction.cpp * * $Id$ * * implements blocking SNMPv1 API using a simple state machine * transactions over UDP/IP networks * * * @author Michael R MacFaden mrm@cisco.com - remove v2c * @author async * @aut...
#include "lib/effect_runner.h" #include "rings.h" int main(int argc, char **argv) { RingsEffect e("data/glass.png"); EffectRunner r; r.setEffect(&e); r.setLayout("../layouts/grid32x16z.json"); return r.main(argc, argv); }
/* * Copyright (C) 2017 The Android Open Source Project * * 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...
#include "kalman_filter.h" using Eigen::MatrixXd; using Eigen::VectorXd; /* * Please note that the Eigen library does not initialize * VectorXd or MatrixXd objects with zeros upon creation. */ KalmanFilter::KalmanFilter() {} KalmanFilter::~KalmanFilter() {} void KalmanFilter::Init(VectorXd &x_in, MatrixXd &...
/* The MIT License (MIT) Copyright (c) 2011 - 2013, Philipp Heise and Sebastian Klose 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 limitat...
#include <iostream> /* A derived class can inherit from multiple base classes. */ class A { public: int x_ = 0; mutable int y_ = 1; // can be changed even on const instances of A int get_x() const { return x_; }; // a const function does not change any of the members of A int set_x(in...
#include "d3dApp.h" #include <windowsx.h> using Microsoft::WRL::ComPtr; D3DApp* D3DApp::mApp = nullptr; LRESULT CALLBACK MainWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) { return D3DApp::GetApp()->MsgProc(hwnd, msg, wParam, lParam); } D3DApp::D3DApp(HINSTANCE hInstance) : mhAppInst(hInstance) { asse...
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/base/x/x11_software_bitmap_presenter.h" #include <stddef.h> #include <stdint.h> #include <string.h> #include <cstring> #include <memory> #i...
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. #ifndef VIDARDB_LIT...
#include "Assertions.hh" #include "Logger.hh" void mg_detail::report_assertion(const char* expression, const char* message, const char* file, int line) { SPDLOG_CRITICAL("Assertion Failure: {0}, message: '{1}', in file {2}, in line {3}\n", expression, message, file, line); }
/***************************************************************************** * * NXP Confidential Proprietary * * Copyright (c) 2014-2016 Freescale Semiconductor * Copyright 2017-2018 NXP * All Rights Reserved * ****************************************************************************** * * THIS SOFTWARE IS PROV...
/* * Copyright (c) 2019 The Fuchsia Authors * * 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" AND THE AUTHOR...
/* * Copyright (c) 2005 * Brent Miller and Charles Morrey. All rights reserved. * * See the COPYRIGHT_NOTICE file for terms. */ #include "qposhash.h" #include "parameters.h" IDSTR("$Id: qposhash.cpp,v 1.8 2006/07/25 22:29:33 bmiller Exp $"); /****/ /*********************** * class qGrowHash * ***...
// // Copyright (c) 2017-2019 the rbfx project. // // 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, modify, mer...
/* * Copyright (C) 2011 Apple 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
/* * This file is part of Clockwork. * * Copyright (c) 2013-2017 Jeremy Othieno. * * The MIT License (MIT) * 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, includi...
/* Copyright (c) 2019-2020 Péter Magyar 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, modify, merge, publish, distribut...
#include "saber/core/context.h" #include "saber/funcs/transpose.h" #include "test_saber_func.h" #include "test_saber_base.h" #include "saber/core/tensor_op.h" #include "saber/saber_types.h" #include <vector> using namespace anakin::saber; template <typename dtype, typename TargetType_D, typename TargetType_H> void tr...
#include "stdafx.h" #include <MutateJS.h> namespace mssql { bool MutateJS::getbool(const Local<Object> query_object, const char* v) { const auto l = get(query_object, v); if (!l->IsNull()) { return as_boolean(l); } return false; } Local<Value> MutateJS::get_property_as_value(const Local<Object>& o, c...
#include<rexio/tk/rootwindow.h++> #include<rexio/tk/scrollbar.h++> #include<iostream> #include "map.h++" #include "statusbar.h++" #include "hintbox.h++" #include "playerassets.h++" #include "alert.h++" #include <numeric> #include <algorithm> #include <boost/lambda/lambda.hpp> #include <boost/lambda/casts.hpp> #include...
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //---------------------------------------------------------...
#include "common/server.h" #include "common/websocket.h" using namespace std; using namespace xynet; inline constexpr static const uint16_t DISCARD_PORT = 2009; auto disconnect(socket_t peer_socket) -> task<> { try { peer_socket.shutdown(); co_await peer_socket.close(); }catch(...){} } auto discard_on...
// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild #include "bytes_pad_term.h" bytes_pad_term_t::bytes_pad_term_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, bytes_pad_term_t* p__root) : kaitai::kstruct(p__io) { m__parent = p__parent; m__root = this; ...
#include "RobotTestGUI.h" #include <KrisLibrary/GLdraw/drawMesh.h> #include <KrisLibrary/GLdraw/drawgeometry.h> #include <KrisLibrary/GLdraw/GLView.h> #include "IO/ROS.h" #include <string.h> #include <sstream> #ifndef GLUT_LEFT_BUTTON #define GLUT_LEFT_BUTTON 0 #define GLUT_MIDDLE_BUTTON 1 #define GLUT_RIGHT_BUTTON 2 ...
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
// Copyright 2014 the V8 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. #include "src/v8.h" #include "src/ast/ast-value-factory.h" #include "src/handles-inl.h" #include "src/heap/factory.h" #include "src/interpreter/constan...
/* MIT License - Copyright (c) 2019-2021 Francis Van Roie For full license information read the LICENSE file in the project folder */ #ifdef ARDUINO #include "ArduinoLog.h" #endif #include "lvgl.h" #if LVGL_VERSION_MAJOR != 7 #include "../lv_components.h" #endif #include "hasplib.h" LV_FONT_DECLARE(unscii_8_icon...
// // FieldDescription.hpp // // Created on: 30.08.2011 // Author: wahnfla // #ifndef FIELDDESCRIPTION_HPP #define FIELDDESCRIPTION_HPP #include "Polygon2D.hpp" #include <vector> #include "../BasicDatatypes.hpp" namespace datatypes { // // Interface for fields. // class FieldDescription : public BasicData { p...
/** * @file methods/linear_svm/linear_svm_main.cpp * @author Yashwant Singh Parihar * * Main executable for linear svm. * * mlpack is free software; you may redistribute it and/or modify it under the * terms of the 3-clause BSD license. You should have received a copy of the * 3-clause BSD license along with m...
#include <sys/types.h> #include <signal.h> #include "NativeCore.hpp" extern "C" bool RC_CallConv IsProcessValid(RC_Pointer handle) { return kill(static_cast<pid_t>(reinterpret_cast<intptr_t>(handle)), 0) == 0; }
#include "soap/onvifreceiverReceiverBindingService.h" #include <QDebug> #include <QObject> #include <QString> #include "onvif/receiverservice.h" ReceiverServiceExtAbst * ReceiverService::serviceExt = NULL; /// Web service operation 'GetServiceCapabilities' (returns error code or SOAP_OK) int ReceiverBindingService::...
#include "UI.h" #include <thread> #include <string> #include <sstream> #include <fstream> #include <unordered_map> #include <utility> #include <type_traits> UI::GameWrapper::GameWrapper(array<unsigned int, 2>^ mapResource, int numOfTeam) { game = gcnew Gaming::Game(mapResource, numOfTeam); } void UI::GetPGM(array<un...
/*========================================================================= * * 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 * * h...
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <sge/image/algorithm/uninitialized.hpp> #include <sge/image2d/view/const_object.hpp> #incl...
// Copyright 2021 The Fuchsia 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 "src/devices/rtc/drivers/intel-rtc/intel-rtc.h" #include <lib/async-loop/cpp/loop.h> #include <librtc.h> #include <ddktl/device.h> #include <zxt...
#include "CondTools/SiStrip/plugins/SiStripBadChannelBuilder.h" #include "CalibTracker/SiStripCommon/interface/SiStripDetInfoFileReader.h" #include <iostream> #include <fstream> SiStripBadChannelBuilder::SiStripBadChannelBuilder(const edm::ParameterSet& iConfig) : ConditionDBWriter<SiStripBadStrip>(iConfig){ fp_ ...
#include "sendcoinsentry.h" #include "ui_sendcoinsentry.h" #include "guiutil.h" #include "bitcoinunits.h" #include "addressbookpage.h" #include "walletmodel.h" #include "optionsmodel.h" #include "addresstablemodel.h" #include <QApplication> #include <QClipboard> SendCoinsEntry::SendCoinsEntry(QWidget *parent) : ...
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: RootMotion.Baker #inc...
#pragma once #include <string> #include <utility> #include <QtCore/QString> namespace strings { class UniString; } QString ToQString(strings::UniString const & s); QString ToQString(std::string const & s); template <typename Layout, typename... Args> Layout * BuildLayoutWithoutMargins(Args &&... args) { auto * l...
// ------------------------------------------------------------------------------- // THIS FILE IS ORIGINALLY GENERATED BY THE DESIGNER. // YOU ARE ONLY ALLOWED TO MODIFY CODE BETWEEN '///<<< BEGIN' AND '///<<< END'. // PLEASE MODIFY AND REGENERETE IT IN THE DESIGNER FOR CLASS/MEMBERS/METHODS, ETC. // ----------------...
#include <impl/basic/include.hpp> #include <algorithms/path_decomposition/path_decomposition.hpp> #include <cassert> using namespace ba_graph; int main() { Graph g(createG()); addMultipleV(g, 10, Number(0)); addMultipleE(g, Locs({{0, 1}, {1, 2}, {2, 3}, {3, 4}, {4, 0}})); addMultipleE(g, Locs({{5, 6}...
/* * Copyright (c) 2022, Alibaba Group Holding 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 * * Unless required by appl...
/* Copyright 2018 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 applicable law or a...
#ifndef STAN_MATH_PRIM_SCAL_PROB_BERNOULLI_LOG_HPP #define STAN_MATH_PRIM_SCAL_PROB_BERNOULLI_LOG_HPP #include <stan/math/prim/scal/meta/return_type.hpp> #include <stan/math/prim/scal/prob/bernoulli_lpmf.hpp> namespace stan { namespace math { /** * @deprecated use <code>bernoulli_lpmf</code> */ t...
#include <algorithm> #include <iostream> #include <fstream> #include <cstdlib> #include <cstring> #include <cstdio> #include <string> #include <vector> #include <cmath> #include <queue> #include <map> #include <set> using namespace std; struct BubbleSortWithReversals { const static int YOLO_SWAG = 420; int bubble...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin Core developers // Copyright (c) 2014-2019 The Mazacoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "miner.h" #incl...
/* * * Copyright 2015 gRPC authors. * * 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 agree...
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
// written by bastiaan konings schuiling 2008 - 2015 // this work is public domain. the code is undocumented, scruffy, untested, and should generally not be used for anything important. // i do not offer support, so don't ask. to be used for inspiration :) #include "mainmenu.hpp" #include "../main.hpp" #include "cont...
/* * Tencent is pleased to support the open source community by making * WCDB available. * * Copyright (C) 2017 THL A29 Limited, a Tencent company. * All rights reserved. * * Licensed under the BSD 3-Clause License (the "License"); you may not use * this file except in compliance with the License. You may obtai...
/* * Copyright (c) 2015 Cryptonomex, Inc., and contributors. * * The MIT License * * 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...
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2015 VMware, Inc. or its affiliates. // // @filename: // CPhysicalDynamicScan.cpp // // @doc: // Base class for physical dynamic scan operators // // @owner: // // // @test: // //----------------------...
// STL includes #include <stdlib.h> int main(int argc, char* argv[]) { return EXIT_SUCCESS; }
<<<<<<< HEAD /* Copyright 2015 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 applic...
/* * Copyright Andrey Semashev 2007 - 2015. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) */ /*! * \file tagged_integer.hpp * \author Andrey Semashev * \date 11.01.2008 * * \brie...
#include <catch2/catch.hpp> #include <ssm/vector.hpp> template <typename T> using tvec1 = ssm::vector<T, 1>; template <typename T> using tvec2 = ssm::vector<T, 2>; template <typename T> using tvec3 = ssm::vector<T, 3>; template <typename T> using tvec4 = ssm::vector<T, 4>; template <typename T> using tvec5 = ssm::vec...
/////////////////////////////////////////////////////////////////////////////// // I2C management /////////////////////////////////////////////////////////////////////////////// struct I2C_Block { // // I2C Master // RW u32 MSA; // Master Slave Address RW u32 MCS; // Master Control/Status RW u32 MDR; // Master ...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Copyright (c) 2015-2017 The Store of Wealth Coin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "activemasterno...
#pragma once #ifndef _common_aes256_hpp #define _common_aes256_hpp #include <stdint.h> #include <assert.h> #include <memory.h> #include <vector> namespace epilog { namespace common { class aes256 { public: static const size_t KEY_SIZE = 32; static const size_t KEY_EXP_SIZE = 240; static const size_t BLOCK_SIZ...
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //=============================================================================// #include "cbase.h" #include <ctype.h> #include "sentence.h" #include "hud_closecaption.h" #include "tier1/strtools.h" #inc...
/*************** <auto-copyright.pl BEGIN do not edit this line> ************** * * osgBullet is (C) Copyright 2009-2012 by Kenneth Mark Bryden * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2.1 as published by the F...
// Copyright 2018 The Fuchsia Authors // // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file or at // https://opensource.org/licenses/MIT #include <align.h> #include <fbl/ref_ptr.h> #include <ktl/move.h> #include <object/pager_dispatcher.h> #include <object/vm_object...