text stringlengths 7 961k |
|---|
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#include "vm/compiler/backend/flow_graph_compiler.h"
#include "vm/globals.h" // Needed here to get TAR... |
/******************************************************************************
*
* Name: hfadataset.cpp
* Project: Erdas Imagine Driver
* Purpose: Imagine Compression code.
* Author: Sam Gillingham <sam.gillingham at nrm.qld.gov>
*
************************************************************************... |
//
// Created by jgoppert on 4/2/18.
//
#include "Ast.h"
#include <iostream>
namespace pumlg {
namespace ast {
void Root::walk(Listener &listener) {
listener.enterRoot(*this);
for (auto &c: this->classes) {
c.second.walk(listener);
}
listener.exitRoot(*this);
}
void ClassDefinition::walk(Listener &liste... |
/*=============================================================================
Copyright (c) 1998-2003 Joel de Guzman
Copyright (c) 2001-2003 Hartmut Kaiser
http://spirit.sourceforge.net/
Use, modification and distribution is subject to the Boost Software
License, Version 1.0. (See accompanying fi... |
// Copyright (c) 2011-2015 The Bitcoin Core developers
// Copyright (c) 2014-2020 The Dash Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "paymentserver.h"
#include "bitcoinunits.h"
#include "guiutil.h... |
/**
* The MIT License (MIT)
*
* Copyright (c) 2013-2020 Winlin
*
* 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,... |
// license:BSD-3-Clause
// copyright-holders:Sergey Svishchev
#include "emu.h"
#include "machine/genpc.h"
#include "cpu/i86/i86.h"
#include "bus/pc_joy/pc_joy.h"
#include "bus/pc_kbd/keyboards.h"
#include "machine/pc_fdc.h"
#include "formats/asst128_dsk.h"
extern const device_type ASST128_MOTHERBOARD;
class asst12... |
#include <iostream>
#include <string>
#include <vector>
#include "apps/utils/strings.hpp"
using namespace std;
struct Item
{
// Item(string name, string type, string stamp) : name(name), type(type), stamp(stamp) {}
string name;
string type;
string stamp;
};
int main()
{
vector<Item> elts = {
... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkOBJImporter.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is ... |
//===-- SchedClassResolution.cpp --------------------------------*- C++ -*-===//
//
// 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
//
//===---------------------------... |
// #define CATCH_CONFIG_MAIN // <-- is not working on Windows with Visual Studio 2017
#define CATCH_CONFIG_RUNNER
#include "catch.hpp"
int main(int argc, char* argv[])
{
int result = Catch::Session().run(argc, argv);
return result;
} |
#include "Space.h"
#include <cstring>
#include <iostream>
using namespace std;
//CONSTRUCTOS
Space::Space() {
spaceType = nullptr;
playersOnSpace = nullptr;
playersOnSpaceCount = 0;
}
Space::Space(char* spaceType, int* playersOnSpace, int playersOnSpaceCount) {
int size = strlen(spaceType);
this->spaceType = new... |
//#####################################################################
// Module Arrays
//#####################################################################
#include <geode/array/Array2d.h>
#include <geode/array/Nested.h>
#include <geode/python/numpy.h>
#include <geode/python/wrap.h>
using namespace geode;
namespa... |
#include "voice.h"
#include <iostream>
#include "godathan.h"
VoiceEventHandler::VoiceEventHandler(){
std::cout << "VEH Created" << std::endl;
}
VoiceEventHandler::~VoiceEventHandler(){
std::cout << "VEH Destroyed" << std::endl;
}
void VoiceEventHandler::onReady(SleepyDiscord::VoiceConnection& connection){
... |
// Copyright (c) 2006-2008 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/basictypes.h"
#include "base/file_path.h"
#include "base/file_util.h"
#include "base/path_service.h"
#include "chrome/browser/hist... |
// Copyright 2020 Tier IV, 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 applicable law or agreed to i... |
//==================================================================================================
/**
Copyright 2016 NumScale SAS
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
**/
//====================================... |
/* 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 applicable law or a... |
/******************************************************************************
* _ _____ __________ *
* | | / / _ | / __/_ __/ Visibility *
* | |/ / __ |_\ \ / / Across *
... |
/* 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 applicable law or a... |
#include "DirFs.h"
#include "FileMan.h"
ST::string DirFs::basePath() {
return m_basePath;
}
ST::string DirFs::absolutePath(const ST::string &path) {
return FileMan::joinPaths(m_basePath, path);
}
SGPFile *DirFs::openForWriting(const ST::string &path, bool truncate) {
return FileMan::openForWriting(absolu... |
template <typename... Matchers>
struct h2_matcher_tuple {
std::tuple<Matchers...> t_matchers;
explicit h2_matcher_tuple(const Matchers&... matchers) : t_matchers(matchers...) {}
template <typename T>
void __matchers(h2_vector<h2_matcher<T>>& v_matchers, std::integral_constant<std::size_t, 0>) const {}
t... |
#include "taskpool.h"
#include "taskconf.h"
#include <string.h>
#include <stdlib.h>
#include <assert.h>
#include <math.h>
#define add(head, item) (item)->next = (head); (head) = (item);
#define remove(T, head, item) \
T *node = (head); \
if (node == item) { \
(head) = (head)->next; \
(item)->next = NULL; \
} else ... |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long t, x, n, m, a;
cin >> t;
while(t--) {
set<long long> s;
vector<long long> v(3001, -1);
cin >> n >> m >> x;
for(long long i = 0; i < n; i++) {
cin >> a;
if(a >= m)
s.insert(i + 1);
else
v[a - ... |
/**********************************************************************
* Copyright (c) 2008-2015, Alliance for Sustainable Energy.
* All rights reserved.
*
* 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... |
#include <ros/ros.h>
#include <opencv2/core/core.hpp>
#include <tf2_sensor_msgs/tf2_sensor_msgs.h>
#include <sensor_msgs/PointCloud2.h>
#include <sensor_msgs/point_cloud2_iterator.h>
#include <tf2_ros/transform_listener.h>
#include <nav_msgs/Path.h>
#include <nav_msgs/Odometry.h>
#include "nanomap.h"
#include "nanomap... |
/*Header-MicMac-eLiSe-25/06/2007
MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation
eLiSe : ELements of an Image Software Environnement
www.micmac.ign.fr
Copyright : Institut Geographique National
Author : Marc Pierrot Deseilligny
Contributors : Gregoire Maillet, ... |
//===------------------------- AddressSpace.hpp ---------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//
// Abstracts accessing local vs remote add... |
#include <iostream>
#include <string>
#include <cstring>
using namespace std;
class VideoClip {
public:
VideoClip() {
m_videoLength = 0;
m_videoName = "NOT SET";
m_dataLength = 0;
m_data = 0;
}
VideoClip(float videoLength, string videoName, const char* data) {... |
#ifndef FREQUENTITEMMAP_HPP
#define FREQUENTITEMMAP_HPP
#include "typedef.hpp"
#include <fstream>
extern clock_t time_start;
class FrequentItemMapInterface
{
public:
FrequentItemMapInterface(std::ifstream *ifs, double supportThreshold);
ORDER_ITEM_MAP frequentItemMap;
unsigned int supportCount;
void debugItem... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
//
// sigparser.cpp
//
//
// Signature parsing code
//
#ifndef FEATURE_PAL
#include <tchar.h>
#endif
#include "strike.h"
#include "util.h"
#ifndef IfFailRet
#define IfFailRet(EXPR) ... |
//////////////////////////////////////////////////////////////////////////////
/// Copyright 2003 and onward LASMEA UMR 6602 CNRS/U.B.P Clermont-Ferrand
/// Copyright 2009 and onward LRI UMR 8623 CNRS/Univ Paris Sud XI
///
/// Distributed under the Boost Software License, Version 1.0
/// ... |
/** @file
A brief file description
@section license License
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 und... |
/* +------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| http://www.mrpt.org/ |
| |
| Cop... |
#include <iostream>
int main() {
using namespace std;
char buff[512];
cout << "What is your name?";
/*
There's a better way to do it. Check the
lecture on std::strings if you're curious :)
*/
cin.getline(buff, 64, '\n');
cout << "Your name is:" << buff << endl;
int age;
cin >> age... |
// ----------------------------------------------------------------------------
// "THE BEER-WARE LICENSE" (Revision 42):
// <ztn@zurreal.com> wrote this file. As long as you retain this notice you
// can do whatever you want with this stuff. If we meet some day, and you think
// this stuff is worth it, you can buy me... |
/*
* Copyright (c) 2011-2014 Mark D. Hill and David A. Wood
* 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 l... |
#include <iostream>
using namespace std;
int main(){
float annualSalary;
} |
/*
* Copyright (c) 2010-2013, 2015, 2017 ARM Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intellectual property relating
* to a hardware implementa... |
/*
Copyright 2017-2020 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, modify, merge, publish, distribu... |
// Copyright 2019 The Dawn 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 agreed t... |
/**
* Copyright 2021 Huawei Technologies Co., Ltd
*
* 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 ... |
/*-------------------------------------------------------------------------
* OpenGL Conformance Test Suite
* -----------------------------
*
* Copyright (c) 2017 The Khronos Group Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the L... |
//Pranav Sharma//
//“You don't have to be great to start, but you have to start to be great.”
// // Question to be explained ->
// You have a shelf containing N bottles of wine which are numbered from 0 to N-1. Every day you can pick a bottle either from the left end or from the right end and sell it. As we all know, w... |
//============================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE... |
/**
* Appcelerator Titanium License
* This source code and all modifications done by Appcelerator
* are licensed under the Apache Public License (version 2) and
* are Copyright (c) 2009-2012 by Appcelerator, Inc.
*/
/*
* Copyright (C) 2008 Apple Inc. All rights reserved.
*
* Redistribution and use in source an... |
/*
* Simd Library (http://ermig1979.github.io/Simd).
*
* Copyright (c) 2011-2021 Yermalayeu Ihar.
*
* 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 limi... |
// 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 may... |
/*
* GWEN
* Copyright (c) 2010 Facepunch Studios
* See license in Gwen.h
*/
#include "Gwen/Gwen.h"
#include "Gwen/Platform.h"
#include "Gwen/Controls/Dialogs/FileSave.h"
using namespace Gwen;
using namespace Gwen::Dialogs;
void Gwen::Dialogs::FileSaveEx(bool bUseSystem, const String& Name, const String& Start... |
/*
* 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 belo... |
/*
* (c) Copyright 2016 Hewlett Packard Enterprise Development LP
*
* 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 requi... |
// ********************************************************************
// Copyright (c) 2019 Nathan Hanlan
//
// 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, includ... |
//
// Created by Sam Gateau on 2017/04/13
// Copyright 2013-2017 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#include "GLBackend.h"
#include "GLShader.h"
#include <gl/GLShaders.h>
using names... |
/*
Let's call a number a binary decimal if it's a positive integer and all digits in its decimal notation are either 0 or 1. For example, 1010111 is a binary decimal, while 10201 and 787788 are not.
Given a number n, you are asked to represent n as a sum of some (not necessarily distinct) binary decimals. Compute the ... |
#include "Model.h"
#include "Globals.h"
#include "Application.h"
#include "Mesh.h"
Model::Model()
{
}
Model::~Model()
{
}
bool Model::Load(const char* file_name) {
const aiScene* scene = aiImportFile(file_name, aiProcess_Triangulate);
LOG("Loading model... : %s", file_name);
//Output->Print("Loading model... : %s... |
#include <deque>
#include <map>
#include <memory>
#include <string>
#include <sys/types.h>
#include <utility>
#include "../../message.h"
#include "../../message_buffer.h"
#include "cookie_jar.h"
using std::move;
using std::string;
using std::unique_ptr;
Cookie::Cookie(ChannelID channel_id, std::string &&from_path, E... |
/**
* Copyright (C) 2012 10gen Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful... |
/*******************************************************************************
* Copyright (c) 2019 Konduit K.K.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
* Unles... |
// Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "pipelines.h"
#include "../utils.h"
#include "common_utils.h"
#include <iostream>
#include <string>
#include <inference_engine.hpp>
#include <openvino/openvino.hpp>
std::function<void()> load_unload_plugin(const std::st... |
//Copyright (C) 2010-2012 by Jason L. McKesson
//This file is licensed under the MIT License.
/***********************************************************************
This file contains all of the functions you need to implement, as well as
when/why they are called. You can copy this file and simply implement
these f... |
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The SPDZ developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "netbase.h"
#include "masternodeconfig.h"
#include "util.h"
#include "ui_... |
///////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2012, Industrial Light & Magic, a division of Lucas
// Digital Ltd. LLC
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... |
/*=========================================================================
Program: Visualization Toolkit
Module: $RCSfile$
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distrib... |
/* Siconos is a program dedicated to modeling, simulation and control
* of non smooth dynamical systems.
*
* Copyright 2021 INRIA.
*
* 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
*
*... |
/*
* Copyright (c) 2016, Graphics Lab, Georgia Tech Research Corporation
* Copyright (c) 2016, Humanoid Lab, Georgia Tech Research Corporation
* Copyright (c) 2016, Personal Robotics Lab, Carnegie Mellon University
* All rights reserved.
*
* This file is provided under the following "BSD-style" License:
* Redi... |
#include "Box.h"
Box::Box(int pos_top_corner_x, int pos_top_corner_y,
int pos_right_bottom_x, int pos_right_bottom_y)
{
pos1 = new Position(pos_top_corner_x, pos_top_corner_y);
pos2 = new Position(pos_right_bottom_x, pos_right_bottom_y);
pos_center = 0;
}
Position* Box::GetCenterPosi... |
#include <cstdio>
#include <string>
#include <unordered_map>
#include <vector>
#include <Loader.h>
#include <MC.h>
#include <unistd.h>
#include <cstdarg>
#include "bossbar.command.h"
#include "base.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
using std::string;
using std::unordered_map;
const ch... |
// Copyright (c) 2019 Johannes Delport
// This code is licensed under MIT license (see LICENSE for details)
#ifndef JOSIM_J_MATRIX_H
#define JOSIM_J_MATRIX_H
#include "./AnalysisType.hpp"
#include "./Components.hpp"
#include "./Input.hpp"
#include "./Errors.hpp"
#include "./RelevantTrace.hpp"
#include <unordered_map>... |
//
// Draw Graph in a plane
//
// Input:
// Int iDirected - 0 if undirected graph
// Nodes:
// Int nn - number of nodes
// Tchar *[nn] - name of nodes
// Color [nn] - color of nodes
// Links
// Int nl - number of links
// Tchar *[nl] - name of link
// Color [nl] - color of link
// ... |
#include "sierpinski.h"
Sierpinski::Sierpinski(int iterationCount)
{
Vertex v1{0.0f, 1.0f};
Vertex v2{0.866f, -0.5f};
Vertex v3{-0.866f, -0.5f};
add(v1, v2, v3);
for (int i = 0; i < iterationCount; i++)
{
iterate();
}
}
Sierpinski::Vertex Sierpinski::mid(const Sierpinski::Vertex ... |
/*
* Copyright (c) 2012,2015 ARM Limited
* All rights reserved.
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intellectual property relating
* to a hardware implementation of the... |
// condition_variable -*- C++ -*-
// Copyright (C) 2008, 2009 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 Foundati... |
// Copyright 2018 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/ash/login/ui/kiosk_app_menu_controller.h"
#include <utility>
#include "ash/public/cpp/kiosk_app_menu.h"
#include "ash/public/cp... |
/*
* 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 ma... |
/* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#include <sstream>
#include <limits>
#include <map>
#include "ifcpp/reader/ReaderUtil.h"
#include "ifcpp/writer/WriterUtil.h"
#include "ifcpp/model/BasicTypes.h"
#include "ifcpp/model/BuildingException.h"
#include "ifcpp/IFC4/include/IfcObjectTypeEnu... |
#pragma once
#include <mbgl/layermanager/layer_manager.hpp>
#include <mbgl/map/map.hpp>
#include <mbgl/style/layer.hpp>
#include "layer.hpp"
#include <jni/jni.hpp>
#include <memory>
#include <vector>
namespace mbgl {
namespace android {
/**
* @brief A singleton class forwarding calls to the corresponding \c Jav... |
/* Exceptions_jni.cpp
* WhirlyGlobeLib
*
* Created by Tim Sylvester on 3/8/2021
* Copyright 2021-2021 mousebird consulting
*
* 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... |
/*******************************************************************************
* SpPhrase.Cpp *
*--------------*
* Description:
* This is the cpp file for the SpPhraseClass.
*-------------------------------------------------------------------------------
* Created By: RAL ... |
#include "Texture.h"
#define STB_IMAGE_IMPLEMENTATION
#include "stb-master/stb_image.h"
#include <gli/gli.hpp>
#include "vk_mem_alloc.h"
using namespace smug;
VkTexture::VkTexture() {
}
VkTexture::~VkTexture() {
}
void VkTexture::Init(const eastl::string& filename, DeviceAllocator* allocator, const VkDevice& device... |
/**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organiz... |
// Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: UnityEngine.MonoBehaviour
#include "UnityEngine/MonoBehaviour.hpp"
// Includi... |
#include "rpcconsole.h"
#include "ui_rpcconsole.h"
#include "clientmodel.h"
#include "bitcoinrpc.h"
#include "guiutil.h"
#include <QTime>
#include <QTimer>
#include <QThread>
#include <QTextEdit>
#include <QKeyEvent>
#include <QUrl>
#include <QScrollBar>
#include <openssl/crypto.h>
// TODO: make it possible to filt... |
// Copyright Carl Philipp Reh 2009 - 2016.
// 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)
#ifndef FCPPT_LOG_DETAIL_TEMPORARY_OUTPUT_FWD_HPP_INCLUDED
#define FCPPT_LOG_DETAIL_TEMPORARY_OUTP... |
//=================================================================================================
/*!
// \file src/mathtest/smatdmatadd/SCaSDa.cpp
// \brief Source file for the SCaSDa sparse matrix/dense matrix addition math test
//
// Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved
//
// This file ... |
/*
* Copyright (c) 2021 Samsung Electronics Co., Ltd. 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... |
/*
* catch_generators_impl.hpp
* Catch
*
* Created by Phil on 28/01/2011.
* Copyright 2011 Two Blue Cubes Ltd. All rights reserved.
*
* 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)
*
*/
#ifndef TWOBL... |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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... |
#include "definition.h"
#include "device.h"
namespace VulkanTest
{
namespace GPU
{
void SamplerDeleter::operator()(Sampler* sampler)
{
sampler->device.samplers.free(sampler);
}
Sampler::~Sampler()
{
if (sampler != VK_NULL_HANDLE)
{
if (isImmutable)
vkDestroySampler(device.device, sampler, nullptr);
... |
/*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... |
#include <GL/freeglut.h>
#include <vector>
#include <Eigen/Eigen>
#include <iostream>
#include "../../perspective_camera_tait_bryan_wc_jacobian.h"
#include "../../perspective_camera_rodrigues_wc_jacobian.h"
#include "../../perspective_camera_quaternion_wc_jacobian.h"
#include "../../quaternion_constraint_jacobian.h"
#... |
/* Copyright 2012 SRI International
* See LICENSE for other credits and copying information.
*/
//#warning "Subprocess creation for Windows not yet implemented.n"
#include "util.h"
#include "subprocess.h"
using namespace std;
subprocess::subprocess(std::vector<std::string> const& args,
std:... |
// 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: MasterServerConnectio... |
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================
#include "cbase.h"
#include "mp_shareddefs.h"
#include "teamplayroundbased_gamerules.h"
#ifdef CLIENT_DLL
#include "iclientmode.h"
#include ... |
#include "LargestConnectedComponentView.h"
#include "iqf_main.h"
#include "Res/R.h"
#include "ITKImageTypeDef.h"
//Qt
#include <QInputDialog>
//qmitk
#include "QmitkDataStorageComboBox.h"
//mitk
#include "mitkImageCast.h"
#include "mitkLabelSetImage.h"
//itk
#include "itkConnectedComponentImageFilter.h"
#include "it... |
/***** VSNFTaskHolder Implementation *****/
/************************
************************
***** Interfaces *****
************************
************************/
/********************
***** System *****
********************/
#include "Vk.h"
/******************
***** Self *****
***************... |
#include "../include/v_repLib.h"
#include <stdio.h>
#if defined (__linux) || defined (__APPLE__)
#include <dlfcn.h>
#endif
#ifndef V_REP_LIBRARY
ptrSimRunSimulator simRunSimulator=0;
ptrSimGetSimulatorMessage simGetSimulatorMessage=0;
ptrSimGetMainWindow simGetMainWindow=0;
ptrSimGetLastError simGetLastError=0;
p... |
#include <optional>
#include <string_view>
#include <thread>
#include "partition_map.h"
#include "state.h"
#include "score.h"
#include "absl/container/flat_hash_set.h"
#include "absl/synchronization/mutex.h"
using namespace wordle;
// low_len and high_len are inclusive
void concoct(int num_threads, int low_len) {
... |
// 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/compiler/js-operator.h"
#include <limits>
#include "src/base/lazy-instance.h"
#include "src/compiler/opcodes.h"
#include "src/compiler/o... |
/* Copyright 2017 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... |
#include "duckdb/common/enums/logical_operator_type.hpp"
using namespace std;
namespace duckdb {
//===--------------------------------------------------------------------===//
// Value <--> String Utilities
//===--------------------------------------------------------------------===//
string LogicalOperatorToString(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.