text stringlengths 5 1.04M |
|---|
#ifdef PEGASUS_OS_FREEBSD
#ifndef __UNIX_COLLECTEDSOFTWAREELEMENTS_PRIVATE_H
#define __UNIX_COLLECTEDSOFTWAREELEMENTS_PRIVATE_H
#endif
#endif
|
class Solution {
public:
bool canBeIncreasing(vector<int>& nums) {
bool removed = false;
for (int i = 1; i < nums.size(); ++i)
if (nums[i - 1] >= nums[i]) {
if (removed)
return false;
removed = true; // remove nums[i - 1]
if (i > 1 && nums[i - 2] >= nums[i])
... |
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2020-2021 Couchbase, 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
*
* ... |
//
// TextBlock.cpp
// KitkitSchool
//
// Created by HyeonGyu Yu on 20/12/2016.
//
//
#include "TextBlock.hpp"
#include "Common/Controls/DottedRect.hpp"
BEGIN_NS_LR_DIVIDED_TYPE_REORDERING;
TextBlock::TextBlock():
_bSlot(false)
{ }
Size TextBlock::wordBlockSize = Size(1500, 154);
bool TextBlock::init()
{
if... |
//==============================================================================
//
// @@-COPYRIGHT-START-@@
//
// Copyright (c) 2020, Qualcomm Innovation Center, Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the follo... |
/*
* TomskSoft CIS1 WebUI
*
* (c) 2019 TomskSoft LLC
* (c) Mokin Innokentiy [mia@tomsksoft.com]
*
*/
#include "http/error_handler.h"
#include "http/response.h"
#include "logger.h"
namespace http
{
void error_handler::operator()(
beast::http::request<beast::http::empty_body>& req,
reques... |
/*
* Copyright (C) 2011 Google 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:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... |
/*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm.h"
#include "SkCanvas.h"
#include "SkGradientShader.h"
#include "SkGraphics.h"
#include "SkShader.h"
#include "SkString.h"
#include "SkTDArray.h"
static sk_sp<S... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE195_Signed_to_Unsigned_Conversion_Error__fgets_malloc_43.cpp
Label Definition File: CWE195_Signed_to_Unsigned_Conversion_Error.label.xml
Template File: sources-sink-43.tmpl.cpp
*/
/*
* @description
* CWE: 195 Signed to Unsigned Conversion Error
* BadSource: fg... |
#include "ofxClipPCL.h"
#include "ofxClipPCLShaderGenerator.h"
#include "ofxClipPCLGeometry.h"
using namespace ofx::clippcl;
using namespace std;
ofMesh Clipper::getValid(const ofMesh &src) const
{
vector<ofIndexType> use;
auto &verts = src.getVertices();
use.reserve(verts.size());
for(ofIndexType i = 0; i < vert... |
#include <eepp/declares.hpp>
#if defined( EE_X11_PLATFORM )
#include <X11/Xlib.h>
#include <X11/Xcursor/Xcursor.h>
#include <X11/cursorfont.h>
#undef Window
#undef Display
#undef Cursor
#include <eepp/window/platform/x11/ccursorx11.hpp>
#include <eepp/window/platform/x11/cx11impl.hpp>
namespace EE { namespace Windo... |
/*******************************************************************************
* This file is part of the "Enduro2D"
* For conditions of distribution and use, see copyright notice in LICENSE.md
* Copyright (C) 2018-2020, by Matvey Cherevko (blackmatov@gmail.com)
***************************************************... |
#include <imgui.h>
// These are just the fonts we're going to load in main(...). They're not mandatory (see InitGL() too)
enum MyFontEnum {
FNT_NORMAL=0,
FNT_BOLD,
FNT_ITALIC,
FNT_BOLDITALIC
};
void InitGL() {
ImGuiIO& io = ImGui::GetIO();
// It's not mandatory to have all the font style... you can skip... |
/**********
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation; either version 3 of the License, or (at your
option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
This librar... |
//====== Copyright Valve Corporation, All rights reserved. ====================
#if defined( _MSC_VER ) && ( _MSC_VER <= 1800 )
#pragma warning( disable: 4244 )
// 1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\chrono(749): warning C4244: '=' : conversion from '__int64' to 'time_t', possible loss o... |
#pragma once
#include <jln/mp/smp/assume.hpp>
#include <jln/mp/smp/list/listify.hpp>
#include <jln/mp/functional/monadic.hpp>
#include <jln/mp/algorithm/transform.hpp>
namespace jln::mp::smp
{
template<class F, class C = listify>
using transform = contract<mp::transform<
assume_unary<F>, mp::monadic_xs<subcon... |
// Copyright 2020 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
// ScripterCallback.cpp :
//
// A loadable module that connects a windows named pipe
// to a registered service function that is able to
// process a single command at a time.
//
// The service function is provided by the application
// and not by libscript. mod_script_pipe was developed for
// Audacity. Because it ... |
/* ========================= eCAL LICENSE =================================
*
* Copyright (C) 2016 - 2019 Continental Corporation
*
* 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
*
* ... |
#include <cassert>
#include <stdio.h>
#include <cstring>
#include <cstdlib>
#include <cmath>
#include <cctype>
#include <iostream>
#include <sstream>
#include <algorithm>
#include <functional>
#include <vector>
#include <string>
#include <map>
#include <unordered_map>
#include <set>
#include <queue>
#include <stack>
u... |
/*
* This source code file is licensed under the GNU General Public License Version 3.
* For full details, please refer to the file "LICENSE.txt" which is provided as part of this source code package.
* Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved.
*/
#include <boost/python.hpp>
#in... |
version https://git-lfs.github.com/spec/v1
oid sha256:84cd5fe1fd3686fdbe813f0bc043878e717aa3272b1e4d75607e0c322434fa68
size 62141
|
/*
* 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 ... |
#include "Matrix2f.h"
#include <cassert>
#include <cmath>
#include <cstdio>
#include <cstring>
#include "Vector2f.h"
Matrix2f::Matrix2f( float fill )
{
for( int i = 0; i < 4; ++i )
{
m_elements[ i ] = fill;
}
}
Matrix2f::Matrix2f( float m00, float m01,
float m10, float m11 )
... |
/*
LodePNG version 20161127
Copyright (c) 2005-2016 Lode Vandevenne
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
incl... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The MIREX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.ph... |
#include "rapidxml.hpp"
#include "rapidxml_utils.hpp"
#include <string>
#include <iostream>
#include <string.h>
#include <boost/algorithm/hex.hpp>
#include <folly/dynamic.h>
#include <folly/json.h>
#include <opencv2/opencv.hpp>
#include <opencv2/imgcodecs.hpp>
using namespace std;
rapidxml::xml_node<>* get_child(rap... |
//////////////////////////////////////////////////////////////
//ZoomCmdInterface.cc: Integer text field interface to a Cmd object
//////////////////////////////////////////////////////////////
#include "ZoomCmdInterface.h"
#include "Cmd.h"
#include "ZoomFactor.h"
#include "KeyinView.h"
#include "BasicImageView.h"
#inc... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkSMPToolsAPI.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 i... |
/*
* Copyright (c) 2019-2020, NVIDIA CORPORATION.
*
* 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... |
// realsense.cpp : Defines the entry point for the console application.
//
#pragma warning( disable : C4996)
#include "stdafx.h"
#include <pxcsensemanager.h>
#include <opencv2/opencv.hpp>
void *getData(PXCImage *pxcImage, PXCImage::PixelFormat format, cv::Size &size) {
size = cv::Size(pxcImage->QueryInfo().width, p... |
// Copyright 2017 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "fpdfsdk/fsdk_filewriteadapter.h"
FSDK_FileWriteAdapter::FSDK_FileWr... |
#ifndef MACIERZ_HH
#define MACIERZ_HH
#include <iostream>
#include <cstdlib>
#include <cmath>
#include "wektor.hh"
template <typename Templ_Typ, unsigned int Templ_Rozmiar>
class Macierz
{
private:
Templ_Typ value[Templ_Rozmiar][Templ_Rozmiar]; // Wartosci macierzy
public:
Macierz(Templ_Typ tmp[Templ_Rozmia... |
#include <iostream>
#include <cstdio>
#include <algorithm>
#include <cstring>
#include <sstream>
#include <vector>
#include <iomanip>
#include <cmath>
#include <set>
#include <map>
#include <queue>
using namespace std;
typedef long long LL;
typedef pair<int,int> pii;
#define pb push_back
#define mp make_pair
#define... |
/* 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... |
#include "hqn_lua.h"
namespace hqn_lua
{
#define NES_PIXEL_COUNT (256 * 240)
// static buffer used in hqn_lua_getpixels()
static int32_t pixelBuffer[NES_PIXEL_COUNT];
int emu_frameadvance(lua_State *L)
{
HQN_STATE(state);
state->advanceFrame();
return 0;
}
int emu_setframerate(lua_State *L)
{
HQN_S... |
/*
* Copyright (c) 2017 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 contribut... |
/* 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 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 law... |
#include "Entity.h"
Entity::Entity(
RuntimeInformationType *rit,
const wxString &name,
const wxString &primaryKey,
const bool getAutoSequence,
const wxString &foreignKey,
const wxString &foreignTable,
const unsigned int reference
) : Moose(
rit
), DSPostgreSQLDatabaseEntity(
rit->GetDatabase(),
name,
primar... |
// MIT License
// Copyright (c) 2019 Erin Catto
// 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, modif... |
//////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
//
// Tactical Engagement - Robin Heydon
//
// Implements the user interface for ... |
/**
* 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 law... |
// 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 "base/memory/scoped_ptr.h"
#include "base/run_loop.h"
#include "content/browser/gamepad/gamepad_consumer.h"
#include "content/browser/gamepad/gam... |
/*
//@HEADER
// ************************************************************************
//
// KokkosKernels 0.9: Linear Algebra and Graph Kernels
// Copyright 2017 Sandia Corporation
//
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
// the U.S. Government retain... |
/*
** c_dispatch.cpp
** Functions for executing console commands and aliases
**
**---------------------------------------------------------------------------
** Copyright 1998-2007 Randy Heit
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without
** modification, are p... |
#include "RigidBodyFromModel.h"
#include "sge_core/AssetLibrary/AssetLibrary.h"
#include "sge_core/ICore.h"
#include "sge_core/model/EvaluatedModel.h"
#include "sge_engine/Physics.h"
#include "sge_engine/traits/TraitModel.h"
namespace sge {
bool addCollisionShapeBasedOnModel(std::vector<CollsionShapeDesc>& shapeDesc... |
/**
* Pedometer
* @see https://github.com/stm32duino/LSM6DSL/tree/master/examples
*/
#include "mbed.h"
#include "OLEDDisplay.h"
#include "LSM6DSLSensor.h"
// UI
OLEDDisplay oled( MBED_CONF_IOTKIT_OLED_RST, MBED_CONF_IOTKIT_OLED_SDA, MBED_CONF_IOTKIT_OLED_SCL );
static DevI2C devI2c( MBED_CONF_IOTKIT_I2C_SDA, MBED... |
/*=========================================================================
Program: ParaView
Module: pqDeleteReaction.cxx
Copyright (c) 2005,2006 Sandia Corporation, Kitware Inc.
All rights reserved.
ParaView is a free software; you can redistribute it and/or modify it
under the terms of the Pa... |
#include "gpio.h"
using namespace std;
GPIO::GPIO(sc_core::sc_module_name, unsigned int_gpio_base) : int_gpio_base(int_gpio_base) {
tsock.register_b_transport(this, &GPIO::transport);
router
.add_register_bank({
{PIN_VALUE_ADDR, &value},
{INPUT_EN_REG_ADDR, &input_en},
{OUTPUT_EN_RE... |
/*
-- MAGMA (version 2.0) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date
@author Mark Gates
*/
#include <stdlib.h>
#include <stdio.h>
#ifdef DEBUG_MEMORY
#include <map>
#include <mutex> // requires C++11
#endif
#include <cuda_ru... |
#include <vector>
#include <iostream>
#include <string>
using std::vector;
using std::string;
class Solution {
public:
bool exist(vector<vector<char>>& board, string word) {
if(board.size() == 0) return false;
for ( int i = 0; i < board.size(); ++i)
{
f... |
//===----------------------------------------------------------------------===//
//
// 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
//
//===---------------------------... |
#pragma once
#include "ui_menu.hpp"
namespace elona
{
namespace ui
{
class UIMenuBook : public UIMenu<DummyResult>
{
public:
UIMenuBook(int book_id)
: _book_id(book_id)
{
}
protected:
virtual bool init();
virtual void update();
virtual void draw();
virtual optional<UIMenuBook::Res... |
/*=========================================================================
*
* Copyright SINAPSE: Scalable Informatics for Neuroscience, Processing and Software Engineering
* The University of Iowa
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file excep... |
#include <bits/stdc++.h>
using namespace std;
typedef long long int LL;
typedef long double LD;
typedef pair<int, int> P;
const int MOD = 1e9 + 7;
const int INF = 1 << 30;
const int MAXN = 8;
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
int N, M, A, B;
cin >> N >> M;
vector<int> G[MAXN];
for (int i = 0; i... |
//////////////////////////////////////////////////////////////////////
//
// Crytek Source code
// Copyright (c) Crytek 2001-2004
//
// File: GameEvents.cpp
// Description: Game events implementation.
//
// History:
// - October 31,2003: File created
// - February 2005: Modified by Marco Corbetta for S... |
/*
* Runtime CPU detection for POWER/PowerPC
* (C) 2009,2010,2013,2017 Jack Lloyd
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#include <botan/cpuid.h>
#include <botan/internal/os_utils.h>
#if defined(BOTAN_TARGET_CPU_IS_PPC_FAMILY)
/*
* On macOS and OpenBSD ppc, use sysctl to detect A... |
// Copyright Toru Niina 2017.
// Distributed under the MIT License.
#ifndef TOML11_COMBINATOR_HPP
#define TOML11_COMBINATOR_HPP
#include "traits.hpp"
#include "result.hpp"
#include "utility.hpp"
#include "region.hpp"
#include <type_traits>
#include <iterator>
#include <limits>
#include <iomanip>
#include <cctype>
... |
#include <SFML/Graphics.hpp>
#include "SystemRenderer.h"
#include "GameManager.h"
using namespace sf;
using namespace std;
EntityManager em;
void Load() {
/* for (int i = 0; i < 4; i++) moved to pacman.cpp
{
Ghost* gho = new Ghost();
shared_ptr<Ghost> lul = shared_ptr... |
/*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "GrSWMaskHelper.h"
#include "GrPipelineBuilder.h"
#include "GrDrawTargetCaps.h"
#include "GrGpu.h"
#include "SkData.h"
#include "SkDistanceFieldGen.h"
#include "SkS... |
#include "calculator/cell/integrated_fission_source.hpp"
#include <memory>
#include "data/cross_sections/material_cross_sections.hpp"
#include "domain/finite_element/tests/finite_element_mock.hpp"
#include "data/material/tests/material_mock.hpp"
#include "system/moments/spherical_harmonic_types.h"
#include "system/mo... |
#include <gtest/gtest.h>
#include <platform.h>
#include "util.h"
#define TEST_COMPILE(src) DO(test_compile(src, "ir"))
#define TEST_ERROR(src, err) \
{ const char* errs[] = {err, NULL}; \
DO(test_expected_errors(src, "ir", errs)); }
class IftypeTest : public PassTest
{};
TEST_F(IftypeTest, ThenClause_Type... |
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <unistd.h>
#include <sys/stat.h>
#include <dlfcn.h>
#include <arpa/inet.h>
#include "vm.hpp"
#include "oop.hpp"
#include "vm/object_utils.hpp"
#include "objectmemory.hpp"
#include "builtin/array.hpp"
#include "builtin/class.hpp"
#include "builtin/fi... |
#include <string.h>
#include <string>
#include "Config.h"
#include <sstream>
#include <iostream>
#include <fstream>
#include <algorithm>
using namespace AlibabaCloud::OSS::PTest;
std::string Config::Version = "cpp-sdk-perf-test-1.0.0 ";
std::string Config::Endpoint = "";
std::string Config::AccessKeyId ... |
// Copyright (c) 2020 fortiss GmbH
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "evaluator_ltl.hpp"
#include <algorithm>
#include <string>
#include <vector>
#ifdef LTL_RULES
#include "ltl/rule_monitor.h"
#endif
#include "bark/worl... |
// Tencent is pleased to support the open source community by making Mars available.
// Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
// Licensed under the MIT License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the Licens... |
#include <nexus/test.hh>
#include <clean-core/strided_span.hh>
#include <clean-core/vector.hh>
#include <clean-ranges/range.hh>
TEST("cc::strided_span (span equivalent)")
{
cc::vector<int> v = {1, 2, 3};
auto s = cc::strided_span(v);
CHECK(s.size() == 3);
CHECK(s[0] == 1);
CHECK(s[2] == 3);
... |
#pragma once
//GameBaseLibrary Includes
#include <core/SDLHeaders.hpp>
namespace gbl {
namespace core {
class Mouse {
public:
enum class Button {
Left,
Right,
Middle,
XButton1,
XButton2,
Count
};
enum Wheel {
VerticalWheel,
HorizontalWheel
};
static ... |
/**
* @file Utf8Tests.cpp
*
* This module contains the unit tests of the
* Utf8::Utf8 class.
*
* © 2018 by Richard Walters
*/
#include <gtest/gtest.h>
#include <stdint.h>
#include <Utf8/Utf8.hpp>
#include <vector>
TEST(Utf8Tests, AsciiToUnicode) {
const std::vector< Utf8::UnicodeCodePoint > expectedCodePoi... |
// rf95_client.cpp
// -*- mode: C++ -*-
// Example app showing how to create a simple messaging client
// with the RH_RF95 class. RH_RF95 class does not provide for addressing or
// reliability, so you should only use RH_RF95 if you do not need the higher
// level messaging abilities.
// It is designed to work with the... |
#include "GAFPrecompiled.h"
#include "TagDefineStage.h"
#include "GAFStream.h"
#include "GAFAsset.h"
#include "GAFHeader.h"
#include "GAFTimeline.h"
#include "PrimitiveDeserializer.h"
NS_GAF_BEGIN
void TagDefineStage::read(GAFStream* in, GAFAsset* asset, GAFTimeline* timeline)
{
(void)timeline;
cocos2d::Colo... |
//
// Coypright (c) 2021 Singular Inversions Inc. (facegen.com)
// Use, modification and distribution is subject to the MIT License,
// see accompanying file LICENSE.txt or facegen.com/base_library_license.txt
//
#include "stdafx.h"
#include "FgOut.hpp"
#include "FgStdStream.hpp"
#include "FgDiagnostics.hpp... |
#include <iostream>
#include <stdlib.h>
#include <iomanip>
#include "fast_ta/src/testing_common.h"
#include "fast_ta/src/2darray.h"
extern "C" {
#include "fast_ta/src/momentum_backend.h"
#include "fast_ta/src/volume_backend.h"
#include "fast_ta/src/volatility_backend.h"
}
void pprint(double* arr) {
i... |
// Copyright 2015 Cloudera, 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 ... |
// ---------------------------------------------------------------------
//
// pluginMain.cpp
//
// Created by ingo on 01/01/18.
// Copyright (c) 2018 Ingo Clemens. All rights reserved.
//
// ---------------------------------------------------------------------
#include <string>
static const std::string kVERSION =... |
// Copyright (c) 2015, Galaxy Authors. All Rights Reserved
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Author: zhoushiyong@baidu.com
#include "monitor_impl.h"
#include <sofa/pbrpc/pbrpc.h>
#include <stdio.h>
#include <signal.h>
#include <gflags/gflags... |
//============================================================================
//
// SSSS tt lll lll
// SS SS tt ll ll
// SS tttttt eeee ll ll aaaa
// SSSS tt ee ee ll ll aa
// SS tt eeeeee ll ll aaaaa -- "An Atari 2600 VCS Emula... |
/*
* Copyright 2013 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "src/core/SkResourceCache.h"
#include "include/core/SkTraceMemoryDump.h"
#include "include/private/SkMessageBus.h"
#include "include/private/SkMutex.h"
#include "inc... |
// Copyright 2019 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/cloudfront/model/ListFieldLevelEncryptionProfiles2020_05_31Result.h>
#include <aws/core/utils/xml/XmlSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/S... |
/****************************************************************************
*
* Copyright (c) 2012-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. Redistribut... |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2017-2018 Gleb Mishchenko, The appleseedhq Organization
//
// Permission is hereby granted, free of charge, to any person o... |
// Some portions copyright (c) 2011 The LevelDB 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 <cstring>
#include <memory>
#include <mutex>
#include <ostream>
#include <string>
#include <vector>
#include <gflags/gflags.h>
... |
/* 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... |
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "commands/Place.h"
#include "commands/OpenClaw.h"
#include "commands/SetElevatorSetpoint.h"
#include "commands... |
/* Copyright (c) MediaArea.net SARL. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license that can
* be found in the License.html file in the root of the source tree.
*/
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//
// Init and Finalize part
//
/... |
/*!
* External Includes
*/
#include <v8.h>
#include <node.h>
#include <string.h>
#include <sstream>
/*!
* Source controlled includes
*/
#include <pi.h>
#include "gpio.h"
/*!
* Local includes
*/
#include "gpio_async.h"
/*!
* Start namespace
*/
namespace pidaeus {
/*!
* v8 Function Template
*/
static ... |
#pragma once
// Fortnite (1.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass FortNavArea_JumpDownSmas... |
/*************************************************************************/
/* math_2d.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
/* ShapeLib.LabelShape.cpp */
//----------------------------------------------------------------------------------------
//
// Project: CCore 2.00
//
// Tag: Desktop
//
// License: Boost Software License - Version 1.0 - August 17th, 2003
//
// see http://www.boost.org/LICENSE_1_0.txt or the local copy
//
... |
/**
* @file itemdat.cpp
*
* Implementation of all item data.
*/
#include "all.h"
/** Contains the data related to each item ID. */
ItemDataStruct AllItemsList[] = {
// clang-format off
// iRnd, iClass, iLoc, iCurs, itype, iItemId, ... |
/* Copyright 2017 - 2021 R. Thomas
* Copyright 2017 - 2021 Quarkslab
*
* 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 req... |
/* Copyright (c) 2015-2016, Stanislaw Halik <sthalik@misaki.pl>
* 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.
*/
#pragma once
#include "dinpu... |
#include <iomanip>
#include <cmath>
#include "pretty_print.hh"
#include "../lslmini.hh"
#include "../strings.hh"
namespace Tailslide {
class ScopedTabSetter {
public:
ScopedTabSetter(PrettyPrintVisitor *visitor, int tabs): _mOldTabs(visitor->mTabs), _mVisitor(visitor) {
_mVisitor->mTabs = tabs;
};
~Scoped... |
/*
*******************************************************************************
*
* Copyright (C) 1997-2016, International Business Machines
* Corporation and others. All Rights Reserved.
*
*******************************************************************************
* file name: locdispnames.cpp
* encod... |
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com) |
| Copyrigh... |
/*
verlified by
AIZU ONLINE JUDGE GRL_5_C https://onlinejudge.u-aizu.ac.jp/problems/GRL_5_C
submission: https://onlinejudge.u-aizu.ac.jp/status/users/sapphire15/submissions/1/GRL_5_C/judge/5047494/C++17
*/
#include <vector>
#include <cassert>
class LCA{
int n;
std::vector<std::vector<int>> dist;
std::vect... |
/*
* Copyright 2009-2017 Alibaba Cloud 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... |
/*
-- MAGMA (version 2.0) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date
@generated from src/zpotri_gpu.cpp, normal z -> c, Sat Mar 27 20:30:29 2021
*/
#include "magma_internal.h"
/*************************************************... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.