text stringlengths 8.71k 38.4k |
|---|
/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... |
// Copyright (c) 2005 - 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:
//
// * Redistributions of source code must retain the above copyright notice, this list of conditions and t... |
/*********************************************************************
This is a library for the SSD1322, based directly on the Adafruit SSD1327
library. The original comment for that library is left below for reference.
*********************************************************************/
/**************************... |
#include <cstring>
#include <fstream>
#include "pyramid13.h"
#include "../line/line3.h"
#include "../plane/triangle6.h"
#include "../plane/square8.h"
#include "../../../basis/matrices/denseMatrix.h"
using namespace espreso;
std::vector<Property> Pyramid13::_DOFElement;
std::vector<Property> Pyramid13::_DOFFace;
std... |
// Walk and kick: Main walk and kick class
// Author: <NAME> <<EMAIL>>
// Includes
#include <walk_and_kick/walk_and_kick.h>
#include <walk_and_kick/wak_vis.h>
#include <rc_utils/math_vec_mat.h>
// Defines
#define EXTRA_TEAMPACKET_COUNT 12
// Namespaces
using namespace walk_and_kick;
using namespace rc_utils;
//
//... |
#include <Arduino.h>
#include <WiFi.h>
#include <ESPmDNS.h>
#include "FS.h"
#include "SD_MMC.h"
#include "nvs_flash.h"
#include "nvs.h"
#include "esp_system.h"
#include <string>
#include <cctype>
#include <format.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#include <DHT.h>
#includ... |
/*
HipMer v 2.0, Copyright (c) 2020, The Regents of the University of California,
through Lawrence Berkeley National Laboratory (subject to receipt of any required
approvals from the U.S. Dept. of Energy). All rights reserved."
Redistribution and use in source and binary forms, with or without modification,
are ... |
//===- SveEmitter.cpp - Generate arm_sve.h for use with clang -*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===--------------------------... |
/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... |
#include "opennurbs.h"
#if !defined(ON_COMPILING_OPENNURBS)
// This check is included in all opennurbs source .c and .cpp files to insure
// ON_COMPILING_OPENNURBS is defined when opennurbs source is compiled.
// When opennurbs source is being compiled, ON_COMPILING_OPENNURBS is defined
// and the opennurbs .h ... |
/*
** Bitty
**
** An itty bitty game engine.
**
** Copyright (C) 2020 - 2021 <NAME>, all rights reserved
**
** For the latest info, see https://github.com/paladin-t/bitty/
*/
#include "archive_txt.h"
#include "bytes.h"
#include "encoding.h"
#include "file_handle.h"
#include "filesystem.h"
/*
** {====... |
#include <omp.h>
#include <cmath>
#include <iostream>
#include <sstream>
#include <string>
#include "chrono/ChConfig.h"
#include <chrono/motion_functions/ChFunction_Setpoint.h>
#include <chrono/physics/ChBody.h>
#include <chrono/physics/ChLinkLock.h>
#include <chrono/physics/ChLinkMotorLinearPosition.h>
#include "chr... |
#include "OrderMinHash.h"
#include "Sketch.h"
#include "xxhash.hpp"
#include "hash_int.h"
#include <algorithm>
#include <queue>
#include "robin_hood.h"
#include <sys/time.h>
#include <immintrin.h>
double get_sec(){
struct timeval tv;
gettimeofday(&tv, NULL);
return (double) tv.tv_sec + (double) tv.tv_usec / 10... |
/*=======================================================================
Copyright 2010 <NAME>. All Rights Reserved.
This software is distributed for noncommercial use only, without
any warranties, and provided that all copies contain the full copyright
notice licence.txt located at the base folder of the ... |
#include <iostream>
#include <glew.h>
#include <freeglut.h>
#include <SOIL.h>
#include <glm.hpp>
#include <gtc/matrix_transform.hpp>
#include <gtc/type_ptr.hpp>
#include <ft2build.h>
#include FT_FREETYPE_H
#include <map>
#include <string>
#include <time.h>
#include <vector>
#include "ShaderLoader.h"
#... |
/*
* Copyright (c) 2011 <NAME> and <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: redistributions of source code must retain the above copyright
* notice, this list of conditions ... |
/*---------------------------------------------------------------
Programmer(s): <NAME> @ SMU
----------------------------------------------------------------
Copyright (c) 2019, Southern Methodist University.
All rights reserved.
For details, see the LICENSE file.
------------------------------------------------... |
//----------------------------------------------------------------------------
//
// License: See top level LICENSE.txt file.
//
// Author: <NAME>
//
// Description: Automatic tie measurement extraction.
//
//----------------------------------------------------------------------------
// $Id$
#include "ossimTieMeasu... |
int zS/*v*/, typF
, noL/*H5B*/ ,
n,
hnYfYd
, /*FlL0*/OW
,/*5t39*/aey
,gDe ,QZ,
tX
,fvjNU, YKhAfy
,fG,H9s,
u ,d3U9, mFzN
,
IwpHH, k1uj//wk6d
,
KCU8a, yI2 , FWh
,W
, xpZa ,
lV6s , K9 ,ueiN
, EPE , Gvhn2
,qg ,YmBfU,
Ard//
,wcK1,oy, anz,//QK
tQ,
Un
,pw
,
oNw, mBE
,
xEd,
xjO,
eA
, pq
,Vbw... |
#include <Arduino.h>
#include "snake.h"
#include <EEPROM.h>
#include "66tb.h"
#include "birthday.h"
#include <Wire.h>
#include <RTClib.h>
RTC_DS3231 rtc;
#define AUDIO_CONTROL 4
#define LATENCYBASE 13107 // 65535 / 5
bool autoC = true;
bool noAuto = false;
bool atMain = true;
unsigned int mainLoop = 0; unsigned char c... |
// Copyright (c) 2012-2017 VideoStitch SAS
// Copyright (c) 2018 stitchEm
#include "filemuxer.hpp"
#include "livemuxer.hpp"
#include "avMuxer.hpp"
#include "libvideostitch/logging.hpp"
#include "libvideostitch/parse.hpp"
extern "C" {
#include <libavformat/avformat.h>
}
static std::string AVtag("libavoutput");
stati... |
/*
* scsi_freebsd.cpp - SCSI Manager, FreeBSD SCSI Driver implementation
* Copyright (C) 1999 <NAME>
*
* Basilisk II (C) 1997-2008 <NAME>
*
* 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 Foun... |
int Y31, C8,c2
, ESy
,
/*8Vn*/Vio,//2C
C
//wB
,/**/ RF
,//Jv95
R
,JEF, Bmz , H1W5,xy,Zj
,
srZL,
t4UX,
CqOJ ,
AyUp , rdck ,XS ,pIcC
, i76J,L09WdZ,/*OOjp*/ lPWg , h, eXU ,
E
, KVF
,gllzW
,Pe
, ceK,
Mgo
,jn,ZkC,
diYc
, D, YV0/*r*/, BDwL ,MP,EjYuQA//
, MA, KUa,JjKqa2 ,CM,N5j6a
,//ni
Cw , J7,//ayXO
... |
#include "engine.h"
engine::engine()
{
width = 1024;
height = 768;
density = 10;
noise = 0;
lineWidth = 1;
pointSize = 3;
min = 0;
max = 255;
numSVG = 0;
svgSize = 1.0;
centerSVG = ofPoint(0,0);
opacityImg = 100;
opacityGrid = 100;
opacityPoints =... |
// Time-stamp: <2017-06-07 16:23:51 anup>
// Units: all SI units - seconds, Volts, Ampere, Meters, Simenes, Farads
// Ref: sun2007,bacaj2013, jackman2016
#include <vector>
#include <iostream>
#include <cmath>
#include <string>
#include "data_types.hpp"
#include "physical_constants.hpp"
#include "global_variables.hpp"... |
// This code contains NVIDIA Confidential Information and is disclosed to you
// under a form of NVIDIA software license agreement provided separately to you.
//
// Notice
// NVIDIA Corporation and its licensors retain all intellectual property and
// proprietary rights in and to this software and related documentation... |
//===--- Utils.cpp - Misc utilities ---------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... |
#include "pxtbase.h"
#ifndef GC_BLOCK_SIZE
#define GC_BLOCK_SIZE (1024 * 16)
#endif
#ifndef GC_MAX_ALLOC_SIZE
#define GC_MAX_ALLOC_SIZE (GC_BLOCK_SIZE - 16)
#endif
#ifndef GC_ALLOC_BLOCK
#define GC_ALLOC_BLOCK xmalloc
#endif
#ifdef PXT64
#define HIGH_SHIFT 48
#define BYTES_TO_WORDS(x) ((x) >> 3)
#define WORDS_TO_BY... |
/**
* @file
* @author <NAME>, based on code by <NAME> <<EMAIL>>
* @version 1.0
*
* @section LICENSE
*
* Copyright [2012] [Carnegie Mellon University]
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may o... |
/**********************************************************************
// @@@ START COPYRIGHT @@@
//
// 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. ... |
#include <vector>
#include <iostream>
#include <string>
#include <tuple>
#include <deque>
#include <map>
#include <set>
#include <boost/program_options.hpp>
namespace po = boost::program_options;
#include <Eigen/Core>
#include <opencv2/core/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/h... |
/* Copyright (c) <2003-2019> <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,
* includi... |
/****************************************************************************
*
* 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... |
/********************* */
/*! \file approx_simplex.cpp
** \verbatim
** Original author: <NAME>
** Major contributors: none
** Minor contributors (to current version): <NAME>
** This file is part of the CVC4 project.
** Copyright (c) 2009-2013 New York Univer... |
// Copyright 2017-2018 <NAME>, <NAME>
#include "DialogueK2Node_Select.h"
#include "EdGraphUtilities.h"
#include "KismetCompiler.h"
#include "BlueprintNodeSpawner.h"
#include "BlueprintActionDatabaseRegistrar.h"
#include "Kismet/KismetMathLibrary.h"
#include "Kismet/KismetSystemLibrary.h"
#include "EditorStyleSet.h"
#... |
#include "L1Trigger/L1TMuonEndCap/interface/PrimitiveMatching.h"
#include "helper.h" // to_hex, to_binary, merge_sort3
namespace {
const int bw_fph = 13; // bit width of ph, full precision
const int bpow = 7; // (1 << bpow) is count of input ranks
const int invalid_ph_diff = 0x1ff;... |
/*This file is part of the FEBio Studio source code and is licensed under the MIT license
listed below.
See Copyright-FEBio-Studio.txt for details.
Copyright (c) 2021 University of Utah, The Trustees of Columbia University in
the City of New York, and others.
Permission is hereby granted, free of charge, to any pers... |
/*
* Copyright (c) 2021 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... |
#include <sstream>
#include "pybind11/pybind11.h"
#include "scripthook/natives.h"
#include "scripthook/enums.h"
#include "natives_type.h"
namespace py = pybind11;
void custom(py::class_<Py_Ai>){}
void custom(py::class_<Py_App>){}
void custom(py::class_<Py_Audio>){}
void custom(py::class_<Py_Blip>){}
void custom(py::cl... |
#include <stdio.h>
#include <stdint.h>
#include <opencv2/core.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/imgcodecs.hpp>
#include <thread>
#include <math.h>
#include <iostream>
extern "C"
{
#include <ivas/ivas_kernel.h>
#include <gst/ivas/gstinferencemeta.h>
}
#include "ivas_pos... |
// Playground.cpp
//
/// Copyright 1997-2007, 2022 by <NAME>
//
// This application demonstrates particle systems for interactive graphics.
// It uses OpenGL and GLUT.
#include "../DemoShared/DrawGroups.h"
#include "../DemoShared/Effects.h"
#include "../DemoShared/Monarch.h"
#include "Particle/pAPI.h"
// The followin... |
#include <vector>
#include <Windows.h>
#include <gl/gl.h>
#include <cstring>
#include "aro_math.h"
#include "texture.h"
#include "rendering.h"
#include "aro_generic.h"
#include "aro_platform_win32.h"
#include "level.h"
void LevelGeometry::addAABB(v3& center, v3& rad) {
AABB box;
box.center = center;
box.rad = ra... |
/*
Dimension Faker v1.1
updata:
1.render channal (render pass)
Diffuse,Specular,Reflaction,Refraction,Emission
2.add Emission Shade
3.add easy sun light
4.add drand48 lib
*/
#include <iostream>
#include <cmath>
#include <fstr... |
//<NAME> & <NAME>
///Game
//Mr.Baker
//Period 2
//Library Section
#include <iostream.h>
#include <iomanip.h>
#include <conio.h>
#include <apstring.h>
#include <apvector.h>
#include <apmatrix.h>
#include <math.h>
#include <graphics.h>
#include <alloc.h>
#include <dos.h>
#include <bitmap.h>
#include ... |
// Copyright [2018] <<NAME>>"
#include "SoapySidekiq.hpp"
#include <SoapySDR/Formats.hpp>
#include <cstring> // memcpy
#include <sidekiq_types.h>
#include <unistd.h>
std::vector<std::string> SoapySidekiq::getStreamFormats(const int direction, const size_t channel) const {
SoapySDR_logf(SOAPY_SDR_TRACE, "getStream... |
#include <boost/python.hpp>
#include <prelude/runtime/chunk.hpp>
#include <prelude/runtime/cuarray.hpp>
#include <prelude/runtime/type_holder.hpp>
#include <prelude/runtime/make_sequence.hpp>
#include <prelude/runtime/mempool.hpp>
#include "cunp.hpp"
#include "np_inspect.hpp"
#include "type.hpp"
#include "monotype.hpp"... |
/*
* Copyright (c) 2011 - 2012, Simon Fraser University
* 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
*... |
int qlv8 ,
xvq
, KmL,EYz, C , Gb
,
PR,R
,SHA, urEt//M
,H1IV,m,EG2, P1s6S, WU,ZJvGr ,//c
spx
,//Km
hq
,FBhE ,
mDfN, RJ
,sur,
fSwP//NDq
,
Ow,
VIF ,/**/ yID , v9I8,NKwp , CY3qh
, iC,
HcAFfc
, k7cT,
qKz ,o9Y9 ,
//TS6
MDrlzm ,xy//
,
tL, tY,cl ,
EJC
,XqqA ;
void f_f0()//lR
{
return
; if (tr... |
//
// Copyright 2012 <NAME> and <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 o... |
#include <iostream>
#include <fstream>
#include <opencv2/opencv.hpp>
#include "PicoZense_api.h"
using namespace std;
using namespace cv;
static void Opencv_Depth(uint32_t slope, int height, int width, uint8_t*pData, cv::Mat& dispImg)
{
dispImg = cv::Mat(height, width, CV_16UC1, pData);
Point2d pointxy(width / 2, he... |
/*
Copyright c1997-2014 <NAME>. All rights reserved.
This file is part of the Code Vault version 4.1
http://www.bombaydigital.com/
License: MIT. See LICENSE.md in the Vault top level directory.
*/
/** @file */
#include "vplatformunit.h"
#include "vtypes_internal.h"
#include "vexception.h"
VPlatformUnit::VPlatformUn... |
/* File for "Collision Detection" lesson of the OpenGL tutorial on
* www.videotutorialsrock.com
*/
#include <cstdlib>
#include <ctime>
#include <iostream>
#include <set>
#include <stdlib.h>
#include <vector>
#ifdef __APPLE__
#include <OpenGL/OpenGL.h>
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
#inclu... |
#include <ros/ros.h>
#include <humanoid_catching/CalculateTorques.h>
#include <Moby/qpOASES.h>
#include <Ravelin/VectorNd.h>
#include <Ravelin/MatrixNd.h>
#include <Ravelin/Quatd.h>
#include <Ravelin/Opsd.h>
#include <Moby/qpOASES.h>
#include <Ravelin/LinAlgd.h>
namespace {
using namespace std;
using namespace humanoi... |
#include "matrix.h"
#include "out.h"
float vectorLength(float x, float y, float z) {
return std::sqrt(x*x + y*y + z*z);
}
/* void setPoseMatrix(float *dstMatrixArray, const vr::HmdMatrix44_t &srcMatrix) {
for (unsigned int v = 0; v < 4; v++) {
for (unsigned int u = 0; u < 4; u++) {
dstMatrixArray[v * 4 +... |
/* This software and supporting documentation are distributed by
* Institut Federatif de Recherche 49
* CEA/NeuroSpin, Batiment 145,
* 91191 Gif-sur-Yvette cedex
* France
*
* This software is governed by the CeCILL-B license under
* French law and abiding by the rules of distribution of free soft... |
// Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE.md file.
#include <arpa/inet.h>
#include <libgen.h>
#include <limits.h>
#include <math.h>
#include <stdarg.h... |
#pragma warning (disable: 4786)
#include "debuggingView.h"
#include "ModelerCamera.h"
#include "../RayTracer.h"
#include "../scene/scene.h"
#include "../scene/light.h"
// We include these files from modeler so that we can
// display the rendered image in OpenGL -- for debugging
// purposes.
#include <FL/Fl.H>
#incl... |
#include "Core/Algorithms/Strings.h"
#include <algorithm>
#include <cctype>
#include <limits>
namespace {
constexpr Core::FixedArray<double, 633> exp_table{
{1e308, 1e307, 1e306, 1e305, 1e304, 1e303, 1e302, 1e301, 1e300, 1e299, 1e298, 1e297, 1e296, 1e295,
1e294, 1e293, 1e292, 1e291, 1e29... |
#include "common.h"
#include "common_jpeg.h"
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <unistd.h>
vector<xform> xforms;
vector<string> xffilenames;
// TriMesh::BSphere global_bsph;
int current_mesh = -1;
bool draw_edges = false;
bool draw_2side = false;//true;//false;
bool draw_shiny = t... |
#include "findplate.h"
#include "myThreshold.h"
#include "rvec2elur.h"
#include "codeRotate.h"
#include "../extern/extern.h"
//#define test
using namespace std;
using namespace cv;
/**
*
*/
bool FindLicense::initial()
{
/*
//加载相机参数
FileStorage fs("../para/usb90.xml", FileStorage::READ);
if (!fs.isOpene... |
#include <fstream>
#include <iostream>
#include <map>
#include <string>
#include <utility>
#include <vector>
#include <ctype.h>
#include <math.h>
#ifdef __APPLE__
#include <GLUT/glut.h>
#include <IL/il.h>
#else
#include <GL/glew.h>
#include <GL/glut.h>
#include <IL/il.h>
#endif
#include "geoTransform.h"
#include "gr... |
#include "Validation/RecoVertex/interface/VertexHistogramMaker.h"
#include "FWCore/Framework/interface/ConsumesCollector.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/LuminosityBlock.h"
#include "FWCore/Framework/interface/Run.h"
#include "FWCore/MessageLogger/interface/MessageLo... |
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2002 Ramshankar (aka Teknomancer).
// Copyright (c) 2014 <NAME>.
// All rights reserved.
#include "Archiver.h"
#include "AppUtils.h"
#include "HashTable.h"
#include "ListEntry.h"
#include "ArchiveEntry.h"
#include "MsgConstants.h"
#include "AppConstants.h"
#inc... |
//
// showdtree.cpp
//
// Prints out a distributed B-tree
//
/*
Original code: Copyright (c) 2014 Microsoft Corporation
Modified code: Copyright (c) 2015-2016 VMware, Inc
All rights reserved.
Written by <NAME>
MIT License
Permission is hereby granted, free of charge, to any person
obtaining a copy of... |
#include <stdio.h>
#include <math.h>
#include <pthread.h>
#include <limits.h>
#include "sparseSA.hpp"
// LS suffix sorter (integer alphabet).
extern "C" { void suffixsort(int *x, int *p, int n, int k, int l); };
pthread_mutex_t cout_mutex = PTHREAD_MUTEX_INITIALIZER;
sparseSA::sparseSA(string &S_, vector<string> &... |
// ---------------------------------------------------------------------
//
// quatTwist.cpp
//
// Created by ingo on 10/10/16.
// Copyright (c) 2016 <NAME>. All rights reserved.
//
// ---------------------------------------------------------------------
#include <string>
static const std::string kVERSION = "2.2.0... |
/* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein
* is confidential and proprietary to MediaTek Inc. and/or its licensors.
* Without the prior written permission of MediaTek inc. and/or ... |
#include <string>
#include <vector>
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "DQMServices/Core/interface/DQMStore.h"
#i... |
// Copyright 2013 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.
// A policy for storing activity log data to a database that performs
// aggregation to reduce the size of the database. The database layout is
// nearly... |
#include <stdio.h>
#include <ctime>
#include <cstdlib>
#include <math.h>
#include <iostream>
#include <fstream>
#include <vector>
#include <map>
#include <string>
#include <GL/glew.h>
#include "shaders.h"
#include "texture.h"
#include "maths.h"
#define GLFW_INCLUDE_GLU
#define GLFW_INCLUDE_GLEXT
#include <GLFW/glfw3.h... |
// Copyright (c) 2017-2021, Lawrence Livermore National Security, LLC and
// other Axom Project Developers. See the top-level LICENSE file for details.
//
// SPDX-License-Identifier: (BSD-3-Clause)
// Axom Includes
#include "axom/core.hpp"
#include "axom/mint.hpp"
#include "axom/slic.hpp"
// C/C++ includes
#include <... |
// mbedtls_context.cpp
//
// --------------------------------------------------------------------------
// This file is part of the "sockpp" C++ socket library.
//
// Copyright (c) 2014-2017 <NAME>
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are perm... |
// Copyright (c) 2021 - present Advanced Micro Devices, Inc. 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 r... |
int//
Bd, uw2q ,
mA
,
pN
,b
,
mfk ,
mrdM,
/*x*/ Ee0
,Luj9,up, //MVf
GN,
JSEe, XQI, //ir
akVq60ZHs,
I1 ,
rSEXS,cF , c4D6
,
urlX
,rJop ,P,U03
, uo2,bIJl, B7 ,
fiS7t
,/*Hme*/
cE,dEtG
,z4w/*y*/,//Zs8Os
c
,gR ,
Dmou
, //p
DPz,dC5S ,
YATR ,GWNf ,z7//
,fyu
,
KBos,DC
,
vH ,Xqb,
T2k
,og,hzeM
;void ... |
/**
BSD 3-Clause License
This file is part of the Basalt project.
https://gitlab.com/VladyslavUsenko/basalt.git
Copyright (c) 2019, <NAME> and <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:
*... |
#include "irods_repl_rebalance.hpp"
#include "irods_resource_plugin.hpp"
#include "irods_file_object.hpp"
#include "irods_hierarchy_parser.hpp"
#include "irods_virtual_path.hpp"
#include "irods_repl_retry.hpp"
#include "irods_repl_types.hpp"
#include "icatHighLevelRoutines.hpp"
#include "dataObjRepl.h"
#include "genQue... |
/*=======================================================================
Copyright (c) 2018-2019 <NAME>.
This software is distributed under the Apache License, Version 2.0.
All copies must contain the full copyright notice licence.txt located
at the base folder of the distribution.
=====================... |
/*
MIT License
Copyright (c) 2017 <NAME> (<EMAIL>)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, pu... |
// Copyright 2017 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <array>
#include <fbl/alloc_checker.h>
#include <fbl/intrusive_double_list.h>
#include <fbl/vector.h>
#include <hid-parser/item.h>
#include <hid-... |
/* =========================================================================
Copyright (c) 2010-2014, Institute for Microelectronics,
Institute for Analysis and Scientific Computing,
TU Wien.
Portions of this software are copyright by UChicago Argonne, LLC.
-----------------
ViennaCL - The Vienna Computing Libra... |
/* Copyright 2018 <NAME> (<EMAIL>)
*
* 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 above copyright notice, this list of conditions and the following disclaimer.
*... |
#include "GameClient.h"
#include "LogicContext.h"
#include "../VideoGen/generator.h"
//#include "../LibDistrubutor/Context.h"
#include "CommandServerSet.h"
#include "../LibCore/CmdHelper.h"
#ifndef _DEBUG
#pragma comment(lib, "event.lib")
#pragma comment(lib, "event_core.lib")
#pragma comment(lib, "event_extra.lib")... |
// -*- C++ -*-
//
// Class: EcalTPDBAnalyzer
//
/**\class EcalTPDBAnalyzer
Description: test of the output of EcalTPDBProducer
*/
//
//
// Original Author: <NAME>
// Created: Wed Oct 15 11:38:38 CEST 2008
//
//
//
// system include files
#include <fstream>
#include <iostream>
#include <memory>
#incl... |
////////////////////////////////////////////////////////////////////////////////
// Copyright 2017 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy
// of the License at
//
// http://w... |
//=================================================================================================
template<class T>
int rsSinusoidalAnalyzer<T>::getRequiredBlockSize(rsWindowFunction::WindowType type, T df, T fs,
bool oddSize)
{
T B = rsWindowFunction::getMainLobeWidth(type, 0.0, 0); // later maybe pass a win... |
#include "test/system_test/many_log/dummy_log.h"
#include <pthread.h>
#include <unistd.h>
#include <iostream>
#include <air/Air.h>
bool DummyLog::run = true;
void
DummyLog::Run(void)
{
run = true;
}
void
DummyLog::Stop(void)
{
run = false;
}
void
DummyLog::TestLog(void)
{
cpu_set_t cpu {0};
CPU_S... |
// StFtpcClusterDebug
//#include <iostream.h>
#include <Stiostream.h>
#include <stdlib.h>
#include "StMessMgr.h"
#include "StFtpcClusterDebug.hh"
#include "math_constants.h"
#include <math.h>
#include "TH1.h"
#include "TH2.h"
#include "TBranch.h"
#include "StFtpcTrackMaker/StFtpcConfMapper.hh"
namespace {
struct RUN... |
#include "mfem.hpp"
#include "cardfiber.h"
#include "genfiber.h"
#include "constants.h"
#include "triplet.h"
#include "io.h"
#include "kdtree++/kdtree.hpp"
#include "cardgradientsp.h"
#include <sstream>
#include <iomanip>
#include "pio.h"
#include "ioUtils.h"
#include "heap.h"
#include <stdio.h>
#include <mpi.h>
#incl... |
/*
* Searchlights Adjuster
* Copyright (c) 2014 ThirteenAG
* Licensed under the MIT License (http://opensource.org/licenses/MIT)
*/
#include "LimitAdjuster.h"
#include "CPatch.h"
std::vector<char> aSearchlights;
class SearchlightsSA : public SimpleAdjuster
{
public:
const char* GetLimitName() { return GetGVM().Is... |
/*
* Copyright (c) 2012-2014, <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:
*
* * Redistributions of source code must retain the above copyright notice,
* this list ... |
/*
* dumbo_velocity_integrator.cpp
*
*
* Created on: Mar 3, 2014
* Authors: <NAME>
* yuquan <at> kth.se
*/
/* Copyright (c) 2014, <NAME>, CVAP, KTH
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the foll... |
#include "json2IRTree.h"
using namespace Boost::Internal;
void IndexParse::insertPart(std::string s, std::set<std::string>& tmpVar) {
// s: i*4/2, i, 1
std::vector<tempStruct> r;
int t=0;
std::string v;
v.clear();
while(s[t] != '*' && s[t] != '/' && s[t] !='%' && s[t]!='\0') v+=s[t++];
if (s[t]=='... |
/* file: game.cpp */
#include <iostream>
#include <iomanip>
#include <string>
#include <vector>
#include <map>
#include "../include/game.hpp"
#include "../include/rndGen.hpp"
enum buyType { item, spell };
enum spellType { ice, fire, lightning };
RndGen rnd3(0,2);
RndGen rnd5(0,4);
RndGen rnd10(0,9);
RndGen rndMAX(0... |
#include <RcppArmadillo.h>
// [[Rcpp::depends("RcppArmadillo")]]
using namespace Rcpp;
const double log2pi = std::log(2.0 * 3.14159265359);
// MVN density.
// [[Rcpp::export]]
double lk_Chol_arma(arma::colvec x_, arma::colvec mu_,
arma::mat Sigma_, bool logd = true){
int k = x_.n_rows;
doubl... |
/*
* nvbio
* Copyright (c) 2011-2014, NVIDIA 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,... |
/**
* @author <NAME>, <EMAIL>
*
* Neural Self-Calibrating Robot Tracking System.
*
* Main routine of 3D tracking application for indoor operation in the robot lab.
* Usually the software receives data from the Guppy Firewire cameras, nevertheless it is possible to read data from disk.
* Furthermore, data from th... |
// SINGLE AXIS NETWORKED STEPPER DRIVER
//
// A pyGestalt Framework Project by IMNP.
//
// --REVISION HISTORY---------------------------------
//
// --------------------------------------------------------------------------------------------------------
// | DATE | MODIFICATIONS | NAME ... |
/***
Assignment-3: Shading via Lighting and Colors
Name: <NAME>
Collaborators: 371 Spring 2018 Class
** Note: although the assignment should be completed individually
you may speak with classmates on high level algorithmic concepts. Please
list their names in this section
Project Summary: In the resubmissi... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <iostream>
#include <signal.h>
#include <map>
#include <vector>
#include <sstream>
#include <fstream>
#include <unordered_set>
#include <unordered_map>
#include <sys/stat.h>
using namespace std;
... |
#include <lavril.h>
#include <string.h>
#include <ctype.h>
#include <setjmp.h>
#include <sqstdstring.h>
#ifdef _DEBUG
#include <stdio.h>
static const LVChar *g_nnames[] = {
_LC("NONE"),
_LC("OP_GREEDY"),
_LC("OP_OR"),
_LC("OP_EXPR"),
_LC("OP_NOCAPEXPR"),
_LC("OP_DOT"),
_LC("OP_CLASS"),
_LC("OP_CCLASS"),
_LC(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.