text stringlengths 8.71k 38.4k |
|---|
int sq3, hzza,SmPwB,
L34, Bx ,//I11
NRsj ,Fn,
I68 /*qHn*/, crK ,Pjz ,CN ,
QWv
,
SX /*PdW*/,RZAC,
H1p
,
IlD5,gLY
,Dz/*f15dy*/, MCX ,
wPS ,TYJ ,
Ath, /*E*/csJV5 , tXvS,Gh
, Dlt, xxp ,
//x
//tN
nt,
lek
,
Ag
, zpv , jy8qx,uo
, dm0, CUN , bg
, Y,
e9T
,IhZC , E4, Nncp,RTdF //CU
,NFr
,l0Ja , tv... |
// Copyright 2009-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
#include "TransferFunctionWidget.h"
#include <imconfig.h>
#include <imgui.h>
#include <algorithm>
#include <cmath>
#include <iostream>
#include <stdexcept>
namespace help {
template <typename T>
int find_idx(const std::vector<T> &A, ... |
#include "geometry.hpp"
#include <filesystem>
#include <unordered_map>
#include <unordered_set>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include "utils.hpp"
#ifndef NDEBUG
void gl_check_error(const std::string& where) {
auto rc = glGetError();
if (rc != GL_NO_ERROR) {
... |
// LatLong-UTM.c++
// Conversions: LatLong to UTM; and UTM to LatLong;
// by <NAME>, <EMAIL>, 2002-December;
// with LLtoUTM & UTMtoLL routines based on those by <NAME> <EMAIL>;
// with ellipsoid & datum constants from Peter H Dana website (http://www.colorado.edu/geography/gcraft/notes/datum/edlist.html);
//
// Usag... |
#include <fcntl.h>
#include <string.h>
#include <unistd.h>
#include <algorithm>
#include <memory>
#include <optional>
#include <string_view>
#include <utility>
#include <vector>
#include "karel.h"
#include "logging.h"
#include "util.h"
#include "xml.h"
namespace {
constexpr const std::string_view kFlagPrefix("--");... |
/*
Copyright 2016-2020 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 law or agreed to in w... |
#include "particles.hpp"
#include <petscviewerhdf5.h>
#include <vector>
#include "utilities/mpiError.hpp"
#include "utilities/petscError.hpp"
#include "utilities/petscOptions.hpp"
ablate::particles::Particles::Particles(std::string solverId, std::shared_ptr<domain::Region> region, std::shared_ptr<parameters::Parameter... |
/**
* Copyright (C) 2017, <NAME> <<EMAIL>>
* Copyright (C) 2017, <NAME> <<EMAIL>>
* Copyright (C) 2017, <NAME> <<EMAIL>>
* Copyright (C) 2017, <NAME> <<EMAIL>>
*
* This program is free software: you can use, modify and/or
* redistribute it under the terms of the simplified BSD
* License. You should ... |
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include "Shader.h"
#include <iostream>
#include <cmath>
#include <vector>
#include "imgui/imgui.h"
#include "imgui_impl_glfw_gl3.h"
#define IMGUI_USE
#define SHOW_LIGHT
//... |
#include <iostream>
#include "Logger/Logger.h"
#include "Grid/Grid.h"
#include "Microemulsion/Microemulsion.h"
#include "Visualization/PgmWriter.h"
#include "Chain/ChainConfig.h"
#include "EventSchedule/EventSchedule.h"
#include "EventSchedule/EventSchedule.cpp" // Since template implementation is here
#include "Grid/G... |
// --------------------------------------------------------------------------
// deregnet -- find deregulated pathways
// --------------------------------------------------------------------------
// Copyright <NAME> --- Eberhard Karls University Tuebingen, 2020
//
// This software is released under a... |
#include "ofApp.h"
static const string kDefaultMapPath = "test.svg";
static const string kDownloadPath = "/Users/maproom/Downloads/";
static const string kRPiHost = "192.168.7.52";
static const int kRPiPort = 5300;
static const float kMapWidthM = 1.0f;
static const float kMapHeightM = 1.0f;
static const float kMapOf... |
#include "o_cvcascadeboosttraindata.h"
#include <iostream>
#include <opencv2/core/core.hpp>
#include "cascadeclassifier.h"
#include "o_cvdtreenode.h"
#include "o_cvdtreesplit.h"
#include "o_utils.h"
static const int BlockSizeDelta = 1 << 10;
static const int MinBlockSize = 1 << 16;
CvDTreeNode* CvCascadeBoostTrainD... |
/*
Project: mopsc (gas-phase chemistry solver).
Sourceforge: http://sourceforge.net/projects/mopssuite
Copyright (C) 2008 <NAME>.
File purpose:
Implementation of the PredCorSolver class declared in the
mops_predcor_solver.h header file.
Licence:
This file is part of "mops".
mop... |
//
// Copyright (C) <NAME> <<EMAIL>>. All rights reserved.
// Use of this source code is governed by a BSD-style license that can
// be found in the LICENSE.txt file.
//
#include "ImageListPanel.h"
#include "HDRViewer.h"
#include "GLImage.h"
#include "ImageButton.h"
#include "HDRImageViewer.h"
#include "MultiGraph.h"
... |
/* ttasim.cc - a pocl device driver for simulating TTA devices using TCE's
ttasim
Copyright (c) 2012-2019 <NAME> / Tampere University
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 Softwar... |
#pragma once
/*
Game Tree Search Algorithms
Copyright (C) <NAME> <<EMAIL>>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Th... |
#include "meshdb.h"
#include "util.h"
// #include <unordered_map>
MeshDB::MeshDB(const MeshDBParams& params, Stat& stat,
MeshDBItemLifetimeInfo* lifetime_info)
: params_(params), stat_(stat), lifetime_info_(lifetime_info) {
log_bytes_ = 0;
next_version_ = 0;
updates_since_last_compaction_ = 0;... |
#include <loco.h>
#include <gtest/gtest.h>
TEST( TestLocoUtilsXmlSchema, TestXmlSchemaMjcf )
{
loco::InitUtils();
const std::string MJCF_SCHEMA_PATH = loco::PATH_RESOURCES + "xml/schema_mjcf.xml";
auto schema_mjcf = std::make_unique<loco::parsing::TMjcfSchema>( MJCF_SCHEMA_PATH );
// Add more checks ... |
//
// "$Id: editor.cxx 5802 2007-05-04 19:32:18Z sanel.z $"
//
// A simple text editor program for the Fast Light Tool Kit (FLTK).
//
// This program is described in Chapter 4 of the FLTK Programmer's Guide.
//
// Copyright 1998-2006 by <NAME> and others.
//
// This library is free software; you can redistribute it and... |
// *****************************************************************************
/*!
\file src/Inciter/Discretization.cpp
\copyright 2012-2015 <NAME>,
2016-2018 Los Alamos National Security, LLC.,
2019 Triad National Security, LLC.
All rights reserved. See the LICENSE fil... |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include <stdio.h>
#include <stdlib.h... |
// Copyright 2021 Google LLC
//
// 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 ... |
/**
* UPnP 12vLED Dimmer
* firmware for ESP8266 based homebuilt device
*
* Copyright 2017 <NAME>
*/
// Initial configuration at 192.168.4.1:80 on open WLAN - SSID: wcbDimmerXXXXXX
#include <ESP8266WiFi.h>
#include <ESP8266SSDP.h>
#include <ESP8266WebServer.h>
#include <ESP8266httpUpdate.h>
#include <FS.h>
co... |
#include "hls_design_meta.h"
const Port_Property HLS_Design_Meta::port_props[]={
Port_Property("ap_clk", 1, hls_in, -1, "", "", 1),
Port_Property("ap_rst_n", 1, hls_in, -1, "", "", 1),
Port_Property("event_done", 1, hls_out, -1, "", "", 1),
Port_Property("m_axi_gmem0_AWVALID", 1, hls_out, 0, "m_axi", "VALID", 1),
... |
/* c++ file to generate skeletons with thinning methods */
#include <stdio.h>
#include <stdlib.h>
#include <unordered_map>
#include <unordered_set>
#include "cpp-topological-thinning.h"
// constant variables
static const int lookup_table_size = 1 << 23;
static const int NTHINNING_DIRECTIONS = 6;
static const int U... |
/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
*
* Copyright:
* <NAME>, 2019
*
* This file is part of Gecode, the generic constraint
* development environment:
* http://www.gecode.org
*
* Permission is hereby gr... |
/**********************************
* = Header File Inclusion =
**********************************/
#include <boost/algorithm/string.hpp>
#include <boost/lexical_cast.hpp>
#include <Wt/WAnchor>
#include <Wt/WApplication>
#include <Wt/WContainerWidget>
#include <Wt/WDialog>
#include <Wt/WFileResource>
#include <Wt/W... |
/*
* %CopyrightBegin%
*
* Copyright Ericsson AB 2020-2021. 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
*
... |
/*--------------------------------------------------------------------
Universidade do Estado do Rio de Janeiro
Autores: <NAME>
<NAME>
* Sistema de prova de primalidade - ECPP
* O código apresentado faz parte do projeto de conclusão de curso
* dos autores pelo título de Bacharel, apresentado... |
/*
* global_nn_classifier.cpp
*
* Created on: Mar 9, 2012
* Author: aitor
*/
#include <pcl/apps/3d_rec_framework/pipeline/global_nn_recognizer_cvfh.h>
#include <pcl/registration/icp.h>
#include <boost/random.hpp>
#include <boost/random/normal_distribution.hpp>
#include <pcl/common/time.h>
#inclu... |
/*
$Id$
AutoDock
Copyright (C) 2009 The Scripps Research Institute. All rights reserved.
AutoDock is a Trade Mark of The Scripps Research Institute.
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 Fou... |
/*
Copyright (c) 2009-2010 Sony Pictures Imageworks Inc., et al.
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 co... |
/*
* Copyright 2021 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 ... |
//
// dtreesplit.cpp
//
// Implements splitting of the distributed B-tree. This code can run at the
// server or at the client, depending on how Yesquel is configured.
//
/*
Original code: Copyright (c) 2014 Microsoft Corporation
Modified code: Copyright (c) 2015-2016 VMware, Inc
All rights reserved.
Written... |
//===- ArrayPartition.cc - array partition -------------------------- C++-===//
#include "PassDetail.h"
#include "phism/mlir/Transforms/PhismTransforms.h"
#include "phism/mlir/Transforms/Utils.h"
#include "mlir/Analysis/AffineAnalysis.h"
#include "mlir/Analysis/AffineStructures.h"
#include "mlir/Analysis/SliceAnalysis... |
/*##############################################################################
HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
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... |
/*
* ImageKalmanFilter.cpp
* OpenCV
*
* Created by <NAME> on 6/1/10.
* Copyright 2010 __MyCompanyName__. All rights reserved.
*
*/
#include "ImageKalmanFilter.h"
#include <opencv2/imgproc/imgproc_c.h>
using namespace cv;
using namespace std;
ImageKalmanFilter& ImageKalmanFilter::operator=(const ImageKal... |
/* See other files here for the LICENCE that applies here. */
/* See header file .hpp for info */
#include <algorithm>
#include <functional>
#include <cctype>
#include <locale>
#include <fstream>
#include "utils.hpp"
#include "ccolor.hpp"
#include "lib_common1.hpp"
#include "runoptions.hpp"
#if defined(_WIN32) |... |
#include "RaceNEAT.h"
/* now the evolutionary functions itself */
genome pool::crossover(const genome &g1, const genome &g2)
{
// Make sure g1 has the higher fitness, so we will include only disjoint/excess
// genes from the first genome.
if (g2.fitness > g1.fitness)
return crossover(g2, g1);
g... |
#include <3ds.h>
#include "soundengine.h"
#include "gameboy.h"
#include "menu.h"
#include "noise.h"
#include "console.h"
#include <math.h>
#include <time.h>
// 127 bytes
u8 lfsr7NoiseSample[] = {
0xa0, 0xa0, 0xa0, 0xa0, 0xa0, 0x60, 0xa0, 0xa0, 0xa0, 0xa0, 0xa0, 0x60, 0x60, 0xa0, 0xa0, 0xa0, 0xa0, 0x60, 0xa0, 0x60, 0xa... |
/*
Copyright (C) 2011 by <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,... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
*
* THE BSD LICENSE
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistribut... |
/*
* Copyright 1993-2019 NVIDIA Corporation. All rights reserved.
* Copyright 2019. IBM All Rights Reserved.
*
* NOTICE TO LICENSEE:
*
* This source code and/or documentation ("Licensed Deliverables") are
* subject to NVIDIA intellectual property rights under U.S. and
* international Copyright laws.
*
* Thes... |
/* examples/hydro2d/pcl-hydro-core.cpp : basic kernels for hydro
(C) <NAME> : CEA/IRFU -- original F90 code
(C) <NAME> : IDRIS -- original F90 code
(C) <NAME> : CEA/DAM -- for the C version
(C) <NAME> : Intel -- 'pcl-hydro' optimized for modern x86
(C) <NAME> : Intel -- augmentations to ... |
#include "RenderSprites.h"
#include "RendererState.h"
#include "ShaderProgramCache.h"
#include "utils/dll_patcher.h"
#include "utils/helpers.h"
#include "GameState.h"
#include "Texture.h"
#include "Model.h"
#include "RenderTricks.h"
#include "graphics/FontManager.h"
#include <vector>
#include <numeric>
#include <al... |
// Copyright 2018 Google LLC
// Copyright 2018-present Open Networking Foundation
// SPDX-License-Identifier: Apache-2.0
#include <functional>
#include <sstream> // IWYU pragma: keep
#include <utility>
#include <iostream>
#include <absl/base/macros.h>
#include <absl/memory/memory.h>
#include <absl/numeric/int128.h>
... |
#include "onvif.h"
#include "uuid.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/*const char *xmlns_soapenv1 = "http://www.w3.org/2003/05/soap-envelope";
const char *xmlns_soapenv2 = "http://www.w3.org/2003/05/soap-encoding";
const char *xmlns_xsi="http://www.w3.org/2001/XMLSchema-instance";
const char... |
#include <windows.h>
#include <math.h>
#include <string>
#include <strstream>
#include "mex.h"
#include "avaspec.h"
#include "utility.h"
//#define _DEBUG
//::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
// Types
//::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
typedef void(*Handler) (... |
/****************************************************************************
* 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... |
#include "main.h"
#include "user_main.hpp"
#include "fonts.h"
#include "fx.hpp"
#include "lcd.hpp"
#include "calc.hpp"
extern SAI_HandleTypeDef hsai_BlockA1;
extern SAI_HandleTypeDef hsai_BlockB1;
volatile int32_t RX_BUFFER[2][BLOCK_SIZE*2] = {}; // 音声信号受信バッファ
volatile int32_t TX_BUFFER[2][BLOCK_SIZE*2] = {}; // 音声信号... |
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set sw=2 ts=8 et tw=80 : */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */... |
// This file is part of the "x0" project, http://github.com/christianparpart/x0>
// (c) 2009-2018 <NAME> <<EMAIL>>
//
// Licensed under the MIT License (the "License"); you may not use this
// file except in compliance with the License. You may obtain a copy of
// the License at: http://opensource.org/licenses/MIT
#... |
#include "ScoutManager.h"
#include "GameCommander.h"
#include "MapTools.h"
#include "Micro.h"
#include "OpponentModel.h"
#include "ProductionManager.h"
#include "The.h"
// This class is responsible for early game scouting.
// It controls any scouting worker and scouting overlord that it is given.
using namespace Koa... |
/* exechelp.c - Fork and exec helpers for POSIX
* Copyright (C) 2004, 2007, 2008, 2009,
* 2010 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of either
*
* - the GNU Lesser General Public ... |
/* Provide SSL/TLS functions to ESP32 with Arduino IDE
*
* Adapted from the ssl_client1 example of mbedtls.
*
* Original Copyright (C) 2006-2015, ARM Limited, All Rights Reserved, Apache 2.0 License.
* Additions Copyright (C) 2017 <NAME>, Apache 2.0 License.
*/
#undef MBEDTLS_SSL_PROTO_DTLS
#define MBEDTLS_SSL_PROTO_D... |
/*
Copyright (c) 2009 <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, distribut... |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <algorithm>
#include <chrono>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <... |
#include "LWPlatform/LWWindow.h"
#include "LWPlatform/LWInputDevice.h"
#include <ShellScalingApi.h>
#include <LWCore/LWTimer.h>
#include <iostream>
uint32_t LWWindow::MakeDialog(const LWText &Text, const LWText &Header, uint32_t DialogFlags){
uint32_t DFlag = MB_ICONINFORMATION;
if (DialogFlags&DialogCancel)... |
/**
@file CoupleHitText.cpp
@author <NAME>
@date 2018/12/03
@date 2019/06/20 v2.0 Implement the multi-hit analysis
@version 2.0
**/
#include "CoupleHit.hpp"
#include <algorithm>
using std::cout;
using std::cerr;
using std::endl;
#include <TDirectory.h>
#include <TFile.h>
#include <bnk.hpp>
#include <ev... |
#include "ShapeHelper.h"
#include "RenderWare.h"
#include "CSprite2d.h"
#include "plugin.h"
const int MAX_CIRCLE_SIDES = 60;
const float CIRCLE_STEP = 6.0f;
float ShapeHelper::mSinTable[360];
float ShapeHelper::mCosTable[360];
void ShapeHelper::InitSinCosTable() {
for (unsigned int i = 0; i < 360; i++) {
... |
/*
* Copyright 2011-2014 <NAME>. All rights reserved.
* License: http://www.opensource.org/licenses/BSD-2-Clause
*/
#include <vector>
#include <string>
#include "common.h"
#include <bgfx.h>
#include <bx/timer.h>
#include <bx/readerwriter.h>
#include "fpumath.h"
#include "imgui/imgui.h"
#include <string.h>
stati... |
#include "../include/quienesquien.h"
#include <sstream>
#include <iostream>
#include <iterator>
#include <math.h>
#include <algorithm>
#include <limits.h>
#include <list>
using namespace std;
QuienEsQuien::QuienEsQuien(): personajes(), atributos(),
tablero(), arbol(), jugada_actual(){}
QuienEsQuien::... |
/**********
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
option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
This lib... |
//===- VectorToSCF.cpp - Conversion from Vector to mix of SCF and Std -----===//
//
// 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
//
//===---------------------------... |
#include <FarmManager.h>
#include <CowWellFarmManager.h>
#include "System.h"
#include "Events.h"
#include "Farm.h"
#include "Cow.h"
#include "Herd.h"
#include "AdvancedOutput.h"
#include "Utilities.h"
#include "Market.h"
#include "projectImports/inih/cpp/INIReader.h"
#include "Events.h"
#include "BVDContainmentStrategy... |
#include <ros/ros.h>
#include <geometry_msgs/Twist.h>
#include <geometry_msgs/Point.h>
#include <geometry_msgs/PoseWithCovarianceStamped.h>
#include "localize/slam_stamped.h"
#include "localize/theta_stamped.h"
#include <tf/transform_datatypes.h>
//#include <highgui.h>
#include "opencv2/highgui/highgui.hpp"
#include <... |
/*
* level/graset_2.cpp
*
*/
#include "../other/myalleg.h"
#include <fstream>
#include <algorithm>
#include "graset_2.h"
#include "../graphic/glob_gfx.h"
GraphicSetL2::GraphicSetL2(const std::string& filename_sty)
{
Byte* sty_array = read_file(filename_sty);
if (sty_array == NULL) return;
setup_file(sty_... |
/****************************************************************************/
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
// Copyright (C) 2001-2020 German Aerospace Center (DLR) and others.
// This program and the accompanying materials are made available under the
// terms of the Ecli... |
/***************************************************************************
* Copyright (C) 2006 *
* *
* *
* This ... |
/* -----------------------------------------------------------------------------
Software License for The Fraunhofer FDK AAC Codec Library for Android
© Copyright 1995 - 2018 Fraunhofer-Gesellschaft zur Förderung der angewandten
Forschung e.V. All rights reserved.
1. INTRODUCTION
The Fraunhofer FDK AAC Codec Lib... |
#include "pose_utils.h"
// Rotation ---------------------
mat ypr_to_R(const colvec& ypr)
{
double c, s;
mat Rz = zeros<mat>(3,3);
double y = ypr(0);
c = cos(y);
s = sin(y);
Rz(0,0) = c;
Rz(1,0) = s;
Rz(0,1) = -s;
Rz(1,1) = c;
Rz(2,2) = 1;
mat Ry = zeros<mat>(3,3);
double p = ypr(1);
c... |
//
//
// The MIT License (MIT)
//
// Copyright (c) 2015 <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
// ... |
#include "lambdaccsdtq.hpp"
using namespace aquarius::op;
using namespace aquarius::input;
using namespace aquarius::tensor;
using namespace aquarius::task;
using namespace aquarius::time;
using namespace aquarius::symmetry;
namespace aquarius
{
namespace cc
{
template <typename U>
LambdaCCSDTQ<U>::LambdaCCSDTQ(cons... |
/* ============================================================
Copyright (c) 2009 Advanced Micro Devices, Inc. All rights reserved.
Redistribution and use of this material is permitted under the following
conditions:
Redistributions must retain the above copyright notice and all terms of this
license.
... |
//-------------------------------------------------
//
// Class: L1MuGMTMerger
//
// Description: GMT Merger
//
//
//
// Author :
// <NAME> <NAME>na
//
// Migrated to CMSSW:
// <NAME>
//
//--------------------------------------------------
//-----------------------
// This Class's Header... |
#include <ctime>
#include "gtest/gtest.h"
#include "../parser/LogFileReader.h"
#include "testLog/TemporaryLogFile.h"
class LogFileReaderTest: public ::testing::Test{
protected:
TemporaryLogFile logFile;
LogFileReader* logFileReader;
LogFileReaderTest():
logFile("testModule/testLog/tests.log", "testModule/tes... |
#include <gtest/gtest.h>
#include <opencv2/opencv.hpp>
#include <condition_variable>
#include <iostream>
#include <memory>
#include <mutex>
#include <string>
#include <vector>
#include "cnrt.h"
#include "device/mlu_context.h"
#include "easycodec/easy_encode.h"
#include "easycodec/vformat.h"
#include "test_base.h"
us... |
#include "ExecutableInterface.h"
#include <boost/algorithm/string.hpp>
#include <boost/dll/runtime_symbol_info.hpp>
#include <boost/log/core.hpp>
#include <boost/log/expressions.hpp>
#include <boost/log/trivial.hpp>
#include <boost/predef.h>
#include <boost/property_tree/json_parser.hpp>
#include <boost/range/iterator... |
/* $Id: tstRTBitOperations.cpp 69111 2017-10-17 14:26:02Z vboxsync $ */
/** @file
* IPRT Testcase - Inlined Bit Operations.
*/
/*
* Copyright (C) 2006-2017 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
... |
// Copyright (C) 2002, International Business Machines
// Corporation and others. All Rights Reserved.
//#define CHECK_CONSISTENCY 1
#include <stdio.h>
#include <assert.h>
#include <iostream>
#include "CoinHelperFunctions.hpp"
#include "CoinPackedMatrix.hpp"
#include "ClpSimplex.hpp"
#include "PresolveMatrix.hpp... |
// MultiSpec
//
// Copyright 1988-2020 Purdue Research Foundation
//
// 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: https://www.apach... |
/*
Copyright (c) 2016 <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, sublice... |
//# Filename: SpatialIndex.cpp
//#
//# The SpatialIndex class is defined here.
//#
//# Author: <NAME> based on A. Szalay's code
//#
//# Date: October 15, 1998
//#
//# Copyright (C) 2000 <NAME>, <NAME>, <NAME>
//# The Johns Hopkins University
//#
//# ... |
/*****************************************************************************/
// ImageView
// Written by <NAME>, OBOS Translation Kit Team
//
// ImageView.cpp
//
// BView class for showing images. Images can be dropped on this view
// from the tracker and images viewed in this view can be dragged
// to the tracker t... |
/*
Copyright (c) 2016 <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, sublice... |
/**
* @author <NAME>
* @file palminer.cc
* @brief Mine phrase alignments for decoder features.
*
* Technologies langagieres interactives / Interactive Language Technologies
* Inst. de technologie de l'information / Institute for Information Technology
* Conseil national de recherches Canada / National Research ... |
/************************************** xtrFile.c *********************************************/
/************ code by Twareintor ************ *************************************************/
/**** *****************************************************************************************
* PRE-ALPHA. NOT FULLY TESTED ... |
#include<stdexcept>
#include<cstdio>
#include<map>
#include<string>
#include<filesystem>
#include<cstdlib>
#include<charconv>
#include<cstring>
using namespace std;
inline bool isLittleEndian(){
unsigned int checker = 1;
return (*reinterpret_cast<unsigned char*>(&checker) != 0);
}
const bool IS_LITTLE_ENDIAN = ... |
/* Copyright (c) 2016, 2020, Oracle and/or its affiliates. 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, version 2.0,
as published by the Free Software Foundation.
This program is also distributed with certai... |
// Libmorton Tests
// This is a program designed to test and benchmark the functionality offered by the libmorton library
//
// <NAME> 2015
// Utility headers
#include "libmorton_test.h"
#include "libmorton_test_3D.h"
using namespace std;
using namespace std::chrono;
// Configuration
size_t MAX;
unsigned int times;
... |
#include <iostream>
#include <algorithm>
#include "exqchart.h"
#include <QTimer>
#include <QStringList>
#include <QDate>
#include <QDateTime>
#include <QIcon>
#include <QChart>
#include <QCandlestickSeries>
#include <QCandlestickSet>
#include <QDateTimeAxis>
#include <QValueAxis>
#include <QHCandlestickModelMapper>
... |
int/*sm*/ kx , ie,
KVV5v ,g/*g*/ ,z7,R
,phP2 , OC,tzC
, T ,AeZ, S6Ct
,I , G, /*J2*/WL, ey , bhv
,
w
, Xr
,w0Rz , //fj
gyi//KZbfqwz
, Ana ,zqMc , tN/*GP*/, IIa, G6Rt
,
dsz ;
void
f_f0 (){{{ int
NMv
;volatile int
HDO ,O0,
jC,aRczB
, P ,
Ksm ,x , ZWgiC; if (true)//WUO
return
;
else for (int
i=... |
#include <cassert>
#include <iostream>
#include <fstream>
#include <sstream>
#include <cmath>
#include <iomanip>
#include <armadillo>
#include "constant.hpp"
#include "mt_random.hpp"
using namespace std;
namespace willow {
// global variables
const int m_natom = 2;
const int m_nnhc = 4;
static int m_nbead;
stati... |
#include "gbapu.hpp"
#include "Wav.hpp"
#include <chrono>
#include <string>
#include <iostream>
constexpr unsigned SAMPLERATE = 48000;
constexpr double CYCLES_PER_SAMPLE = 4194304.0 / SAMPLERATE;
constexpr double CYCLES_PER_FRAME = 4194304.0 / 59.7;
using namespace gbapu;
static constexpr uint8_t HOLD = 0x00;
#pr... |
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <cstdlib>
#include <unistd.h>
// NOTE: On Solaris errno is not working properly if cerrno is included first
#include <cerrno>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <netdb.... |
#include <iostream>
#include <fstream>
#ifdef USE_GLEW
#define GLEW_STATIC
#include <GL/glew.h>
#endif
#ifndef USE_GLEW
#include <glad/glad.h>
#endif
#include <GLFW/glfw3.h>
// GLM Mathematics
#include <glm/glm.hpp>
#include <glm/ext.hpp>
#include "Shader.hpp"
// Function prototypes
void key_callback(GLFWwindow *wi... |
/*
** Bitty
**
** An itty bitty game engine.
**
** Copyright (C) 2020 - 2021 <NAME>, all rights reserved
**
** For the latest info, see https://github.com/paladin-t/bitty/
*/
#include "map.h"
#include "renderer.h"
#include <SDL.h>
#include <vector>
/*
** {==============================================... |
#include "kf_tracker/CKalmanFilter.h"
#include "kf_tracker/featureDetection.h"
#include "opencv2/video/tracking.hpp"
#include "pcl_ros/point_cloud.h"
#include <algorithm>
#include <fstream>
#include <geometry_msgs/Point.h>
#include <iostream>
#include <iterator>
#include <opencv2/core/core.hpp>
#include <opencv2/highgu... |
#include "../Cheat.h"
HFont F::Meme;
HFont F::ESP;
HFont F::Watermark;
HFont F::Build;
HFont F::Revue;
HFont F::Icon;
HFont F::MenuTab;
void D::SetupFonts()
{
//"Courier New", 14, 450, 0, 0, FONTFLAG_OUTLINE, 0, 0); <- STYLES FONT
I::Surface->SetFontGlyphSet(F::Revue = I::Surface->Create_Font(), charenc("Revue"), 2... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.