text stringlengths 5.71k 33.7k |
|---|
#include <cstddef>
#include <utility>
#include "../../include/nass/group.hpp"
template <size_t... Idxs>
auto create_giant_group(std::index_sequence<Idxs...>)
{
return nass::make_value_group(int(Idxs)...);
}
static volatile int dummy = 0;
int main()
{
auto testee = create_giant_group(std::make_index_sequenc... |
// -*- C++ -*-
//
// Package: DeDxDiscriminatorLearner
// Class: DeDxDiscriminatorLearner
//
/**\class DeDxDiscriminatorLearner DeDxDiscriminatorLearner.cc RecoTracker/DeDxDiscriminatorLearner/src/DeDxDiscriminatorLearner.cc
Description: <one line class summary>
Implementation:
<Notes on implementation... |
/***************** start of the getcgivars() module **********************/
/*************************************************************************/
/** **/
/** getcgivars.c-- routine to read CGI input variables into an **/
/** arr... |
//--------------------------------------------------------------------------
// File and Version Information:
// $Id: RacRandomControl.cc 449 2010-01-15 11:42:59Z stroili $
//
// Description:
// Class RacRandomControl
//
// Environment:
// Software developed for the BaBar Detector at the SLAC B-Factory.
//
// Author L... |
#include <string>
#include <engine/lua_include.h>
#include <base/system.h>
#include <engine/storage.h>
#include <engine/console.h>
#include <engine/server.h>
#include <engine/shared/config.h>
#include <base/math.h>
#include <game/server/gamecontext.h>
#include "mapconverter.h"
#include "lua.h"
#include "luabinding.... |
/*
* Copyright (c) 2019 Opticks Team. All Rights Reserved.
*
* This file is part of Opticks
* (see https://bitbucket.org/simoncblyth/opticks).
*
* 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 ... |
/*
* See header file for a description of this class.
*
*/
#include "FWCore/Framework/interface/ESHandle.h"
#include "DataFormats/TrackReco/interface/Track.h"
#include "DataFormats/TrackReco/interface/TrackFwd.h"
#include "Geometry/CommonDetUnit/interface/GeomDet.h"
#include "Geometry/Records/interface/TrackerDig... |
/**
* \file PnlWznmPrsDetail.cpp
* job handler for job PnlWznmPrsDetail (implementation)
* \copyright (C) 2016-2020 MPSI Technologies GmbH
* \author <NAME> (auto-generation)
* \date created: 28 Nov 2020
*/
// IP header --- ABOVE
#ifdef WZNMCMBD
#include <Wznmcmbd.h>
#else
#include <Wznmd.h>
#endif
#include "P... |
////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2012 <NAME>
// Copyright (c) 2012 <NAME>
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
/////////////////////... |
#include "state_merger.h"
#include "evaluate.h"
#include <stdlib.h>
#include <math.h>
#include <vector>
#include <map>
#include <iostream>
#include <iomanip>
#include <limits.h>
#include "overlap4logs.h"
#include "parameters.h"
REGISTER_DEF_DATATYPE(overlap4logs_data);
REGISTER_DEF_TYPE(overlap4logs);
// they should... |
/* Author: <NAME> <<EMAIL>>
* File: key.cpp
*
* String compression by smaz <https://github.com/antirez/smaz>
* Key hashing by <NAME>
*
* Sorry for the mess.
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <cstring>// used for strcmp
#include <cerrno>
#include <fcntl.h>
#include "smaz.h... |
/**
* This file is part of GrainViewer, the reference implementation of:
*
* <NAME> and <NAME> (2020).
* Real Time Multiscale Rendering of Dense Dynamic Stackings,
* Computer Graphics Forum (Proc. Pacific Graphics 2020), 39: 169-179.
* https://doi.org/10.1111/cgf.14135
*
* Copyright (c) 2017 - 2020 -- T... |
/************************************************************************
* *
* GLE - Graphics Layout Engine <http://www.gle-graphics.org/> *
* *
* Modified BSD License ... |
/*
By downloading, copying, installing or using the software you agree to this
license. If you do not agree to this license, do not download, install,
copy or use the software.
License Agreement
For Open Source Computer Vision Library
(3-clause BSD License)
Copyright (C) 2013, OpenCV Foundation,... |
//
// Copyright (c) 2008-2017 the Urho3D project.
//
// 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, m... |
#include<chrono>
#include<ctime>
#include<cstdio>
#include<cstdlib>
#include<cmath>
#include<iostream>
#include<vector>
#include<utility>
#include<random>
#include"xcl2.hpp"
#include"sizes.h"
#include"common.h"
//#define DEBUGX
using namespace std;
using namespace std::chrono;
unsigned int* input_doc_words;
vector<u... |
// __BEGIN_LICENSE__
// Copyright (C) 2006-2010 United States Government as represented by
// the Administrator of the National Aeronautics and Space Administration.
// All Rights Reserved.
// __END_LICENSE__
#include <vw/GPU.h>
using namespace vw;
using namespace GPU;
using std::vector;
using std::string;
//######... |
//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... |
#include <iostream>
#include <memory>
#include <vector>
#include <cmath>
#include <algorithm>
#include <fstream>
#include <sstream>
#include <scm/core/math.h>
#include "lodepng.h"
#include "texture.h"
#include "frame_buffer.h"
struct vertex {
scm::math::vec3f pos_;
scm::math::vec3f nml_;
scm::math::vec2f ... |
// ATC headers
#include "ATC_TransferPartitionOfUnity.h"
#include "ATC_Error.h"
#include "FE_Engine.h"
#include "LammpsInterface.h"
#include "Quadrature.h"
#include "PerPairQuantity.h"
#ifdef HAS_DXA
#include "DislocationExtractor.h"
#endif
// Other Headers
#include <vector>
#include <map>
#include <set>
#include <u... |
/* Copyright (c) <2003-2016> <<NAME>, Newton Game Dynamics>
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
*... |
// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in w... |
/*
* Copyright (c) 2019 - 2020, Thales DIS Singapore, 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
*
* Unl... |
#include "DetectorConstruction.hh"
#include "DetectorMessenger.hh"
#include "PrimaryGeneratorMessenger.hh"//PGM
#include "Global.hh"
#include "G4Material.hh"
#include "G4NistManager.hh"
#include "G4Tubs.hh"
#include "G4Box.hh"
#include "G4Sphere.hh"
#include "G4LogicalVolume.hh"
#include "G4PVPlacement.hh"
#include... |
/*
* --------------------------------------------------------------
*
* ------ Lattice Boltzmann @ The University of Manchester ------
*
* -------------------------- L-U-M-A ---------------------------
*
* Copyright 2019 The University of Manchester
*
* Licensed under the Apache License, Version 2.0 (the "License");
* ... |
/***************************************************************************
* utils.cc -- Various miscellaneous utility functions which defy *
* categorization :) *
* *
***********... |
int qp
, oNJZ,BH6, U7J, OJto , JFS , q,MfqO/*Us*/, Yxkbba ,
ak ,Z ,n ,mn/*MJ*/, pK8Ay ,
YG,HKJjg,//V
yCAfnH ,D, Q,W , Vr7CWAsa/*wtL*/,
//iLR
aB , b , C0I
,//Y4l
BHs,Y2wma ,
yH,//QdzS
mPH,SOP
, /*8t*/LH ,
Wl3g,
EE
,
PXjt,H9P ,KQj, bjtU ,
UQO
;void f_f0(){volatile int V9 , X6rF ,/*vE*/Iv6... |
// Copyright 2016 The Fuchsia Authors
// Copyright (c) 2016, Google, Inc. All rights reserved
//
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT
#include <assert.h>
#include <debug.h>
#include <string.h>
#include <trace... |
#include "io.hpp"
#include <iostream>
#include <iomanip>
#include <fstream>
constexpr int STRING_WIDTH = 28;
void log(const std::string& message) {
std::cout << "# " << std::left << std::setw(STRING_WIDTH) << message << std::endl;
}
void log(const std::string& message, const std::string& value) {
std::cout << "# "... |
#ifdef NDEBUG
#undef NDEBUG
#endif
#include "json.h"
#include "json-builder.h"
#include "tgcat.h"
#include <assert.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#if defined(_WIN32)
#include "windows.h"
#endif
#define MAX_POSTS 100
#define MAX_TEST_LENGTH 1000000... |
#include <memory>
#include <string>
#include <vector>
#include "Arduino.h"
#include <Adafruit_ILI9341.h> // Hardware-specific library
#include <SD.h>
#include "bar_touch.h"
#include "bargui.h"
#include "barWifi.h"
#define SHADOW_COLOR_1 0x31A6
#define SHADOW_COLOR_2 0xCE79
#define STMPE_C... |
// -*-c++-*-
/*!
\file player_type_dialog.cpp
\brief player type list ialog class Source File.
*/
/*
*Copyright:
Copyright (C) The RoboCup Soccer Server Maintenance Group.
<NAME>
This code is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as publis... |
/*
Copyright 2013 KLab 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 ... |
#define GLM_FORCE_SILENT_WARNINGS
#include "glad/glad.h"
#include "buffers.hpp"
#include "camera.hpp"
#include "common.hpp"
#include "glfw_context.hpp"
#include "glfw_controls.hpp"
#include "glm/ext/matrix_float4x4.hpp"
#include "glm/mat4x4.hpp"
#include "glm/vec3.hpp"
#include "glm_traits.hpp"
#include "input/keys.h... |
#include <algorithm>
#include <climits>
#include <cmath>
#include <complex>
#include <ffts/ffts.h>
#include <map>
#include <vector>
#include "pitch_detection.h"
#define SWIPE_DERBS 0.1
#define SWIPE_POLYV 0.0013028
#define SWIPE_DLOG2P 0.0104167
#define SWIPE_ST 0.3
#define SWIPE_MIN 10.0
#define SWIPE_MAX 8000.0
#de... |
#include <stdio.h>
#include "common_funcs.h"
#include <Rmath.h>
#include <Rcpp.h>
using namespace Rcpp;
NumericMatrix RE_model(NumericVector N,
NumericVector Cab,
NumericVector Cw,
NumericVector Cm,
NumericMatrix p4data){
int nspec = N.size(), wl = p4data.nrow();
NumericMatrix m... |
#include "core.hpp"
#include "gl_core_4_5.hpp"
#include "Foliage.hpp"
#include "Colors.hpp"
#include "Constants.hpp"
#include "ModelLoader.hpp"
#include "PerfTimers.hpp"
#include "PhysicalWorld.hpp"
#include "ResourceLoader.hpp"
#include "Sampler2D.hpp"
#include "Utils.hpp"
#include "Yaml.hpp"
#include "simplexnoise.h"... |
/*
* Copyright (c) 2013-2017, <NAME> <<EMAIL>>, Adafruit
* <<EMAIL>>
* All rights reserved.
*
* This is mostly a re-mix of <NAME>s excellent Free-DAP code - we just
* put both halves into one library and wrapped it up in Arduino compatibility
*
* Redistribution and use in source and binary forms, with or withou... |
// Example code to show the usage of the eModbus library to retrieve data from an Epever Tracer 2206AN Solar charge controller and publish it to a signalK server
// Please refer to root/Readme.md for a (more)full description.
// Includes: <Arduino.h> for Serial etc.
#include <Arduino.h>
#include "sensesp_app.h"
#inclu... |
#include <utility>
#include <iostream>
#include <string>
#include <vector>
#include <stdlib.h>
#include <opencv2/core.hpp>
#include <opencv2/opencv.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/tracking.hpp>
#include <opencv2/tracking/track... |
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_linalg.h>
#include <cmath>
#include <cstdlib>
#include "input_data.h"
#include "calc_u.h"
#include "enumeration.h"
class PairStream {
public:
std::ostream &file;
PairStream (std::ostream &f)
: file(f)
{}
template<typename T>
PairStream& operat... |
#include <qtxmlrpc.h>
char METHODNAME_TAG [ ] = "<methodName>" ;
char METHODNAME_ETAG [ ] = "</methodName>" ;
extern char PARAMS_TAG [ ] ;
extern char PARAMS_ETAG [ ] ;
extern char PARAM_TAG [ ] ;
extern char PARAM_ETAG [ ] ... |
/******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2017-2018 <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 Soft... |
//
// Created by Funami on 2019/01/03.
//
#include <GLUT/glut.h>
#include <cmath>
#include <cstdlib>
#include <cstdio>
#include <cstdlib>
#include <printf.h>
#include <deque>
#include <string>
#include "main.hpp"
#include "func.hpp"
#include "method.hpp"
#include "display.hpp"
extern struct _State Airplane[N];
extern... |
///////////////////////////////////////////////////////////////////////////////
//FILE: 'intercept.cpp'
//Contains the 'intercept' module of class 'Missile'
//
//030712 Created by <NAME>
//060508 Modified for SWEEP++, PZi
///////////////////////////////////////////////////////////////////////////////
#include "class_h... |
int ntD,
K
, M,N
, L
,JSDp , zonwG
, JQt3, YL
,nLDt ,nG
,
l ,Ma,
uVj6 ,Oj0
,
FYR
,
AS,uy , xwJ12
, xqia,Uz, y8Q//
, DUO , adjx ,sF, I35wS
,LH9d7
//L7
, xM,
aBlw
,
sH ;/*fg*/void
f_f0(){ return ; ;return ;{{{{ { } {
}
}
return ;/*kC*/
{/*s*/ ;}}return
;}
return ;{; return ; }} //wr
{ if ( ... |
/****************************************************************************
* Self MAnaged Routing overlay v1 - GPL v3 *
* *
* This file is part of SMART (Self MAnaged Routing overlay) ... |
/*
* Copyright (C) Cvitek Co., Ltd. 2019-2020. All rights reserved.
*
* refined 2020-10-12
*
*/
#include "TgFixedPoolingKernel.hpp"
#include "backend/backend_tl_api.h"
#define DEBUG_TYPE "TgFixedPoolingKernel"
void TgInt8PoolingKernel::adjustPadding() {
if ((oh - 1) * stride_h > h + pad_t + pad_b - kh) {
... |
/*
* GIAB_summary.cpp
*
* Created on: Apr 13, 2017
* Author: fsedlaze
*/
#include "GIAB_summary.h"
std::vector<int> parse_vec(char * buffer) {
std::vector<int> ids;
size_t i = 0;
while (buffer[i] != ';') {
if (buffer[i] == '1') {
ids.push_back(i);
}
i++;
}
return ids;
}
std::string parse_res... |
// dear imgui: standalone example application for GLFW + OpenGL 3, using programmable pipeline
// If you are new to dear imgui, see examples/README.txt and documentation at the top of imgui.cpp.
// (GLFW is a cross-platform general purpose library for handling windows, inputs, OpenGL/Vulkan graphics context creation, e... |
// Class Header
#include "MuonSeedParaFillHisto.h"
// Framework
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/Utilities/interface/Excepti... |
#include "CountryCode.h"
#include "HashTable.h"
#include "HashTableX.h"
#include "Lang.h"
#include "Process.h"
#include <sys/types.h>
CountryCode g_countryCode;
static const char * s_countryCode[] = {
"zz", // Unknown
"ad", // Principality of Andorra
"ae", // United Arab Emirates
"af", // Islamic State of Afgha... |
#include "arduino_app.h"
#include "mbed.h"
#include "TextLCD.h"
#include <cstring>
#include "util.h"
#include "errnolist.h"
#include "netconf.h"
#include "netlib.h"
#include "dhclient.h"
struct dhcp_msg{
uint8_t op;
uint8_t htype;
uint8_t hlen;
uint8_t hops;
uint32_t xid;
uint16_t secs;
uint16_t flags;
uint8... |
// GaKCo : Fast Gapped k-mer string Kernel using Counting
// Code Contibution by:
//<NAME> <<EMAIL>>
//<NAME> <<EMAIL>>
//<NAME> <<EMAIL>>
//<NAME> <<EMAIL>>
// This file contains Main Code
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "shared.h"
#include "shared.cpp"
#include... |
// Copyright (c) 2009-2020 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 <core_io.h>
#include <consensus/consensus.h>
#include <consensus/validation.h>
#include <key_io.h>
#include <script... |
# 1 "AES_encrypt.cpp"
# 1 "AES_encrypt.cpp" 1
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 155 "<built-in>" 3
# 1 "<command line>" 1
# 1 "/tools/Xilinx/Vivado/2019.1/common/technology/autopilot/etc/autopilot_ssdm_op.h" 1
# 157 "/tools/Xilinx/Vivado/2019.1/common/technology/autopilot/etc/autopilot_ssdm_op.h"
extern "C"... |
/* SPIM S20 MIPS simulator.
Execute SPIM syscalls, both in simulator and bare mode.
Execute MIPS syscalls in bare mode, when running on MIPS systems.
Copyright (c) 1990-2010, <NAME>.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted pr... |
/* ---------------------------------------------------------------------------------------------- */
/* LARGE NUMBER CALCULUS (NUMERS ARE GIVEN AS ARRAYS OF DIGITS) */
/* AUTOR: <NAME> */
/* NOVEMBER 2016. ... |
/*
* Part of Wal Commander GitHub Edition
* https://github.com/corporateshark/WalCommander
* <EMAIL>
*/
#include <swl.h>
#include "fileassociations.h"
#include "string-util.h"
#include "wcm-config.h"
#include "ltext.h"
#include "strconfig.h"
#include "unicode_lc.h"
static const int CMD_PLUS = 1000;
static const ... |
#include <string>
#include <cstdint>
#include <cstring>
#include <openssl/aes.h>
#include <openssl/sha.h>
#include <openssl/rand.h>
#include "rev_hw.h"
#include "rev_hw_wapcbctable.h"
/* Start $1 */
const uint8_t g_aucEncryptionKey_AES256[] = {
0xb8, 0x36, 0x3c, 0x9b, 0x77, 0xda, 0xed, 0x4b, 0x9a, 0xbb, 0x9f,
0x... |
/*The MIT License (MIT)
Copyright (c) 2016 <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, merge, publish... |
#include "gaussian.h"
Point::Point()
{
}
Point::Point(PointT point, int _dim)
{
dim = _dim;
// if(dim == 3){
// pos[0] = (double)point.x;
// pos[1] = (double)point.y;
// pos[2] = (double)point.z;
// }
// if(dim == 6){
pos[0] = (double)point.x;
pos[1] = (double)point.... |
#include "author_adapter.h"
#include "Author2ContactDao.h"
#include "ContactInfoAdapter.h"
#include "AuthorInterestDao.h"
#include "AuthorFeatureDao.h"
#include "AuthorRelationDao.h"
#include "OrganizationAdapter.h"
#include <boost/range.hpp>
#include <boost/range/algorithm.hpp>
#include "document.h"
#include "stringut... |
#include "mmCalculationServer.h"
#include <interfaces\mmInterfaceInitializers.h>
#include <serialization/mmGenericParam.h>
#include <serialization/mmSerializeID.h>
#include <serialization/mmBasicSerialization.h>
#include <mmStringUtilities.h>
#include <memory>
#include "json\json.h"
#include <iostream>
... |
int f ,
/*b*/r , Qx94, gp ,wYh,//uy
uWEwR , fcf9n ,aON
,vIYz,D,OuR0 , GY,oLH , i , A//eP
,
V,
qcE5
,IyB9x,HO, Pq0NCh/*eO*//**/,
BeJ
, Fe2 ,pHJw,
nP ,/*JD0qX*/ mYD/*R*/
,Ps ,KGuO ,
Yt ,
X1 , U1 ,R0
, XTf4 ;
void
/**/ f_f0
() { /*7y*/int ja
; volatile int
UR , PXcQ
,Dx,
B , y//0
,OL,
vM,
TIN
,Jsj8//V... |
/*
* zsummerX License
* -----------
*
* zsummerX is licensed under the terms of the MIT license reproduced below.
* This means that zsummerX is free software and can be used for both academic
* and commercial purposes at absolutely no cost.
*
*
* ============================================================... |
/**
* Copyright (c) 2011-2016 by <NAME>. All rights reserved.
*
* This file is part of the QCAD project.
*
* QCAD 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
* ... |
/*
SoLoud audio engine
Copyright (c) 2013-2014 <NAME>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercia... |
/*
* Copyright [2012-2015] YuKai
*
* 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, Versio... |
/**
* 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 b... |
/*
Head tracking using webcam and colored blobs
Interface with Virtual Joystick
Created by <NAME>, October 2020
Released under MIT License
Uses OpenCV
License: https://opencv.org/license/
*/
#include<opencv2/opencv.hpp>
#include<iostream>
#include<vector>
#include<mutex>
#include<chrono>
#incl... |
#include "game.h"
#include "physics.h"
#include "olcPixelGameEngine.h"
#include "util_pge.h"
//TODO Move this to utils and make it universal
olc::Sprite* DiamondSquare(int size, int count) {
int jump = 16;
while (jump < size) jump *= 2;
size = jump * count;
olc::Sprite* img = new olc::Sprite(size, size);
fo... |
#include "openfilemap.hpp"
#include "fuseful.hpp"
#include "app_mount.hpp"
#include "inomap.hpp"
#include <core123/stats.hpp>
#include <core123/complaints.hpp>
#include <core123/exnest.hpp>
#include <core123/diag.hpp>
#include <core123/sew.hpp>
#include <core123/datetimeutils.hpp>
#include <core123/throwutils.hpp>
#inc... |
/*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... |
// Slide show transitions and display
// <NAME> 1/29/2021
#include <Arduino.h>
#include "Slideshow.h"
#include "PXP.h" // requires new PXP from GITHUB
void clSlideshow::begin(tBitmap *prmap, tBitmap *almap, tBitmap *omap) {
Serial.println("In Slideshow.begin()");
ClearStats();
ptprmap = prmap;
... |
#pragma once
#include <algorithm>
#include <cassert>
#include <deque>
#include <functional>
#include <iostream>
#include <list>
#include <map>
#include <memory>
#include <optional>
#include <queue>
#include <set>
#include <stack>
#include <unordered_map>
#include <unordered_set>
#include <vector>
na... |
/***********[Params.cc]
Copyright (c) 2012-2013 <NAME>, <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, me... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* <h2><center>© Copyri... |
// Copyright 2016 The Fuchsia Authors
// Copyright (c) 2016, Google, Inc. All rights reserved
//
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT
#include <inttypes.h>
#include <lib/pci/pio.h>
#include <trace.h>
#includ... |
// Copyright (c) 2011 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 "sandbox/win/src/win_utils.h"
#include <windows.h>
#include <psapi.h>
#include <stddef.h>
#include <stdint.h>
#include <limits>
#include <... |
#include "stdafx.h"
#include "ChallengeResult.hpp"
#include "ChallengeSelect.hpp"
#include "Application.hpp"
#include "GameConfig.hpp"
#include <Audio/Audio.hpp>
#include <Beatmap/MapDatabase.hpp>
#include "Scoring.hpp"
#include "Game.hpp"
#include "AsyncAssetLoader.hpp"
#include "lua.hpp"
#include "Shared/Time.hpp"
#i... |
/*
* Copyright (C) 2004-2015 FBReader.ORG Limited <<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 version 2 of the License, or
* (at your option) any later version.
*
... |
#include "global.h"
#include "ArchHooks_Unix.h"
#include "ProductInfo.h"
#include "RageLog.h"
#include "RageUtil.h"
#include "RageThreads.h"
#include "LocalizedString.h"
#include "SpecialFiles.h"
#include "archutils/Unix/SignalHandler.h"
#include "archutils/Unix/GetSysInfo.h"
#include "archutils/Common/PthreadHelpers.h... |
//------------------------------------------------------------------------------
//
// 'MattersK' code fo rcalculation of spectral function
// in nfinite nucleonic matter
//
// For more details, refer to:
//
// https://github.com/ManyBodyPhysics/LectureNotesPhysics/blob/master/doc/src/Chapter11-programs/Inf_Matter... |
// Distributed under the MIT License.
// See LICENSE.txt for details.
#pragma once
#include <cstddef>
#include <pup.h>
#include <string>
#include "DataStructures/DataBox/DataBoxTag.hpp"
#include "DataStructures/DataBox/Prefixes.hpp"
#include "DataStructures/DataBox/Tag.hpp"
#include "DataStructures/Tensor/Metafuncti... |
#include <algorithm> // for reverse<>()
#include <cctype>
#include <cstring>
#include <fstream>
#include <iostream>
#include <string>
#include <unistd.h>
#include <unordered_set>
#include <vector>
using namespace std;
char usage[] =
" [-C(SV)]"
" [-S(QL)]"
" [-l(etter_subsets)] maximum_length | -s(ubstrings)] maximum... |
#include "util.hpp"
#include "meanshift.hpp"
#include <opencv2/imgproc.hpp>
#include <opencv2/ximgproc.hpp>
#include <opencv2/imgcodecs.hpp>
#include <sstream>
#include <random>
#include <iomanip>
#include <numbers>
namespace r = ranges;
namespace rv = ranges::views;
namespace {
std::random_device rd;
std::mt19937... |
int I2
,HBY ,LiL,
Esf, Cm,QMk
,
CR2//0
,
qiC,ekh/**/
,WE ,Ii
,EXkS
, NN , li ,uF,
exuU , //Q
pJ,nK,
pLw/*lYo*/ , Yqq
,//IA
Jct,//s0C
x, kotd3 ,nvG ,wRR
, d8
, oBPP8
,
V6 ,mEJyH ;void f_f0(){{{int//ied
Os ;volatile int apO0x
,
BP2 ,KqlLM
, UtL, Ojc ;Os =
Ojc
+apO0x+BP2+
KqlLM +UtL;
for(in... |
#include "Calibration/TkAlCaRecoProducers/interface/CalibrationTrackSelector.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/Framework/interface/Event.h"
#include "DataFormats/SiStripCluster/interface/SiStripCluster.h"
#include "Da... |
/*
###############################################################################
# If you use PhysiCell in your project, please cite PhysiCell and the version #
# number, such as below: #
# ... |
/**
* @file cifar10_interactive.cpp
* @author <NAME>
* @version 1.0
* @date 2019-07-16
*
* @copyright Copyright (c) 2019
*/
#include <cstdint>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include "magmadnn.h"
using namespace magmadnn;
magmadnn_error_t load_cifar_batch(uint32_t batch_idx, const std... |
/************************************************************
* Xbee functions developed by Imperial College London and Riverlabs
*
***********************************************************/
#include "Rio_xbee.h"
// Wait for cellular registration, signalled by modem status message containing status 2
// Set is... |
// apriori.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//
// ConsoleApplication1.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//
#include <iostream>
#include <set>
#include <vector>
#include <fstream>
#include<algorithm>
#include <unordered_map>
#include <map>
#include "trie.h"
#include <string>
#include <sstream>
#include <chrono... |
// ===============================================================================
//
// NVIDIA PhysX SDK Sample Program
//
// Title: VRD Connection Sample
// Description: This sample shows different ways to connect to the Visual Remote
// Debugger (VRD) and how to define a camera view for the VRD.
//
// Pl... |
#pragma once
#include <array>
#include <cstdint>
#include <string>
#include <vector>
#include "common/Vector.hpp"
const std::int32_t gfx_monochrome = 1;
enum tgfxtexturewrap
{
gfx_clamp,
gfx_repeat,
last_tgfxtexturewrap
};
enum tgfxverticalalign
{
gfx_top,
gfx_baseline,
gfx_bottom,
last_tgfxverticalal... |
#include "IDX3_to_TIFF_OCL.h"
#include "timer.h"
#if defined(FPGA)
size_t local = 1;
size_t global = 1;
//const char* source_path = "bin/Idx3toTiff.aocx";
const char* source_path = "/homes/cabreraam/dibs_opencl/idx3_tiff_ocl/device/with_ivdep.aocx";
#elif defined(CPU)
size_t local = 1; //REPLACE
size_t global = 1;
con... |
/*
* Copyright (c)2019 ZeroTier, Inc.
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file in the project's root directory.
*
* Change Date: 2025-01-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be governe... |
#include <ros/ros.h>
#include <vector>
#include <sstream>
#include <string>
#include <iostream>
#include <fstream>
#include <string.h>
#include <ctype.h>
#include <cstdlib>
#include "std_msgs/String.h"
#include <unistd.h>
#include <actionlib/client/simple_action_client.h>
#include <nav2d_navigator/MoveToPosition2DActio... |
// Copyright 2006-2009 Google 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 ... |
#pragma once
#include "map/feature_vec_model.hpp"
#include "map/information_display.hpp"
#include "map/location_state.hpp"
#include "map/navigator.hpp"
#include "map/animator.hpp"
#include "map/bookmark.hpp"
#include "map/bookmark_manager.hpp"
#include "map/pin_click_manager.hpp"
#include "map/mwm_url.hpp"
#include ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.