text stringlengths 8.71k 38.4k |
|---|
#include "include/drtaint.h"
#include "include/drtaint_shadow.h"
#include "include/drtaint_helper.h"
/*
There are so many simd instructions that it's better
to place all their handling routines to another file
*/
bool propagate_simd_isa(void *drcontext, instrlist_t *ilist, instr_t *where,
... |
// Copyright (C) 2018 Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0
//
#include <gtest/gtest.h>
#include <gmock/gmock-spec-builders.h>
#include "mkldnn_plugin/mkldnn_graph.h"
#include "test_graph.hpp"
#include "single_layer_common.hpp"
#include <mkldnn_plugin/mkldnn_extension_utils.h>
#include <inferen... |
#include "fileformats/vcf/Entry.hpp"
#include "fileformats/vcf/Header.hpp"
#include "fileformats/vcf/VariantAdaptor.hpp"
#include "io/InputStream.hpp"
#include <boost/assign/list_of.hpp>
#include <functional>
#include <sstream>
#include <stdexcept>
#include <string>
#include <vector>
#include <gtest/gtest.h>
using b... |
// Copyright 2021 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 <errno.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <xf86drm.h>
#inc... |
#pragma once
#include "Restaurant.h"
#include "MyRegion.h"
#include "Order.h"
#define NOC getNormalOrdersCount()
#define FOC getFrozenOrdersCount()
#define VOC getVipOrdersCount()
#define NMC getNormalMotorcyclesCount()
#define FMC getFrozenMotorcyclesCount()
#define VMC getFastMotorcyclesCount()
using namespace std;... |
// 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/gyp_binary_target_writer.h"
#include <set>
#include "base/logging.h"
#include "base/strings/string_util.h"
#include "tools/gn/bui... |
/***************************************************************************
* This program is used:
* 1. to compute grid cell OMI L2 variables from downloaded OMI L2
* product files from NASA Mirador site.
* 2. to output satellite variables into a WRF format netcdf file.
* 3. Time step -- File time
*
* W... |
#include <iostream>
#include <fstream>
#include <cstdlib>
#include <cstdio>
#include <numeric>
#include <vector>
#include <ctime>
#include "THaCodaFile.h"
#include "CodaDecoder.h"
#include "Fadc250Module.h"
#include "TString.h"
#include "TROOT.h"
#include "TFile.h"
#include "TH1.h"
#include "TH2.h"
#include "TDirectory... |
//
// Copyright 2011-2015 Ettus Research LLC
// Copyright 2018 Ettus Research, a National Instruments Company
//
// SPDX-License-Identifier: GPL-3.0-or-later
//
#include <uhd/convert.hpp>
#include <uhd/usrp/multi_usrp.hpp>
#include <uhd/utils/safe_main.hpp>
#include <uhd/utils/thread.hpp>
#include <boost/algorithm/str... |
// Test without serialization:
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -std=c++17 -ast-dump %s \
// RUN: | FileCheck -strict-whitespace %s
//
// Test with serialization:
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -std=c++17 -emit-pch -o %t %s
// RUN: %clang_cc1 -x c++ -triple x86_64-unknown-unknown -st... |
#include "winimage.h"
#include "transformer.h"
#include "edge_detector.h"
#include "rotater.h"
#include <time.h>
#include <QtGui>
#include <QMessageBox>
#include <QActionGroup>
#include <QToolBar>
#include <QApplication>
#include <QMenuBar>
#include <QMenu>
#include <QStatusBar>
#include <QFileDialog>
#... |
/* Copyright (c) 2021 Grumpy Cat Software S.L.
*
* This Source Code is licensed under the MIT 2.0 license.
* the terms can be found in LICENSE.md at the root of
* this project, or at http://mozilla.org/MPL/2.0/.
*/
#include <gauss/dimensionality.h>
#include <gauss/internal/scopedHostPtr.h>
#include <algorithm>
... |
#include "main.h"
#include <natus/application/global.h>
#include <natus/application/app.h>
#include <natus/gfx/camera/pinhole_camera.h>
#include <natus/graphics/variable/variable_set.hpp>
#include <natus/math/vector/vector3.hpp>
#include <natus/math/vector/vector4.hpp>
#include <natus/math/matrix/matrix4.hpp>
#includ... |
#include <cannon/logic/dpll.hpp>
#include <cassert>
#include <cannon/log/registry.hpp>
using namespace cannon::log;
using namespace cannon::logic;
void FormulaState::write_graph() {
std::ofstream os("tmp.dot");
os << "digraph dpll_state {" << std::endl;
// TODO Can write to a temp file and wait for user inp... |
/**************************************************************************
*
* Copyright (c) 2002 - 2011 by Computer Architecture Department,
* Universitat Politecnica de Catalunya.
* All rights reserved.
*
* The contents of this file may not be disclosed to third parties,
* copied or duplicated in any form, in... |
#include "gdal/ogrsf_frmts.h"
#include "tiny_gltf.h"
#include "earcut.hpp"
#include "json.hpp"
#include "extern.h"
#include <vector>
#include <cmath>
#include <array>
struct bbox
{
double minx, maxx, miny, maxy;
bbox() {}
bbox(double x0, double x1, double y0, double y1) {
minx = x0, maxx = x1, min... |
#include "GameScene.h"
//Engine Includes
#include "../../Engine/Game.h"
#include "../../Engine/ECS/Vector2D.h"
#include "../../Engine/Quadtree/QuadtreeManager.h"
//Objects Includes
#include "../Objects/Player.h"
#include "../Objects/Wall.h"
#include "../Objects/TestEntity.h"
#include "../Classes/HeroType.h"
#include ".... |
/*
microsoft-oms-auditd-plugin
Copyright (c) Microsoft Corporation
All rights reserved.
MIT License
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, in... |
// Copyright 2004-present Facebook. All Rights Reserved.
#include <chrono>
#include <cstdlib>
#include <fstream>
#include <iostream>
#include <random>
#include <string>
#include <vector>
#define GLEW_STATIC
#include <GL/glew.h>
#include <glfw3.h>
#include <pangolin/geometry/geometry.h>
#include <pangolin/geometry/... |
/*
A Simple Network Discovery Protocol
*/
// Copyright 2000, Be Incorporated. All Rights Reserved.
// This file may be used under the terms of the Be Sample Code License.
#include <stdio.h>
#include <stdlib.h>
#include <socket.h>
#include <netdb.h>
#include <assert.h>
#include <SupportKit.h>
#define ND_ERR -1
#d... |
#include "ros_graffiti_pose/ros_graffiti_pose.h"
int main(int argc, char **argv)
{
ros::init(argc, argv, "graffiti_pose");
ros::NodeHandle n("~");
fake_gps_position_publisher = n.advertise<geometry_msgs::PoseStamped>("/mavros/fake_gps/vision", 1);
extnav_position_publisher_ned = n.advertise<geometry... |
//
// Playlist.cpp
// Oscilloscope
//
// Created by Hansi on 05.08.17.
//
//
#include "Playlist.h"
#include "MuiL.h"
#include "ofxAvUtils.h"
#include "../globals.h"
#include "ofxFontAwesome.h"
#include "FaButton.h"
#include "FaToggleButton.h"
#include "FMenu.h"
#include "ofxNative.h"
namespace natural_sort{
int c... |
#include "rpa.hpp"
#include "eigen_wrapper.hpp"
#include <ctf.hpp>
#include <libint2.hpp>
#include "logger.hpp"
// Constructor
RPA::RPA(Command& c, Fock& _focker, int _N, int _nocc, CTF::World& _dw) : cmd(c), focker(_focker), N(_N), nocc(_nocc), nvirt(_N - _nocc), dw(_dw)
{
energy = 0.0;
}
void RPA::compute(bool pr... |
int tOFQ/*dr*/
,QI
,
Q
,
H9A ,Svw, L6Q/*b73*/ , XDYB,oDY5bg, IxT,
TrV ,XjQ, AEX
,
Ko0,nTN ,xdX, Vne6 ,x,ho
,
hR , tB9, Jh
,
QMlX ,NOn8F
,b33f,
d , wer ,
iCf , m3fu
,Dv
,Zs1g, h,
v6,
dr,
KJt ,//
Y98
,
F3G70
,/**/QsIX,
uNAC ,dju
, df,
aeVF,L5T//
,xGG3,UdMkw ,Jv,suX
,/*YIb*/RiN9e ,HTF ,//
fSRM4... |
/*
* Copyright 2003, 2004, 2005, 2006 PathScale, Inc. All Rights Reserved.
*/
/*
Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the ... |
#include <iostream>
#include <algorithm>
#include "SIFT.hpp"
#include "__SIFT.hpp"
void extractSiftFeatures(const Mat &img, vector<KeyPoint> &keypoints, Mat &descriptor, int intervals, double sigma,
double contrast_thres, int curvature_thres, bool img_dbl, int descr_width, int descr_hist_bins... |
/*
BSD 3-Clause License
Copyright (c) 2021, <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 source code must retain the above copyright notice, this
list of conditions ... |
#include <pcl/common/transforms.h>
#include <pcl/filters/approximate_voxel_grid.h>
#include <pcl/io/pcd_io.h>
#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include <pcl/registration/gicp.h>
#include <pcl/registration/ndt.h>
#include <pcl/visualization/pcl_visualizer.h>
#include <pclomp/ndt_omp.h>
#include... |
#include <string>
#include <iostream>
#include <cstdlib>
#include <math.h>
#include <fstream>
#include <vector>
#include <cstring>
#include <algorithm>
using namespace std;
void r1(); // 12301
void f1(); // 12302
void dz21(); void dz31(); void dz41(); void dz46();
void dz22(); void dz32(); void dz42(); void dz47();... |
#include <ros/ros.h>
#include <sensor_msgs/Image.h>
#include <sensor_msgs/NavSatStatus.h>
#include <sensor_msgs/NavSatFix.h>
#include <sensor_msgs/Imu.h>
#include <std_msgs/String.h>
#include <nav_msgs/Path.h>
#include <nav_msgs/Odometry.h>
#include <cv_bridge/cv_bridge.h>
#include <thread>
#include "dg_simple.cpp"
#in... |
////////////////////////////////////////////////////////////////////////////
// Created : 30.04.2009
// Author : <NAME>
// Copyright (C) GSC Game World - 2009
////////////////////////////////////////////////////////////////////////////
#include "pch.h"
#include "collision_node.h"
#include <assert.h>
MPoint ... |
// *********************************************************************
// **
// ** Rutinas auxiliares:
// ** - Gestión de errores en general
// ** - Comprobación de errores de OpenGL (implementacion)
// ** - Inicialización de glew,
// ** - Comprobacion de la versión de OpenGL
// **
// ** Copyright (C) 2014 <NAME>
// ... |
#include "openglviewer.h"
#include <ctime>
#include <iostream>
#include <fstream>
#include <functional>
#include <QtGui/qevent.h>
#include <QtGui/qpainter.h>
#include <QtGui/qopenglcontext.h>
#include <QtGui/qopenglextrafunctions.h>
#include <opencv2/opencv.hpp>
#define TINYOBJLOADER_IMPLEMENTATION
#... |
/*
Copyright (c) 2003-2016, <NAME>
Antiprism - http://www.antiprism.com
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 rig... |
#include <stdio.h>
#include <assert.h>
#include <cstdint>
#include <cstddef>
#include "../src/vp8/util/nd_array.hh"
#include "../src/vp8/model/numeric.hh"
#include "../src/vp8/model/branch.hh"
#include "../src/io/MuxReader.hh"
#include "../src/io/MemReadWriter.hh"
#include "../src/lepton/thread_handoff.hh"
#ifndef ENAB... |
/*
color_picker_256.cpp
256 colors extension to the standard color picker
*/
/*
Copyright © 2022 <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 source code must retain the... |
#include "Graphics\window.h"
#include "Camera\camera.h"
#include "Shaders\shader.h"
#include "Model Loading\mesh.h"
#include "Model Loading\texture.h"
#include "Model Loading\meshLoaderObj.h"
void processKeyboardInput ();
float deltaTime = 0.0f; // time between current frame and last frame
float lastFrame =... |
#include <Arduino.h>
#include "config.h"
#include "utils.h"
#include "watchdog.h"
#include <WiFi.h>
#include <WiFiClient.h>
#include <ESPmDNS.h>
#include <SPIFFS.h>
#include "wifiTask.h"
#include "display.h"
#include "hsvToRgb.h"
#include "driver/adc.h"
#include "WiFiMultiSSID.h"
#include <ESPAsync_WiFiManager.h>
#in... |
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it wil... |
int //w
Ub
,rydxN,E5yf
//
,
dvSq
,Gp
,RXM8p, vM
,IT , u /*AT*/
,L0Q,//4T6
vR6NZ ,//QZ
XdfE, Z ,IQl, hVV
,
WgOwcd, tS ,tQg ,/*jBHU*/skzA
,H4n ,//3
HHILk , a,
geiig
,vCD
, U8oupAZ//zqp
,
Yl ,zh , r ,
Otz
,pl,Z8X,
Wio
, ssm85I,ccG
,xbga , GiA//45s7
,
lJmI,
dMbLg
, TP7VU//Ec
,xBpl7,IdA;void f_f0... |
#include "http.h"
#include "../conn.h"
using namespace xe_net;
using namespace xe_hash;
struct xe_http_host{
xe_string hostname;
union{
uint num;
struct{
ushort port;
ushort secure;
};
};
size_t hash() const{
return hash_combine(hash_int(num), hostname.hash());
}
bool ope... |
//===----- CGCoroutine.cpp - Emit LLVM Code for C++ coroutines ------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
/*
Copyright (c) 2005-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://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable la... |
/*
Rally X arcade machine emulator
Copyright (c) 2011 <NAME>
*/
#include "rallyx.h"
// Hardware info
enum {
ScreenWidth = 288,
ScreenHeight = 224,
ScreenColors = 256,
VideoFrequency = 60,
CpuClock = 3072000,
SoundC... |
#include "polly/Support/SCEVValidator.h"
#include "polly/ScopDetection.h"
#include "llvm/Analysis/RegionInfo.h"
#include "llvm/Analysis/ScalarEvolution.h"
#include "llvm/Analysis/ScalarEvolutionExpressions.h"
#include "llvm/Support/Debug.h"
using namespace llvm;
using namespace polly;
#define DEBUG_TYPE "polly-scev-... |
// ----------------------------------------------------------------------------
// - Open3D: www.open3d.org -
// ----------------------------------------------------------------------------
// The MIT License (MIT)
//
// Copyright (c) 2018 www.open3d.org
//
// Permissio... |
#include <cstdio>
#include <cstring>
#include <string>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include "logger.h"
#include "unittesthelper.h"
#include "runstatus.h"
#include "sys.h"
#include "util.h"
#include "luactx.h"
#include "cnfctx.h"
#include "filereader.h"
#include "... |
int
WM ,XCPx
,E0K
, Y, Nrb6
, YO6
, Djie ,
thwT , ZCX ,QlV, o6 , zf ,Ty/*PCM*/, Arbm//V
,gW7 ,
IAle74, zESD , F,hsAaW , sJI ,qDL,
hl ,n , cZRyKE/*9zy*/ ,
wX,/*dQ*/RHG6 ,
G
, e04FD,
TN,
VmV, Nsx
,
YY,
xk2 ,
RlCb,//9
NTe, /*76*/QOb
,Mz, Vs
, KXmdYj, bre, JZyA ,
XF ,YKJB
,
FW2A//F
,
R0BE,pjYc ,rhL
, ... |
/*
* MIT License
*
* Copyright (c) 2017 <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, m... |
#include <iostream>
#include <iomanip>
#include <valarray>
#include <numeric>
#include "hala.hpp"
#include "hala_solvers.hpp"
using std::cout;
using std::endl;
using std::setw;
/*!
* \file example_gpu.cpp
* \brief Example of using the BLAS module of HALA.
* \author <NAME>
* \copyright BSD-3-Clause
* \ingroup HA... |
// This file is part of comma, a generic and flexible library
// Copyright (c) 2011 The University of Sydney
// 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 cod... |
/*
* Copyright 2019 Xilinx 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 to ... |
// 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.
// The file contains the implementation of the mini_installer re-versioner.
// The main function (GenerateNextVersion) does the following in a temp di... |
// libSNL - Simple Nurbs Library
// Copyright <NAME>, Australia.
// ---------------------------------------
// 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... |
/*
* Copyright (c) 2022, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publis... |
#include "DQM/L1TMonitor/interface/L1TDEMON.h"
#include "DQMServices/Core/interface/DQMStore.h"
#include <bitset>
using namespace dedefs;
L1TDEMON::L1TDEMON(const edm::ParameterSet& iConfig) {
verbose_ = iConfig.getUntrackedParameter<int> ("VerboseFlag", 0);
if (verbose())
std::cout << "L1TDEMON::L1... |
/**************************************************************************************************
Software License Agreement (BSD License)
Copyright (c) 2014-2015, LAR toolkit developers - University of Aveiro - http://lars.mec.ua.pt
All rights reserved.
Redistribution and use in source and binary forms... |
/*
* Main authors:
* <NAME> <<EMAIL>>
*
* This file is part of Unison, see http://unison-code.github.io
*
* Copyright (c) 2016, RISE SICS AB
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditio... |
#include <unordered_map>
#include <utility>
#include <fstream>
#include <cassert>
#include <sstream>
#include <iterator>
#include <algorithm>
#include <cmath>
#include "manifold_mesh.h"
#include "util.h"
const ManifoldMesh::VertKey ManifoldMesh::INVALID_VERT;
const ManifoldMesh::FaceKey ManifoldMesh::INVALID_FACE;
co... |
#include <mach/mach_time.h>
#include <string>
#include <stdio.h>
#include <vector>
#include <algorithm>
#define LAPS 50
const char *data[] = {
"woodshed", "lakism", "gastroperiodynia",
"afetal", "ramsch", "Nickieben",
"undutifulness", "birdglue", "... |
#include <iostream>
#include <string>
#include <vector>
#include <jansson.h> /** Jansson lib */
#include <errno.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "../fsimulator/autotools/guavaproto.h"
#include "eal/lmice_eal_time.h"
#include "eal/lmice_trace.... |
/*-----------------------------------------------------------
** gaussian.cu -- The program is to solve a linear system Ax = b
** by using Gaussian Elimination. The algorithm on page 101
** ("Foundations of Parallel Programming") is used.
** The sequential version is gaussian.c. This parallel
** implem... |
// Copyright 2012 Cloudera 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 to in wr... |
#include "GraphUI.h"
#include "PlatformSpecific.h"
#include <Core/DataTypes.h>
#include <Core/GraphUtil.h>
#include <Core/Util.h>
#include <Core/Simulation.h>
#include <Core/DualAnalysis.h>
#include <QShortcut>
#include <QMouseEvent>
#include <QDebug>
#include <QValidator>
#include <QJsonObject>
#include <QJsonArray>... |
#include "assignment4_modified.hpp"
#include "config.hpp"
#include "core/Bonobo.h"
#include "core/FPSCamera.h"
#include "core/helpers.hpp"
#include "core/Log.h"
#include "core/LogView.h"
#include "core/Misc.h"
#include "core/ShaderProgramManager.hpp"
#include "external/lodepng.h"
#include <glm/gtc/type_ptr.hpp>
#inc... |
/* this produces a git-calendar, like github or gitlab show for user activity.
* See git-cal --help.
*
* Example scripts for .dotfiles:
*
* git-cal.bin --git-dir ~/.dotfiles/.git --work-tree=${HOME} "$@"
* git-cal.bin --git-dir /home/.janek-git/.git --work-tree=/home/janek "$@"
* git-cal.bin "$@"
*
*/
#includ... |
/*
* Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
/*
<NAME>
Princeton University
mesh_view.cc
Simple viewer
*/
#include "TriMesh.h"
#include "XForm.h"
#include "GLCamera.h"
#include "ICP.h"
#include "strutil.h"
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <string>
#include <GL/glut.h>
using namespace std;
using namespace trimesh;
// Globals
vec... |
///////////////////////////////////////////////////////////////////////////////
// Authors: <NAME> and <NAME>
// (respective Ph.D. advisors: <NAME>, <NAME>),
// based on Dr. Jingwei Lu with ePlace and ePlace-MS
//
// Many subsequent improvements were made by Mingyu Woo
// leading up ... |
/*-
* SPDX-License-Identifier: Zlib
*
* Copyright (c) 2009-2018 <NAME> <<EMAIL>>
* For conditions of distribution and use, see LICENSE file
*/
#include <ananas/types.h>
#include <ananas/errno.h>
#include <ananas/util/algorithm.h>
#include "kernel/init.h"
#include "kernel/kmem.h"
#include "kernel/lib.h"
#include "k... |
/*
* Software License Agreement (BSD License)
*
* Copyright (c) 2011, <NAME>, <NAME>, Inc.
* 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 m... |
#include "openglwindow.hpp"
#include <fmt/core.h>
#include <imgui.h>
#include "IMGUI/imgui_impl_opengl3.h"
#include <cppitertools/itertools.hpp>
#include <glm/gtc/matrix_inverse.hpp>
#include "itoa.h"
#include "imfilebrowser.h"
#include <glm/gtx/fast_trigonometry.hpp>
#include <glm/gtx/hash.hpp>
#include <unordered_map... |
#include <SDL.h>
#include <SDL_image.h>
#include <queue>
#define ERROR_LOGGING
#include "SDLG.h"
#include "Drawing primitives.h"
#include "AbstractedAccess.h"
#include "RenderableElement.h"
#include "InteractiveElement.h"
#include "Generic.h"
#define swap(a,b) a ^= (b ^= (a ^= b))
#define TRANSPARENT_CHECKER_1 (0... |
#include <unordered_map>
#include <unordered_set>
#include <iostream>
#include <map>
#include <string>
#include <vector>
#include <utility>
#include <filesystem>
#include "Grammar.h"
#include "Utils.h"
#include "AST.h"
using std::ios_base;
using std::ifstream;
using std::map;
using std::unordered_map;
using std::unord... |
/*
* Copyright (C) 2005-2013 Team XBMC
* http://xbmc.org
*
* 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, or (at your option)
* any later version.
*
* ... |
#include <stdlib.h>
#include <set>
#include "filterresult.h"
#include "stats.h"
#include "htmlreporter.h"
#include <memory.h>
FilterResult::FilterResult(Options* opt, bool paired){
mOptions = opt;
mPaired = paired;
mTrimmedAdapterRead = 0;
mTrimmedAdapterBases = 0;
mMergedPairs = 0;
mFindBarcodeRe... |
// Copyright (c) 2019 London Trust Media Incorporated
//
// This file is part of the Private Internet Access Desktop Client.
//
// The Private Internet Access Desktop Client 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 Softwa... |
/*
* RPLIDAR
* Simple Data Grabber Demo App
*
* Copyright (c) 2009 - 2014 RoboPeak Team
* http://www.robopeak.com
* Copyright (c) 2014 - 2019 Shanghai Slamtec Co., Ltd.
* http://www.slamtec.com
*
*/
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GN... |
/*************************************************************************
* *
* Open Dynamics Engine, Copyright (C) 2001,2002 <NAME>. *
* All rights reserved. Email: <EMAIL> Web: www.q12.org *
* ... |
#include <iostream>
#include <vector>
#include <memory>
#include <chrono>
#include <limits>
#include <cmath>
#if defined(_OPENMP)
#include <omp.h>
#endif
#include "settings.hpp"
#define M_PI_F 3.14159265358979323846f
#define M_E_F 2.7182818284590452354f
unsigned char* loadBMP(const char *filepath, unsigned int &widt... |
// Copyright 2005 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
// --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... |
/*
Win API tests for Screen Capture
--------------------------------
This code was written while I was exploring the Windows API.
I'm not a Windows SDK developer and I'm sure that there are
other, better ways to capture screen using the output duplication
API then below. Though if you're like me ... |
#include <iostream>
#include <math.h>
#include "gcp/program/Program.h"
#include "gcp/models/GaussianClusterModel.h"
#include "gcp/util/Exception.h"
#include "gcp/util/GaussianVariate.h"
#include "gcp/util/LogStream.h"
#include "gcp/util/IoLock.h"
#include "gcp/util/Stats.h"
#include "gcp/pgutil/PgUtil.h"
#include ... |
#include "mjolnir/validatetransit.h"
#include "mjolnir/graphtilebuilder.h"
#include "mjolnir/dataquality.h"
#include "mjolnir/osmrestriction.h"
#include <future>
#include <thread>
#include <queue>
#include <boost/algorithm/string/regex.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/algorithm/string.h... |
// processor.cpp: Class implementation to read rosbag files and obtain T-shirt point cloud
// Requirements: rosbag file as input
// Author: <NAME>
// Date: 2015/9/7
// TODO:
// 0) Implementation really crude. Improve implementation
// 1) Improve point cloud processing using different filters
#include <processor.h>
/... |
#include "RegExp.h"
#include "../../malloc.h"
#include "../../stringUtil.h"
#include "../../Unicode.h"
/*
struct RegTerm;
struct Transition {
RegTerm *term;
};
struct RegTerm {
RegTerm *prev[2];
unsigned char flag;
unsigned char min;
unsigned char max;
};
#define REGEXP_MINIMAL 1
#define REGEXP_STAR 2
#define R... |
#include "stdafx.h"
#include "Environment.h"
#include "xr_efflensflare.h"
#include "thunderbolt.h"
#include "rain.h"
#include "resourcemanager.h"
#define DEF_TREE_AMPLITUDE_INTENSITY 0.01f
//-----------------------------------------------------------------------------
// Environment modifier
//---------------------... |
/*
The MIT License (MIT)
Copyright (c) 2016 British Broadcasting Corporation.
This software is provided by Technology Will Save Us and Lancaster University by arrangement with the BBC.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the... |
#include "PursuitWrapper.h"
PursuitWrapper::PursuitWrapper(Planner _planner) : planner(_planner), nh("~") {
setup();
}
PursuitWrapper::PursuitWrapper() : planner(new VGraph()), nh("~") {
LoadROSParam();
setup();
}
void PursuitWrapper::setup() {
pub_marker = nh.advertise<visualization_msgs::Marker>("/marker_map... |
// __BEGIN_LICENSE__
// Copyright (C) 2006-2011 United States Government as represented by
// the Administrator of the National Aeronautics and Space Administration.
// All Rights Reserved.
// __END_LICENSE__
#include <gtest/gtest.h>
#include <vw/Math/MatrixSparseSkyline.h>
using namespace vw;
using namespace vw::ma... |
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//
//=============================================================================//
// vmpi_bareshell.cpp : Defines the entry point for the console application.
//
#include <windows.h>
#include <conio.h>
... |
/**
* author: sravi1210
* created: 07.11.2020 04:08:33
**/
#include <bits/stdc++.h>
using namespace std;
#define F first
#define S second
#define ll long long int
// Global variables for Graph, EDDA, CMST, destination edge servers, CMST nodes and edges.
map<ll, ll> Wnodes;
vector<vector<ll>> G;
vecto... |
#include <stdio.h>
#include <opencv/cv.h>
#include <opencv/highgui.h>
#include <opencv2/calib3d/calib3d.hpp>
#define MACBETH_WIDTH 6
#define MACBETH_HEIGHT 4
#define MACBETH_SQUARES MACBETH_WIDTH * MACBETH_HEIGHT
#define MAX_CONTOUR_APPROX 7
#define MAX_RGB_DISTANCE 444
// BabelColor averages in sRGB:
// http... |
#include "application_solar.hpp"
#include "window_handler.hpp"
#include "utils.hpp"
#include "shader_loader.hpp"
#include "model_loader.hpp"
#include <glbinding/gl/gl.h>
// use gl definitions from glbinding
using namespace gl;
//dont load gl bindings from glfw
#define GLFW_INCLUDE_NONE
#include <GLFW/glfw3.h>
#inc... |
#include <stdio.h>
#include <vector>
#include <string>
#include "util.h"
#include "vec3.h"
#include "vec4.h"
#include "mat4.h"
using namespace std;
using namespace Math;
const char* programName = "Math library";
const char* s = "OK";
const char* f = "FAILED";
typedef unsigned TestId;
typedef unsigned Line;
typedef st... |
#include "layoutitem_pagetitle.h"
PageTitleLayoutItem::PageTitleLayoutItem(PlotBookModel* bookModel,
const QModelIndex &pageIdx,
const QFont& font) :
QLayoutItem(),
_bookModel(bookModel),
_pageIdx(pageIdx),
_font(font)
{
... |
/*
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
*/
#include <boost/uuid/uuid_io.hpp>
#include <cmn/agent_cmn.h>
#include <base/logging.h>
#include <oper/interface.h>
#include <oper/nexthop.h>
#include <oper/tunnel_nh.h>
#include <oper/vrf.h>
#include <oper/agent_sandesh.h>
#include <oper/inet4_m... |
#include "SeqRenderer.h"
#include "Sequentia.h"
#include "SeqProject.h"
#include "SeqExporter.h"
#include "SeqMaterialInstance.h"
#include "SeqList.h"
#include "imgui.h"
extern "C"
{
#include "libavformat/avformat.h"
}
ImVec4 SeqRenderer::clearColor = ImColor(114, 144, 154);
unsigned int SeqRenderer::vboHandle = 0;
u... |
#include <iostream>
#include "..\includes\stdafx.h"
#include "dllmain.h"
#include "ConsoleWnd.h"
#include "Settings.h"
#include "settings_string.h"
#include "ToolMenu.h"
#include "MouseTurning.h"
#include "cfgMenu.h"
Settings cfg;
struct key_type {
int vk;
int dik;
};
std::unordered_map<std::string, key_type> key_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.