text stringlengths 5.71k 33.7k |
|---|
#include "game.h"
#include<iostream>
#include<conio.h>
#include <string>
#include<fstream>
#include<Windows.h>
using namespace std;
char user[20], pass[20]; //FOR READING USER AND PASS FROM FILE
string question, option1, option2, option3, option4;
int abc = 0, score, tscore, option, answer;
int login()
{
... |
/*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... |
/**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... |
/*******************************************************************
*
* $Id: StVpdAnalysisMaker.cxx,v 1.4 2018/02/26 23:26:51 smirnovd Exp $
*
* Author: <NAME>
*****************************************************************
*
* Description: Vpd analysis Maker to do the calibration for pVPD
* hi... |
#define GMM_USES_LAPACK
#include "CW.h"
doub phase=0;
int pulse_average=100;
const int npulse=100000;
int ninterval=50;//npulse = number of pulse; interval_1 =steps in interval 1 ..
doub dt;
doub period0=10.87827848197104833208;
doub frequency=0,peakO=0.00989116604990337187/2; //about 100uW/cm2
const int neq=32,neq_gr... |
#include <cstring>
#include "base/logging.h"
#include "base/stringutil.h"
#include "gfx/gl_common.h"
#include "gfx_es2/gpu_features.h"
#ifdef _WIN32
#include "GL/wglew.h"
#endif
#if defined(USING_GLES2)
#if defined(ANDROID) || defined(BLACKBERRY)
PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC eglGetSystemTimeFrequencyNV;
PFNEGL... |
#include "Arduino.h"
#include "PCF8574.h"
#include "AdvancedPin.h"
#include "BMW_K75RT.h"
using namespace std;
BMW_K75RT::BMW_K75RT() {
/*
ANALOGS A0 -> A7 (!) A4 + A5 -> SDA + SCL
DIGITALS ARDUINO 2 -> 13
DIGITALS PCF8574 0 -> 7
*/
//EXTENDERS
this->pcf8574_1 = new PCF8574(0x20);
th... |
/*
* patNetworkElements.cc
*
* Created on: Jul 20, 2011
* Author: jchen
*/
#include "patNetworkElements.h"
#include "patGeoBoundingBox.h"
#include "patPostGreSQLConnector.h"
#include "patPostGISDataType.h"
#include <map>
#include "patDisplay.h"
#include "patType.h"
#include "patConst.h"
#include "patExcepti... |
/******************************************************************************
*
* Copyright (C) 2014-2015 Broadcom 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:
*
... |
///////////////////////////////////////////////////////////////////////////////
// Hungarian.cpp: Implementation file for Class HungarianAlgorithm.
//
// This is a C++ wrapper with slight modification of a hungarian algorithm
// implementation by <NAME>. The original implementation is a few
// mex-functions for use in ... |
/* -*-C++-*-
(c) Copyright 2005, Hewlett-Packard Development Company, LP
See the file named COPYING for license details
*/
/*
=pod
=head1 NAME
indexnfscommon - indexer for NFS Common DataSeries files
=head1 SYNOPSIS
% indexnfscommon <index.ds> <nfs-common-files.ds...>
=head1 DESCRIPTION
A ba... |
#include "wii/wii_connect_server.h"
#include <iostream>
#include <vector>
#include "base/time.h"
#include "capture/analyzer.h"
#include "capture/source.h"
#include "core/core_field.h"
#include "core/game_result.h"
#include "core/frame_response.h"
#include "core/game_result.h"
#include "core/player.h"
#include "core/p... |
/****************************************************************************/
/// @file MSE3Collector.cpp
/// @author <NAME>
/// @author <NAME>
/// @author <NAME>
/// @author <NAME>
/// @author <NAME>
/// @date Tue Dec 02 2003 22:17 CET
/// @version $Id$
///
// A detector of vehicles passing an area between... |
#include <string>
#include <cstring>
#include <vector>
#include "clock.h"
#include "matrix.h"
//#define K(x) -M_PI + 2.0*M_PI*x
void test_mm();
/*
void test_lu();
void test_qr();
void test_ge();
void test_vegas();
void test_dot();
void test_cgd(int N);
*/
int main(int argc, char ** argv) {
test_mm();
/*
test_... |
//
// Make initial conditions of isolated binaries
// Primary mass function is m1^(-alpha) [alpha=2.3]
// Eccentricity function is proportinal to eccentricity
// Semi-major axis function is logarithmically uniform
// Units are solar mass for mass, solar radius for radius, and day for period
//#define GenerateSim... |
// Chemfiles, a modern library for chemistry file reading and writing
// Copyright (C) <NAME> and contributors -- BSD license
#include <cassert>
#include <cstdint>
#include <cstdio>
#include <string>
#include <vector>
#include "chemfiles/error_fmt.hpp"
#include "chemfiles/external/optional.hpp"
#include "chemfiles/e... |
/*
BAREOS® - Backup Archiving REcovery Open Sourced
Copyright (C) 2003-2006 Free Software Foundation Europe e.V.
Copyright (C) 2011-2016 Planets Communications B.V.
Copyright (C) 2013-2016 Bareos GmbH & Co. KG
This program is Free Software; you can redistribute it and/or
modify it under the terms of... |
/*******************************************************************************
*
* Filename : SampleHistMgr.cc
* Description : Implementation for sample Mgr with histograms
* Author : Yi-Mu "Enoch" Chen [ <EMAIL> ]
*
*******************************************************************************/
#include ... |
//===========================================================================
/*
CS277 - Experimental Haptics
Winter 2011, Stanford University
This class encapsulates the visual and haptic rendering for a point cloud.
It inherits the regular CHAI3D cMesh class.
\author <NAME>
\date... |
/***********************************************************************/
// CUDA SIFT extractor by <NAME> aka Celebrandil //
// celle @ csc.k<EMAIL> //
// Added features : //
// 1-Cropping ... |
/********************************************************************************
* Copyright 2017 The Robotics Group, The <NAME>-<NAME>ler Institute,
* Faculty of Engineering, University of Southern Denmark
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in c... |
#include <string>
#include <map>
#include <vector>
#include <iostream>
#include <sstream>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <termios.h>
#include <errno.h>
#include "MAMEduino.h"
#include "consolestyle.h"
//----------------------------------------------------------... |
/*************************************************************************/
/* autotilemap.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <setjmp.h>
#include <tchar.h>
#include <windows.h>
#include "main.h"
const char *attributes[] = {
"HREF",
"SRC",
"STYLE",
"HEIGHT",
"WIDTH",
"ALT"};
bool isHyperlink(char ... |
/*****************************************************************************
*
* Freescale Confidential Proprietary
*
* Copyright (c) 2014 Freescale Semiconductor;
* All Rights Reserved
*
*****************************************************************************
*
* THIS SOFTWARE IS PROVIDED BY FREESCALE "AS IS" A... |
// Copyright (c) 2017, University of Minnesota
//
// ADMM-Elastic Uses the BSD 2-Clause License (http://www.opensource.org/licenses/BSD-2-Clause)
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the following conditions are met:
// 1. Redistributions of... |
////////////////////////////////////////////////////////////////////////
// Include files
////////////////////////////////////////////////////////////////////////
#include "helper.h"
using namespace std;
////////////////////////////////////////////////////////////////////////
// Command line arguments
////... |
/*
____ _____ _ _
| __ )| ____| | / \
| _ \| _| | | / _ \
| |_) | |___| |___ / ___ \
|____/|_____|_____/_/ \_\
The platform for ultra-low latency audio and sensor processing
http://bela.io
A project of the Augmented Instruments Laboratory within the
Centre for Digital Music at Queen Mary Univer... |
/* Copyright 1994, 1995 by Abacus Research and
* Development, Inc. All rights reserved.
*/
#include <base/common.h>
#include <QuickDraw.h>
#include <CQuickDraw.h>
#include <MemoryMgr.h>
#include <WindowMgr.h>
#include <MenuMgr.h>
#include <SysErr.h>
#include <quickdraw/cquick.h>
#include <wind/wind.h>
#include <vd... |
# include "my_viewer.h"
# include "teapotdata.h"
# include <vector>
# include <iostream>
# include <sigogl/ui_button.h>
# include <sigogl/ui_radio_button.h>
# include <sig/sn_primitive.h>
# include <sig/sn_transform.h>
# include <sig/sn_manipulator.h>
# include <sigogl/ws_run.h>
using namespace std;
MyViewer::MyVi... |
#include "DataFormats/Common/interface/ValueMap.h"
#include "DataFormats/Common/interface/View.h"
#include "DataFormats/EgammaCandidates/interface/Photon.h"
#include "DataFormats/ParticleFlowCandidate/interface/PFCandidate.h"
#include "DataFormats/ParticleFlowCandidate/interface/PFCandidateFwd.h"
#include "DataFormats/... |
/*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 <gflags/gflags.h>
#include <chrono>
#include <iostream>
#include <memory>
#include <vector>
#include <string>
#include <algorithm>
#include <inference_engine.hpp>
#include <samples/ocv_common.hpp>
#include <samples/slog.hpp>
#include "object_detection_demo_ssd_async.hpp"
#ifdef WITH_EXTENSIONS
#include <ex... |
// Copyright 2014 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 "components/search_engines/template_url_parser.h"
#include <string.h>
#include <algorithm>
#include <vector>
#include "base/bind.h"
#include "... |
/* +------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| http://www.mrpt.org/ |
| |
| Cop... |
/*
* Copyright 2018 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "GrCCDrawPathsOp.h"
#include "GrContext.h"
#include "GrContextPriv.h"
#include "GrMemoryPool.h"
#include "GrOpFlushState.h"
#include "ccpr/GrCCPathCache.h"
#include "... |
#include <cstring>
#include <iostream>
#include <chrono>
#include <algorithm>
#include "unistd.h"
#include "syslog.h"
#include "PyramidASRService.h"
#include "config.h"
PyramidASRService::PyramidASRService() : Buckey::ASRService(PYRAMID_VERSION, "pyramid"), running(true), listening(false), endLoop(false), paused(fal... |
/*
* fft.cpp
*
* Created on: 13.12.2012
* Author: stephaniebayer
*/
#include "fft.h"
#include<vector>
#include "Cipher_elg.h"
#include "G_q.h"
#include "Mod_p.h"
#include "functions.h"
#include "multi_expo.h"
#include <NTL/ZZ.h>
#include <NTL/mat_ZZ.h>
NTL_CLIENT
fft::fft() {
// TODO Auto-generated cons... |
// Copyright (c) YugaByte, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writ... |
/*
* Copyright (C) 2010 Regents of the University of Michigan
*
* 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 v... |
/***
* ==++==
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... |
/* Copyright 2012 10gen Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* ... |
/*
tests/test_smart_ptr.cpp -- binding classes with custom reference counting,
implicit conversions between types
Copyright (c) 2016 <NAME> <<EMAIL>>
All rights reserved. Use of this source code is governed by a
BSD-style license that can be found in the LICENSE file.
*/
#if defined(_MSC_VER) && ... |
//
// tests.cpp
// [Backend] Операции с многочленами
//
// Created by <NAME> on 12/04/2019.
// Copyright © 2019 <NAME>. All rights reserved.
//
#include "tests.hpp"
#include "utils.hpp"
#include "exceptions.hpp"
#include "Polynomial.hpp"
#include "polynomial_funcs.hpp"
void test_remove_spaces() {
if (remove_s... |
#pragma once
#include <unordered_map>
#include "node.hpp"
#include "edge.hpp"
#include "globals.hpp"
#include "../algorithms/grafos_aleatorios.hpp"
#include "../algorithms/kruskal.hpp"
#include "../algorithms/prim3.hpp"
#include "../algorithms/componentes_conexas.hpp"
#include "../algorithms/LCA.hpp"
#include "../al... |
// Source file for alignment utility functions
// Include files
#include "R3Shapes/R3Shapes.h"
R3Box
R3BoundingBox(const RNArray<R3Point *>& points)
{
// Compute bounding box
R3Box bbox = R3null_box;
for (int i = 0; i < points.NEntries(); i++) {
bbox.Union(*points[i]);
}
// Return bounding box
r... |
//===--- JITLinkMemoryManager.cpp - JITLinkMemoryManager implementation ---===//
//
// 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
//
//===---------------------------... |
/**
* Copyright (c) 2009 Carnegie Mellon University.
* 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... |
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2015 Couchbase, 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
*
* ... |
/* <bruce/old_client/old_bruce_client.cc>
----------------------------------------------------------------------------
Copyright 2013-2014 if(we)
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... |
/*****************************************************************************/
/* CascRootFile_WoW.cpp Copyright (c) <NAME> 2014 */
/*---------------------------------------------------------------------------*/
/* Storage functions for CASC */
/* Note: ... |
//===- ExpandWhens.cpp - Expand WhenOps into muxed operations ---*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
/*
NeHe (nehe.gamedev.net) OpenGL tutorial series
GLUT port.in 2001 by milix (<EMAIL>)
Most comments are from the original tutorials found in NeHe.
For VC++ users, create a Win32 Console project and link
the program with glut32.lib, glu32.lib, opengl32.lib
*/
#include <stdio.h> // Standard C/C++ Input-... |
//LIC// ====================================================================
//LIC// This file forms part of oomph-lib, the object-oriented,
//LIC// multi-physics finite-element library, available
//LIC// at http://www.oomph-lib.org.
//LIC//
//LIC// Copyright (C) 2006-2021 <NAME> and <NAME>
//LIC//
//LIC// This lib... |
auto CPU::Disassembler::disassemble(u32 address, u32 instruction) -> string {
this->address = address;
this->instruction = instruction;
auto v = EXECUTE();
if(!v) v.append("invalid", string{"$", hex(instruction, 8L)});
if(!instruction) v = {"nop"};
auto s = pad(v.takeFirst(), -8L);
return {s, v.merge(","... |
// Copyright 2012 Cloudera Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in wr... |
// This code is part of the Super Play Library (http://www.superplay.info),
// and may only be used under the terms contained in the LICENSE file,
// included with the Super Play Library.
//
// THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING B... |
#include "ltme_node/ltme_node.h"
#include <arpa/inet.h>
#include <sensor_msgs/LaserScan.h>
const std::string LidarDriver::DEFAULT_ENFORCED_TRANSPORT_MODE = "none";
const std::string LidarDriver::DEFAULT_FRAME_ID = "laser";
const int LidarDriver::DEFAULT_SCAN_FREQUENCY = 15;
const double LidarDriver::ANGLE_MIN_LIMIT ... |
// Copyright (C) 2019 - 2021 by <NAME>, Rector and Visitors of the
// University of Virginia, University of Heidelberg, and University
// of Connecticut School of Medicine.
// All rights reserved.
// Copyright (C) 2017 - 2018 by <NAME>, Virginia Tech Intellectual
// Properties, Inc., University of Heidelberg, and Univ... |
#include "../util/memory.hh"
#include "bool_encoder.hh"
#include "boolwriter.hh"
#include "jpeg_meta.hh"
#include "numeric.hh"
#include "model.hh"
#include "encoder.hh"
#include <map>
#include <fstream>
#include "../../lepton/idct.hh"
#include "../util/debug.hh"
using namespace std;
uint8_t prefix_remap(uint8_t v) {
... |
// Copyright (c) 2018 <NAME>
//
// Distributed under the Boost Software License, Version 1.0.0. (See accompanying
// file LICENSE_1_0.0.txt or copy at http://www.boost.org/LICENSE_1_0.0.txt)
#include <phylanx/phylanx.hpp>
#include <hpx/hpx_init.hpp>
#include <iostream>
#include <blaze/Math.h>
#include <boost/p... |
#include "mainAlgo.h"
#include <algorithm>
#include <array>
#include <cassert>
#include <iostream>
#include <string>
#include "greedy.h"
#include "utils.h"
namespace {
// Coefficients to use in doGreedy if we execute it before/after attempting doCuts.
constexpr const std::array<std::tuple<int, int, int>, 14... |
/**
* \file WdbePrctreeMerge.cpp
* Wdbe operation processor - merge extract file tree into template file tree (implementation)
* \copyright (C) 2016-2020 MPSI Technologies GmbH
* \author <NAME> (auto-generation)
* \date created: 28 Nov 2020
*/
// IP header --- ABOVE
#ifdef WDBECMBD
#include <Wdbecmbd.h>
#else
... |
#include <cstdlib>
#include <ctime>
#include <iostream>
#include <unordered_set>
#include <boost/program_options.hpp>
#include "stat.h"
#include "bprw.h"
// #include "flpmc.h"
// #include "bflpmc.h"
#include "simrank.h"
#include <util/graph_yche.h>
#include "rw_hub.h"
#include "phf.h"
#include "minimal_perfect_hash... |
#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 "biorbd_c.h"
#include "rbdl/Dynamics.h"
#include "ModelReader.h"
#include "ModelWriter.h"
#include "Utils/String.h"
#include "Utils/RotoTrans.h"
#include "Utils/RotoTransNode.h"
#include "Utils/Vector.h"
#include "Utils/Matrix.h"
#include "RigidBody/Segment.h"
#include "RigidBody/GeneralizedCoordinates.h"
#i... |
// -----------------------------
//
// Offline DQM for razor triggers. The razor inclusive analysis measures trigger efficiency
// in SingleElectron events (orthogonal to analysis), as a 2D function of the razor variables
// M_R and R^2. Also monitor dPhi_R, used offline for QCD and/or detector-related MET tail
// rej... |
#include <iostream>
#include <limits.h>
#include <time.h>
#include "gtest/gtest.h"
#include "FileSystem/Path.h"
// NOTE overload ostream operator in order to print pretty messages in Google Test
// TODO decide if we want to move this function into Path.h
std::ostream & operator<<(std::ostream & os, const Path & pat... |
/*
Copyright 2018 Adobe
All Rights Reserved.
NOTICE: Adobe permits you to use, modify, and distribute this file in
accordance with the terms of the Adobe license agreement accompanying
it. If you have received this file from a source other than Adobe,
then your use, modification, or distribution of it requires the pri... |
/*
* Copyright (C) 2017 <NAME>.
* All rights reserved.
*
* The software in this package is published under the terms of the BSD
* style license a copy of which has been included with this distribution in
* the LICENSE.txt file.
*/
#include <factor.h>
#include <Factories.h>
#include <json/json.h>
#include <fstream>
#in... |
/*
* Copyright 2010 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "GrDrawTarget.h"
#include "GrAARectRenderer.h"
#include "GrBatch.h"
#include "GrCaps.h"
#include "GrGpu.h"
#include "GrPath.h"
#include "GrPipeline.h"
#include "GrM... |
/*******************************************************************************
* src/FTDFS.cpp
* Implementation of the fault tolerant DFS algorithm handling all kinds of updates.
* Addition/Deletion of Vertex and Edges.
*
* Part of Project: Incremental-DFS-Experimental:
* https://github.com/s... |
/*************************************************************************
* Copyright (C) [2019] by Cambricon, Inc. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License a... |
#include "ofApp.h"
#include "base64.h"
#include <zlib.h>
//--------------------------------------------------------------
void ofApp::setup(){
ofBackground(0);
ofRegisterURLNotification(this);
//convert address to lat/lon coordinates
// vector<float> latlon = GoogleAddressToLatLon("gent vlasm... |
#include <math.h>
#include <numeric>
extern "C"
{
#include <libqhull_r.h>
}
#include <ros/ros.h>
#include <tf2/LinearMath/Quaternion.h>
#include "reflex_interface/grasp_quality.hpp"
std::string vec2string(tf2::Vector3 vec)
{
return std::to_string(vec[0]) + ", " + std::to_string(vec[1]) + ", " + std::to_string(v... |
#include "dagmc_preproc.hpp"
#include "moab/ProgOptions.hpp"
#include "moab/Core.hpp"
#include "moab/Range.hpp"
#include "moab/CartVect.hpp"
#include "MBTagConventions.hpp"
#include "DagMC.hpp"
#include <sstream>
#include <iomanip>
#include <cstdlib>
#include <algorithm>
#include <cstdio>
using namespace moab;
bool... |
// SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2022 Xilinx, Inc. All rights reserved.
// Copyright (C) 2022 Advanced Micro Devices, Inc. All rights reserved.
/****************************************************************
Enqueue example illustrating use of xrt::queue APIs
This example is totally meaningles... |
/*
* This code implements the MD5 message-digest algorithm.
* The algorithm is due to Ron Rivest. This code was
* written by <NAME> in 1993, no copyright is claimed.
* This code is in the public domain; do with it what you wish.
*
* Equivalent code is available from RSA Data Security, Inc.
* This code has been ... |
extern "C" {
#include "modpyplot.h"
}
#include <assert.h>
#include <escher/palette.h>
#include "port.h"
#include "plot_controller.h"
Matplotlib::PlotStore * sPlotStore = nullptr;
Matplotlib::PlotController * sPlotController = nullptr;
static int paletteIndex = 0;
// Private helper
// Method to populate items with a ... |
#include <cstdint>
#include <iomanip>
#include <iostream>
#include <chrono>
#include <cmath>
#include <numeric>
#include <string>
#include <utility>
#include <cassert>
#include <Lazy/Lazy.h>
using namespace std::chrono_literals;
template <class... Args>
void atomic_print(Args&&... args)
{
std::stringstream ss;
... |
/******************************************************************************
* Copyright (C) 2007 <NAME> <<EMAIL>>
*
* All rights reserved.
*
* 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 t... |
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2020 The TrumpCoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
// clang-format off
#include "activepatriotnode.h"
#include "budget/budgetman... |
/** \copyright
* Copyright (c) 2015, <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... |
/* based on m3ta3: reimagination of a (late 2011, early 2012) primordial visualization library
that inspired further developments at UVic, CFS and elsewhere..
todo: display original (untransformed) values (apply reverse map)? */
#include"util.h"
#include<fstream>
#include"newzpr.h"
#include<iostream>
#include <stdexc... |
/*
* Part of WCM Commander
* https://github.com/corporateshark/WCMCommander
* <EMAIL>
*/
#include "dircalc.h"
#include "string-util.h"
#include "ltext.h"
class OperDirCalcData: public OperData
{
public:
//после создания эти параметры может трогать толькл поток поиска
clPtr<FS> dirFs;
FSPath _path;
clPtr<FSLis... |
/*
* Copyright (c) 2016-2017, 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 list ... |
#include "hex.h"
#if defined(__GNUC__) // GCC, clang
#ifdef __clang__
#if __clang_major__ < 3 || (__clang_major__ == 3 && __clang_minor__ < 4)
#error("Requires clang >= 3.4")
#endif // clang >=3.4
#else
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 8)
#error("Requires GCC >= 4.8")
#endif // gcc >=4.8
#endif /... |
#include <gflags/gflags.h>
#include <glog/logging.h>
#include "base/base.h"
#include "base/executor.h"
#include "base/time.h"
#include "core/plan/plan.h"
#include "core/rensa/rensa_detector.h"
#include "core/client/ai/ai.h"
#include "core/core_field.h"
#include "core/frame_request.h"
#include "core/kumipuyo_seq_genera... |
/*
* Copyright (c) 2019 <NAME>
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "delfem2/evalmathexp.h"
#include <cassert>
#include <cerrno> /* Need for Using "ERANGE" */
#include <cmath> /* Need for Using "HUGE_V... |
/************************************************
* The Dynamix Class encapsulates a collection *
* of static and interactive dynamics that get *
* summarily applied to every particle. These *
* dynamics include laminosity, linear drag, *
* relative velocity dependent particle *
* attraction, particle repu... |
#include "pytorch_cpp_helper.hpp"
std::string get_compiler_version();
std::string get_compiling_cuda_version();
void deform_conv_forward(Tensor input, Tensor weight, Tensor offset,
Tensor output, Tensor columns, Tensor ones, int kW,
int kH, int dW, int dH, int padW, i... |
#include "common.h"
#include "cmath"
#include "vector"
bool Init();
void CleanUp();
void Run();
void Draw();
void Generate(int x, int y);
bool VisitedNeighbors(int x, int y); //checks if visited all cells neighbors
vector<char> UnvisitedNeighbors(int x, int y); //returns cells unvisited neighbors
void Astart(int sx, i... |
#include "imgui\Imgui.h"
#include "ViceView.h"
#include "MemView.h"
#include "CodeView.h"
#include "RegView.h"
#include "TimeView.h"
#include "GfxView.h"
#include "WatchView.h"
#include "BreakView.h"
#include "ToolBar.h"
#include "machine.h"
#include "Image.h"
#include "Config.h"
#include "CodeControl.h"
#include "Vice... |
#include "www.h"
#define LLOG(x)
VectorMap<String, SvnListRev> svndata;
Vector<SvnLogRev> svnlog;
void ParseSvnList(VectorMap<String, SvnListRev> &data, String &out, const String path, const String folder) {
RLOG("SvnList " << path);
String topicFolder;
String line;
int pos = 0;
int newpos;
while (true) {
... |
/*This file is part of the FEBio Studio source code and is licensed under the MIT license
listed below.
See Copyright-FEBio-Studio.txt for details.
Copyright (c) 2021 University of Utah, The Trustees of Columbia University in
the City of New York, and others.
Permission is hereby granted, free of charge, to any pers... |
#include "INS_functions.H"
#include "AMReX_PlotFileUtil.H"
#include "AMReX_PlotFileDataImpl.H"
#include <sys/stat.h>
#include <chrono>
using namespace std::chrono;
namespace {
void GotoNextLine (std::istream& is)
{
constexpr std::streamsize bl_ignore_max { 100000 };
is.ignore(bl_ignore_max, ... |
/**
* \file DlgBrlyTtbTrlorig.cpp
* job handler for job DlgBrlyTtbTrlorig (implementation)
* \copyright (C) 2016-2020 MPSI Technologies GmbH
* \author <NAME> (auto-generation)
* \date created: 11 Jan 2021
*/
// IP header --- ABOVE
#ifdef BRLYCMBD
#include <Brlycmbd.h>
#else
#include <Brlyd.h>
#endif
#include ... |
/*
# Copyright (c) 2015-2016, 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 list of cond... |
#include "motors/usb/cdc.h"
#include <string.h>
#include <stdint.h>
#include "motors/core/time.h"
#define CHECK(c) \
do { \
if (!(c)) { \
while (true) { \
for (int i = 0; i < 100... |
#include <igl/nchoosek.h>
#include <igl/mat_max.h>
#include <igl/slice_mask.h>
#include <igl/edges.h>
#include <assert.h>
#include <limits>
#include <igl/boundary_facets.h>
#include <igl/extract_manifold_patches.h>
#include <igl/remove_unreferenced.h>
#include <igl/is_vertex_manifold.h>
#include <igl/volume.h>
typedef... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.