text
stringlengths
5
1.04M
#include "huaweicloud/ecs/v2/model/DeleteServersRequestBody.h" namespace HuaweiCloud { namespace Sdk { namespace Ecs { namespace V2 { namespace Model { DeleteServersRequestBody::DeleteServersRequestBody() { deletePublicip_ = false; deletePublicipIsSet_ = false; deleteVolume_ = false; deleteVolume...
/**************************************************************************** * * Copyright (c) 2013-2015 PX4 Development Team. 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. Red...
#include "./Game.h" #include <iostream> #include "../lib/glm/glm.hpp" #include "./AssetManager.h" #include "./Components/ColliderComponent.h" #include "./Components/KeyboardControlComponent.h" #include "./Components/ProjectileEmitterComponent.h" #include "./Components/SpriteComponent.h" #include "./Components/TextLab...
// Copyright 2020 The XLS 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...
/***************************************************************************** * * * OpenNI 2.x Alpha * * Copyright (C) 2012 PrimeSense Ltd. * * ...
// Copyright (c) 2014-2018, The Monero Project // // 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 o...
#include <memory> #include "gtest/gtest.h" #include "mathFunctions/functionFactory.hpp" namespace ablateTesting::mathFunctions { TEST(FunctionFactoryTests, ShouldCreateFunctionForStatelessLambda) { // arrange auto function = ablate::mathFunctions::Create([](int dim, double time, auto loc, int nf, auto u, auto ...
#include "GWidget.h" #include "GEvent.h" #include "GEventLoop.h" #include "GWindow.h" #include <AK/Assertions.h> #include <AK/JsonObject.h> #include <LibGUI/GAction.h> #include <LibGUI/GApplication.h> #include <LibGUI/GLayout.h> #include <LibGUI/GMenu.h> #include <LibGUI/GPainter.h> #include <LibDraw/GraphicsBitmap.h> ...
#include <stan/math/rev/mat.hpp> #include <gtest/gtest.h> #include <test/unit/math/rev/mat/fun/util.hpp> #include <test/unit/math/rev/mat/util.hpp> TEST(AgradRevMatrix,eigenval_sum) { using stan::math::sum; using stan::math::matrix_v; using stan::math::vector_v; using stan::math::eigenvalues_sym; matrix_v a...
//================================================================================================= /*! // \file src/mathtest/smatsmatadd/LCaDCb.cpp // \brief Source file for the LCaDCb sparse matrix/sparse matrix addition math test // // Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved // // This file...
/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. Y...
// // StatusLayer.cpp // FlappyBird // // Created by 夏旸 on 16/7/19. // // #include "StatusLayer.h" #include "NumberSeries.h" #include "SimpleAudioEngine.h" using namespace CocosDenshion; StatusLayer::StatusLayer(){}; StatusLayer::~StatusLayer(){}; bool StatusLayer::init(){ if (!Layer::init()){ return false;...
#pragma once #include "agl/glsl/vec/vec.hpp" namespace agl { template<typename T> constexpr T max(T t0, T t1) { return (t0 > t1) ? t0 : t1; } template<typename T, std::size_t N> constexpr Vec<T, N> max(const Vec<T, N>& v0, const Vec<T, N>& v1) { auto m = Vec<T, N>(); for(std::size_t i = 0; i < size(m); ...
#include "modulate.h" namespace weserv { namespace api { namespace processors { VImage Modulate::process(const VImage &image) const { auto brightness = query_->get_if<float>( /*"bri"*/"mod", [](float b) { // Brightness needs to be in range of 0 - 10000 return b >= 0 && b <=...
#include <SFML/Graphics.hpp> int main() { const unsigned int HOR = 192; const unsigned int VERT = 108; const unsigned int PIXELS_PER_UNIT = 10; sf::RenderWindow* window = new sf::RenderWindow( sf::VideoMode(HOR * PIXELS_PER_UNIT, VERT * PIXELS_PER_UNIT), "Conway's Game of Life - https://github.com/manoyes"); ...
/*============================================================================== Copyright (c) Kapteyn Astronomical Institute University of Groningen, Groningen, Netherlands. All Rights Reserved. See COPYRIGHT.txt or http://www.slicer.org/copyright/copyright.txt for details. Unless required by applicable l...
/**************************************************************************** * * Copyright (c) 2018 - 2019 PX4 Development Team. 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. R...
#include "bits/stdc++.h" using namespace std; using namespace std; typedef long long ll; typedef vector<ll> vli; typedef vector< vli > vvli; ///////////////////////// #define F first #define S second #define PB push_back #define MP make_pair #define loop(i,a,b) for (ll i = a; i < b; i++) /////////////////...
/*========================== begin_copyright_notice ============================ Copyright (C) 2021 Intel Corporation SPDX-License-Identifier: MIT ============================= end_copyright_notice ===========================*/ #include <cm-cl/vector.h> #include <opencl_def.h> using namespace cm; extern "C" { #in...
#include <ros/ros.h> #include <std_msgs/String.h> #include <std_msgs/Char.h> #include <std_msgs/Int32.h> #include <vector> #include <sys/stat.h> #include <termios.h> //#include <term.h> #include <unistd.h> //socket #include <sys/types.h> #include <sys/socket.h> #include <sys/wait.h> #include <arpa/inet.h> #inclu...
/* * Copyright (c) 2022, Idan Horowitz <idan.horowitz@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #include <LibJS/Runtime/GlobalObject.h> #include <LibJS/Runtime/Intl/SegmentIterator.h> #include <LibJS/Runtime/Intl/Segments.h> namespace JS::Intl { // 18.6.1 CreateSegmentIterator ( segmenter, str...
/* * 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 2010 Google Inc. All Rights Reserved. // Authors: gpike@google.com (Geoff Pike), jyrki@google.com (Jyrki Alakuijala) // // This file provides CityHash64() and related functions. // // The externally visible functions follow the naming conventions of // hash.h, where the size of the output is part of the na...
// Copyright (c) 2015-2017 The BitCore Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <vector> #include "prevector.h" #include "serialize.h" #include "streams.h" #include "test/test_bitcore.h" #includ...
/* * UAVCAN data structure definition for libuavcan. * * Autogenerated, do not edit. * * Source file: /Users/bendyer/Projects/ARM/workspace/libuavcan/dsdl/uavcan/equipment/air_data/1028.StaticPressure.uavcan */ #ifndef UAVCAN_EQUIPMENT_AIR_DATA_STATICPRESSURE_HPP_INCLUDED #define UAVCAN_EQUIPMENT_AIR_DATA_STATIC...
// // Created by xiaoyong on 2021/1/27. // #include "Video2Mat.h" int main(int argc, char** argvs){ if(argc <= 2) return -1; Logger log; log.Info("Start process."); Video2Mat v2m; v2m.params.file = argvs[1]; v2m.params.folder = argvs[2]; v2m.params.skip = 1; v2m.params.ext = "png";...
// Boost.Geometry (aka GGL, Generic Geometry Library) // Unit Test // Copyright (c) 2012-2014 Barend Gehrels, Amsterdam, the Netherlands. // Use, modification and distribution is subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_...
/** * particle_filter.cpp * * Created on: Dec 12, 2016 * Author: Tiffany Huang */ #include "particle_filter.h" #include <math.h> #include <algorithm> #include <iostream> #include <iterator> #include <numeric> #include <random> #include <string> #include <vector> #include <cmath> // #include <list> #include "hel...
// 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 "ui/oak/oak_tree_model.h" #include "base/utf_string_conversions.h" #include "ui/aura/root_window.h" #include "ui/aura/window.h" #include "ui...
/* Copyright 2016 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...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin Core developers // Copyright (c) 2014-2017 The polis Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "amount.h" #include "bas...
#include "DP_Print_inc.h" #include "zh_printer.h" static unsigned char gucCheckPassWord=0; /* 初始化打印机,清除打印缓冲 a*/ void InitializePrint(void) { /* 初始化打印机,清除打印缓冲 */ UART_SendByte(0x1B); UART_SendByte(0x40); gucCheckPassWord = 1; } /* 每调用一次,打印位置向后移动一定字的符单位 a*/ void jump_lattice(void) { if(!gucCheck...
#include <ctime> #include <cstdlib> #include <typeinfo> #include "Snap.h" int main(int argc, char* argv[]) { const clock_t begin_time = clock(); PUNGraph Graph = TSnap::LoadEdgeList<PUNGraph>("cit-Patents.txt", 0, 1); printf("time for reading cit-Patents.txt:"); printf("%g\n", float(clock() - begi...
#if 1 #include<iostream> using namespace std; enum Color { RED, BLACK }; struct Node { long long int data; bool color; Node *left, *right, *parent; long long int index; // number of noodes on the left side tree of this node. // Constructor Node(long long int data) { this->data = data; left ...
// // Created by zhongzhendong on 2018-12-28. // #define CATCH_CONFIG_MAIN #include <catch2/catch.hpp> #include <vector> #include <map> using namespace std; /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ ...
//$Id: SolverVariablesPanel.cpp 9514 2011-04-30 21:44:00Z djcinsb $ //------------------------------------------------------------------------------ // SolverVariablesPanel //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool /...
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QWebEngineView> #include <QLineEdit> #include <QNetworkRequest> #include <QNetworkReply> #include <QNetworkAccessManager> #include <QListWidget> #include <QWebEngineHistory> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ...
// Copyright (c) 2009-2014 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 "uritests.h" #include "guiutil.h" #include "walletmodel.h" #include <QUrl> void URITests::uriTests() { SendCo...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 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 "alert.h" #include "checkpoints.h" #include "db.h" #include "txdb.h" #inc...
//===-- FunctionErrorPropagator.cpp - Error Propagator ----------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/* Copyright 2007 Albert Strasheim <fullung@gmail.com> 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 ...
/** * eZmax API Definition (Full) * This API expose all the functionnalities for the eZmax and eZsign applications. * * The version of the OpenAPI document: 1.1.7 * Contact: support-api@ezmax.ca * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-gener...
#include <gmock/gmock.h> #include <vector> #include "MaxWeightIndependentSet.hpp" using namespace testing; using namespace DynamicProgramming; TEST(PathGraph, CorrectMaxWeightIndependentSet) { auto path = std::vector<unsigned>{1, 4, 5, 4}; ASSERT_THAT(totalWeightOfMWIS(path), 8); } TEST(PathGraph, CorrectNod...
// Copyright 2015 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/runtime/runtime-utils.h" #include "src/arguments.h" #include "src/objects-inl.h" namespace v8 { namespace internal { RUNTIME_FUNCTION(R...
/* * Copyright 2011 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. All contributing ...
// // Created by william on 4/6/22. // #include "MultiplayerScreen.h" #include "client/wagyourgui/GLFWSession.h" #include "client/wagyourgui/elements/TextInput.h" #include "client/wagyourgui/DrawableHelper.h" #include "ConnectingScreen.h" #include "MainMenuScreen.h" #include <algorithm> #include <string> using namesp...
#include "utils.h" #include "crypto/sha2.h" #include "flaggedarrayset.h" #include "relayprocess.h" #include <stdio.h> #include <sys/time.h> #include <algorithm> #include <random> #include <string.h> #include <unistd.h> void do_nothing(...) {} #ifdef BENCH #define PRINT_TIME do_nothing #else #define PRINT_TIME printf...
#include <functional> #include <string> #include <iostream> #include "src/trie.hpp" /* quick example class for handling extra data */ class metadata { public: int somethingA; int somethingB; }; void example() { std::cout << "hello world!" << std::endl; } int main() { /* Create our Tr...
// // Created by egordm on 19-3-18. // #include "segmentation_helper.h" #include "../cvision/segmentation.h" #include "../cvision/visualization.h" using namespace cvision::algorithms; using namespace cvision::evaluation; Mat ComplexSegmentationHelper::draw(const cv::Mat &src, const cv::Mat &original) { frame = ...
#include "envoy/extensions/filters/network/direct_response/v3/config.pb.h" #include "envoy/extensions/filters/network/direct_response/v3/config.pb.validate.h" #include "envoy/registry/registry.h" #include "envoy/server/filter_config.h" #include "common/config/datasource.h" #include "extensions/filters/network/common/...
//1462 #include <iostream> #include <fstream> #include <cmath> #include <cctype> #include <stdlib.h> #include <string.h> #define zero 1e-8 #define MAXN 110 using namespace std; double t[MAXN]; char code[MAXN][MAXN][MAXN], name[100][100], del[300], *tok; int m[MAXN], N, n; double state[MAXN][MAXN], A[MAXN...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/greengrassv2/model/DeploymentComponentUpdatePolicyAction.h> #include <aws/core/utils/HashingUtils.h> #include <aws/core/Globals.h> #include <aws/core/utils/EnumParseOverflowContainer.h> ...
/* Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved. 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, co...
#include "ActionManagerTest.h" #include "../testResource.h" #include "cocos2d.h" enum { kTagNode, kTagGrossini, kTagSequence, }; Layer* nextActionManagerAction(); Layer* backActionManagerAction(); Layer* restartActionManagerAction(); static int sceneIdx = -1; #define MAX_LAYER 5 Layer* createActi...
// Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2017-2018 The PIVX developers // Copyright (c) 2018 The FASTNODE developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "core_io.h" #include "b...
//===-- Instructions.cpp - Implement the LLVM instructions ----------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/* * GraphBLAS Template Library (GBTL), Version 3.0 * * Copyright 2020 Carnegie Mellon University, Battelle Memorial Institute, and * Authors. * * THIS MATERIAL WAS PREPARED AS AN ACCOUNT OF WORK SPONSORED BY AN AGENCY OF * THE UNITED STATES GOVERNMENT. NEITHER THE UNITED STATES GOVERNMENT NOR THE * UNITED STA...
// SystemPage.cpp #include "StdAfx.h" #include "../../../Common/MyWindows.h" #include <ShlObj.h> #include "../../../Common/Defs.h" #include "../../../Common/StringConvert.h" #include "../../../Windows/DLL.h" #include "../../../Windows/ErrorMsg.h" #include "HelpUtils.h" #include "IFolder.h" #includ...
/*============================================================================ CMake - Cross Platform Makefile Generator Copyright 2000-2009 Kitware, Inc., Insight Software Consortium Distributed under the OSI-approved BSD License (the "License"); see accompanying file Copyright.txt for details. This softwa...
// Copyright 2017 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 "content/browser/webauth/authenticator_impl.h" #include <string> #include <utility> #include "base/timer/timer.h" #include "content/browser/web...
/* * Copyright (c) 2015 Andrew Kelley * * This file is part of zig, which is MIT licensed. * See http://opensource.org/licenses/MIT */ #include "analyze.hpp" #include "codegen.hpp" #include "error.hpp" #include "astgen.hpp" #include "ir.hpp" #include "ir_print.hpp" #include "os.hpp" #include "parser.hpp" #include...
/***** CLAIRE Compilation of file /Users/ycaseau/claire/v3.5/src/compile/odefine.cl [version 3.5.01 / safety 5] Sun Jul 24 08:43:46 2016 *****/ #include <claire.h> #include <Kernel.h> #include <Core.h> #include <Language.h> #include <Reader.h> #include <Optimize.h> ClaireType * c_type_List_Optimize(List *v13...
// generated from // rosidl_typesupport_introspection_cpp/resource/srv__rosidl_typesupport_introspection_cpp.hpp.em // generated code does not contain a copyright notice #ifndef RCL_INTERFACES__SRV__SET_PARAMETERS__ROSIDL_TYPESUPPORT_INTROSPECTION_CPP_HPP_ #define RCL_INTERFACES__SRV__SET_PARAMETERS__ROSIDL_TYPESUPPOR...
#include "BlobDataController.h" VerticalSequencer::VerticalSequencer(float loopTime, int channel, ofColor col) { mChannel = channel; mCol.set(col); mLoopTime = loopTime; setup(); } void VerticalSequencer::setup() { mPos = mLastPos = 0; } void VerticalSequencer::update(float tick) { mLastPos =...
// { Driver Code Starts #include <iostream> using namespace std; // } Driver Code Ends class Solution{ public: // Function to find equilibrium point in the array. // a: input array // n: size of array int equilibriumPoint(long long a[], int n) { // Your code here ...
#include <iostream> #include "SDL.h" #include "SDL_opengl.h" #include "IRenderWorld.hpp" #include "glm/gtc/matrix_transform.hpp" constexpr int Width = 1280; constexpr int Height = 720; /* Generally, the way this works is the following: * Create the window using your preferred framework (in this case ...
// Copyright 2014 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/ui/app_list/search/omnibox_result.h" #include <stddef.h> #include "base/strings/string_split.h" #include "base/strings/utf_stri...
version https://git-lfs.github.com/spec/v1 oid sha256:b09270e5e76688f9093c055d4f92cf82d612cbc2f3d3d69e2343bbfd3acb8b13 size 425
/* * * * * * * * * * * * * * * * * * * * * @author: Xingjian Bai * @date: 2020-12-30 15:29:36 * @description: * /Users/jackbai/Desktop/Goodbye2020/data.cpp * * @notes: * g++ -fsanitize=address -ftrapv data.cpp * * * * * * * * * * * * * * * * * */ #include <bits/stdc++.h> #define ...
/* * Copyright (c) 2019, The OpenThread Authors. * 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 ...
#include <catboost/libs/model/model_import_interface.h> #include <catboost/libs/model/model_build_helper.h> #include <catboost/private/libs/algo/learn_context.h> #include <catboost/private/libs/algo/split.h> #include <catboost/libs/helpers/progress_helper.h> namespace NCB{ class TCPUSnapshotModelLoader : public ...
/*********************************************************************************/ /********** THIS FILE IS GENERATED BY TOUCHGFX DESIGNER, DO NOT MODIFY ***********/ /*********************************************************************************/ #ifndef SIMCONSTANTS_HPP #define SIMCONSTANTS_HPP static unsigned s...
/* * Copyright 2010-2017 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" fil...
//https://codeforces.com/group/Rv2Qzg0DgK/contest/286457/problem/H #include <bits/stdc++.h> using namespace std; #define F first #define S second typedef long long ll; typedef long double ld; ll mod = 1e9 + 7; int main () { ios_base::sync_with_stdio (0); cin.tie (0); cout.tie (0); int n, m, a, b; cin >> n >> m >> ...
#include <iostream> int main() { std::cout << "Hello World!" << std::endl; return 0; }
/** * Copyright (C) 2016-2022 Xilinx, Inc * * 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
#include "CppUTest/TestHarness.h" #include "timelib.h" TEST_GROUP(j2000) { }; TEST(j2000, J2000Epoch) { double d = 946728000; double js = timelib_ts_to_j2000(d); DOUBLES_EQUAL(0, js, 0.0000001); } TEST(j2000, August2017) { double d = 1502755200; double js = timelib_ts_to_j2000(d); DOUBLES_EQUAL(6435.5, js, 0...
#ifndef SPROUT_FUNCTIONAL_BIND2ND_HPP #define SPROUT_FUNCTIONAL_BIND2ND_HPP #include <sprout/config.hpp> #include <sprout/functional/base.hpp> namespace sprout { // Copyright (C) 2011 RiSK (sscrisk) // D.9.3 Class template binder2nd template<typename Fn> class binder2nd : public sprout::unary_funct...
/* * This file contains code from "C++ Primer, Fifth Edition", by Stanley B. * Lippman, Josee Lajoie, and Barbara E. Moo, and is covered under the * copyright and warranty notices given in that book: * * "Copyright (c) 2013 by Objectwrite, Inc., Josee Lajoie, and Barbara E. Moo." * * * "The authors a...
// 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 "fuchsia/engine/browser/frame_impl.h" #include <fuchsia/ui/gfx/cpp/fidl.h> #include <lib/fpromise/result.h> #include <lib/sys/cpp/component_cont...
class Solution { public: vector<string> letterCasePermutation(string S) { vector<string> res; backtracking(S,0,res); return res; } private: void backtracking(string& S,int idx, vector<string>& res){ res.push_back(S); for(int i=idx;i<S.size();i++){ if(isdig...
// 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 "content/test/image_decoder_test.h" #include <stddef.h> #include <memory> #include "base/files/file_enumerator.h" #include "base/files/fil...
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2019 ArangoDB GmbH, Cologne, Germany /// /// 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...
/************************************************************************* * * * Open Dynamics Engine, Copyright (C) 2001,2002 Russell L. Smith. * * All rights reserved. Email: russ@q12.org Web: www.q12.org * * ...
/* ========================================================================= Copyright (c) 2010-2012, Institute for Microelectronics, Institute for Analysis and Scientific Computing, TU Wien. Portions of this software are copyright by UChicago Argonne, L...
/*************************************************************************/ /* scene_tree_dock.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
/**************************************************************************** Copyright (c) 2008-2010 Ricardo Quesada Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2011 Zynga Inc. Copyright (c) 2013-2016 Chukong Technologies Inc. Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.or...
/*************************************************************************/ /* Xania (M)ulti(U)ser(D)ungeon server source code */ /* (C) 2021 Xania Development Team */ /* See merc.h and README for original copyrights */ /***************...
/////////////////////////////////////////////////////////////////////////////////////// // Data Analysis Code Project for the External Target Facility, HIRFL-CSR, @IMP // // // // BINGER/inc/etf/TAMath/iterFit4Single.cxx // // iterFit4Single.cxx -- ...
// Tests undefining macros. //- @M defines MacroM #define M //- @M undefines MacroM #undef M #undef NEVER_DEFINED //- @M defines OtherMacroM #define M //- @M undefines OtherMacroM #undef M
#pragma once #include <served/served.hpp> void system_general_get(served::response &, const served::request &); void system_location_get(served::response &, const served::request &); void system_location_put(served::response &, const served::request &); void system_location_post(served::response &, const served::reque...
/*! @file @brief 置換ダイアログ @author Norio Nakatani @date 2001/06/23 N.Nakatani 単語単位で検索する機能を実装 */ /* Copyright (C) 1998-2001, Norio Nakatani Copyright (C) 2001, genta, Stonee, hor, YAZAKI Copyright (C) 2002, MIK, hor, novice, genta, aroka, YAZAKI Copyright (C) 2006, かろと, ryoji Copyright (C) 2007, ryoji Copyright...
#include "CResourceManager.h" CResourceManager::CResourceManager() { m_nextTextId = 1; m_nextUIId = 1; m_modified = false; } CResourceManager::~CResourceManager() { for (std::map<UINT32, PackageText*>::iterator it = m_textDatabase.begin(); it != m_textDatabase.end(); it++) { if (it->second->source...
// Copyright (C) 2010 Vicente Botet // // 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 <iostream> #include <boost/thread.hpp> class Worker { public: Worker() { // the thre...
/* Meddly: Multi-terminal and Edge-valued Decision Diagram LibrarY. Copyright (C) 2011, Iowa State University Research Foundation, Inc. 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 Softwar...
#ifndef SK_VULKAN #define SK_VULKAN #endif #include "include/gpu/GrBackendDrawableInfo.h" #include "include/gpu/GrBackendSurface.h" #include "include/gpu/GrDirectContext.h" #include "include/gpu/vk/GrVkVulkan.h" #include "include/gpu/vk/GrVkTypes.h" #include "include/gpu/vk/GrVkBackendContext.h" #include "include/...
#include <Common/Strategy/strategybase.h> #include <Common/config.h> #include <Common/Time/timeutil.h> #include <Common/Order/ordermanager.h> namespace EliteQuant { extern std::atomic<bool> gShutdown; StrategyBase::StrategyBase() { } StrategyBase::~StrategyBase() { } void StrategyBase::initialize() { initi...
#pragma region template 2.4 #include <bits/stdc++.h> using namespace std; template <typename T> using pq_asc = priority_queue<T, vector<T>, greater<T>>; typedef long long ll; typedef vector<ll> vi; typedef vector<vi> vvi; typedef pair<ll, ll> ii; typedef vector<ii> vii; typedef vector<string> vs; #define REP(i, n) for ...
/*BEGIN_LEGAL Intel Open Source License Copyright (c) 2002-2012 Intel Corporation. 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 noti...
#include "pch.h" #include "VideoRenderer.h" #include "Common\DirectXHelper.h" #include "Windows.Graphics.DirectX.Direct3D11.interop.h" #include "AppView.h" using namespace _360VideoPlayback; using namespace concurrency; using namespace DirectX; using namespace Microsoft::WRL; using namespace std::placeholder...