text stringlengths 8.71k 38.4k |
|---|
/*
* DynamicalVariables.cpp
*
* Created on: Oct 22, 2015
* Author: bazow
*/
#include <stdlib.h>
#include <math.h> // for math functions
#include "edu/osu/rhic/trunk/hydro/DynamicalVariables.h"
#include "edu/osu/rhic/harness/lattice/LatticeParameters.h"
#include "edu/osu/rhic/trunk/hydro/EnergyMomentumTensor... |
#include <fstream>
#include <math.h>
#include <uWS/uWS.h>
#include <chrono>
#include <iostream>
#include <thread>
#include <vector>
#include "Eigen-3.3/Eigen/Core"
#include "Eigen-3.3/Eigen/QR"
#include "json.hpp"
#include "spline.h"
using namespace std;
// for convenience
using json = nlohmann::json... |
/*
* VOS has quite weird format; it contains MIDI file,
* and it just make user available to play, following MIDI's beat.
* So, All tempo change/beat/instrument information is contained at MIDI file.
* VOS only contains key & timing data; NO BEAT DATA.
* That means we need to generate beat data from time data,
* ... |
/*
Copyright 2012 bigbiff/Dees_Troy TeamWin
This file is part of TWRP/TeamWin Recovery Project.
TWRP is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any ... |
/*
* Nimrod/G Agent
* https://github.com/UQ-RCC/nimrodg-agent
*
* SPDX-License-Identifier: Apache-2.0
* Copyright (c) 2019 The University of Queensland
*
* 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 ... |
/*
* 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 ... |
/*
* File: sbtool.cpp
*
* Copyright (c) Freescale Semiconductor, Inc. All rights reserved.
* See included license file for license details.
*/
#include "stdafx.h"
#include <iostream>
#include <fstream>
#include <sstream>
#include <stdlib.h>
#include <stdexcept>
#include <stdio.h>
#include "options.h"
#include "En... |
//===========================================================================
/*
Software License Agreement (BSD License)
Copyright (c) 2003-2016, CHAI3D
(www.chai3d.org)
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitte... |
/*
* Copyright (c) 2012 Intel 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.0
*
* Unless required by applicab... |
/*
* CiderPress
* Copyright (C) 2007 by faddenSoft, LLC. All Rights Reserved.
* See the file LICENSE for distribution terms.
*/
/*
* The application object.
*/
#include "stdafx.h"
#include "../util/UtilLib.h"
#include "MyApp.h"
#include "Registry.h"
#include "Main.h"
#include "DiskArchive.h"
#inclu... |
// --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... |
#include <stdint.h>
// Positive tests: these should generate a violation
// No space on either side of binary operators
void test_1(void)
{
int32_t a, b, c;
bool result;
int32_t * p;
// Things that should be caught
// Binary assignment operator
a=1;
b=1;
c=1;
// Binary ... |
#include "helib_keys.h"
void HelibKeys::initKeys(long s, long R, long p, long r, long d, long c, long k, long w, long L, long chosen_m, const Vec<long> &gens, const Vec<long> &ords) {
// long R=1;
// long p=2;
// long r=1;
// long d=1;
// long c=2;
// long k=80;
// long L=0;
// long s=0;
// long repeat=1;
// ... |
/* name: <NAME>
* email address: <EMAIL>
* office hour of my TA: Eeshita Biswas Friday 10:00-12:00
*/
#include <iostream>
#include <stdlib.h>
#include <math.h>
#include <string>
#include <time.h>
using std::string;
using namespace std;
string reverseString(string inputString, string outputString);
int sumOfInteger(i... |
/*=============================================================================
Spirit v1.6.0
Copyright (c) 2002 <NAME>
http://spirit.sourceforge.net/
Permission to copy, use, modify, sell and distribute this software
is granted provided this copyright notice appears in all copies.
This ... |
// https://open.gl/framebuffers
// Try implementing the two-pass Gaussian blur effect by adding another
// framebuffer
// g++ -std=c++17 -Wextra -Wall -Werror -pedantic ex1.cpp -lglfw -lGLEW
// -lGL -lSOIL
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <SOIL/SOIL.h>
#include <glm/glm.hpp>
#include <glm/gtc/ma... |
/*
* PointCloud Lib component.
*
* Copyright (c) 2018 PointCloud.ai Inc.
*/
#include "CameraSystem.h"
#include "Timer.h"
#include "Common.h"
#include "Logger.h"
#include <iomanip>
#include <fstream>
#include <math.h>
//#include "framestream.h"
#define GLFW_INCLUDE_GLU
#define GL_SILENCE_DEPRECATION
#include "GLFW... |
#include <Arclight/Colour.h>
#include <Arclight/Core/Application.h>
#include <Arclight/Core/Input.h>
#include <Arclight/Core/Logger.h>
#include <Arclight/Core/ResourceManager.h>
#include <Arclight/Components/Transform.h>
#include <Arclight/Components/Sprite.h>
#include <Arclight/ECS/World.h>
#include <Arclight/Graphics... |
/*
* Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights ... |
/*******************************************************************************
* Copyright (c) 2016, 2017 IBM Corp. and others
*
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which accompanies this
* distribution and is available at https://w... |
//! Log Explorer
/*!
Displays content of a log record, consisting of a webm and a json file.
*/
#define CVUI_DISABLE_COMPILATION_NOTICES
#define CVUI_IMPLEMENTATION // insert implementation of cvui
#include <Core/Core.hpp>
#include <opencv2/core/utility.hpp>
#include <opencv2/opencv.hpp>
#include <opencv2/core/types.... |
#include "road_recognizer/xmeans_clustering.h"
XmeansClustering::XmeansClustering(bool clustering_method, int n, int width_division_num, int height_division_num, double max_width, double max_height, double eps)
{
kmeans = false;
kmeans_pp = true;
N_ = n;
CLUSTERING_METHOD_ = clustering_method;
WIDTH_DIVISION_NUM... |
/*
SjASMPlus Z80 Cross Compiler
Copyright (c) 2004-2006 Aprisobal
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 pu... |
/*
* Copyright (c) 2008 <NAME>, <NAME>, <NAME>
*
* Permission to use, copy, modify, and 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.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR... |
////////////////////////////////////////////////////////////////////////////////
// Vehicle.cpp
// Vehicle control
// Copyright <NAME> 2007-2010
////////////////////////////////////////////////////////////////////////////////
#include "Vehicles.h"
#include "FileCache.h"
#include "FramerateCounter.h"
#include "Config.h... |
#pragma once
// Copyright 2021, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0
/*!
* @file
* @brief Helper math to do things with 3D hands for the camera-based hand tracker
* @author <NAME> <<EMAIL>>
* @author <NAME> <<EMAIL>>
* @ingroup drv_ht
*/
#include "math/m_api.h"
#include "math/m_vec3.h"
#include ... |
//
// 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... |
// ---------------------------------------------------------------------------
//
// The ab-initio based multiscale library
//
// S / P H I / n X
//
// Copyright: Max-Planck-Institute for Iron Research
// 40237 Duesseldorf, Germany
//
// Contact: https://sxlib.mpie.d... |
// Copyright 2017 <NAME>
/// @file
/// @brief Support for Toshiba protocols.
/// @see https://github.com/r45635/HVAC-IR-Control
/// @see https://github.com/r45635/HVAC-IR-Control/blob/master/HVAC_ESP8266/HVAC_ESP8266T.ino#L77
/// @see https://github.com/crankyoldgit/IRremoteESP8266/issues/1205
/// @see https://www.tos... |
#include "p2Defs.h"
#include "p2Log.h"
#include "j1App.h"
#include "j1Render.h"
#include "j1Textures.h"
#include "j1Fonts.h"
#include "j1Input.h"
#include "j1Gui.h"
#include "j1Gui_Label.h"
#include "j1Gui_Image.h"
#include "j1Gui_Object.h"
#include "j1Gui_Button.h"
#include "j1Main_Menu.h"
#include "j1Scene.h"
#includ... |
#include "gbConfig.h"
#include "nes.h"
#include "osd.h"
#include "dataFlash/gbrom.h"
#include "gbGlobals.h"
#include "PS2Kbd.h"
#include "gb_sdl_font8x8.h"
#include "sdl.h"
unsigned char gb_run_rom=0;
unsigned char gb_id_run_rom=0;
unsigned int gb_timer_run_rom_ini=0;
//#define BLACK 0
//#define BLU... |
/*
File: Storage.cpp
Author: <NAME>
Date: 2016.08.28
Copyright 2016 Manuvr, 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 ... |
// Copyright (C) 2008, 2009 International Business Machines and others.
// All Rights Reserved.
// This code is published under the Eclipse Public License.
//
// $Id$
//
// Authors: <NAME> IBM 2008-09-09
#include "IpInexactPDSolver.hpp"
#ifdef HAVE_CMATH
# include <cmath>
#else
# ifdef HAVE_MATH_H
# i... |
// main.cpp
// Schell
// Created by gb on 10/21/12.
// Copyright (c) 2012 Barmpalias. All rights reserved.
//LIBRARIES
//#include <GLUT/glut.h>
#include <math.h>
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <string.h>
#include <stdlib.h>
#include <time.h>
#include <vector>
#include <algorithm>... |
// Copyright (c) 2016-2020 Memgraph Ltd. [https://memgraph.com]
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required ... |
#include <cstdio>
#include <stdio.h>
#include <stdlib.h>
#include <wiringPi.h>
#include <wiringPiSPI.h>
#include "IO/COM/CAN/CAN.hh"
#include "IO/COM/SPI/Specific/SPI_CAN.hh"
#include "IO/COM/SPI/SPI.hh"
#include "Motor_control/CtrlStruct.h"
#include "Direction_control/direction_controller.h"
//#include "Dire... |
#include <QCoreApplication>
#include <unistd.h>
#include <stdio.h>
#include <signal.h>
#include <sys/types.h>
#include <shared_mutex>
#include <semaphore.h>
#include <fstream>
#include <iostream>
#include <QJsonObject>
#include <QString>
#include <QJsonDocument>
#include <QJsonArray>
#include <QJsonValue>
#include <QS... |
#include "mainwindow.h"
#include <biomolecules/sprelay/core/k8090.h>
#include <biomolecules/sprelay/core/k8090_defines.h>
#include "appcore.h"
#include "appstate.h"
#include "neslabusmainwidget.h"
#include "centralwidget.h"
#include "experimentsetup.h"
#include "relay_options_widgets.h"
#include "relay.h"
#include "s... |
int jFgD ,It, nE6, X0q
, P6O, r,
TlutX , hzv , eW07 /*gmIu*/,fSx ,tO5 ,i ,
zsm6 ,HyNN ,
JuGQ , Jd ,
McND9 ,OdTtEJ
, pYw
, ryFhrT, BjaFcU, QuTRgUo, EP
,//G
ePl , NpmH , HIA,VC, gE5
,mA
,tf
//vz
,
l1WY
,
LX ,
DjJ,
m0,Xf ,Z6HG ,Fynj ,//Au
Fk ,u , A55OH,/*axf*/ Q58e,
Nc , ks,
Ztl0V,
glx,Db ,ao,
/*... |
/*******************************************************************************
HARPtools by <NAME>, Summer 2011
*******************************************************************************/
#include <iostream>
#include <iomanip>
// #define USE_DEBUG 7
// #define PRINT_ACTIVE_THREADS
#include "include/types.h"... |
//////////////////////////////////////////////////////////////////////////////
//
// SHaded Cube.cpp
//
//////////////////////////////////////////////////////////////////////////////
#include "GL/glew.h"
#include "GL/freeglut.h"
#include "GLFW/glfw3.h"
#include "LoadShaders.h"
#include <glm/glm.hpp> //includes GML
#i... |
int
ktEat
, SO ,bZuD ,P, fVZ,
oV , d8
, rRx ,nXM,WN,
z6d//o0zlJ
,feuVgY
,XY,ER,BkU
,
qDMz,
cqVq2,vip ,BUm
//xAeO
,Na9, ypR
,XQUtyd, k4RM9JZ, cz ,V
/*TGmb*/ ,AWc ,FZz,
Z39, G, UT, fGunrR
,
/*ZL25*/G5Z,
rvz,
T ,
/**/qR1, hPYf96,K9Tp//rZ
,Yxll, cvd,
oebG5 ,TyXB , fyT2X,OSqy//NI3o
,f44,eyGp , m,
ByiFrg... |
// DrawCircle_1.cpp
//
// by <NAME>, Jun 2015
//
// SoQt includes
#include <Inventor/Qt/SoQt.h>
#include <Inventor/Qt/viewers/SoQtExaminerViewer.h>
// Coin includes
#include <Inventor/nodes/SoBaseColor.h>
#include <Inventor/nodes/SoSphere.h>
#include <Inventor/nodes/SoSeparator.h>
#include <Inventor/nodes/SoGroup.h>
#... |
/* --- --- ---
* Copyright (C) 2008--2010 Idiap Research Institute (.....<EMAIL>)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the abov... |
/* Copyright 2012. Bloomberg Finance L.P.
*
* 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... |
#pragma once
#include "template/template.hpp"
//
namespace ArbitraryModConvolution2 {
#pragma GCC target("avx2,fma")
constexpr int max_fft_size = 1 << 20;
const long double PI = acosl(-1);
__attribute__((aligned(32))) double alr[max_fft_size + 4];
__attribute__((aligned(32))) double ali[max_fft_size + 4];
__attribu... |
// Include standard headers
#include <stdio.h>
#include <stdlib.h>
#include <map>
#include <vector>
#include <iostream>
#include <omp.h>
// Include GLEW. Always include it before gl.h and glfw3.h, since it's a bit magic.
#include <GL/glew.h>
// Include GLFW
#include <GLFW/glfw3.h>
GLFWwindow* window;
// Include GL... |
/* This is sample from the OpenCV book. The copyright notice is below */
/* *************** License:**************************
Oct. 3, 2008
Right to use this code in any way you want without warranty, support or any guarantee of it working.
BOOK: It would be nice if you cited it:
Learning OpenCV: Computer... |
/* Copyright (C) 2013 <NAME>, <NAME>, <NAME>, <NAME>, and others
CDICE 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.
CD... |
/*===================== begin_copyright_notice ==================================
Copyright (c) 2017 Intel Corporation
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, includi... |
#include "engine.h"
int timebase = 0;
int frame = 0;
char s[30];
void spherical2Cartesian() {
camX = radius * cos(bet) * sin(alfa);
camY = radius * sin(bet);
camZ = radius * cos(bet) * cos(alfa);
}
void changeSize(int w, int h) {
// Prevent a divide by zero, when window is too short
// (you ca... |
//----------------------------------------------------//
// //
// File: Renderer.cpp //
// Initialization, rendering and input handling //
// happens here //
// ... |
/*
* See header file for a description of this class.
*
* \author <NAME> - INFN Torino
*/
#include "MagneticField/GeomBuilder/src/MagGeoBuilderFromDDD.h"
#include "MagneticField/GeomBuilder/src/volumeHandle.h"
#include "MagneticField/GeomBuilder/src/bSlab.h"
#include "MagneticField/GeomBuilder/src/bRod.h"
#inclu... |
/*
Copyright 2013 Software Reliability Lab, ETH Zurich
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 applicabl... |
//**************************************************************************************//
// //
// The MIT License (MIT) //
// ... |
#include "stdafx.h"
#include "GameFont.h"
#pragma hdrstop
#include "../xrcdb/ISpatial.h"
#include "IGame_Persistent.h"
#include "render.h"
#include "xr_object.h"
#include "xrRender/DrawUtils.h"
int g_ErrorLineCount = 15;
Flags32 g_stats_flags = { 0 };
// stats
DECLARE_RP(Stats);
class optimizer {
float average... |
/* INCLUDES */
#include <cmath>
#include <vector>
#include <iostream>
#include "quickcg.h"
#include "fileLoader.h"
#include <sstream>
#include <string>
#include "vector2D.h"
#include "gameobject.h"
using namespace QuickCG;
/* CONSTANTS */
#define mapWidth 64
#define mapHeight 64
/*! \mainpage kRAYate: A raycasting,... |
/*
* Copyright 2006-2009, Haiku, Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* <NAME>, <EMAIL>
* <NAME>, <EMAIL>
* <NAME>, <EMAIL>
*/
#include "EndpointManager.h"
#include "TCPEndpoint.h"
#include <net_protocol.h>
#include <net_stat.h>
#include <KernelExport.h... |
#include "entity.h"
#include <SFML/Graphics.hpp>
#include<SFML/Audio.hpp>
#include"player.h"
#include<string>
using namespace std;
extern bool gameclear;
extern bool pause;
extern bool gameover;
extern float mousex, mousey;
extern bool menumode;
class player;
//class bot1;
class gpui :public entity
{
public:
//bot1* bo... |
/*
Copyright (c) 2009, 2015, Oracle and/or its affiliates. All rights reserved.
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
the Free Software Foundation; version 2 of the License.
This program is distributed i... |
// Copyright (c) 2016 Graphcore Ltd. All rights reserved.
#include "popnn/NonLinearity.hpp"
#include "../popops/ExprOpUtil.hpp"
#include "HardSigmoid.hpp"
#include "NonLinearityInternal.hpp"
#include "poplibs_support/Tracepoint.hpp"
#include "poplibs_support/logging.hpp"
#include "poplin/MatMul.hpp"
#include "popnn/Non... |
#include "StdAfx.h"
#include "nttStandardHoughEx.h"
nttStandardHoughEx::nttStandardHoughEx(void) {}
nttStandardHoughEx::~nttStandardHoughEx(void) {}
void nttStandardHoughEx::run(IplImage* img, CvSeq *linesFound, double rhoResolution, double thetaResolution, int threshold, int linesMax,
int lineLength, ... |
/// The MIT License (MIT)
///
/// Copyright (c) 2015 <NAME>
/// Copyright (c) 2015 BitBox, Ltd.
///
/// 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... |
/*
* <one line to give the program's name and a brief idea of what it does.>
* Copyright (C) 2016 <copyright holder> <email>
*
* 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
* the Free Software Foundation; either versi... |
/*******************************************************************************
* *
* COPYRIGHT (C) Aug, 2020 | <NAME> *
* *
* Thi... |
/****************************************************************************
*
* Copyright (c) 2020 Vivante Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software wi... |
// CSha512Sha384.cpp : implementation file
//
/////////////////////////////////////////////////////////////////////////////////////////////
// //
// Sha512Sha384 - Implementation of the Secure SHA384 and SHA512 Algorithms. ... |
// license:BSD-3-Clause
// copyright-holders:<NAME>
/***************************************************************************
Slick Shot input handling
Unlike the other 8-bit Strata games, Slick Shot has an interesting
and fairly complex input system. The actual cabinet has a good-sized
gap underne... |
/*
* Copyright 2016 <NAME>
* License: Apache License, Version 2.0
* http://www3.cs.stonybrook.edu/~emanzoor/streamspot/
*/
#include <algorithm>
#include <bitset>
#include <cassert>
#include <chrono>
#include <deque>
#include <iostream>
#include <queue>
#include <random>
#include <string>
#include <unordered_map>
... |
#include "main.h"
#include "timer.h"
#include "boat.h"
#include "water.h"
#include "barrel.h"
#include "waves.h"
#include "canon.h"
#include "gifts.h"
#include "rocks.h"
#include "boss.h"
#include "monster.h"
using namespace std;
GLMatrices Matrices;
GLuint programID;
GLFWwindow *window;
/************************... |
#include <vector>
#include <assert.h>
class Vec
{
private:
std::vector<double> mData;
public:
Vec() : mData(1) {}
Vec(BFInt n) : mData(n) {}
Vec(std::vector<double> &data) : mData(data) {}
double& operator[](BFInt i) { return mData[i]; }
double operator[](BFInt i) const { return mData[... |
#include <opencv2/core.hpp>
#include <opencv2/imgcodecs.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/core/utils/logger.hpp>
#include <opencv2/core/types.hpp>
#include <opencv2/xphoto/white_balance.hpp>
#include <iostream>
#include <string>
int r_val = 85;
int g_val ... |
#include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
#include <map>
#include <set>
#include <cmath>
#include <algorithm>
using namespace std;
typedef struct matrix{
map<string, map<string, double>> confusion_matrix;
}Matrix;
typedef struct res{
string name; //属性名
... |
//http://sourceforge.net/projects/ibmquestdatagen/files/latest/download
#include <stdio.h>
#include <assert.h>
#include <string.h>
#include <math.h>
#include "gen.h"
//------------------------------- Parameters -------------------------------
void PatternPar::write(ostream &fp)
{
fp << "\tNumber of patterns = " ... |
int AT,w ,s7 ,
zLd ,
Tqw
,S6
/*ii*/, Nob
, //
HuyyB
,
yF ,
oKw,Pqr5,/*f9hJ*//*I*/VnS ,
/*4p2*/ef2 , om6
,
tjbYt,uws/**/,
X, BzU ,
igB4,
mkY ,
lPB,FkF , Hezf , o5S,//Hq
IxC
,
DVy , t
, cEurA,y ,ZJj,ia,d4
//mQ
,f7V , mR,
bZ,
eiNrMD, //Xpo7
OO6v//j
,Rhjw
,/*d2*/mv4y,bF , C,kF/*XBj*/,AEona,//viGE... |
/*
* SketchSort.cpp
* Copyright (c) 2017 <NAME> All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to... |
#include "labels.hpp"
#include <components/esm/loadbody.hpp>
#include <components/esm/loadcell.hpp>
#include <components/esm/loadcont.hpp>
#include <components/esm/loadcrea.hpp>
#include <components/esm/loadlevlist.hpp>
#include <components/esm/loadligh.hpp>
#include <components/esm/loadmgef.hpp>
#include <components/... |
/*
This is a simple MJPEG streaming webserver implemented for AI-Thinker ESP32-CAM
and ESP-EYE modules.
This is tested to work with VLC and Blynk video widget and can support up to 10
simultaneously connected streaming clients.
Simultaneous streaming is implemented with dedicated FreeRTOS tasks.
Inspired ... |
/**
* Puma - CityEngine Plugin for Rhinoceros
*
* See https://esri.github.io/cityengine/puma for documentation.
*
* Copyright (c) 2021 Esri R&D Center Zurich
*
* 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... |
#include "USRP_server_link_threads.hpp"
//the initialization method requires an already initialized hardware manager class and an already initialized streaming queue (output of analysis)
TXRX::TXRX(server_settings* settings, hardware_manager* init_hardware, bool diagnostic_init){
BOOST_LOG_TRIVIAL(info) << "Initi... |
/**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#include "ametsuchi/impl/storage_impl.hpp"
#include <soci/postgresql/soci-postgresql.h>
#include <boost/format.hpp>
#include "ametsuchi/impl/flat_file/flat_file.hpp"
#include "ametsuchi/impl/mutable_storage_impl.hpp"
... |
#include <algorithm>
#include <fcntl.h>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <sys/ptrace.h>
#include <sys/user.h>
#include <sys/wait.h>
#include <unistd.h>
#include <unordered_map>
#include <vector>
#include "vendor/libelfin/dwarf/dwarf++.hh"
#include "vendor/libelfin/e... |
#include "Simulation.h"
#include <stdio.h>
#include <math.h>
#include "Array.h"
#include "Cell.h"
#include "Cells.h"
#include "Compute.h"
#include "InputOutput.h"
#include "Constants.h"
#include "tools.h"
#include "UniformGrid.h"
#include "Nutrients.h"
#include "Neighbours.h"
#include "Forces.h"
#include "ClockIt.h"
... |
/**
* main_build_matrix.c
* FUNCTIONS:
* main_build_matrix -Entry point of console application
*
* Serves as entry point for application
*
* Written By:
* <NAME> from a translation of a fortran-90 program
* that does the same thing. Original fortran code by Subha
*
* For:
* NIR Dartmouth College 2008
*
* Created: ... |
/**
\file QuinticSplineTrajectory.h
\brief definition of QuinticSplineTrajectory Class
* this class is used to genrate limited jerk time parameteriztion for single joint
* default controller/interpolation frequency: 125.
\author <NAME>
\date 30/8/2019
*/
#include "quinticsplinetrajectory.h"
QuinticSplineT... |
// Filter big deletions from PAF. These can sometimes arise from minigraph split alignments. They are rare, but can really
// mess up topology of graph if even one gets into cactus.
// 1) Estimate anchors along reference path for every node in input graph
// 2) Scan every query in PAF in order, and look at target bl... |
/*
* MixGaussians.cpp
* MADTraC
*
* A class to describe a two-dimensional mixture of Gaussians
* that includes a method to fit the mixture to a black and
* white image using expectation maximisation.
*
* Created by <NAME> on 6/10/09.
* Copyright 2009 Princeton University. All rights reserved.
*
*/
#i... |
// Copyright 2015 National ICT Australia Limited (NICTA)
//
// 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 appl... |
#include "ConstructionManager.h"
using namespace MyBot;
ConstructionManager::ConstructionManager()
: reservedMinerals(0)
, reservedGas(0)
{
}
// add a new building to be constructed
void ConstructionManager::addConstructionTask(BWAPI::UnitType type, BWAPI::TilePosition desiredPosition)
{
if (type == BWAPI... |
#include <assert.h>
#include "lms7002_mainPanel.h"
#include "lms7002_pnlAFE_view.h"
#include "lms7002_pnlBIAS_view.h"
#include "lms7002_pnlBIST_view.h"
#include "lms7002_pnlCDS_view.h"
#include "lms7002_pnlCLKGEN_view.h"
#include "lms7002_pnlLDO_view.h"
#include "lms7002_pnlLimeLightPAD_view.h"
#include "lms7002_pnlTxT... |
/*
* memoryDisambiguation.cpp
*
* Created on: 19 déc. 2017
* Author: simon
*/
#include <dbt/dbtPlateform.h>
#include <isa/irISA.h>
#include <isa/vexISA.h>
#include <lib/endianness.h>
#include <lib/log.h>
#include <string.h>
#include <transformation/memoryDisambiguation.h>
#include <transformation/reschedule... |
#include "lcd.h"
#include "font.h"
#define USE_SYNC_GPIO 1
//#define USE_SYNC_GPIO 0
//--------------------------------------------------------------
// Display Timing
//--------------------------------------------------------------
#define RK043FN48H_HSYNC ((uint16_t)41) /* Horizontal synch... |
/*********************************************************************
* Filename: des.c
* Author: <NAME> (brad AT radconte.com)
* Copyright:
* Disclaimer: This code is presented "as is" without any guarantees.
* Details: Implementation of the DES encryption algorithm.
Modes of operation (such as... |
#include <iostream>
#include <depth_camera_cmd_video.h>
#define IMGUI_DISABLE_OBSOLETE_FUNCTIONS
#include <imgui.h>
#include <imgui_impl_glfw.h>
#include <GLFW/glfw3.h>
#include <VeraMono_font.h>
#include <sstream>
#include <ctime>
#include <iomanip>
using namespace std;
using namespace chrono;
GLFWwindow* MainWn... |
// ===============================================================================
// NVIDIA PHYSX SDK TRAINING PROGRAMS
// LESSON 903: FLUIDS AND RIGID BODIES
//
// ===============================================================================
#include "Lesson903.h"
#include "Timing.h"
#inclu... |
#include "memodb_internal.h"
#include <llvm/ADT/StringRef.h>
#include <llvm/Support/ErrorHandling.h>
#include <llvm/Support/ScopedPrinter.h>
#include <cassert>
#include <cstring>
#include <sodium.h>
#include <sqlite3.h>
#include <vector>
enum ValueType {
BYTES_BLOB = 0, // bytestring stored directly in "blob" ta... |
int ig ,
buEF5t,y
,hM1
,//P
m7P,GDhw ,YsOf,
a7/**/, //
HG,
tE5k//VV
,pcZ
,SJ0 ,
VlF,/*A*/ne , Wx,
SPfG
,/*Y*/Lb,Z , h4 , hVn,
AV,ML8,
o
, l, Zmky
, phOR,Qty,
HYST
,V6G ,/*IRo*/ jh
, zQCe
,
O6I
,jpSk
,wz
, p ,
uxG
,at9 ,IE , uWWLg,cEDR,DUufj ,
ZNZW; //mYh
void f_f0 ()/*N4*/{ {
for (int ... |
// Copyright 2011 The Avalon Project Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0
// that can be found in the LICENSE file.
// <NAME>, May 2011
// A rough physical boat model.
#include <string>
#include "common/normalize.h"
#include "common/sign.h"
#include "helmsman/... |
//===- bolt/Passes/LongJmp.cpp --------------------------------------------===//
//
// 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
//
//===---------------------------... |
/*
* Copyright 2020 OmniSci, 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 t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.