text stringlengths 5.71k 33.7k |
|---|
//
// This file is part of the libWetHair open source project
//
// The code is licensed solely for academic and non-commercial use under the
// terms of the Clear BSD License. The terms of the Clear BSD License are
// provided below. Other licenses may be obtained by contacting the faculty
// of the Columbia Computer ... |
#include "stm32f4xx.h"
#include <stm32f4xx_gpio.h>
#include <stm32f4xx_rcc.h>
#include <stm32f4xx_i2c.h>
#include <stm32f4xx_dcmi.h>
#include <stm32f4xx_dma.h>
#include <stm32f4xx_rcc.h>
#include <stm32f4xx_exti.h>
#include <stm32f4xx_syscfg.h>
#include <stm32f4xx_flash.h>
#include "IOHelper.h"
#include <m... |
#include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <set>
#include <thread>
#include <mutex>
#include <regex>
#include <iterator>
#include <unordered_map>
#include <forward_list>
using namespace std;
mutex source_lock, GI_lock, key_words_lock, file_lock;
forward_list<unsigned long> gi_l... |
/****************************************************************************
*
* Copyright (c) 2015 <NAME>. 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 sou... |
/*
* Copyright (C) 2011-2021 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
* notice, this li... |
// MDSPEnumStorage.cpp : Implementation of CMDSPEnumStorage
#include "stdafx.h"
#include "MsPMSP.h"
#include "MDSPEnumStorage.h"
#include "MDSPStorage.h"
#include "MdspDefs.h"
#include "loghelp.h"
#include "wmsstd.h"
#define STRSAFE_NO_DEPRECATE
#include "strsafe.h"
/////////////////////////////////////////... |
// General
#include "matrix4x4.h"
// Additional
#include "matrix3x3.h"
#include "quaternion.h"
#include <algorithm>
#include <limits>
#include <cmath>
Matrix4::Matrix4() :
a1(1.0f), a2(), a3(), a4(),
b1(), b2(1.0f), b3(), b4(),
c1(), c2(), c3(1.0f), c4(),
d1(), d2(), d3(), d4(1.0f)
{}
Matrix4 ::Matrix4(float _... |
////////////////////////////////////////////////////////////////////////////////
/**
* @file main.cpp
* @date 2017-03-04
* @author <NAME> (<EMAIL>)
*
* @copyright
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* th... |
// Licensed under the MIT License <http://opensource.org/licenses/MIT>.
// SPDX-License-Identifier: MIT
#pragma once
#include <array>
#include <cstring>
#include <string>
#include <string_view>
#include <type_traits>
#include <tuple>
namespace tser
{
template<typename T>
size_t encodeVarInt(T value, char* outp... |
#include <boost/filesystem.hpp>
#include <engine.h>
#pragma comment( lib, "libmx.lib" )
#pragma comment( lib, "libeng.lib" )
#include "Types.h"
#include "Primitive.h"
#include "RelationEdge.h"
#include "GlobFit.h"
#include <thread> // std::this_thread::sleep_for
#include <chrono> // std... |
/*
Copyright (c) 2013, <NAME> and the respective contributors
All rights reserved.
Use of this source code is governed by a BSD-style license that can be found
in the LICENSE file.
*/
#include <cstdlib>
#include <fstream>
#include <iostream>
#include <limits>
#include <random>
#include <vector>
#inclu... |
#define GLEW_STATIC
#include <iostream>
#include <string>
#include <gl\glew.h>
#include <glfw3.h>
#include <glm-0.9.8.4\glm\glm.hpp>
#include <glm-0.9.8.4\glm\gtc\matrix_transform.hpp>
#include <glm-0.9.8.4\glm\gtc\type_ptr.hpp>
#include "shader.h"
#include "texture.h"
#include "camera.h"
const unsigned int screenW... |
/* Copyright (c) 2014-2017, ARM Limited and Contributors
*
* SPDX-License-Identifier: MIT
*
* Permission is hereby granted, free of charge,
* to any person obtaining a copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limita... |
/**********************************************************************
* $Id$ lpc_phy_dp83848.c 2011-11-20
*//**
* @file lpc_phy_dp83848.c
* @brief DP83848C PHY status and control.
* @version 1.0
* @date 20 Nov. 2011
* @author NXP MCU SW Application Team
*
* Copyright(C) 2011, NXP Semiconductor
* All rights reser... |
#include <cstdlib>
#include <stack>
#include <iostream>
#include <string>
#include <array>
#include <tinyxml2.h>
#include "linalg/util.h"
#include "linalg/vector.h"
#include "linalg/point.h"
#include "linalg/transform.h"
#include "film/camera.h"
#include "film/render_target.h"
#include "renderer/renderer.h"
#include "g... |
/**
* Implementation of Rules to eliminate
* Design points. Check Risk-Base Allocation.pptx
* for more details.
*/
#include <iostream>
#include <vector>
#include <set>
#include <iterator>
#include <math.h>
#include <chrono>
#include <exception>
#include <queue>
#include <boost/math/distributions/normal.hpp>
#includ... |
//-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// 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 restrictio... |
#include "GLGPU_IO_Helper.h"
// #include "glpp/GL_post_process.h"
#include <cmath>
#include <cassert>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#if FTK_WITH_NETCDF
#include <netcdf.h>
#endif
enum {
GLGPU_ENDIAN_LITTLE = 0,
GLGPU_ENDIAN_BIG = 1
};
enum {
GLGPU_TYPE_FLOAT = 0,
GLGPU_TYPE_DOUBLE... |
//
// build_lobe_models.cpp
//
//
// Created by <NAME> on 03/01/2018.
//
// Commented and checked 16/05/18
#include "lung_model_discrete_branching.hpp"
double build_symmetric_branches(Tree &stree, Options &o) //build basic symmetric tree model
{
stree.st.resize(1); //just one subtree
stree.st[0].t... |
#include <iostream>
#include <vector>
#include <cstdlib>
#include <algorithm>
#include <cmath>
using namespace std;
struct nwwn
{
unsigned dest;
unsigned weight;
unsigned nedges;
};
struct edgeT
{
unsigned source;
unsigned dest;
unsigned weight;
};
typedef vector<nwwn*> aT;
typedef aT* alistT;
unsigned ... |
// Copyright (c) 2014 baidu-rpc 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... |
#define NO_OE_HEADER
#include <iostream>
#include "crypto.h"
#include "attestation.h"
#include <openenclave/bits/report.h>
#include <openenclave/bits/result.h>
#include <cstring>
#include <openenclave/internal/trace.h>
#include <mbedtls/pk.h>
#include <mbedtls/error.h>
#include <mbedtls/rsa.h>
#include <mbedtls/ctr_dr... |
/*
* This file is released under the terms of the Artistic License. Please see
* the file LICENSE, included in this package, for details.
*
* Copyright (C) 2006-2010 <NAME>
*/
#include <cstdlib>
using namespace std;
#include "CETxnInputGenerator.h"
#include "TxnHarnessSendToMarketTest.h"
#include "DMSUTtest.h"
... |
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab
/*
* Ceph - scalable distributed file system
*
* Copyright (C) 2014 UnitedStack <<EMAIL>>
*
* Author: <NAME> <<EMAIL>>
*
* This is free software; you can redistribute it and/or
* modify it under the terms of the G... |
#include "zCMesh.h"
#include "zenParser.h"
#include "utils/logger.h"
#include "zTypes.h"
#include <string>
#include "vdfs/fileIndex.h"
#include "zCMaterial.h"
#include <map>
#include <utils/alignment.h>
using namespace ZenLoad;
// Types of chunks we will find in a zCMesh-Section
static const unsigned short MSID_MESH ... |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/* C++ implementation of a .size file parser.
* The .size file spec is found in libsupersize/file_format.py
*/
#include "tools/binary_size/libsupersize... |
#include "octree.h"
void octree::getBoundaries(tree_structure &tree, real4 &r_min, real4 &r_max)
{
//Start reduction to get the boundary's of the system
boundaryReduction.set_arg<int>(0, &tree.n);
boundaryReduction.set_arg<cl_mem>(1, tree.bodies_Ppos.p());
boundaryReduction.set_arg<cl_mem>(2, devMemRMIN.p());... |
//-----------------------------------------------------------------------------
// File : KpixGuiCalibrate.cc
// Author : <NAME> <<EMAIL>>
// Created : 09/25/2008
// Project : SID Electronics API - GUI
//-----------------------------------------------------------------------------
// Descri... |
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration... |
// eldr_gif.cpp
// GIF image loader
//
// Copyright (c) 2004-2017 Elements Interactive B.V.
///////////////////////////////////////////////////////////////////
#include "edgedevice.h"
#include "edgedef.h"
#define EDGE_INCLUDED
#include "eloader.h"
#include "ememory.h"
#include "edisplay.h"
#include "ex... |
//environment.cpp
#include "helper.h"
#include "environment.h"
#include "server.h"
//0 = Nothing, 1 = Acknowledged (Ack)
//int environment :: receive_message(int m) {
//
//}
int environment :: message_received = 0; //0 = none received , 1 = ack received
bool environment :: path_fin[NUM_ROBOTS] = {false, false, fal... |
#include <cudnn.h>
#include <cuda.h>
#include <curand.h>
#include <iostream>
#include <cublas_v2.h>
#include "../01_ann/src/helper.h"
void cublas_operation(int num_linear_layers, unsigned long long num_ops, int input_size, int hidden_size, int seq_length, int batch_size, int num_layers);
void generate_data(const cur... |
#include <iostream>
#include <cstdlib>
#include <vector>
#include <bitset>
#include <cstring>
#include <string>
#include <fstream>
#include <cstdio>
#include <complex>
#include "rand.h"
using namespace std;
class individual {
public:
int key[26];
float fit;
};
float fitness( int key[] );
void translate ( int ke... |
/*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 : <NAME>
Contributors : <NAME>, <NAME>.
[1] <NAME>, <NAM... |
/*
* Copyright 2020-2021 <NAME>
*
* 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 ... |
#include "../interface/DrawTree.h"
using std::cout;
using std::endl;
using namespace ep;
//
//
// Special, custom functions
//
//
//
std::vector<ToPlot> makeSearchBinTPs(ToPlot tp) {
char mht_name [10] = "MHT" ;
char ht_name [10] = "HT" ;
char njet_name[10] = "NJets" ;
char nb_name [10] = "BTa... |
#include <Arduino.h>
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#include <menu.h>
#include <menuIO/lcdOut.h>
#include <menuIO/encoderIn.h>
#include <menuIO/keyIn.h>
#include <menuIO/chainStream.h>
#include <EEPROM.h>
using namespace Menu;
LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);
#define en... |
/*
Copyright (c) 1999 - 2010, Vodafone Group Services Ltd
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 condit... |
#pragma once
#include "ObjectPool.hpp"
#include "Component.hpp"
#include "System.hpp"
#include <queue>
#include <tuple>
#include <set>
// Entity debug info for testing
struct EntityDebug{
uint32_t index;
uint32_t version;
uint8_t state;
uint32_t mask;
uint32_t enabled;
uint16_t references;
bool valid = false... |
#include "Renderer.h"
#include "Texture.h"
#include <thread>
#include "Settings.h"
extern const float DEFAULT_PLANE_WIDTH;
static const float FOV = 2 * atan(DEFAULT_PLANE_WIDTH / 1.0f);
static const float PI = 3.14159265359f;
static const int DEFAULT_DRAW_DISTANCE = 200;
static const float DEFAULT_WALL_HEIGHT_MULTIP... |
// Copyright (c) 2019 The DeFi Foundation
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <masternodes/masternodes.h>
#include <chainparams.h>
#include <core_io.h>
//#include "../init.h" // pwalletMain
#include <... |
/*
* vmnevofit.cpp
*
* Created by <NAME> and <NAME>
* University of Edinburgh 2017
* Released under MIT license, see https://opensource.org/licenses/MIT
*
*/
#include "vmnmodel.h"
#include "vmnevofit.h"
#include "hypodef.h"
// CUDA GPU function - takes a chrome population and runs the model with each chrome... |
#include <openssl/err.h>
#include "Test.h"
#include "../FS/FS.h"
#include "../CertStore/CertStore.h"
#include "../Crypto/CreateSignature.h"
#include "../Transaction/TxOut.h"
#include "../Transaction/Transaction.h"
#include "../TxPool.h"
#include "../Wallet.h"
#include "../Time.h"
#include "../Scripts/AddCertificateScr... |
#include "PlayState.h"
#include "LevelState.h"
#include "TitleState.h"
#include "TransitionPostEffect.h"
#include "VFrame/VColour.h"
#include "VFrame/VGlobal.h"
#include "VFrame/VInterpolate.h"
#include "VFrame/VTiledSprite.h"
#define PI 3.141592653589f
float CosineInterpolate(float y1, float y2, float mu)... |
#include <time.h>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include "sling/base/flags.h"
#include "sling/base/init.h"
#include "sling/base/logging.h"
#include "sling/base/types.h"
#include "sling/stream/file-input.h"
#include "sling/stream/memory.h"
#include "sling/string/c... |
#include "resmgr_app.hpp"
#include "imgui_sdl2.hpp"
#include "fbrect.hpp"
#include "sdl/window.hpp"
#include "imgui/imgui.h"
#include "input/input.hpp"
#include "gl/resource.hpp"
#include "gl/texture/mem.hpp"
#include "gl/shader.hpp"
#include "gl/program.hpp"
#include "effect/vdecl.hpp"
#include "effect/tech_pass.hpp"
... |
#include <gtest/gtest.h>
#include "./golf_winamax.hpp"
#include <set>
#include <sstream>
using ss = std::stringstream;
using std::endl;
using std::make_pair;
using std::unordered_set;
constexpr ball operator""_b(unsigned long long c) {
return ball{static_cast<int>(c)};
}
static_assert(0_b == ball{0},
... |
//===-- llvm/CodeGen/Spiller.cpp - Spiller -------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
#include "Map.h"
#include "QueueSorter.h"
Map::Map():
_tileSize(DEFAULT_TILE_SIZE),
_maxPending(DEFAULT_MAX_PENDING),
_maxImagesToCache(DEFAULT_MAX_IMAGES_TO_CACHE),
_gridPadding(DEFAULT_GRID_PADDING),
_lastClickTime(0),
_numDrawnImages(0)
{
ofRegisterMouseEvents(this);
ofRegisterKeyEv... |
/*
Modified from An Introduction to OpenGL Programming,
<NAME> and <NAME>, SIGGRAPH 2013
*/
#include "model.hpp"
#include "texture.hpp"
GLuint shaderProgram;
GLuint shaderProgram1;
glm::mat4 rotation_matrix;
glm::mat4 projection_matrix;
glm::mat4 c_rotation_matrix;
glm::mat4 lookat_matrix;
glm::mat4 model... |
//<NAME> 2016/06/08
//back.cpp::http://image.onishi-lab.jp/002.html#2
//OpenCVlabeling.cpp::http://qiita.com/wakaba130/items/9d921b8b3eb812e4f197
//henkan.cpp::http://opencv.jp/cookbook/opencv_img.html
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <vector>
#include <opencv/cv.h>
#include... |
#include "pemsa/cart/pemsa_emitter.hpp"
#include "fix16.hpp"
#include <sstream>
#include <iostream>
#include <cstring>
#include <cmath>
#include <climits>
#include <iomanip>
#include <algorithm>
static float strtof(const char* ostr, int base) {
char* str = (char*) malloc(strlen(ostr) + 1);
strcpy(str, ostr);
const... |
#include "imu_device.h"
#include <I2Cdev.h>
#include <BMP085.h>
#include <MPU9150_9Axis_MotionApps41.h>
#include <TinyGPS++.h>
#include <helper_3dmath.h>
#include <MSP.h>
#include <Scheduler.h>
Scheduler g_scheduler;
MSP g_msp(MSP_SERIAL);
TinyGPSPlus g_gps;
BMP085 g_barometer;
float g_temperature;
float g_press... |
// 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 "tools/gn/header_checker.h"
#include <algorithm>
#include "base/bind.h"
#include "base/file_util.h"
#include "base/message_loop/message_loop.h"... |
#include "LightEngine.h"
#include "Math.h"
#include "ClipperLib.h"
#include "Angle.h"
#include "SFML\Graphics\CircleShape.hpp"
#include "SFML\Graphics\ConvexShape.hpp"
#include "boost\assert.hpp"
#include "Config.h"
#include <iostream>
// This function sorts endpoints relative to the lightsource centrum
bool sortEndP... |
#include "rs-tl/bounded-array.hpp"
#include "rs-unit-test.hpp"
#include <stdexcept>
#include <string>
#include <utility>
#include <vector>
using namespace RS::TL;
using namespace RS::UnitTest;
namespace {
std::string repeat_string(const std::string& str, size_t n, const std::string& delimiter) {
if (n ==... |
/**
* @file BG96MQTTClient.cpp
* @author <NAME> (<EMAIL>)
* @brief
* @version 0.1
* @date 2019-08-14
*
* @copyright Copyright (c) 2019
*
*
* 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 th... |
// Copyright 2019 The MediaPipe 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 a... |
//----------------------------------------------------
// file: Landscape.cpp
//----------------------------------------------------
#include "Pch.h"
#pragma hdrstop
#include "NetDeviceLog.h"
#include "Landscape.h"
#include "SceneClassList.h"
#include "UI_Main.h"
#include "FileSystem.h"
#include "MenuTemp... |
/*
* 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 (C) 2018 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <algorithm>
#include <cstdlib>
#include <iomanip>
#include <memory>
#include <string>
#include <unordered_map>
#include <vector>
#include <gflags/gflags.h>
#include <opencv2/opencv.hpp>
#include <ext_list.hpp>
#include <infere... |
#include "infrastructure/RS_polynomial.h"
#include <thread>
#include <iostream>
prime_field::field_element* __dst[3];
prime_field::field_element_packed *__avx_dst[2];
prime_field::field_element* twiddle_factor;
void init_scratch_pad(int order)
{
__dst[0] = new prime_field::field_element[order];//(prime_field::fiel... |
/**************************************************************************
mp3.cpp - MPEG-1, MPEG-2 LSF, and MPEG-2.5 playback subroutines.
Author(s): <NAME>
Copyright (c) 1999-2000 <NAME>.
*************************************************************************/
/*******************************************... |
/*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*!
* dockerpack.
* config.cpp
*
* \date 09/25/2020
* \author <NAME> (<EMAIL>)
* \link https://github.com/edwardstock
*/
#include "config.h"
#include "utils.h"
#include <stdexcept>
#include <toolbox/strings.hpp>
inline dockerpack::step_ptr_t create_step(std::string command, std::string name = "", bool skip_... |
#include "LoboMesh.h"
#include <GLFW/glfw3.h>
#include <glad/glad.h>
#include <experimental/filesystem>
#include <iostream>
#include "MeshControl.h"
#include "OpenGLutils/glfunctions.h"
#include "imgui.h"
#include "stb_image.h"
#define GLM_ENABLE_EXPERIMENTAL
#include <omp.h>
#include "glm/gtx/euler_angles.hpp"
#includ... |
/*
Copyright (c) 2015 <EMAIL>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, soft... |
/**
g++ $(pkg-config --cflags --libs
/usr/local/Cellar/opencv/4.1.1_2/lib/pkgconfig/opencv4.pc) -std=c++11 local.cpp
-o local
**/
#include <array>
#include <iomanip> // for controlling float print precision
#include <iostream> // for standard I/O
#include <list>
#include <opencv2/core.hpp>
#include <opencv2/highg... |
/*
* Copyright 2003, 2004, 2005 PathScale, Inc. All Rights Reserved.
*/
/*
Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free S... |
/**
* @file KinematicChain.cpp
*
* @author <a href="mailto:<EMAIL>"><NAME></a>
* Implementation of Kinematic Chain
*/
#include "KinematicChain.h"
#include "Tools/NaoInfo.h"
#include <PlatformInterface/Platform.h>
using namespace naoth;
using namespace std;
KinematicChain::KinematicChain()
: initialized(false)
{
... |
/*
* Bullet OSG Framework.
* Robudog JD module.
*
* Copyright (c) 2015 <NAME> <<EMAIL>>
*
* www.jdhp.org
*/
#include "actuator.h"
#include "actuators/motor.h"
#include "builtin_parts/dynamixel_ax12.h"
#include "builtin_parts/robudog_trunk.h"
#include "joint.h"
#include "joints/point_to_point.h"
#include "joi... |
// Copyright (c) Nuralogix. All rights reserved. Licensed under the MIT license.
// See LICENSE.txt in the project root for license information.
#include "dfx/api/grpc/MeasurementStreamGRPC.hpp"
#include "dfx/api/grpc/CloudGRPC.hpp"
#include "dfx/api/validator/CloudValidator.hpp"
#include "dfx/action/v1/action.pb.h"
... |
/**
* @file check_bufferpool.cpp
* @ingroup
* @author <NAME> <<EMAIL>>
* @brief
* @details
*
* Copyright (c) 2014 Georgia Institute of Technology. All Rights Reserved.
*
* TODO add License
*/
//#include <unistd.h> // for usleep
#include "bliss-config.hpp"
#include "omp.h"
#include <cassert>
#include <chr... |
#include "TortuosityHypre.H"
#include "Tortuosity_filcc_F.H"
#include "TortuosityHypreFill_F.H"
#include <stdlib.h>
#include <ctime>
#include <chrono>
#include <AMReX_MultiFab.H>
#include <AMReX_PlotFileUtil.H>
/**
*
* Constructor
*
*/
TortuosityHypre::TortuosityHypre(const amrex::Geometry& geom,
... |
// Verzovani2.cpp : Defines the entry point for the console application.
//
#ifndef __PROGTEST__
#include <cassert>
#include <cstring>
#include <cstdlib>
#include <cstdio>
#include <iostream>
#include <iomanip>
#include <stdint.h>
using namespace std;
#endif /* __PROGTEST__ */
class CFile
{
public:
... |
// ---------------------------------------------------------------------------
// IMLAB
// ---------------------------------------------------------------------------
#include "imlab/datablock/DataBlock.h"
#include "imlab/datablock/Table.h"
#include "imlab/util/DataBlock_Types.h"
#include "imlab/util/Predicate.h"
#incl... |
// Copyright (c) 2016 <NAME>
// released under MIT (see LICENSE for details)
// based on example from
// http://docs.openlighting.org/ola/doc/latest/dmx_cpp_client_tutorial.html
// threading addition based on
// http://docs.openlighting.org/ola/doc/latest/cpp_client_tutorial.html#cpp_client_Thread
// build for local:... |
#include <chrono>
#include <csignal>
#include <iostream>
#include <iomanip>
#include <string>
#include <Windows.h>
#include <WbemIdl.h>
#include <comutil.h>
#include <tlhelp32.h>
#include "EventSink.h"
using namespace std;
using namespace std::chrono;
typedef struct {
HWND hPWnd;
HWND hWnd;
bool isMain... |
/*******************************************************************************
* Copyright 2016 -- 2022 IBM 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:/... |
// ship model and movement code
//
/*
Copyright © 2021 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, mer... |
// Copyright 2010-2018 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... |
// license:BSD-3-Clause
// copyright-holders:<NAME>
/***************************************************************************
Atari Jaguar hardware
****************************************************************************
------------------------------------------------------------
JERRY REGISTERS
... |
// Copyright 2017 <NAME>. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <algorithm>
#include <fstream>
#include <iostream>
#include <string>
#include <type_traits>
#include <... |
// g++ -DBUILD_EXE find-blobs.cc -lclipper-ccp4 -lclipper-core -lmmdb2 -o find-blobs
#include "blobs.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdexcept>
#include <algorithm>
#include <clipper/clipper.h>
#include <clipper/clipper-ccp4.h>
#include <mmdb2/mmdb_manager.h>
using std::string... |
// HandRankSetup.cpp : Sets up the HandRank File for VERY fast Lookups
// by <NAME> and the 2+2 list My code is GPL, use it as you like
// ====
//
// the basic concept here is that every 7-card permutation
// is added to a giant directed graph, which is arranged to
// eliminate as much redundancy as possible. it esse... |
// Copyright (c) 2014-2017 The Dash Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "activeznode.h"
#include "checkpoints.h"
#include "main.h"
#include "znode.h"
#include "znode-payments.h"
#include ... |
// Copyright 2014 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/pwl/cpwl_combo_box.h"
#include <algorithm>
#include <utilit... |
/*
* Copyright (c) Glow Contributors. See CONTRIBUTORS file.
* 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 ap... |
/* +------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| http://www.mrpt.org/ |
| |
| Cop... |
//
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) Contributors to the OpenEXR Project.
//
#ifdef NDEBUG
# undef NDEBUG
#endif
#include "compareB44.h"
#include "compareDwa.h"
#include <ImfOutputFile.h>
#include <ImfInputFile.h>
#include <ImfTiledOutputFile.h>
#include <ImfTiledInputFile.h>
#include <Imf... |
// 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 "components/enhanced_bookmarks/enhanced_bookmark_model.h"
#include <iomanip>
#include <sstream>
#include "base/base64.h"
#include "base/logging... |
// Copyright (c) 2016 The Bitcoin Core developers
// Copyright (c) 2017-2021 The Merit Foundation
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "blockencodings.h"
#include "consensus/consensus.h"
#include "consensus/v... |
#include <emp-tool/emp-tool.h>
#include "emp-tool/utils/hash.h"
#include "emp-sh2pc/emp-sh2pc.h"
#include <openssl/hmac.h>
#include <openssl/evp.h>
#include <stdio.h>
#include <ctype.h>
#include "hmac.h"
#include "hmac_optimized.h"
using namespace emp;
using namespace std;
enum {
SN_LENGTH = 12, CID_LENGTH = 4, ... |
/* <starsha/corpus.cc>
Implements <starsha/corpus.h>.
Copyright 2010-2014 Tagged
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-... |
//
// LanguageManager.cpp
// KitkitSchool
//
// Created by <NAME> on 6/30/16.
//
//
#include "LanguageManager.hpp"
#include "cocos2d.h"
#include <utility>
USING_NS_CC;
using namespace std;
LanguageManager* LanguageManager::_instance = 0;
LanguageManager* LanguageManager::getInstance()
{
if(!_instance) {
... |
#include "csc_model.h"
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include "csc_profiler.h"
/*
slot extra_bits dist_range
0 0 bits 0 - 0
1 0 bits 1 - 1
2 0 bits 2 - 2
3 1 bits 3 - 4
4 2 bits ... |
/*
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
*/
#include <assert.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
#include <net/if.h>
#include <sys/ioctl.h>
#include <net/address.h>
#include <oper/inet4_ucroute.h>
#include "base/logging... |
/* OpenSceneGraph example, osgsimulation.
*
* 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, pub... |
#include "XmlRpcValue.h"
#include "XmlRpcException.h"
#include "XmlRpcUtil.h"
#include "base64.h"
#ifndef MAKEDEPEND
# include <iostream>
# include <ostream>
# include <stdlib.h>
# include <stdio.h>
#endif
namespace XmlRpc {
static const char VALUE_TAG[] = "<value>";
static const char VALUE_ETAG[] = "</... |
#include "precompiled_stl.hpp"
using namespace std;
#include "utils.hpp"
#include "core_functions.hpp"
#include "image_functions.hpp"
#include "image_functions2.hpp"
#include "visu.hpp"
#include "read.hpp"
#include "normalize.hpp"
#include "spec.hpp"
// =========
// tasks.cpp
// use manually created solutions
// ====... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.