text stringlengths 5.71k 33.7k |
|---|
int//w
UKe/*1f7Yr*/, C335c
, Phm , yFD3, vduC,wL6Je,
h4i ,//j
JXSN, d0GOO
,
jG
,
Wy6, w15 /**/ , l1WD
,/*t*/
ybZ ,
SUsD
, Vg ,
sDe
, A7
,
dLrY , nwD2
//F
, P
,//tZn0
VvY , i7I,
Na8V,yd/*o*/ ,//p
CiN ,aN ,XyCU,//
/*T*/ //f
PRjoOu ,U ,/*w*/ pqJN
,aY ,/**/sXZb
,/*7R*/ZTkpQ
, XaE , M7,FlyPc , o... |
// Header
#include <iostream>
#include <algorithm>
#include <string>
#include <vector>
#include <array>
#include <ctime>
using namespace std;
// Set local time
string today = "Selasa";
string year = "2022";
string month = "00";
string date = "00";
void time(string hari = "") {
cout << "*[" << year << "|";
co... |
int
FMGll , oEf0,
gN8ef , //QXo
Dob ,
nC
, X,
x6B
//d
, aDY
,
//dJ
vs29 , NEQO, iKq,USX, yB0m,L,S7W,nsx,
ALdK, r
,
f, fnbL ,MFw ,wQm
,N4 , IOwT, fKzx,
H
,X8a
, dk ,
jdPDF, d9EpZq ,
w; void
f_f0 () {//rg
volatile int SHX,
BFDH,
sw0 , l ,KG
,
wQOpm ; if(true )
{ {
for(int i=1
;... |
#include "DQM/SiStripCommissioningDbClients/interface/ApvTimingHistosUsingDb.h"
#include "CondFormats/SiStripObjects/interface/ApvTimingAnalysis.h"
#include "DataFormats/SiStripCommon/interface/SiStripConstants.h"
#include "DataFormats/SiStripCommon/interface/SiStripFecKey.h"
#include "DataFormats/SiStripCommon/interf... |
//===- yaml2elf - Convert YAML to a ELF object file -----------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
/*
* Copyright (C) 2011 The Android Open Source Project
*
* 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 app... |
#include "http.h"
extern "C" {
#include <string.h>
#include <stdlib.h>
#include <sys/socket.h>
#include <ctype.h>
#include <stdio.h>
}
/*** HttpServerConnection ***/
HttpServerConnection::HttpServerConnection(Scheduler& scheduler,FD accept_fd):
Task(scheduler), read_state(LINE), write_state(LINE), count(0) {
... |
#include "Scene.h"
//#define Trojan
//#define Cubes
//#define Sponza
//#define Sphere;
Scene::Scene(
ID3D11Device* dxdevice,
ID3D11DeviceContext* dxdevice_context,
int window_width,
int window_height) :
dxdevice(dxdevice),
dxdevice_context(dxdevice_context),
window_width(window_width),
window_height(window_he... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#include "pal_config.h"
#include "pal_console.h"
#include "pal_io.h"
#include "pal_utilities.h"
#include <assert.h>... |
#include "wled.h"
/*
* Color conversion methods
*/
void colorFromUint32(uint32_t in, bool secondary)
{
byte *_col = secondary ? colSec : col;
_col[0] = R(in);
_col[1] = G(in);
_col[2] = B(in);
_col[3] = W(in);
}
//load a color without affecting the white channel
void colorFromUint24(uint32_t in, bool sec... |
#include <config.hh>
#include <memory>
#include <cerrno>
#include <cwchar>
#include <cwctype>
#include <unistd.h>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <ncpp/NotCurses.hh>
#include "demo.hh"
using namespace ncpp;
// show unicode blocks. a block is always a multiple of 16 codepoints.
co... |
#include <unordered_set>
#include "dishlp.hpp"
int is_dir_mem(cs_x86_op *op, uint64_t addr) {
if (op->type == X86_OP_MEM && op->mem.base == X86_REG_INVALID &&
op->mem.index == X86_REG_INVALID)
return (addr ? addr == ((uint64_t) op->mem.disp) : 1);
return 0;
}
int is_sel_mem(cs_x86_op *op, uint64_t addr) {
... |
#include "EvolutionState.h"
using namespace std;
using namespace arma;
namespace po = boost::program_options;
void EvolutionState::ReadAndSetDataSets(po::variables_map& vm) {
string train = vm["train"].as<string>();
string test;
if (vm.count("test"))
test = vm["test"].as<string>();
else
... |
/*
* Copyright (c) 2016 - 2018, 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, this lis... |
/*! \file */
/* ************************************************************************
* Copyright (c) 2020-2022 Advanced Micro Devices, Inc.
*
* 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 S... |
/**
* @file
* @brief Functions for eating.
**/
#include "AppHdr.h"
#include "food.h"
#include <cctype>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <sstream>
#include "butcher.h"
#include "chardump.h"
#include "database.h"
#include "delay.h"
#include "env.h"
#include "god-abil.h"
#include "hin... |
#include <iostream>
#include <vector>
#include <cassert>
#include <cstring>
#include <limits>
#include <mpi.h>
enum KernelType {CubicSpline = 0, WendlandC2 = 1, WendlandC4 = 2};
#include "particle_simulator.hpp"
#include "hdr_time.hpp"
#include "hdr_run.hpp"
#ifdef USE_INTRINSICS
#include "vector_x86.hpp"
#endif
#inc... |
/* test_plugin.cpp
* This is a test plugin, you can use it as a demo.
* 2017-6-21 : by LXF
*/
#include "v3d_message.h"
#include <vector>
//#include "basic_surf_objs.h"
#include "test_plugin.h"
#include<map>
#include"math.h"
#include<iostream>
#include "find_feature.h"
#include "match_swc.h"
//#include "sim_measu... |
/* Copyright 2001, 2019 IBM Corporation
*
* 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 d... |
//*************************************************************************
//
// File Name : PixGen.c
// Author : <NAME>
// Created : December 2003
// Modified : March 2010
//
// Description : Generate new image with random colors on mouse click.
//
//************************************************... |
/*
* MIT License
*
* Copyright (c) 2018 <NAME>, <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy,... |
#include "scene.hpp"
#include "camera.hpp"
#include "model.hpp"
#include "mesh.hpp"
#include "sound.hpp"
#include "model_loader.hpp"
#include "texture.hpp"
#include "material.hpp"
#include "logger.hpp"
#include "sector.hpp"
#include "vfs.hpp"
#include "input.hpp"
#include "app.hpp"
#include "light.hpp"
#include "mesh.h... |
// this software is distributed under the MIT License (http://www.opensource.org/licenses/MIT):
//
// Copyright 2018-2019, CWI, TU Munich
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files
// (the "Software"), to deal in the Software wi... |
#include <gl/glut.h>
#include <math.h>
#define QMeshSize 256
#define true 1
#define false 0
int width = 400, height = 600, vert[100][2],n = 0,
type = GL_LINE_STRIP,v;
bool rubberbanding = false,antialiasing = false;
float QMesh[100][QMeshSize+1][3];
GLfloat lightPosition[] = {-4.0,4.0,-6.0,1.0};
GLfloat amb[] = {0.3f... |
#include <depthai/depthai.hpp>
#include <depthai/device/Device.hpp>
#include <depthai/pipeline/node/ToF.hpp>
#include <depthai/pipeline/node/Camera.hpp>
void initUndistortRectifyMap( const float* lp,
int height, int width, float* map12 ) {
float u0 = lp[2], v0 = lp[3];
float fx... |
#include "precompiled.h"
#include "../../Edm Wrapper/edm_wrapper_native_interface.h"
#include "model_operations.h"
#include "internal_geometry.h"
#include "unit_scaler.h"
using namespace ifc_interface;
namespace {
using boost::optional;
template <typename T>
T ** create_list(size_t count) {
T ** res = (T **)mal... |
/*
* MasterApp.cc
*
* Created on: Aug 6, 2021
* Author: rahul
* Modified from inet/applications/udpapp/UdpBasicBurst.cc
*/
#include "../Apps/MasterApp.h"
#include "../Apps/SlaveApp.h"
# include <cmath>
# include <random>
# include <cstdlib>
# include <iostream>
# include <iomanip>
# include <... |
// Copyright 2010-2014 UT-Battelle, LLC. See LICENSE.txt for more information.
#include "eavlXGCImporter.h"
#include "eavlCellSetExplicit.h"
#include "eavlCellSetAllPoints.h"
eavlXGCImporter::eavlXGCImporter(const string &filename)
{
nNodes = 0;
nPlanes = 0;
nElems = 0;
fp = NULL;
mesh_fp = NULL;... |
//
// Created by shiqing on 19-4-19.
//
#include <random>
#include "../common/CommonHeaders.h"
#include "Sales_item.h"
/*
* Exercise 4.1:
* What is the value returned by 5 + 10 * 20/2?
* Answer:
* 105
*/
/*
* Exercise 4.2:
* Using Table 4.12 (p. 166), parenthesize the following expressions to indicate the or... |
#include "libra/io/MyntEyeRecorder.h"
#include <fmt/format.h>
#include <fmt/ostream.h>
#include <glog/logging.h>
#include <jpeglib.h>
#include <turbojpeg.h>
#include <boost/date_time.hpp>
#include <opencv2/opencv.hpp>
using namespace std;
using namespace Eigen;
// using namespace cv;
using namespace boost::posix_time;... |
#include <string>
#include <fstream>
#include <map>
#include <iostream>
#include "FWCore/Framework/interface/one/EDAnalyzer.h"
#include "FWCore/Framework/interface/EventPrincipal.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/ESH... |
#include <fstream>
#include <math.h>
#include <uWS/uWS.h>
#include <chrono>
#include <iostream>
#include <algorithm>
#include <thread>
#include <vector>
#include <map>
#include "Eigen-3.3/Eigen/Core"
#include "Eigen-3.3/Eigen/QR"
#include "json.hpp"
#include "spline.h"
#include "helpers.h"
#include "cos... |
#include "ukf.h"
#include "Eigen/Dense"
#include <iostream>
using namespace std;
using Eigen::MatrixXd;
using Eigen::VectorXd;
using std::vector;
/**
* Initializes Unscented Kalman filter
* This is scaffolding, do not modify
*/
UKF::UKF() {
// if this is false, laser measurements will be ignored (except during i... |
/*
Copyright (C) 2010-2013 <NAME> (<EMAIL>)
This program is free software; you can redistribute it and/or
modify it under the terms of the MIT license. See the file
COPYING.txt included with this distribution for more information.
*/
#include "main.h"
#include "Assimp/include/assimp.h"
#include "Assimp/include/aiP... |
#include "html.h"
#include "table.h"
#include "html_tag.h"
using namespace litehtml;
void table_grid::add_cell(element::ptr &el)
{
table_cell cell;
cell.el = el;
cell.colspan = t_atoi(el->get_attr(_t("colspan"), _t("1")));
cell.rowspan = t_atoi(el->get_attr(_t("rowspan"), _t("1")));
cell.borders = el->... |
//************************************************************************
// *
// Copyright (C) 2004 *
// University Corporation for Atmospheric Research *
// All Rights Reserved *
// *
//************************************************************************/
//
// File: Renderer.cpp... |
//Copyright (c) 2013 Singapore-MIT Alliance for Research and Technology
//Licensed under the terms of the MIT License, as described in the file:
// license.txt (http://opensource.org/licenses/MIT)
#include <algorithm>
#include <boost/utility.hpp>
#include "LoopDetectorEntity.hpp"
#include "conf/ConfigManager.hpp... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "AppModuleUsage.h"
#include <algorithm>
#include <boost/none.hpp>
#include <boost/none_t.hpp>
#include <boost/optional/... |
#include <vector>
#include <fstream>
#include <iostream>
#include <string>
#include <map>
#include "Cipher.h"
#include "Utils.h"
using std::vector;
typedef unsigned long long ull;
vector<vector<int>> initPerm = {
{ 58, 50, 42, 34, 26, 18, 10, 2 },
{ 60, 52, 44, 36, 28, 20, 12, 4 },
{ 62, 54, 46, 38, 30, 22, 14, ... |
#include "extdll.h"
#include "enginecallback.h"
#include "util.h"
#include "cbase.h"
#include "entity_state.h"
#include "soundent.h"
#include "engine.h"
#include "studio.h"
#include "bot.h"
#include "avdll.h"
#include "sadll.h"
#include "avdamage.h"
#include "avfox.h"
#include "studio.h"
#include "animation.h"
exter... |
/**
* @file llsecapi_test.cpp
* @author Roxie
* @date 2009-02-10
* @brief Test the sec api functionality
*
* $LicenseInfo:firstyear=2009&license=viewerlgpl$
* Second Life Viewer Source Code
* Copyright (C) 2010, Linden Research, Inc.
*
* This library is free software; you can redistribute it and/or
* modify ... |
#include "rip.h"
#include "router.h"
#include "router_hal.h"
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <iostream>
#include <vector>
extern std::vector<RoutingTableEntry> routingTable;
extern void caluateIPChecksum(uint8_t *packet, size_t len, uint8_t *checksum... |
#ifdef _WIN32
#include <Winsock2.h>
#include <Ws2tcpip.h>
#define poll(a, b, c) WSAPoll((a), (b), (c))
#else
#include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <poll.h>
#endif
#include <LocalHost.hpp>
#include <Measurement.hpp>
#include <SpeedwireSocketFactory.hpp>
#include <SpeedwireSocketS... |
/*
* Robotik Praktikum WS11/12
* <NAME>, <NAME>
* Projekt I2C Treiber
* Implementierung fuer den ATMega644p
* Ansteuerung der Motorcontroller und des Drucksensors
*/
#include <WProgram.h>
#include <ros.h>
#include <Wire.h>
#include <std_msgs/String.h>
#include <std_msgs/Int8.h>
#include <diagnostic_msgs/Di... |
#include "Parser.h"
#include "Except.h"
void Parser::construct(Module& module, const std::vector<Token>& tokens) {
this->tokens = &tokens;
index = 0;
do_module(module);
}
void Parser::do_module(Module& module, bool submodule) {
while (true) {
trim();
if (submodule && peek().str() == "}") break;
if (index >=... |
//
// Emscripten Cubes
// This demo shows how to create code which targets both OpenGL 3.2 and Emscripten (WebGL 1.0) using SDL and GLM.
//
// The BSD 3-Clause License:
// Copyright (c) <YEAR>, <OWNER>
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, ar... |
/*
MIT License
Copyright (c) 2020 Feral Language repositories
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, modi... |
#include <vector>
#include <map>
#include <set>
#include <algorithm>
#include "FWCore/ParameterSet/interface/FileInPath.h"
#include "DataFormats/FEDRawData/interface/FEDNumbering.h"
#include "DataFormats/FEDRawData/interface/FEDHeader.h"
#include "DataFormats/FEDRawData/interface/FEDTrailer.h"
#include "DataFormats/Ec... |
#include "../lib/utils/platform.hpp"
#include "dfu_main.hpp"
#include <stdio.h>
#include <string.h>
#include <iostream>
#include "uart_drv.h"
#include "delay_connect.h"
#include "uart_slip.h"
#include "dfu.h"
#include "dfu_serial.h"
#include "logging.h"
#include <future>
#include "libjetbeep.hpp"
#include "sync_serial_... |
#include "AH.hpp"
#include "Core.hpp"
#include "UI.hpp"
#include "componentlibrary.hpp"
#include "dsp/digital.hpp"
#include <iostream>
namespace rack_plugin_AmalgamatedHarmonics {
struct Sequence {
int pDir = 0;
int sDir = 0;
int nStep = 0;
int nDist = 0;
int stepI = 0;
int cycleI = 0;
int stepsRemaining ... |
#include "image/SegUtil.h"
#include "image/Image.h"
#include "common/MathFuncs.h"
#include "logic/annotation/Annotation.h"
#include "logic/camera/MathUtility.h"
#include <glm/glm.hpp>
#include <glm/gtc/matrix_inverse.hpp>
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/component_wise.hpp>
#include <glm/gtx/hash.h... |
#include <iostream>
#include <algorithm>
#include <iterator>
#include <cmath>
#include <fstream>
#include <valarray>
#include <sstream>
#include <boost/numeric/ublas/matrix.hpp>
#include <boost/numeric/ublas/io.hpp>
#include <boost/math/constants/constants.hpp>
#include "miMaS/field.h"
#include "miMaS/weno.h"
#includ... |
/*
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
*
* 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 ... |
// POSIX
#include <sys/resource.h>
// PUT
#include <put/cxxutils/posix_helpers.h>
#include <put/cxxutils/socket_helpers.h>
#include <put/cxxutils/misc_helpers.h>
#include <put/cxxutils/hashing.h>
#include <put/cxxutils/vterm.h>
#define PARSE_ERROR_RETURN(x) (01 + x)
#define POSIX_LIMIT_RETURN(x) (10 + x)
#def... |
#include "gamemap.h"
#include "adler32_util.h"
#include "args.h"
#include "collide.h"
#include "gfx.h"
using namespace std;
DECLARE_bool(debugGraphics);
enum {GMS_EMPTY, GMS_ERASED, GMS_UNCHANGED, GMS_CHANGED};
bool isAvailable(int state) {
return state == GMS_EMPTY || state == GMS_ERASED;
}
void Gamemap::rende... |
// this is a basic opengl framework I'm messing about with
// some notes on limitations:
// - most of the program is very experimental, there aren't much polished elements, and lots will change in the future
// - while the program can understand .obj files, there are some limitations:
// - face elements can ... |
/* This file contains various "hacks" used to extract data from
the FARIA.NES file. */
#include <stdio.h>
#include <sys/stat.h>
#include "../FariaLib/FariaLib.h"
static unsigned char ines[256 * 1024 + 16];
static unsigned char *rom = ines + 16;
static unsigned char cdl_0[128 * 1024];
static unsigned ch... |
#include <iostream>
#include <string>
#include <chrono>
#include <thread>
#include <vector>
//#include <Windows.h>
//#include "player.h"
using namespace std;
using hrc = std::chrono::high_resolution_clock;
using namespace std::this_thread; // sleep_for, sleep_until
using namespace std::chrono; // nanoseconds, system_c... |
#include <iostream>
#include <vector>
#include <fstream>
#include <thread>
#include <cmath>
#include <chrono>
using namespace std;
#include <boost/timer.hpp>
// for sophus
#include <sophus/se3.hpp>
using Sophus::SE3d;
// for eigen
#include <Eigen/Core>
#include <Eigen/Geometry>
using namespace Eigen;
#include <o... |
/* Copyright (c) 1996-2004, Adaptec 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, this
* list of... |
#include <iostream>
#include <sstream>
#include <vector>
#include <ros/ros.h>
#include <cv_bridge/cv_bridge.h>
#include <sensor_msgs/image_encodings.h>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <anchor_msgs/DisplayArray.h>
#include <anchor_msgs/AnchorArray.h>
#include <a... |
/* decrypt-data.c - Decrypt an encrypted data packet
* Copyright (C) 1998, 1999, 2000, 2001, 2005,
* 2006, 2009 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
* GnuPG is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as ... |
// *******************************************************************
// Stereo Calibration Tool for Stereo Sony Eye 3 Camera Setup
//
// code : <NAME>, 2017,
// <EMAIL>
//
// implementation based on BOOK: Learning OpenCV: Computer Vision with the OpenCV Library
// by <NAME> and <NAME>
// Published by O'Reilly Me... |
/**************************************************************************
* This file is property of and copyright by the ALICE HLT Project *
* All rights reserved. *
* *
* Primary Autho... |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <cassert>
#include <sstream>
#include "gtn/gtn.h"
using namespace gtn;
std::unordered_map<int, std::string> symbols = ... |
#include <clang/Frontend/FrontendPluginRegistry.h>
#include <clang/AST/AST.h>
#include <clang/AST/ASTConsumer.h>
#include <clang/AST/RecursiveASTVisitor.h>
#include <clang/Frontend/CompilerInstance.h>
#include <clang/Sema/Sema.h>
#include <llvm/Support/raw_ostream.h>
#include <clang/Rewrite/Core/Rewriter.h>
#include "T... |
//
// HelloWorldScene.cpp
// CuteAPultCocos2D-x
//
// Created by Clawoo on 9/8/11.
// Copyright __MyCompanyName__ 2011. All rights reserved.
//
#include "HelloWorldScene.h"
using namespace cocos2d;
#define PTM_RATIO 32
#define FLOOR_HEIGHT 62.0f
enum
{
kTagTileMap = 1,
kTagSpriteManager = 1,
kTagAnim... |
#include <algorithm>
#include <cmath>
#include <limits>
#include <sstream>
#include <Exception.hpp>
#include <Placer.hpp>
#define PLACEMENT_GRID_SIZE 10
#define MAX_INITIAL_TEMPERATURE_MOVE 10000
using namespace HDL2Redstone;
Placer::Placer(Design& D_) : D(D_), CurrentPlacement(D_), RGen(D.Seed ? D.Seed : RD()), Ac... |
//
// AITaskGenerator.cpp
// PixFight
//
// Created by <NAME> on 06/01/2018.
// Copyright © 2018 <NAME>. All rights reserved.
//
#include "AITaskGenerator.hpp"
#include "GameUnit.hpp"
#include "GameBase.hpp"
void AITaskGenerator::generatePossibleTasks(AIObject *current) {
if (current->AIMode != UNIT_LOCKED) ... |
#include "ukf.h"
#include "Eigen/Dense"
#include <iostream>
using namespace std;
using Eigen::MatrixXd;
using Eigen::VectorXd;
using std::vector;
/**
* Initializes Unscented Kalman filter
* This is scaffolding, do not modify
*/
UKF::UKF() {
// if this is false, laser measurements will be ignored (except during i... |
#include <iostream>
#include <opencv2/core/core.hpp>
#include <opencv2/features2d/features2d.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/calib3d/calib3d.hpp>
#include <Eigen/Core>
#include <g2o/core/base_vertex.h>
#include <g2o/core/base_unary_edge.h>
#include <g2o/core/sparse_optimizer.h>
#include <g... |
//
// Copyright (c) 2013-2021 The SRS Authors
//
// SPDX-License-Identifier: MIT
//
#include "srt_handle.hpp"
#include "time_help.hpp"
#include "srt_log.hpp"
#include <srs_kernel_log.hpp>
#include <srs_kernel_error.hpp>
#include <srs_app_rtmp_conn.hpp>
#include <srs_app_config.hpp>
#include <srt/udt.h>
#include <std... |
/*
pHash, the open source perceptual hash library
Copyright (C) 2009 Aetilius, Inc.
All rights reserved.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of t... |
/*
*
* Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved.
*
* This library 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 2.1 of the License, or (at your opti... |
/* -------------------------------------------------------------------------- *
* OpenSim: ExpressionBasedBushingForce.cpp *
* -------------------------------------------------------------------------- *
* The OpenSim API is a toolkit for musculoskeletal modeling and simulation. *
... |
#include <math.h>
#include <ams_as5048b_t3.h>
#include <EEPROM.h>
#include "State.h"
AMS_AS5048B amsInstance;
void setupPins() {
pinMode(ledPin, OUTPUT);
pinMode(dirPin, OUTPUT);
pinMode(enablePin, OUTPUT);
pinMode(stepPin, OUTPUT);
}
void setDirection(int dir) {
internalBusy = true;
if (dir == 1) digita... |
/****************************************************************************/
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
// Copyright (C) 2013-2020 German Aerospace Center (DLR) and others.
// This program and the accompanying materials are made available under the
// terms of the Ecli... |
#include "stdafx.h"
#include "QSoundInstr.h"
#include "QSoundFormat.h"
#include "VGMSamp.h"
#include "VGMRgn.h"
#include "ScaleConversion.h"
using namespace std;
// ****************
// QSoundArticTable
// ****************
QSoundArticTable::QSoundArticTable(RawFile* file, std::wstring& name, uint32_t offset, uint32_... |
#include "iocommand.h"
// Tnz6 includes
#include "tapp.h"
#include "menubarcommandids.h"
#include "loadfolderpopup.h"
// TnzQt includes
#include "toonzqt/dvdialog.h"
#include "toonzqt/gutil.h"
#include "toonzqt/validatedchoicedialog.h"
#include "toonzqt/menubarcommand.h"
// TnzLib includes
#include "toonz/tsceneha... |
//======================================================================================
/* Athena++ astrophysical MHD code
* Copyright (C) 2014 <NAME> <<EMAIL>>
*
* This program is free software: you can redistribute and/or modify it under the terms
* of the GNU General Public License (GPL) as published by the Fr... |
// Copyright (c) 2012 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 "chrome/common/extensions/permissions/permission_set.h"
#include <algorithm>
#include <iterator>
#include <string>
#include "chrome/common/... |
/***************************************************************************
* NmapOps.cc -- The NmapOps class contains global options, mostly based *
* on user-provided command-line settings. *
* *
**********... |
// Atari2600.cpp
// Atari2600 emulator
// Copyright (c) 2018 The Jigo2600 Team. All rights reserved.
// This file is part of Jigo2600 and is made available under
// the terms of the BSD license (see the COPYING file).
#include "Atari2600.hpp"
#include <algorithm>
#include <cassert>
#include <fstream>
#include <funct... |
// NOLINT: This file starts with a BOM since it contain non-ASCII characters
// Copyright 2019 Open Source Robotics Foundation, 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
//
//... |
// -*- mode:c++; c-style:k&r; c-basic-offset:4; indent-tabs-mode: nil; -*-
// vi:set et cin sw=4 cino=>se0n0f0{0}0^0\:0=sl1g0hspst0+sc3C0/0(0u0U0w0m0:
#include "cache.hpp"
#include "stdio.h"
#define DEBUG
#define DEBUG
#undef DEBUG
#ifdef DEBUG
#define mh_log(X) cout
#define mh_assert(X) assert(X)
#else
#define mh_... |
#include <string.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <linux/input.h>
#include <unistd.h>
#include <pwd.h>
#include <pthread.h>
#include <bcm_host.h>
#include <EGL/egl.h>
#include <fcntl.h>
#include <linux/input.h>
#include <libudev.h>
#include <alsa/asoundlib.h>
#include "game.h"
#define WND_TITLE... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/*++
Module Name:
cgroup.cpp
Abstract:
Read memory and cpu limits for the current process
--*/
#ifdef __F... |
/**
@file W4DetectorConstruction.cpp
@author <NAME>
@date 2019/12/22
**/
#include "W4DetectorConstruction.hpp"
#include "W4SensitiveDetector.hpp"
#include "GeometryCollimatorMINE1.hpp"
#include <iomanip>
#include <iostream>
#include <string>
#include <G4UnitsTable.hh>
#include <G4SystemOfUnits.hh>
... |
/*
Copyright (c) 2013, <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 the following disclaimer.... |
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <raimd/md_dict.h>
#include <raimd/app_a.h>
using namespace rai;
using namespace md;
static AppAKeyword
integer_tok = { "integer", 7, ATK_INTEGER },
alphanumeric_tok = { "alphanumeric", 12, ATK_ALPHANUMERIC },
enumerated_tok = { "enu... |
/****************************************************************************//*
* Copyright (C) 2020 <NAME>
*
* Creative Commons Legal Code
*
* CC0 1.0 Universal
*
* CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
* LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
*... |
//
// Created by christoph on 22.01.19.
//
#include <boost/algorithm/string.hpp>
#include <boost/algorithm/string/split.hpp>
#include <Utils/File/Logfile.hpp>
#include <Utils/Convert.hpp>
#include <Utils/Events/Stream/Stream.hpp>
#include <Math/Geometry/MatrixUtil.hpp>
#include "MeshSerializer.hpp"
#include "Traject... |
#include <stdio.h>
#include <algorithm>
#include "intro_sequence.h"
#include "battle_sequence.h"
const int IntroSequence::mini=150;
const int IntroSequence::maxi=400;
// Classic mayhem joystick controls
/*int *joy_sets[4][5] = { {&joy[0].stick[0].axis[0].d1, &joy[0].stick[0].axis[0].d2, &joy[0].stick[0].axis... |
#include <stdio.h>
#include <stdlib.h>
#include <scebase.h>
#include <kernel.h>
#include <gnmx.h>
#include <video_out.h>
#include "../PS4Engine/api_gnm/toolkit/toolkit.h"
#include "../PS4Engine/common/allocator.h"
#include "../PS4Engine/common/shader_loader.h"
#include "Engine/Util.h"
using namespace sce;
using name... |
/*
* SEGS - Super Entity Game Server
* http://www.segs.io/
* Copyright (c) 2006 - 2018 SEGS Team (see Authors.txt)
* This software is licensed! (See License.txt for details)
*/
/*
* SEGS dbtool v0.4 dated 2018-04-22
* A database creation and management tool.
*/
/*!
* @addtogroup dbtool Projects/CoX/Utilities/db... |
#include "Render.hpp"
#include <random>
#include <easylogging++.h>
#include <optick.h>
#include <RmlUi/Core.h>
#include <RmlUi/Lua.h>
#include <RmlUi/Debugger.h>
#include "AssetManager.hpp"
#include "Event.hpp"
#include "DebugInfo.hpp"
#include "Game.hpp"
#include "World.hpp"
#include "GameState.hpp"
#include "Rende... |
/*==============================================================================
Copyright(c) 2017 Intel Corporation
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files(the "Software"),
to deal in the Software without restriction, including w... |
/*************************************************************************
* Copyright (c) 2016-2021, NVIDIA CORPORATION. All rights reserved.
*
* See LICENSE.txt for license information
************************************************************************/
#include "comm.h"
#include "core.h"
#include "socket.h... |
/*
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
*/
#include <assert.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/sysctl.h>
#include <net/route.h>
/* FreeBSD #defines Free macro in net/route that brakes compilation. */
#undef Free
#include <net/if_dl.h>
#include <ifaddrs.h>
#incl... |
/****************************************************************************
* Copyright (c) 2021, CEA
* 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 retai... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.