text stringlengths 5.71k 33.7k |
|---|
int D,
G
,g3eZ,U0 /*K*/,lVQV,szJw,xJ , uz
,
iBT5 , O0l ,/**/
HEV8cP
, AVOw0 , p5 ,sBa, R5wO ,ZHR //oF
//m
,
QaVj
,L3//
, wB /**/,LfN ,/*ZcL*/dz4GifK,
X ,//7
C , XKI
,A6v,//2u
DK
, ua ,
Dh5x, zu ,J3vkf , YRl, /*Z*/ImF2
, oFA , G5cY , LX8, caZ; void f_f0() {
{{ {int //i9y
ElR; volatile ... |
#include <fstream>
#include <iostream>
#include <sstream>
#include "virtual_scanner/virtual_scanner.h"
// CGAL
#include <CGAL/Simple_cartesian.h>
#include <CGAL/AABB_tree.h>
#include <CGAL/AABB_traits.h>
#include <CGAL/AABB_triangle_primitive.h>
using std::cout;
using std::endl;
using std::ofstream;
using Eigen::Vect... |
/* ************************************************************************ *
* samelink - Read the output from samefile output and outputs a list of *
* identical files that it coudn't process or wasn't allowed *
* to process. *
* ... |
/*
* ValToStrDB.cpp
*
* Created on: Feb 12, 2015
* Author: sjguo
* Note: From <NAME>'s llvm-datalog repository
*/
#include "ValToStrDB.h"
#include "klee/Utils.h"
#include "llvm/Instructions.h"
#include "llvm/Operator.h"
#include "llvm/Support/InstIterator.h"
#include "llvm/Support/raw_ostream.h"
#in... |
#include <cmath>
#include <iostream>
#include <algorithm>
#include <numeric>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/video/tracking.hpp>
#include <softkinetic_grabber.hpp>
#include <padenti/image.hpp>
#include <padenti/cv_image_... |
#include "utils.h"
#include "layers.h"
#include "learn.h"
#include <algorithm> // partial_sort
#include <random> // std::default_random_engine
#include <chrono> // std::chrono::system_clock
#include <opencv2/imgcodecs.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/imgproc.hpp>
using std::string;
usin... |
// Copyright (C) 2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "transformations/op_conversions/convert_padded2valid_conv.hpp"
#include <memory>
#include <ngraph/opsets/opset1.hpp>
#include <ngraph/builder/reshape.hpp>
#include <ngraph/builder/split.hpp>
#include <ngraph/rt_info.hpp>
#incl... |
// AUTO GENERATED by vnxcppcodegen
#include <mmx/package.hxx>
#include <mmx/tx_info_t.hxx>
#include <mmx/Contract.hxx>
#include <mmx/Operation.hxx>
#include <mmx/addr_t.hpp>
#include <mmx/hash_t.hpp>
#include <mmx/txi_info_t.hxx>
#include <mmx/txo_info_t.hxx>
#include <vnx/Value.h>
#include <vnx/vnx.h>
namespace m... |
#include "deviceConfig.hpp"
#include "parserWorker.hpp"
using namespace Whisper;
using namespace pcpp;
void DeviceConfig::list_dpdk_ports() const
{
if (verbose) {
LOGF("Display DPDK device info.");
}
CoreMask core_mask_use;
if (p_configure_param->core_num <= 1) {
core_mask_use = getCoreMaskForAllMachineCor... |
// MFEM Example 16 - Parallel Version
// SUNDIALS Modification
//
// Compile with: make ex16p
//
// Sample runs:
// mpirun -np 4 ex16p
// mpirun -np 4 ex16p -m ../../data/inline-tri.mesh
// mpirun -np 4 ex16p -m ../../data/disc-nurbs.mesh -tf 2
// mpir... |
#include <stdio.h>
#include <cfloat>
#include <iostream>
#include <boost/algorithm/clamp.hpp>
#include <third_party/eigen3/unsupported/Eigen/CXX11/Tensor>
#include "tensorflow/core/framework/op.h"
#include "tensorflow/core/framework/op_kernel.h"
#include "tensorflow/core/framework/tensor_shape.h"
#include "tensorflow/c... |
#include "BlastHornet.h"
CSound *bossexplosion;
BlastHornet::BlastHornet(Megaman* _player, RECT _flyingRegion)
{
bossexplosion = Sound::LoadSound((char*)"Resources/Sounds/Effects/explosion.wav");
flyingRegion = _flyingRegion;
CalculatePoints();
cycleDuration = BASE_CYCLE_DURATION;
wing = new BlastHornetWing(thi... |
#include <iostream>
#include <iomanip>
#include <math.h>
using namespace std;
struct Tpi
{
int encRng;
int stpRng;
int adjCnt;
};
enum tpiName {
i160, i120, i90, i80, i72, i64, i56, i48, i44, i40, i36, i32, i28, i24, i20, i18, i16, i14, i13, i12, i11, i10, i9, i7, i6, m725, m635,... |
/*
* Copyright 2017 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
#include "RrTextureCube.h"
#include "core/system/io/FileUtils.h"
#include "core/utils/string.h"
#include "core-ext/system/io/Resources.h"
#include "core-ext/resources/ResourceManager.h"
#include "core-ext/threads/Jobs.h" // TODO: hacky speed increase
#include "gpuw/Buffers.h"
RrTextureCube::RrTextureCube (
const c... |
/*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... |
#include <iostream>
#include <string.h>
#include "UTF8hack.h"
/*
Basic UTF-8 manipulation routines
by <NAME>
placed in the public domain Fall 2005
This code is designed to provide the utilities you need to manipulate
UTF-8 as an internal string encoding. These functions do not perform the
error chec... |
#include "LdConfigDirWrapper.h"
bufsize_t LdConfigDirWrapper::getLdConfigDirSize()
{
bufsize_t dirSize = 0;
if (m_Exe->getBitMode() == Executable::BITS_32) {
dirSize = sizeof(pe::IMAGE_LOAD_CONFIG_DIRECTORY32);
} else if (m_Exe->getBitMode() == Executable::BITS_64) {
dirSize = sizeof(pe::I... |
/*
Asynchronous WebServer library for Espressif MCUs
Copyright (c) 2016 <NAME>. All rights reserved.
This file is part of the esp8266 core for Arduino environment.
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 ... |
//-----------------------------------------------------------------------------
// File: XBFont.cpp
//
// Desc: Texture-based font class. This class reads .abc font files that are
// generated by the FontMaker tool. These .abc files are used to create
// a texture with all the font's glyph, and also extract... |
/***************************************************************************
* mgl_data_png.cpp is part of Math Graphic Library
* Copyright (C) 2007 <NAME> <<EMAIL>> *
* *
* This program is free software; you can redistribute it an... |
/****************************************************************************/
/* A simple Texas Hold'em Poker simulartion. */
/* Program runs fine, but gameplay still has some bugs. */
/* Contact: <EMAIL> */
/* ... |
//------------------------------------------------------------------------------
/// @brief SnuPL backend
/// @author <NAME> <<EMAIL>>
/// @section changelog Change Log
/// 2012/11/28 <NAME> created
/// 2013/06/09 <NAME> adapted to SnuPL/0
/// 2016/04/04 <NAME> adapted to SnuPL/1
///
/// @section license_section Licens... |
/** Copyright (C), DeltaSync Studios, 2010-2014. All rights reserved.
* ------------------------------------------------------------------
* File name: systemtray.cpp
* Version: v1.00
* Created: 21:41:57 / 22 авг. 2015 г.
* Author: delta54 <<EMAIL>>
*
* Your use and or redistribution of this soft... |
////////////////////////////////////////////////////////////////////////////////
// QuadMech.h
// BipedMech inplementation
// Copyright <NAME> 2007-2010
////////////////////////////////////////////////////////////////////////////////
// Quad Mechs are also referred to as four-legged Mechs in the BattleTech
// Master R... |
#include <iostream>
#include <stdio.h>
#include <ctime>
#include <commonmath.h>
#include <convexoptimization.h>
#include "timemanagement.h"
#include "numericalpde.h"
using namespace ContinuumRobotLibrary;
#ifdef QT_CORE_LIB
#include <simpleanimation.h>
#endif
//Independent Parameters
const double E = 200e9;
const dou... |
/*
Copyright (c) 2018-2020 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sub... |
/*
* quality.cpp
* nebulosity
*
* Created by <NAME> on 8/23/06.
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... |
/*
The OpenTRV project licenses this file to you
under the Apache Licence, Version 2.0 (the "Licence");
you may not use this file except in compliance
with the Licence. You may obtain a copy of the Licence at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software... |
/*=========================================================================
Program: vtkINRIA3D
Module: $Id: ImageRegistrationFactory.cxx 1 2008-01-22 19:01:33Z ntoussaint $
Language: C++
Author: $Author: ntoussaint $
Date: $Date: 2008-01-22 20:01:33 +0100 (Tue, 22 Jan 2008) $
Version: $Revision: 1 $
... |
/*
* Main file for Recursive Overlap Cluster algorithm
*
* Code by <NAME> (<EMAIL>)
*
* Copyright (C) 2016 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apa... |
// AUTO GENERATED by vnxcppcodegen
#include <mmx/package.hxx>
#include <mmx/spend_options_t.hxx>
#include <mmx/Contract.hxx>
#include <mmx/addr_t.hpp>
#include <vnx/vnx.h>
namespace mmx {
const vnx::Hash64 spend_options_t::VNX_TYPE_HASH(0x37f7c6d377362e95ull);
const vnx::Hash64 spend_options_t::VNX_CODE_HASH(0xd... |
#include "InfernoUI.h"
#include <QApplication>
#include <QSharedMemory>
#include <QThread>
#include <QFile>
#include <QMutex>
#include "Comm/keyBoard/frminput.h"
#include "Comm/GlobalParameter.h"
#include "Comm/OSDStyle.h"
#include "BusinessData/InterfaceLib/LibTaskXMLParse.h"
#include "Comm/FileIniControl.h"
#include ... |
/*Header-MicMac-eLiSe-25/06/2007
MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation
eLiSe : ELements of an Image Software Environnement
www.micmac.ign.fr
Copyright : Institut Geographique National
Author : <NAME>
Contributors : <NAME>, <NAME>.
[1] <NAME>, <NAM... |
/***********************************************************************
The cct 4D Transformation program
************************************************************************
cct is a 4D equivalent to the "proj" projection program.
cct is an acronym meaning "Coordinate Conversion and Transform... |
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <map>
#include <openssl/ecdsa.h>
#include <openssl/obj_mac.h>
#include "key.h"
#include "bignum.h"
// Generate a p... |
/*
* Copyright (C) 2016 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... |
/**
* kinect2.cc
*
* Copyright 2021. All Rights Reserved.
*
* Created: May 20, 2021
* Authors: <NAME>
*/
#include "redis_rgbd/kinect2.h"
// std
#include <algorithm> // std::swap
#include <array> // std::array
#include <csignal> // std::sig_atomic_t
#include <cstring> // std::memcpy
#include <numeri... |
// 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 "tools/gn/config_values_extractors.h"
#include "too... |
#include "lexer.hpp"
// Exceptions thrown by the lexer
class lexer_exception : public std::exception {
std::string message_;
int position_;
char ch_;
public:
explicit lexer_exception(const std::string& err_message, const int err_position, const char& ch) { }
virtual const char* what() const noexcept
{
return... |
/*
* Copyright(c) 2019 Netflix, Inc.
* SPDX - License - Identifier: BSD - 2 - Clause - Patent
*/
/******************************************************************************
* @file AVCStyleMcpTest.cc
*
* @brief Unit test for Mcp functions:
* - avc_style_copy_sse2
* - avc_style_luma_interpolation_filter_pos... |
#include "storage.h"
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
using json = nlohmann::json;
using namespace std;
const string UEOF = "Unexpected end of stream";
void usage() {
cerr << "USAGE: " << endl;
cerr << "./storage j2m <input.json> <output.map>" << endl;
cerr << "./storage m2j <input.ma... |
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <iostream>
#include <string.h>
#include <signal.h>
#include <unistd.h>
#include <arc/OptionParser.h>
#include <arc/StringConv.h>
#include <arc/UserConfig.h>
#include <arc/Utils.h>
#include <arc/data/DataHandle.h>
#include <arc/data/DataBuffer.h>
#include "Data... |
//------------------------------------------------------------------------------------------------
// Copyright (c) 2012 <NAME> and <NAME> (University Campus Bio-Medico of Rome).
// All rights reserved.
//------------------------------------------------------------------------------------------------
/*************... |
/**
* Copyright (c) 2018, SOW (https://www.safeonline.world). (https://github.com/RKTUXYN) All rights reserved.
* @author {SOW}
* Copyrights licensed under the New BSD License.
* See the accompanying LICENSE file for terms.
*/
//9:11 PM 11/18/2018
# include "util.h"
# include "web_jsx_app_global.h"
# include "... |
//************************************************************************
// *
// Copyright (C) 2004 *
// University Corporation for Atmospheric Research *
// All Rights Reserved *
// *
//************************************************************************/
//
// File: Dat... |
// Problem # : 623
// Created on : 2018-06-03 21:03:51
#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <algorithm>
#include <bitset>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <iterator>
#includ... |
// Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "core/fpdfapi/page/cpdf_docpagedata.h"
#include <algorithm>
#include... |
/***********************************************************************
Interfacing to a classic piece of geodetic software
************************************************************************
gen_pol is a highly efficient, classic implementation of a generic
2D Horner's Scheme polynomial evaluation... |
/**************************************************************************
*
* Copyright 2010 VMware, Inc.
* Copyright 2011 Intel corporation
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwa... |
#include "global.h"
#if defined(_MSC_VER)
/* XXX register thread */
#pragma comment(lib, "winmm.lib")
// Link with the DirectShow base class libraries
#if defined(DEBUG)
#pragma comment(lib, "baseclasses/debug/strmbasd.lib")
#else
#pragma comment(lib, "baseclasses/release/strmbase.lib")
#endif
#endif
#include ... |
/*************************************************************************
Name: <NAME>, <NAME>, <NAME>
File name: SPH.cpp
SPH is responsible for orginization of a group of smooth particles.
*************************************************************************/
#include <string.h>
#include <cstdlib>
#incl... |
/*
* Copyright (c) 2007-2008 The Florida State University
* Copyright (c) 2009 The University of Edinburgh
* 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... |
// Copyright 2012 <NAME> <<EMAIL>>
#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include <fstream>
#include <vector>
#include <set>
#include "../parser.h"
using ace::parse::Relation;
using ace::parse::Instance;
using ace::parse::Parser;
using std::vector;
using std::set;
using std::string;
using std::cout;
using... |
#include "FilmDosimetryOptimization.h"
/*!
\class FilmDosimetryOptimization
\brief The FilmDosimetryOptimization class encapsulates
robust multi-channel optimization in EBT2/3 dosimetry.
\since 0.
The aim of this class is to implement the multichannel method.
The metodology is described at:
... |
// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... |
int Quantities_scalefactor_space_acceldir(int ix_g, int iy_g, int iz_g)
{
int result = 0;
#ifndef RELAXED_TESTING
const int im = 134456;
const int ia = 8121;
const int ic = 28411;
result = ( (result+(ix_g+2))*ia + ic ) % im;
result = ( (result+(iy_g+2))*ia + ic ) % im;
result = ( (result+(iz_g+2))*ia ... |
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2007 INRIA
* 2009,2010 Contributors
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Fo... |
// Copyright 2008 by BBN Technologies Corp.
// All Rights Reserved.
// Copyright (c) 2007 by BBN Technologies, Inc.
// All Rights Reserved.
// General socket server for connecting to Serif
#include "Generic/common/leak_detection.h" //This must be the first #include
#include "Generic/common/version.h"
#... |
#include "expression.hpp"
#include "simplification.hpp"
#include "exception.hpp"
#include <cassert>
#include <iostream>
#include <string>
#include <sstream>
#include <iomanip>
using std::cout;
using std::endl;
using std::string;
namespace test{
namespace expression{
// Individual unit tests
unsig... |
/*
Copyright 2019 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distr... |
#include "rasterizer.hpp"
#include "mesh.hpp"
#include "utils.hpp"
#include "GL/gl3w.h"
#include "SDL2/SDL.h"
#include "glm/glm.hpp"
using image_u32 = image<pixel_format::U32>;
extern SDL_Window* window;
// NOTE(Corralx): We are on a separate thread so we use a different gl context
static void rasterize_hardware_he... |
/*
files.cpp
Copyright (C) 2007 Acekard, www.acekard.com
Copyright (C) 2007-2009 somebody
Copyright (C) 2009 <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 ... |
//===------ RegAllocPBQP.cpp ---- PBQP Register Allocator -------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
#include <iostream>
#include <sstream>
#include <stdexcept>
#include <cstdio>
#include <cassert>
#include <cstdlib>
#include <cstring>
#include <sstream>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <limits.h>
#include <hyperhdrbase/HyperHdrInstance.h>
#include <hyperhdrbase/HyperHdrIManage... |
#include "../include/HCal.hh"
#include <string>
#include <sstream>
#include <fstream>
#include <iostream>
#include <cmath>
// #include <iterator>
// #include <algorithm>
#include <iomanip>
HCal::HCal(float x, float y){
displayx = x;
displayy = y;
center_display = sf::Vector2f( displayx/2.0, displayy/2.0 );
/... |
// Copyright 2016, National University of Defense Technology
// Authors: <NAME> <<EMAIL>>
#include <vector>
#include <string.h>
#include "common.h"
#include "sgd.h"
#include <timer.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <CL/opencl.h>
#define SGD_VARIANT "ocl_base"
cl_platform_id cpPlatfor... |
#include <stdio.h>
#include <FileLoop.h>
#include <FileWvOut.h>
#include <Fir.h>
#include <string.h>
#include <math.h>
#include <vector>
#include <Eigen/Eigen>
#include <Eigen/Dense>
#include "kiss_fftr.h"
#include "FIRFilterCode.h"
#include "eigen_to_image.h"
#include "ChunkStats.h"
#include "Chunk.h"
using namespa... |
/*
--------------------------------------------------------------------------------
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any lat... |
/*****************************************************************************
* SV_Pair.cpp
* (c) 2012 - <NAME>
* Hall Laboratory
* Quinlan Laboratory
* Department of Computer Science
* Department of Biochemistry and Molecular Genetics
* Department of Public Health Sciences and Center for Public Health Genomics... |
/*
-- clMAGMA (version 1.0) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date
@precisions normal z -> s d c
*/
#include "common_magma.h"
#include "trace.h"
//#define dlA(id, i, j) (d_lA[id] + (j)*ldda + (i))
//#define dlAT(id, i, j)... |
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================
#if defined( WIN32) && !defined( _X360 )
#include "winlite.h"
#endif
#include "tier0/platform.h"
#include "MPAFile.h"
// static variables
con... |
//---------------------------------------------------------------------
//
// File: AppleVideoCodec.cpp
//
// Author: <NAME>
//
// Date: 09.14.98
//
// Desc: Apple Video CODEC Routines "Road Pizza"
//
// Copyright ©1998 mediapede Software
//
//---------------------------------------------------------------------
// In... |
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <stb/stb_image.h>
#include <iostream>
#include <vector>
#include <map>
#include "Shader/Shader.h"
#include "Camera/Camera.h"
// settings
const unsigned int SCR_WIDTH = 1280;
const unsigned int SCR... |
//===----------------------------------------------------------------------===//
//
// 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
// Also available under a BSD-style... |
#include "buffer.h"
#include <tuple>
#include <fstream>
/* Default constructor */
Buffer::Buffer()
{
this->screen.push_back("");
this->line_number = this->screen.begin();
}
std::string format_number(int max_len, int number){
std::string buf;
int spaces_count = max_len - floor(log10(number));
for( ... |
#include "super4pcs/io/io.h"
#include "super4pcs/io/io_ply.h"
#include <Eigen/Geometry>
#define STBI_FAILURE_USERMSG
#define STB_IMAGE_IMPLEMENTATION
#include <stb_image.h>
#ifdef USE_BOOST
#include <boost/filesystem.hpp>
#endif
#define LINE_BUF_SIZE 100
using namespace std;
using namespace GlobalRegistration;
//... |
/******************************************************************************
* Copyright 2017-2018 <NAME> / Sonus Dept. <<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... |
/**************************************************************************\
* 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... |
//===-- NVPTXTargetTransformInfo.cpp - NVPTX specific TTI -----------------===//
//
// 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
//
//===---------------------------... |
//suppress from adaptive communication environment
#pragma clang diagnostic ignored "-Wself-assign"
#pragma clang diagnostic ignored "-Wconstant-logical-operand"
#include "chromatic_imap.h"
using namespace chromatic_imap_protocol_impl;
using std::string;
using std::ends;
using std::ostringstream;
usin... |
/*
* Project 25 IMBE Encoder/Decoder Fixed-Point implementation
* Developed by <NAME> E-mail: <EMAIL>
* Version 1.0 (c) Copyright 2009
*
* This 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 ve... |
// sound related functions
//
/*
Copyright © 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, modify, merge, p... |
/**************************************************************************
***
*** Copyright (c) 2000-2006 Regents of the University of Michigan,
*** <NAME>, <NAME>, <NAME>
*** and <NAME>
***
*** Contact author(s): <EMAIL>, <EMAIL>
*** Original Affiliation: University of Michigan, E... |
/// This module emulates the Chip 8 virtual machine
/// See http://devernay.free.fr/hacks/chip8/C8TECH10.HTM for the technical documentation of the virtual sytem
/// The core logic is contained within chip8EmulationLoop
#include <stdint.h>
#include <stdlib.h>
#include <irobodk.h>
#include <iitem.h>
#include <QThread> ... |
#include "EventQueue.h"
#include "Kernel.h"
#include "ThisThread.h"
#include "cmsis_os2.h"
#include "kv_config.h"
#include "mbed.h"
#include "mbed_error.h"
#include "mbed_events.h"
#include "mbed_shared_queues.h"
#include "DeviceKey.h"
#include <chrono>
#include <cstring>
#include <ratio>
#include "ethers.h"
#include... |
/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2013, <NAME>, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condit... |
/*
* Copyright 2009-2013, 2016 Freescale Semiconductor, Inc.
*
* 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 an... |
#include "render.h"
#include <iostream>
#include <glm/gtc/matrix_inverse.hpp>
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/string_cast.hpp>
#include "mesh_renderer.h"
#include "skinning_buffer.h"
#include "scene/core_components.h"
#include "scene/transform_hierarchy.h"
#include "animation/skeleton.h"
static... |
/* Copyright (C) 2013-2016, The Regents of The University of Michigan.
All rights reserved.
This software was developed in the APRIL Robotics Lab under the
direction of <NAME>, <EMAIL>. This software may be
available under alternative licensing terms; contact the address above.
Redistribution and use in source and bina... |
#include "data.hpp"
#include <Eigen/Eigen>
#include <sys/mman.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <iterator>
#include "compression.h"
#define handle_error(msg) \
do { perror(msg); exit(EXIT_FAILURE); } while (0)
Data::Data()
: ppBedFd(-1)
, ppBedMap(nullptr)
, mappedZ... |
#include <iostream>
#include <random>
#include <sstream>
#include <zmqpp/zmqpp.hpp>
#include <thread>
using namespace std;
using namespace zmqpp;
#define dbg(x) cout << #x << ": " << x << endl
const int range_from = 0, range_to = 30;
string toSusbcriber = "";
void messageToSubscriber(string &text){
context ctx... |
#include "Lexer.hpp"
#include <cstdint>
#include <unordered_map>
#include <unordered_set>
#include <charconv>
#include <algorithm>
#include <iostream>
#include "MurmurHash.hpp"
#include "LoxErrors.hpp"
#include "Token.hpp"
namespace
{
constexpr size_t k_maxErrorsInScanSession = 16u;
static const std::unordered... |
/* zbesj.f -- translated by f2c (version 20100827).
This file no longer depends on f2c.
*/
#include "slatec-internal.hpp"
/* Table of constant values */
integer const c__4 = 4;
integer const c__15 = 15;
integer const c__16 = 16;
integer const c__5 = 5;
integer const c__14 = 14;
integer const c__9 = 9;
integer con... |
/*
* PackageLicenseDeclared: Apache-2.0
* Copyright (c) 2018 ARM Limited
*
* 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
*
* Unles... |
/* Copyright (c) <2003-2019> <<NAME>, Newton Game Dynamics>
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
*... |
// 2000-09-13 <NAME> <<EMAIL>>
// Copyright (C) 2000, 2001, 2002 Free Software Foundation
//
// This file is part of the GNU ISO C++ Library. This library 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;... |
/********************************************************************
* AUTHORS: <NAME>, <NAME>
*
* BEGIN DATE: November, 2005
*
* LICENSE: Please view LICENSE file in the home dir of this Program
********************************************************************/
// -*- c++ -*-
// THEORY: This code translate... |
/*
* Copyright (c) 2019 Opticks Team. All Rights Reserved.
*
* This file is part of Opticks
* (see https://bitbucket.org/simoncblyth/opticks).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the ... |
int Nvr ,Q4TPt
, GAif ,
FzHDt, bHrh, vokLxX , R6,NxK , SKL
,
Aad,
QhHx/*6*/,Im4d , zNU,t73W , cbJ, pupm
,Ek,
fl2 ,Wj , J1p,
VUGU //s
,
Sk6L ,V,
P,eVTwdhy,eApuaZHS ,
Ny2XO
,om5;/*i*/void f_f0 () {
; { int oWOW; volatile int
T6A
,
tX,huh/*B*/, kJi6 ; if (true
)for
(int i=1 ; i< 1;++i)
{/*s*/ {; ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.