text stringlengths 7 961k |
|---|
/*
Copyright (c) 2011, Siemens Corporate Research a Division of Siemens Corporation
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.... |
/*BEGIN_LEGAL
Intel Open Source License
Copyright (c) 2002-2014 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... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//
//
// Contains the types that implement code:ICLRPrivBinder and code:ICLRPrivAssembly for WinRT binding.
//
/... |
// Copyright (c) 2019 The Samcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <bench/data.h>
namespace benchmark {
namespace data {
#include <bench/data/block413567.raw.h>
const std::vector<uint8_t... |
// 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... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// -*- c++ -*-
#include <faiss/Index.h>
#include <faiss/FaissHook.h>
#include <faiss/impl/AuxIndexStructures.h>
#include <faiss/... |
#include <cstdio>
#include <cstring>
#include <vector>
#define PB push_back
#define SC1(a) scanf("%d", &a)
#define FOR(i, n) for(int i = 0; i < (n); ++i)
#define REP(i, a, b) for (int i = (a); i <= (b); ++i)
using namespace std;
typedef long long LL;
typedef vector<int> VI;
bool mark[100015];
VI v1, v2;
void filla... |
/******************************************************************************
* Copyright (c) 2018(-2021) STMicroelectronics.
* All rights reserved.
*
* This file is part of the TouchGFX 4.18.1 distribution.
*
* This software is licensed under terms that can be found in the LICENSE file in
* the root directory of thi... |
#include <iostream>
#include <stdio.h>
#include <cstdio>
#include <vector>
#include <algorithm>
#include "dbg.h"
using namespace std;
/* offer */
/* Type: tree */
/* 题目信息 */
/*
*输入一个整数数组,判断该数组是不是某二叉搜索树的后序遍历结果。如果是则返回 true,否则返回 false。假设输入的数组的任意两个数字都互不相同。
参考以下这颗二叉搜索树:
5
/ \
2 6
/ \
1 3
示例 1:
输入: [1... |
/*
* File Name: main.cpp
* Author: Brandon Lammey
* KUID: 2855296
* Email Address: archerlammey@ku.edu
* Homework: Lab 03
* Description:
*/
#include <string>
#include "LinkedList.h"
int main(int argc, char** argv)
{
//int testSize = std::stoi(argv[1]); //convert from char* to int
//Test_Lin... |
#include <algorithm>
#include <cassert>
#include <cstdint>
#include <iostream>
#include <vector>
#define REP(i, n) for (int i = 0; (i) < (int)(n); ++ (i))
#define REP3(i, m, n) for (int i = (m); (i) < (int)(n); ++ (i))
#define REP_R(i, n) for (int i = (int)(n) - 1; (i) >= 0; -- (i))
#define REP3R(i, m, n) for (int i = ... |
// Copyright (c) 2021-2022 ChilliBits. All rights reserved.
#include <gtest/gtest.h>
int main(int argc, char **argv) {
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
} |
// Copyright (C) 2012 by wubenqi
// Distributable under the terms of either the Apache License (Version 2.0) or
// the GNU Lesser General Public License, as specified in the COPYING file.
//
// By: wubenqi<wubenqi@gmail.com>
//
#include "net/engine/tcp_acceptor.h"
namespace net {
TCPAcceptor::TCPAcceptor(base::Mess... |
#include "channel.h"
#include "macros.h"
namespace cromwell {
const int Channel::kNoneEvent = 0;
const int Channel::kReadEvent = POLLIN | POLLPRI;
const int Channel::kWriteEvent = POLLOUT;
Channel::Channel(EventLoop& loop, int fd)
: loop_(loop),
fd_(fd),
events_(0),
revents_(0),
index_(-1),
log_hup_(true)... |
// SampleBackgroundTask.cpp
#include "pch.h"
#include "SampleBackgroundTask.h"
using namespace Tasks;
using namespace Windows::Foundation;
using namespace Windows::Storage;
SampleBackgroundTask::SampleBackgroundTask() :
CancelReason(BackgroundTaskCancellationReason::Abort), CancelRequested(false), Deferral(nullp... |
#include <torch/torch.h>
#include <torch/script.h>
#include <torch/autograd.h>
#include <torch/utils.h>
#include <unistd.h>
#include <iomanip>
#include <string>
#include <algorithm>
#include <iostream>
#include <cmath>
#include <tuple>
#include <map>
#include <vector>
#include <functional>
#include <utility> // make_... |
// dear imgui: Platform Backend for Windows (standard windows API for 32 and 64 bits applications)
// This needs to be used along with a Renderer (e.g. DirectX11, OpenGL3, Vulkan..)
// Implemented features:
// [X] Platform: Clipboard support (for Win32 this is actually part of core dear imgui)
// [X] Platform: Mouse... |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "direct_dense_tensor_builder.h"
#include <cassert>
namespace vespalib {
namespace tensor {
using Address = DirectDenseTensorBuilder::Address;
using eval::ValueType;
namespace {
size_t
cal... |
/**
* Copyright 2014 Lucas Nunes de Lima
*
* 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) 2009-2017 The Bitcoin Core developers
// Copyright (c) 2016-2019 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include "config/rapids-config.h"
#endif
#include ... |
/*******************************************************************************
* thrill/api/zip.hpp
*
* DIANode for a zip operation. Performs the actual zip operation
*
* Part of Project Thrill - http://project-thrill.org
*
* Copyright (C) 2015-2016 Timo Bingmann <tb@panthema.net>
* Copyright (C) 2015 Matthia... |
// assign.cpp
// overloads assignment operator (=)
#include <iostream>
using namespace std;
////////////////////////////////////////////////////////////////
class alpha
{
private:
int data;
public:
alpha() //no-arg constructor
{ }
alpha(int d) //o... |
/*
* Copyright (C) 2019-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/device/root_device.h"
#include "shared/source/command_stream/command_stream_receiver.h"
#include "shared/source/command_stream/preemption.h"
#include "shared/source/debug_settings/debug_settings_manager.h... |
//===-- Expr.cpp ----------------------------------------------------------===//
//
// The KLEE Symbolic Virtual Machine
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===------------------------------------------------------... |
#include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <ctime>
using namespace std;
#define MAXT 100
#define MAXU 1000000
int T;
void test_case()
{
int L = rand() % (MAXU + 1);
int U = rand() % (MAXU + 1);
if (L > U) swap(L, U);
printf("%d %d\n", L, U);
--T;
}
int main()
{
srand(time(NULL));
... |
// BEGINLICENSE
//
// This file is part of helPME, which is distributed under the BSD 3-clause license,
// as described in the LICENSE file in the top level directory of this project.
//
// Author: Andrew C. Simmonett
//
// ENDLICENSE
#include "catch.hpp"
#include <map>
#include "helpme.h"
#include <iomanip>
const ... |
/*
* @Copyright: Copyright[2015]<Svetlin Penkov>
* @Date: 2015-05-11
* @Email: s.v.penkov@sms.ed.ac.uk
* @Desc: Wraps the basic functionality of the UArm.
*/
#ifndef UARM_HPP
#define UARM_HPP
#include <memory>
#include <string>
#include <serial/serial.h>
#define ARM_ROTATION_MIN -90.0
#define A... |
//===-- RuntimeDyld.cpp - Run-time dynamic linker for MC-JIT ----*- 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
//
//===---------------------------... |
#include "ai/world/game_state.h"
#include "ball.h"
#include "game_state.h"
#include "util/logger/init.h"
bool GameState::isHalted() const
{
return state == HALT;
}
bool GameState::isStopped() const
{
return state == STOP;
}
bool GameState::isPlaying() const
{
return state == PLAYING;
}
bool GameState:... |
// 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... |
/*
Copyright (C) 1999 Aladdin Enterprises. All rights reserved.
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 purpos... |
// collection_to_capped.cpp
/**
* Copyright (C) 2013-2014 MongoDB 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 th... |
// Copyright 2013 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"
#if V8_TARGET_ARCH_ARM64
#include "src/code-factory.h"
#include "src/code-stubs.h"
#include "src/codegen.h"
#include "src/compiler... |
#include "ofMain.h"
#include "ofApp.h"
//========================================================================
int main( ){
ofGLFWWindowSettings settings;
//settings.setGLVersion(3, 2); // Programmable renderer
settings.setSize(1365,768);
ofCreateWindow(settings);
//ofSetupOpenGL(1365, 76... |
/****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the QtNetwork module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid com... |
#include <iostream>
using namespace std;
float avg(float sum, float n);
int main(int argc, char** argv) {
int n;
long sum;
//get count of number
cout << "How many numbers do you want to inter? ";
cin >> n;
//create array with lenght = n
int numbers[n];
for (int i = 0; i<n;i++){
cout << "Inter #"<<(i+1)... |
#ifndef MESSAGEPUBLISHER_HH
#define MESSAGEPUBLISHER_HH
#include <string>
#include <list>
#include "trick/MessageSubscriber.hh"
namespace Trick {
/**
* This class provides the capability of publishing executive and/or model messages.
*/
class MessagePublisher {
private:
/** List of subs... |
// Copyright 2018 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/escher/geometry/transform.h"
#include "lib/escher/util/trace_macros.h"
namespace escher {
Transform::operator mat4() const {
TRACE_DURAT... |
/* 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... |
///////////////////////////////////////////////////////////////////////////////////////////////////
// OpenGL Mathematics Copyright (c) 2005 - 2008 G-Truc Creation (www.g-truc.net)
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Created : 2006-11-1... |
#include <QTimer>
#include <QDebug>
#include <QFile>
#include <QTimer>
#include "writefileopration.h"
WriteFileOperation::WriteFileOperation(QWidget *parent, QString path, Document *doc, bool reopen)
: QThread(parent)
, path_(path)
, document_(doc)
, result_(doc)
, timer_(NULL)
, write_size_(0)
, comple... |
#include "Display/GameDisplay.h"
#include "Display/PauseDisplay.h"
#include "System/SystemTimer.h"
#include "Utility/Relay.h"
#include "Manager/Map.h"
#include "Manager/BombManager.h"
#include "Manager/ExplosionManager.h"
#include "Manager/PlayerManager.h"
#include "Manager/EnemyManager.h"
#include "Manager/PickUpMana... |
#include "platform.hpp"
#include "utility.cpp"
#include "desktop.cpp"
#include "monitor.cpp"
#include "keyboard.cpp"
#include "mouse.cpp"
#include "browser-window.cpp"
#include "message-window.cpp"
#include "object.cpp"
#include "group.cpp"
#include "font.cpp"
#include "timer.cpp"
#include "window.cpp"
#include "sta... |
#include "sapien_scene.h"
#include "actor_builder.h"
#include "articulation/articulation_builder.h"
#include "articulation/sapien_articulation.h"
#include "articulation/sapien_joint.h"
#include "articulation/sapien_kinematic_articulation.h"
#include "articulation/sapien_kinematic_joint.h"
#include "articulation/sapien_... |
#ifdef PEGASUS_OS_VMS
#ifndef __UNIX_WORMDRIVE_PRIVATE_H
#define __UNIX_WORMDRIVE_PRIVATE_H
#endif
#endif |
/*--------------------------------------------------------------------------*\
Copyright (c) 2008-2009, Danny Ruijters. All rights reserved.
http://www.dannyruijters.nl/cubicinterpolation/
This file is part of CUDA Cubic B-Spline Interpolation (CI).
Redistribution and use in source and binary forms, with or without
mo... |
/*
* TestChabuChannelListener.cpp
*
* Created on: 27.07.2016
* Author: Frank
*/
#include "TestChabuChannelListener.hpp"
#include <iostream>
#include <boost/format.hpp>
using std::cout;
using std::endl;
using boost::format;
TestChabuChannelListener::TestChabuChannelListener(int channelId)
: channelId( chan... |
/*
* Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
// Copyright (c) 2011-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 "data/script_tests.json.h"
#include "core_io.h"
#include "key.h"
#include "keystore.h"
#include "script/script.h"
#... |
/** \file
*
* \author N. Amapane - CERN
*/
#include "FWCore/Framework/interface/one/EDAnalyzer.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#i... |
/**
* @file Instruction.hpp
* @author Grama Nicolae (gramanicu@gmail.com)
* @brief
* @copyright Copyright (c) 2020
*/
#pragma once
#include <math.h>
#include <ostream>
#include <string>
#include <unordered_map>
#include "Helpers.hpp"
#include "Stack.hpp"
namespace Glypho::Core {
enum class InstructionType ... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/ds/model/DescribeRegionsRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::DirectoryService::Model;
using namespace Aws::Utils::Json;
us... |
#ifndef QBDL_LOADER_H_
#define QBDL_LOADER_H_
#include <QBDL/arch.hpp>
#include <QBDL/exports.hpp>
#include <QBDL/macros.hpp>
#include <string>
namespace QBDL {
class TargetSystem;
/** Base class for a Loader
*/
class QBDL_API Loader {
public:
enum class BIND { NOT_BIND, NOW, LAZY };
static constexpr inline BI... |
/** HTTP response received by client.
* https://github.com/azadkuh/qhttp
*
* @author amir zamani
* @version 2.0.0
* @date 2014-07-11
*/
#ifndef QHTTPCLIENT_RESPONSE_HPP
#define QHTTPCLIENT_RESPONSE_HPP
// configured by src.pro
#if defined(QHTTP_HAS_CLIENT)
/////////////////////////////////////////////////////... |
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "il... |
#include "QFrequencyFile.h"
#include <QDataStream>
QFrequencyFile::QFrequencyFile() {
reset();
}
QFrequencyFile::~QFrequencyFile() {
}
void QFrequencyFile::reset() {
Amplitude.clear();
Frequency.clear();
SamplesPerFrq = 0;
AverageFrq = 0;
}
bool QFrequencyFile::load(const QString &filename) {
... |
/***************************************************************************
* Copyright 1998-2018 by authors (see AUTHORS.txt) *
* *
* This file is part of LuxCoreRender. *
* ... |
////////////////////////////////////////////////////////////////////////////////
//
// Copyright 2006 - 2018, Paul Beckingham, Federico Hernandez.
//
// 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... |
/*****************************************************************************
*
* Program: EPTlib
* Author: Alessandro Arduino <a.arduino@inrim.it>
*
* MIT License
*
* Copyright (c) 2020-2021 Alessandro Arduino
* Istituto Nazionale di Ricerca Metrologica (INRiM)
* Strada delle cacce 91, 10135 Torino
* IT... |
/*
* Copyright (C) 2018-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/command_stream/command_stream_receiver.h"
#include "shared/source/command_stream/wait_status.h"
#include "shared/source/helpers/hw_info.h"
#include "shared/source/memory_manager/internal_allocation_storage... |
/**********************************************************************
* $Id$
*
* Project: MapServer
* Purpose: OGC Filter Encoding implementation
* Author: Y. Assefa, DM Solutions Group (assefa@dmsolutions.ca)
*
**********************************************************************
* Copyright (c) 2003, Y... |
/**************************************************************
*
* 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 y... |
/****************************************************************************
**
** Copyright (C) 2016 Jochen Becher
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with th... |
/*
* Copyright (c) 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 law ... |
// Created on: 2001-07-25
// Created by: Julia DOROVSKIKH
// Copyright (c) 2001-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// 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... |
// Ceres Solver - A fast non-linear least squares minimizer
// Copyright 2015 Google Inc. All rights reserved.
// http://ceres-solver.org/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of so... |
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
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 applica... |
//===--- swift-ide-test.cpp - IDE functionality testing application -------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... |
/**
* @file geometry_inl.hpp
*
* @brief Geometry クラスの定義
*
* @author myoukaku
*/
#ifndef BKSGE_CORE_RENDER_D3D11_DETAIL_INL_GEOMETRY_INL_HPP
#define BKSGE_CORE_RENDER_D3D11_DETAIL_INL_GEOMETRY_INL_HPP
#include <bksge/core/render/config.hpp>
#if BKSGE_CORE_RENDER_HAS_D3D11_RENDERER
#include <bksge/core/render/d... |
#pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/REDhash.hpp>
#include <RED4ext/CName.hpp>
#include <RED4ext/Types/generated/audio/AudioStateTransitionConditionData.hpp>
namespace RED4ext
{
namespace audio {
struct AmbientAreaC... |
/*
All modification made by Cambricon Corporation: © 2022 Cambricon Corporation
All rights reserved.
All other contributions:
Copyright (c) 2014--2022, the respective contributors
All rights reserved.
For the list of contributors go to https://github.com/pytorch/pytorch/graphs/contributors
Redistribution and use in sou... |
/**
The MIT License (MIT)
Copyright (c) 2016 Ryotaro Onuki
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... |
//*****************************************************************************
// Copyright 2017-2020 Intel 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://w... |
//
// Copyright 2016 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trad... |
// Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: Org.BouncyCastle.Crypto.IStreamCipher
#include "Org/BouncyCastle/Crypto/IStre... |
#include <iostream>
int main(int argc, char const *argv[])
{
std::cout <<"Hola Mundo!";
return 0;
} |
/*
Copyright (C) 2018 Quaternion Risk Management Ltd
All rights reserved.
This file is part of ORE, a free-software/open-source library
for transparent pricing and risk analysis - http://opensourcerisk.org
ORE is free software: you can redistribute it and/or modify it
under the terms of the Modified BSD License... |
/*****************************************************************************
MiniSat -- Copyright (c) 2003-2006, Niklas Een, Niklas Sorensson
glucose -- Gilles Audemard, Laurent Simon (2008)
CryptoMiniSat -- Copyright (c) 2009 Mate Soos
Original code by MiniSat and glucose authors are under an MIT licence.
Modificat... |
////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2014-2019, Lawrence Livermore National Security, LLC.
// Produced at the Lawrence Livermore National Laboratory.
// Written by the LBANN Research Team (B. Van Essen, et al.) listed in
// the CONTRIBUTORS file. <lbann-dev@l... |
//===- SPIRVConversion.cpp - SPIR-V Conversion Utilities ------------------===//
//
// 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
//
//===---------------------------... |
// Boost.Geometry (aka GGL, Generic Geometry Library)
// Unit Test
// Copyright (c) 2014-2015, Oracle and/or its affiliates.
// Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
// Licensed under the Boost Software License version 1.0.
// http://www.boost.org/users/license.html
#ifndef BOOST_TE... |
#include <string>
#include <lpython/pickle.h>
#include <lpython/pickle.h>
#include <lpython/bigint.h>
#include <libasr/asr_utils.h>
#include <libasr/string_utils.h>
namespace LFortran {
/* -----------------------------------------------------------------------*/
// ASR
class ASRPickleVisitor :
public LFortran::... |
#include <algorithm>
#include <cassert>
#include "IEMath.h"
#include "IEVector4.h"
#include "IEVector3.h"
const IEVector4 IEVector4::ZeroVector = IEVector4(0.0f, 0.0f, 0.0f, 0.0f);
const IEVector4 IEVector4::XAxis = IEVector4(1.0f, 0.0f, 0.0f, 0.0f);
const IEVector4 IEVector4::YAxis = IEVector4(0.0f, 1.0f, 0.0f, 0.0f... |
// Ceres Solver - A fast non-linear least squares minimizer
// Copyright 2013 Google Inc. All rights reserved.
// http://code.google.com/p/ceres-solver/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistr... |
//=============================================================================
//
// @@-COPYRIGHT-START-@@
//
// Copyright 2016-2017 Qualcomm Technologies, Inc. All rights reserved.
// Confidential & Proprietary - Qualcomm Technologies, Inc. ("QTI")
//
// The party receiving this software directly from QTI (the "R... |
/*
Copyright (c) 2010 Andy Kirkham
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, pu... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Darkcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "main.h"
#include "core.h"
#include "db.h"
#include "init.h"
#include "active... |
#include "geometry.h"
namespace TinyScene {
vec3 cross(const vec3& v1, const vec3& v2) {
return vec<3>{v1.y* v2.z - v1.z * v2.y, v1.z* v2.x - v1.x * v2.z, v1.x* v2.y - v1.y * v2.x};
}
} |
// 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.
#ifdef HAVE_CONFIG_H
#include "config/zotova-config.h"
#endif
#include "netbase.h... |
/**
* Copyright 2011-2021 sarami
*
* 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... |
//------------------------------------------------------------------------------
//
// Copyright 2018-2020 Fetch.AI 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
//
// ... |
/*******************************************************************\
Module: GOTO Program Utilities
Author: Diffblue Ltd.
\*******************************************************************/
#include <algorithm>
#include "resolve_inherited_component.h"
/// See the operator() method comment
/// \param symbol_t... |
/*
* TcpServer.cpp
*
* Created on: 15.03.2018
* Author: Arkadiusz Wadowski
* Email: wadowski.arkadiusz@gmail.com
*
* Copyright (c) 2018, Arkadiusz Wadowski
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that th... |
// Copyright (c) 2010-2018 The AriA developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "notificator.h"
#include <QApplication>
#include <QByteArray>
#include <QIcon>
#include <QImageWriter>
#include <QMessa... |
/**********
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 2.1 of the License, or (at your
option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
This libr... |
// 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
/*! @file */
#include "StdAfx.h"
#include "CConvert_Trim.h"
#include "convert_util.h"
#include "CEol.h"
#include "charset/charcode.h"
#include "util/string_ex2.h"
// -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- //
// インターフェース //
// -- -- -- -- -- -- -- -- -- -... |
//////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Howard Hinnant 2009
// (C) Copyright Ion Gaztanaga 2014-2014.
//
// 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)
... |
/**
* Copyright (c) 2016-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.
*/
#include "... |
#define RACK_EXPORT_MODULE
#include <rack/rack.h>
#include <rack++/module/channel.h>
#include <rack++/module/param.h>
#include <rack++/module/trigger.h>
#include <rack++/module/unit.h>
#include "lofi.h"
const char* rack_get_api_version()
{
return RACK_API_VERSION;
}
int rack_get_num_units()
{
return 1;
}
const cha... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.