text stringlengths 8.71k 38.4k |
|---|
int fYU ,
dAmOgS ,
ErEx,kfkCWN
, CM9MH/*uP*/,KrR0,VQCD3, h, vXc
,L/*2*/,
BxpJ ,gSb ,
Gs
, bq , DJZ, zV , q
,
aR5q ,av/**/
,//E
T9ks
, kmo,
Z
,
o2 ,
O77l , rEIP
, q1a
,zo ,
z
,BId,//gAmU
e25 ,bDG, jr
,/*4sG*/Sl ,bQ,O3Bc,VjWLuu,m2/*X*/ , /*R*/FuH3
;/**/
void /*a*/ f_f0(){{ volatile int
AVMJ... |
/// @file lua_script.cpp
/// @brief Implements all the methods used by lua to interact and communicate
/// with the mud.
/// @author <NAME>
/// @date Aug 25 2014
/// @copyright
/// Copyright (c) 2016 <NAME> <<EMAIL>>
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of t... |
#include "ResourceMesh.h"
#include "GL/glew.h"
#include "Application.h"
#include "ModuleFileSystem.h"
#include "ModuleResourceManager.h"
#include "GameObject.h"
#include "ComponentRenderer.h"
#include "JSON.h"
#include "Geometry/Triangle.h"
#include "Geometry/LineSegment.h"
#include "Math/Quat.h"
#include "Math/Mat... |
/*
Copyright (c) 2016, Rice University
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.
2.... |
#include "FileIO.h"
/* ------------------- OFFxReader Class ---------------------------*/
// Check if ifstreams are open
bool OFFxReader::is_open() {
return (c_OFF_ifstream.is_open() && c_OFFx_ifstream.is_open());
}
// Check if ifstreams are open and good
bool OFFxReader::good() {
return (c_OFF_ifstream.good() &&... |
// Copyright (c) 2012-2013 The PPCoin developers
// Copyright (c) 2009-2010 <NAME>
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2018 The PIVX developers
// Copyright (c) 2018 The Tessacoin developers
// Distributed under the MIT/X11 software lice... |
/**
* This file is part of the html renderer for KDE.
*
* Copyright (C) 2001-2003 <NAME> (<EMAIL>)
* (C) 2001 <NAME> (<EMAIL>)
* (C) 2000-2003 <NAME> (<EMAIL>)
* (C) 2002-2007 Apple Computer, Inc.
* (C) 2007 <NAME> (<EMAIL>)
*
* This library is free software; you can red... |
#pragma once
#include <inttypes.h>
#include <string.h>
#include <cmath>
#include <cstdio>
#include "features/bm25/bm25.hpp"
#include "features/bose_einstein/be.hpp"
#include "features/dfr/dfr.hpp"
#include "features/dph/dph.hpp"
#include "features/lmds/lm.hpp"
#include "features/probability/prob.hpp"
#include "feat... |
#include <trigonometry.h>
#include <iostream>
#include <sstream>
#include <algorithm>
#include <numeric>
#include <cmath>
#ifdef __cpp_lib_math_constants
#include <numbers>
inline constexpr double pi = std::numbers::pi;
#else
constexpr double pi = 3.141592653589793238462643383279502884L;
#endif
static int total_chec... |
#include <string>
#include <sstream>
#include <iostream>
#include <algorithm>
#include <QTime>
#include <QDebug>
#include <QWidget>
#include <QSpinBox>
#include <QTextEdit>
#include <QDataStream>
#include <QFileDialog>
#include <QMessageBox>
#include <QTextStream>
#include <QResizeEvent>
#include <QGraphicsScene>
#in... |
/*=============================================================================
InterpEditorDraw.cpp: Functions covering drawing the Matinee window
Copyright 2004 Epic Games, Inc. All Rights Reserved.
Revision history:
* Created by <NAME>
===========================================================================... |
/*
Copyright (c) 2013, <NAME> and the respective contributors
All rights reserved.
Use of this source code is governed by a BSD-style license that can be found
in the LICENSE file.
Copyright (c) 2018, Sanaxn
All rights reserved.
Use of this source code is governed by a BSD-style license that can be found
in ... |
#include <functional>
#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <iomanip>
#include <fstream>
#include <cctype>
#include <set>
#include <iterator>
#include <algorithm>
#include <sstream>
#include <stdlib.h>
#include <cctype>
#include <math.h>
#include <omp.h>
#include <assert.h>
#in... |
#include "rivulet.h"
#include <ctime>
#include <iomanip>
// #include "tqdm/tqdm.h"
using namespace rivulet;
void Branch::add(Point<float> pt, float conf, float radius = 1.0) {
this->pts.push_back(pt);
this->conf.push_back(conf);
this->radius.push_back(radius);
}
void Branch::set_touched(bool touched) { this->t... |
#include <iostream>
#include<string>
#include <stdio.h>
#include"windows.h"
#include<Synth/Tau.h>
#include<Synth/SoundFont.h>
#include"Synth/VirInstrument.h"
#include <FX\Autowah.h>
#include <FX\Reverb.h>
#include <FX\Equalizer.h>
#include <FX\Compressor.h>
#include <FX\Tremolo.h>
#include <FX\Overdrive.h>
#include <... |
#include "recursive.h"
const Interval NO_INTERVAL = {NO_ID, NO_ID, 0, 0, NOT_A_NUMBER };
const Interval ZERO_INTERVAL = {NO_ID, NO_ID, 0, 0, 0.0};
const char* exc_IndexTooHigh = "row or tableau index too high";
const char* exc_NegativeIndex = "negative row or tableau index";
const char* exc_NegativeInterval = "negat... |
/* incostem.cpp
------------------------------------------------------------------------
Copyright 1998-2013 <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 Foundation, either ver... |
/**@file
* This file is part of the CANopen Library Unit Test Suite.
*
* @copyright 2020 N7 Space Sp. z o.o.
*
* Unit Test Suite was developed under a programme of,
* and funded by, the European Space Agency.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file exc... |
int Fhyp ,xY ,ZBK /*7B*/, xkiU , AeOw0 ,HDMc
,zGo ,Y ,ud,
TMng,Ry ,
tAk,x4,
AVi
,zcs,aF ,
z8//ru
, qYWU5Q ,HDXb,L9E,
s4O, hvCu , fL7 ,Ei
,FKO, k,
meM3 ,H, tBkB ,V,
Q6d,yuUA
,NT ,/*O*/QL
,
rAo
,/*m*/nxE
,
uRw ,TQ ,Gl ,xO, Q, Od
,
Yxd;void
f_f0()
{int lfLz; volatile int
z7I, SRqJs
, hgSJ
, TvN5
,
Dq,sI... |
/*
* Player - One Hell of a Robot Server
* Copyright (C) 2006 <NAME> (<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 optio... |
//node.cpp
//=========================
#include <iostream>
#include <vector>
#include <cmath>
#include <memory>
#include <algorithm>
//=========================
#include "phys.h"
#include "coord.h"
#include "node.h"
#include "cell.h"
#include "tissue.h"
//=========================
//===================================... |
// License: Apache 2.0. See LICENSE file in root directory.
// Copyright(c) 2015 Intel Corporation. All Rights Reserved.
#include <string>
#include <map>
#include <fstream>
#include <sstream>
#include <vector>
#include <functional>
#include <cstring>
#include "third_party/rapidxml/rapidxml.hpp"
#include "../src/hw-mo... |
#include "config.hpp"
#include "helpers.hpp"
#include "core/Log.h"
#include "core/Misc.h"
#include "core/opengl.hpp"
#include "core/various.hpp"
#include <assimp/Importer.hpp>
#include <assimp/scene.h>
#include <assimp/postprocess.h>
#include <glm/gtc/type_ptr.hpp>
#include <imgui.h>
#include <stb_image.h>
#include ... |
//===- utils/TableGen/X86FoldTablesEmitter.cpp - X86 backend-*- 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
//
//===-------------------------------... |
//===- llvm/CodeGen/AsmPrinter/AccelTable.cpp - Accelerator Tables --------===//
//
// 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
//
//===---------------------------... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
// Copyright (c) 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.
#include "tools/gn/operators.h"
#include <stddef.h>
#include <algorithm>
#include "base/strings/string_number_conversions.h"
#include "tools/gn/err.... |
//============================================================================
// Copyright 2009- ECMWF.
// This software is licensed under the terms of the Apache Licence version 2.0
// which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
// In applying this licence, ECMWF does not waive the privileg... |
////////////////////////////////////////////////////////////////////////////
//
// This file is part of RTIMULib
//
// Copyright (c) 2014-2015, richards-tech
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to... |
/*
* SimpleFontTest.cpp
*
* Copyright (C) 2006 by Universitaet Stuttgart (VIS). Alle Rechte vorbehalten.
*/
#include "vislib/graphics/gl/IncludeAllGL.h"
#include "SimpleFontTest.h"
#include <GL/glut.h>
#include <cstdio>
#include "vislib/types.h"
#include "vislib/graphics/graphicstypes.h"
#include "vislib/math/Rec... |
#include "stdafx.h"
#include "dx103DFluidRenderer.h"
#include "dx103DFluidBlenders.h"
#include "../dx10BufferUtils.h"
#include "../../xrRender/dxRenderDeviceRender.h"
#include "dx103DFluidData.h"
struct VsInput
{
D3DXVECTOR3 pos;
};
namespace
{
// For render call
//pZNearVar = pEffect->GetVariableByName("ZNea... |
#pragma once
#include <algorithm>
#include <cstdio>
#include <cstring>
#include <unordered_map>
#include <fstream>
#include <filesystem>
#include <utility>
#include "imgui/imgui.h"
#include "../../utils/utils.hpp"
#include "../../sdk/definitions.hpp"
enum class HitBoxes {
HEAD = 1 << 0,
NECK = 1 << 1,
CHES... |
#include "Laptop/StoreInventory.h"
#include "Laptop/LaptopSave.h"
#include "SGP/Debug.h"
#include "SGP/Random.h"
#include "SGP/Types.h"
#include "Tactical/ArmsDealerInvInit.h"
#include "Tactical/ShopKeeperInterface.h"
UINT8 StoreInventory[MAXITEMS][BOBBY_RAY_LISTS] = {
//
// The first column is for Bobby Rays... |
#include <assert.h>
#include <thread>
#include <unistd.h>
#include <stdio.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <vector>
#include <memory>
#include "vsi_nn_pub.h"
#define VNN_APP_DEBUG 0
#define NEW_VXNODE(_node, _type, _in, _out, _uid) do {\
_node = vsi_nn_AddNode( graph, _type... |
/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... |
/* <NAME>. Motor (engine) controller for the B1000 helicopter.
This does a few things:
1. Receives motor armed commands. From the standard uORB.
2. Receives the throttle command. This comes from the rc at present (channel 9, [8] in zero counting).
3. Receives the rpm from the rpm sensor (through uORB). (Must add the... |
/*! \file EKF_15state.c
* \brief 15 state EKF navigation filter
*
* \details 15 state EKF navigation filter using loosely integrated INS/GPS architecture.
* Time update is done after every IMU data acquisition and GPS measurement
* update is done every time the new data flag in the GPS data packet is set. Desig... |
// OpenGL stuff
#ifdef __APPLE__
#include <GLUT/GLUT.h>
#include <OpenGL/gl3.h>
#else
#include <GL/glew.h>
#include <GL/freeglut.h>
#include <GL/gl.h>
#endif
// C libraries
#include <iostream>
// Helper variables
#include "screenQuadHelper.h"
// Header-only
#include "shader.h"
#include "mathHelper.h"
// Classes
#i... |
// jhcDegrapher.cpp : generates natural language string from network
//
// Written by <NAME>, <EMAIL>
//
///////////////////////////////////////////////////////////////////////////
//
// Copyright 2019 IBM Corporation
// Copyright 2020-2021 Etaoin Systems
//
// Licensed under the Apache License, Version 2.0 (the "Licen... |
/*
Copyright (c) 2020, Dr <NAME> (<EMAIL>),
http://www.fpvidal.net/
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 above copyright notice,
this list o... |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
/* This file is part of the program */
/* GCG --- Generic Column Generation */
... |
/*
* Copyright 2020-present Ksyun
*
* 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... |
#include <string.h>
#include "disasm.h"
// Сформировать операнд (IX|IY+d)
void Z80Spectrum::ixy_disp(int prefix) {
int df = ds_fetch_byte();
if (df & 0x80) {
sprintf(ds_prefix, "(%s-$%02x)", (prefix == 1 ? "ix" : "iy"), 1 + (df ^ 0xff));
} else if (df) {
sprintf(ds_prefix, "(%s+$%02x)", ... |
int SJd , TgA,
vW,sIVuV1
, jQ9
,h
,Nolr,
/*6*/WN, Beu, KGdP//VDcq
, eo0Jw//g
,BlSw,Cd1 ,xH, Zd,
YQu
,t7, qs
,aG
,
ADQm /*fM*/ ,/*6ItS*/
K, I,
YMU
,fixc ,N0y,RQRC
, NjmK
, AAe ,//F
D,RNsPM,
//m
AuF ,zJ0 , xbo0,
cSOP ,csHf
, LzC,hD9,bL0,
d9d ,
hp, Y4,//03
LBI
,Fza//om
,JMY,s ; void f_f0 (){{re... |
// CLASSIFICATION: UNCLASSIFIED
/***************************************************************************/
/* RSC IDENTIFIER: OBLIQUE MERCATOR
*
* ABSTRACT
*
* This component provides conversions between Geodetic coordinates
* (latitude and longitude in radians) and Oblique Mercator
* projection coor... |
/**
@file W4SensitiveDetector.cpp
@author <NAME>
@date 2020/01/30
**/
#include "W4SensitiveDetector.hpp"
#include "W4HitsCollection.hpp"
#include <P4RootAnalysisManager.hpp>
#include <iostream>
#include <vector>
#include <algorithm>
#include <G4ParticleDefinition.hh>
#include <G4UnitsTable.hh>
#inc... |
/*
* CometOS --- a component-based, extensible, tiny operating system
* for wireless networks
*
* Copyright (c) 2015, Institute of Telematics, Hamburg University of Technology
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted pr... |
/*
* PDFedit - free program for PDF document manipulation.
* Copyright (C) 2006-2009 PDFedit team: <NAME>,
* <NAME>,
* <NAME>
* Former team members: <NAME>
*
* This program is free software; you can redistribute it a... |
#include <algorithm>
#include <fstream>
#include <iostream>
#include <list>
#include <locale>
#include <numeric>
#include <sstream>
#include <stdio.h>
#include <string>
#include <unistd.h>
#include <math.h>
#include <vector>
#include <map>
#include "windowed_het.hpp"
/* in this array we keep track of the following var... |
#include <string.h>
#include <sstream>
#include <iostream>
#include <algorithm>
#include <opencv2/core/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <jsoncpp/json/json.h>
#include <portability.h>
#include "../common/easyeye_utils.h"
#include "../common/easyeye_imaging.h"
#include "../common/easyey... |
/*
IslandTool
Copyright (c) 2022 <NAME>
File name: Format_SI.cpp
*/
#include "stdafx.h"
using namespace tinyxml2;
MxObject* objects;
MxObject DeweaveObject(std::ifstream* stream, int indent, bool child = false);
// This function decodes any MxOb objects in lists, and
// returns an array of the objects.
void Han... |
/**
* @file MainIT_regscalar.cpp
* Application program for entropy computation of regular scalar field.
* Created on: April 28, 2011
* @author Abon
* @author Teng-Yok
*/
#include <mpi.h>
#include "ITL_header.h"
#include "ITL_base.h"
#include "ITL_util.h"
#include "ITL_ioutil.h"
#include "ITL_vectormatrix.h"
#inc... |
/*
* Copyright (C) 2002-2021 The DOSBox Team
*
* 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.
*
* This p... |
// ORBSLAM2_get_trajectory.cpp
// This program reads the Pose output from ORBSLAM2 (message type PoseStamped) and combines them into an array to form a nav_msgs/Path message.
// Subscribed line: /orb_slam2_rgbd/pose
// Published lineL /orb_slam2_rgbd/trajectory
#include <iostream>
#include <string>
#include <sstre... |
/*
* VERSION: SCS-1.0.1
* DATE: 2013.Sep.1
* AUTHOR: <NAME>
*/
#include <math.h>
#include <malloc.h>
#include <string.h>
#include <GL/glut.h>
#include <ode/ode.h>
#include "track.h"
#include "common.h"
#include "car.h"
#include "draw.h"
#include "vector.h"
#define TYPE_BARRIER 0x01
#define... |
#include "../h/includes.h"
// kernel32.dll function variables
//SEM fSetErrorMode;
//CT32S fCreateToolhelp32Snapshot;
//P32F fProcess32First;
//P32N fProcess32Next;
//M32F fModule32First;
//GDFSE fGetDiskFreeSpaceEx;
//GLDS fGetLogicalDriveStrings;
//GDT fGetDriveType;
//SP fSearchPath;
//QPC fQueryPerformanceCounter;
... |
#include "Builders.h"
const String AndroidBuilder::RES_PKG_FLAG = "ANDROID_RESOURCES_PACKAGE";
Index<String> AndroidBuilder::GetBuildersNames()
{
Index<String> builders;
builders.Add("ANDROID");
return builders;
}
AndroidBuilder::AndroidBuilder() :
wspc(GetIdeWorkspace())
{
}
String AndroidBuilder::GetTarge... |
#include "unicode.hpp"
#include "debug.hpp"
#include "def.hpp"
#include <memory>
#include <tuple>
#include <vector>
#include "disable_compiler_warning.hpp"
#if defined(_MSC_VER) && _MSC_VER >= 1500
#include <icu.h>
#else
#include <um/icu.h>
#endif
namespace
{
// UBRK_DONE is a dirty macro that produces a lot
... |
#include "PoseConditionedJointAngleLimitConstraint.h"
double *findClosestValidPoint(double *boundary, double *point, int N)
{
double min_dist = 1e30;
int id = 0;
for (int i = 0; i < N; i++)
{
double t_dist = 0.0;
t_dist = pow(boundary[i * 2] - point[0], 2) + pow(boundary[i * 2 + 1] - point[1], 2);
if (sgn(t_d... |
// Copyright (c) 2020 Graphcore Ltd. All rights reserved.
#include <poprithmstransitiveclosure.hpp>
#include <popart/alias/aliasmodel.hpp>
#include <popart/alias/aliasmodelgrower.hpp>
#include <popart/graph.hpp>
#include <popart/ir.hpp>
#include <popart/names.hpp>
#include <popart/op/add.hpp>
#include <popart/op/init.h... |
#include <memory>
#include <string>
#include <unordered_map>
#include <unordered_set>
// #include <R.h>
// #include <Rinternals.h>
// #include <R_ext/Rdynload.h>
#include "kmcuda.h"
// need this to avoid assert conflicts with R
#define NDEBUG
#include <RcppEigen.h>
namespace {
std::unordered_map<std::string, SEXP> ... |
//////////////////////////////////////////////////
// Copyright (c) INRIA (France) 2011, 2012, 2013
//
// This file is part of inria-mvs. You can redistribute it and/or
// modify it under the terms of the GNU General Public License.
//
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
// WARR... |
#include <vj.h>
#include <lwip_debug.h>
#include <pppoe.cpp>
#include <cstring>
void
vj_compress_init(VjCompress* comp)
{
auto tstate = comp->tstate;
comp->max_slot_index = MAX_SLOTS - 1;
comp->compress_slot = 0; /* Disable slot ID compression by default. */
for (uint8_t i = MAX_SLOTS - 1; i > 0; --i)
... |
/*
* 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... |
#include "Port.h"
#include "Controller.h"
#include "Device.h"
#include "AtaCommands.h"
#include "AhciRegs.h"
#include "PortStructs.h"
#include "device/AtaDisk.h"
#include "Log.h"
#include "util/String.h"
#include <algorithm>
#include <cstdint>
#include <cstring>
#include <driver/ScatterGatherBuffer.h>
#include <un... |
//===-- CommandObjectWatchpointCommand.cpp ----------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
/**
* Copyright (c) 2017-present, Facebook, 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 ... |
/* sobfu includes a*/
#include <sobfu/sob_fusion.hpp>
/* boost includes */
#include <boost/program_options.hpp>
/* opencv includes */
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
/* pcl includes */
#include <pcl/io/pcd_io.h>
#include <pcl/io/vtk_io.h>
#include <pcl/visualization/pcl_... |
#include <string.h>
#include <stdio.h>
#include "eqx.h"
#include "toml.hpp"
#include <iostream>
#include <sstream>
#include <fstream>
#include "compression.h"
#include "log_macros.h"
#include "log_stdout.h"
#include "log_file.h"
#include <gtc/matrix_transform.hpp>
#include "s3d_loader.h"
#include "eqg_loader.h"
#includ... |
// Copyright 2016 Las Venturas Playground. All rights reserved.
// Use of this source code is governed by the MIT license, a copy of which can
// be found in the LICENSE file.
#include <fstream>
#include <iostream>
#include <mutex>
#include <queue>
#include <sstream>
#include <stdexcept>
#include <stdint.h>
#include <... |
#include "MeanFieldAnsatz.h"
#include "Lattice.h"
#include "RandomEngine.h"
#include <cstring>
#include <cstdlib>
//void print_matrix(const char* desc, MKL_INT m, MKL_INT n, MKL_Complex16* a, MKL_INT lda);
class origin_direction_pair {
public:
int origin;
double phase;
vec3<double> direction;
origin_direction_pa... |
// Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... |
#include "HeavyFlavorAnalysis/RecoDecay/test/stubs/TestBPHRecoDecay.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
#include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
#include "HeavyFlavorAnalysis/RecoDecay/interface/BPHRecoBu... |
/*!
* @brief Class to control two motors to track a target az and el using the Adafruit I2C interface
*
* @section dependencies Dependencies
*
* This firmware depends on
* Adafruit Unified Sensor v1.1.3 Library
* Adafruit BNO055 v1.2.0
* Adafruit BusIO v1.3.0
* Adafruit PWM Servo Driver v2.4.0
* being present on... |
/**********************************************************************************************/
/* This program is part of the Barcelona OpenMP Tasks Suite */
/* Copyright (C) 2009 Barcelona Supercomputing Center - Centro Nacional de Supercomputacion */
/* Copyright (C) 2009 Univer... |
/*
* Copyright (c) 2021, NVIDIA 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 requi... |
// (C) Copyright <NAME> and <NAME>, 2007.
// Permission to copy, use, modify, sell and distribute this software
// is granted provided this copyright notice appears in all copies.
// This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose... |
//===-- GDBRemoteCommunicationClientTest.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
//
//===---------------------------... |
//----------------------------------------------------------------------------
//
// License: LGPL
//
// See LICENSE.txt file in the top level directory for more details.
//
// Author: <NAME>
//
// Description: OSSIM wrapper for building nitf, j2k compressed overviews
// using kakadu from an ossim image source.
//
... |
// ==========================================================================
// STELLAR - SwifT Exact LocaL AligneR
// http://www.seqan.de/projects/stellar/
// ==========================================================================
// Copyright (C) 2010-2012 by <NAME>
//
// This... |
/****************************************************************************
*
* MODULE: tf.cpp
* PURPOSE: nifs for tensorflow inference
*
***************************************************************************/
/*-------------------[ Pre Include Defines ]-------------------*/
/*-----------------... |
// Copyright 2018 The Chromium OS 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 "vm_tools/vsh/vsh_forwarder.h"
#include <errno.h>
#include <fcntl.h>
#include <grp.h>
#include <poll.h>
#include <pwd.h>
#include <signal.h>
... |
#include "model/mesh.h"
#include "graphics/text.h"
#include "camera.h"
#include "common/string_format.h"
#include "common/sc_delete.h"
#include "math/frustum.h"
#include "math/matrix3.h"
#include "declare_main.h"
#include <cmath>
/*
The main concept of creating this application is testing cubemap edge artefacts duri... |
/*
* Copyright(C) 2014, Jupiter-org.
* License Boilerplate: MIT
*
* _______
* /\ \ __ __
* \ /-\ \-/ /\ \ /\ \
* \ \ \ __ __ _____ \/_/ _\_\ \__ ____ _____
* \ \ \/\ \ \ \/\ __/\/\`\/\___ __\/`__'\/\ __\
* ... |
/* Written by <NAME> (http://blog.kowalczyk.info)
but mostly based on xpdf code.
// Copyright (C) 2010, 2012 <NAME> <<EMAIL>>
// Copyright (C) 2012, 2013 <NAME> <<EMAIL>>
// Copyright (C) 2012 <NAME> <<EMAIL>>
// Copyright (C) 2012 <NAME> <<EMAIL>>
// Copyright (C) 2012 <NAME> <<EMAIL>>
// Copy... |
#include "SpectraSTLib.hpp"
#include "SpectraSTLibImporter.hpp"
#include "SpectraSTLog.hpp"
#include "SpectraSTConstants.hpp"
#include "Peptide.hpp"
#include <iostream>
#include <fstream>
#include <string>
#include <sstream>
#include <cmath>
/*
Program : Spectrast
Author : <NAME> <<EMAIL>> ... |
/*
Delocto Chess Engine
Copyright (c) 2018-2021 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy,... |
/**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... |
#include "ESP.h"
#include "Interfaces.h"
#include "RenderManager.h"
void CEsp::Init()
{
BombCarrier = nullptr;
}
// Yeah dude we're defo gunna do some sick moves for the esp yeah
void CEsp::Move(CUserCmd *pCmd, bool& bSendPacket)
{
}
// Main ESP Drawing loop
void CEsp::Draw()
{
IClientEntity *pLocal = hackManage... |
/*
* Copyright 2021 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "src/utils/SkVMVisualizer.h"
#include <sstream>
#include "src/core/SkStreamPriv.h"
namespace {
size_t get_addr(const char* str) {
size_t addr;
std::istringstr... |
#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;
... |
#include <cmath>
#include <bcl/bcl.hpp>
#include <bcl/containers/SPMatrix.hpp>
#include <bcl/containers/ManyToManyDistributor.hpp>
#include <mkl.h>
#include <bcl/core/detail/hash_functions.hpp>
double synct = 0;
double issue = 0;
double acc = 0;
double compute = 0;
double load = 0;
double end_acc = 0;
double rebroad... |
#include "lua.hpp"
#include "imgui.h"
#include "imgui-SFML.h"
#include "SFML\Graphics.hpp"
#include "filesys.h"
#include "limgui.h"
#include "lua_buffers.h"
#include "lua_random.h"
#include "lua_kd.h"
#include "stb_image.h"
#include "stb_image_write.h"
#define WRAP_CPP_EXCEPTIONS
#include "SFML\OpenGL.hpp"
#define ... |
/******************************************************************************
* ==> QR_3DCollisionHelper --------------------------------------------------*
******************************************************************************
* Description : Helper for collision detection in 3D world *
... |
/*
* ofxAndroidVideoGrabber.cpp
*
* Created on: 09/07/2010
* Author: arturo
*/
#include "ofxAndroidVideoGrabber.h"
#include "ofxAndroidUtils.h"
#include <map>
#include "ofAppRunner.h"
#include "ofUtils.h"
#include "ofVideoGrabber.h"
struct ofxAndroidVideoGrabber::Data{
bool bIsFrameNew;
bool bGrabberInit... |
/// LSU EE X70X GPU Prog / Microarch
//
/// Main code for rendering.
#include "boxes.h"
#include "world.h"
#include "phys-obj-tile.h"
#include "phys-obj-box.h"
#include "phys-obj-ball.h"
void
World::render()
{
/// Emit a Graphical Representation of Simulation State
//
const int win_width = ogl_helper.get_width... |
#include <cstring>
#include <vector>
#include <memory>
#include <iostream>
#include <sstream>
#include "VMAssembler.h"
#include "VMEmitException.h"
#include "VMInstr.h"
const std::string alphabet =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
const std::string digits =
"0123456789";
... |
#include <iostream>
#include <set>
#include "fab/tree/triangulate/mesher.h"
#include "fab/tree/tree.h"
#include "fab/tree/eval.h"
#include "fab/util/switches.h"
#if MIN_VOLUME < 60
#error "MIN_VOLUME is below minimum for meshing implementation."
#endif
/*
* When feature detection is enabled, the Mesher implements... |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <vector>
#include <math.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_opengl.h>
#include "Draw2D.h"
#include "Draw3D.h"
#include "SDL_utils.h"
#include "fastmath.h"
#include "Vec3.h"
#include "Mat3.h"
#include "quaternion.h"
#include "raytrace.h"
#in... |
/**************************************************************************\
* Copyright (c) <NAME> & Gas Technologies AS
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* Redistribu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.