text stringlengths 8.71k 38.4k |
|---|
//===--- PrintPreprocessedOutput.cpp - Implement the -E mode --------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
//
// LLVMCodeGen.cpp
// vm
//
// Created by yangjiandong on 16/9/16.
// Copyright © 2017 chunquedong. All rights reserved.
//
#include "LLVMCodeGen.hpp"
//#include "Env.h"
#include "FCodeUtil.hpp"
#include "LLVMGenCtx.hpp"
#include "LLVMStruct.hpp"
using namespace llvm;
LLVMCodeGen::LLVMCodeGen(LLVMGenCtx *ctx,... |
//---------------------------------------------------------------------------------------
// Loads and processes TressFX files.
// Inputs are binary files/streams/blobs
// Outputs are raw data that will mostly end up on the GPU.
//-------------------------------------------------------------------------------------
//
... |
#include <stdexcept>
#include <iostream>
#include <string>
#include <stdio.h>
#include <string.h>
#include <libxml/parser.h>
#include <libxml/tree.h>
#include <Xm/MainW.h>
#include <Xm/RowColumn.h>
#include <Xm/List.h>
#include <Xm/CascadeB.h>
#include <Xm/PushBG.h>
#include <Xm/SeparatoG.h>
#include <Xm/MessageB.h>
... |
#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 <learnopengl/shader.h>
#include <learnopengl/camera.h>
#include <learnopengl/model.h>
#include "urdf_parser/urdf_parser.h"
#include <iostream>
#include <fstream>
#in... |
#include <opencv2/opencv.hpp>
#include "opencv2/highgui.hpp"
#include <iostream>
#include <vector>
#include <string>
#include "opencv2/videoio.hpp"
#include <opencv2/imgcodecs.hpp>
#include <opencv2/videoio/videoio.hpp>
#include <opencv2/highgui/highgui.hpp>
#include "opencv2/core/core.hpp"
#include "opencv2/features2d... |
#include "unittest.h"
#include "rapidjson/filereadstream.h"
#include "rapidjson/filewritestream.h"
#include "rapidjson/encodedstream.h"
#include "rapidjson/stringbuffer.h"
using namespace rapidjson;
// Verification of encoders/decoders with Hoehrmann's UTF8 decoder
// http://www.unicode.org/Public/UNIDATA/... |
// Copyright (c) 2009-2011 <NAME> <<EMAIL>>
// Copyright (c) 2007-2009 NVIDIA Corporation -- <NAME> <<EMAIL>>
//
// 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
// restricti... |
//LIBRARIES
#include <iostream>
#include <ctime>
#include <cstdlib>
#include <unistd.h>
#include <conio.h>
#include <fstream>
//NAMESPACE
using namespace std;
//EXTRA NOTE: ALL LINES BESIDE THE ONES THAT END IN { REQUIRE A ; AT THE END
//RANDOM FUNCTION
//EXAMPLE: VARIABLE = randVal(MIN RANDOM NUMBER,MAX... |
#include <iostream>
#include <iomanip>
#include <string>
#include <math.h>
#include "seal/seal.h"
#include "im2col.h"
#include <bitset>
using namespace Eigen;
using namespace seal;
using namespace std;
template <class T>
void print_image(T *data) {
IOFormat CommaInitFmt(StreamPrecision, DontAlignCols, ", ", ", ... |
// @COPYRIGHT@
// Licensed under MIT license.
// See LICENSE.TXT file in the project root for more information.
// ==============================================================
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <iostream>
#include <unistd.h>
#include <assert.h>
#include <string.h>
#i... |
/*! @file */
/*
Copyright (C) 2008, kobake
Copyright (C) 2018-2021, Sakura Editor Organization
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 th... |
/*
* Copyright (c) 2020 Seagate Technology LLC and/or its Affiliates
*
* 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 req... |
#include "querywidget.h"
#include <QTabWidget>
#include <QApplication>
#include "sqlsyntaxhighlighter.h"
#include "dbconnectionfactory.h"
#include "dbconnection.h"
#include <QTableView>
#include <QHeaderView>
#include "tablemodel.h"
#include <QFile>
#include <QMessageBox>
#include <QTextCodec>
#include <QTextStream>
#i... |
/*******************************************************************************
Copyright (c) 2010, <NAME> (Cornell University)
If used in publication cite "<NAME> and <NAME> "Dynamic Simulation of Soft Heterogeneous Objects" In press. (2011)"
This file is part of Voxelyze.
Voxelyze is free software: you can red... |
/*
# =============================================================================
# Copyright (c) 2016 - 2021 Blue Brain Project/EPFL
#
# See top-level LICENSE file for details.
# =============================================================================
*/
#include <sstream>
#include "coreneuron/coreneuron.hpp"
... |
/***************************************************************
** DLSTORM Deadline's Code Storm Library
** /\
** ---- D/L \----
** \/
** License: BSD
** Copyright: 2020
** File: c_sdl.cpp
** Description: SDL Wrapper Class
** Author: <NAME> aka Deadline
*... |
/**********************************************************************************/
/* This file is part of Ignimbrite project */
/* https://github.com/EgorOrachyov/Ignimbrite */
/****************************************************************... |
//===---- CGOpenMPRuntimeNVPTX.cpp - Interface to OpenMP NVPTX Runtimes ---===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
#include "cm_rt.h"
#include <sys/types.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <jansson.h>
#include <vector>
#include <iostream>
#include "point.h"
// Includes cm_rt_helpers.h to convert the integer return code returned from
// the CM runtime to a meaningful string ... |
/**************************************************************************
* Copyright(c) 1998-2016, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... |
#include "GameEngine.h"
#include "Rect.h"
#include "PointLight.h"
#include "DirectionalLight.h"
#include <stdlib.h>
#include <random>
#include <thread>
#include <gtx\rotate_vector.hpp>
#include <time.h>
#define ASSERT(x) if(!(x)) __debugbreak();
#define FOREST_SIZE 100
#define TERRAIN_SIZE 1025
typedef unsigned i... |
/*
* LEGAL NOTICE
* This computer software was prepared by Battelle Memorial Institute,
* hereinafter the Contractor, under Contract No. DE-AC05-76RL0 1830
* with the Department of Energy (DOE). NEITHER THE GOVERNMENT NOR THE
* CONTRACTOR MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY
* LIABILITY FOR THE ... |
/* MIT License
Copyright (c) 2018 Universidade de Coimbra
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,... |
//Verify the probability/correlation of RX/DC/RXDL
//need to modify:
//1. the input and output diff/mask
//2. change the variable "shift = ??"
//3, ./a.out [NumRD] [MODE]
//MODE = 0-RX/1-DC/2-RXDL
#include<iostream>
#include<cstdlib>
#include<cstdint>
#include<cmath>
#include<random>
using namespace std;
... |
#define _GLIBCXX_USE_CXX11_ABI 0
#include "solver.hpp"
#include "problem.hpp"
#include "gurobi_c++.h"
#include <algorithm>
#include <cmath>
#include <fstream>
#include <iostream>
#include <numeric>
#include <stdexcept>
#include <thread>
#include <vector>
static double StrictEpsilon = 1e-6;
namespace stm {
using k... |
// Copyright 2019 The Fuchsia 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 <hid-parser/descriptor.h>
#include <hid/boot.h>
#include <hid/paradise.h>
#include <zxtest/zxtest.h>
TEST(HidDescriptorTest, GetReportsSizeWithId... |
#include "nx.h"
#include "game.h"
#include "endgame/island.h"
#include "endgame/credits.h"
#include "intro/intro.h"
#include "intro/title.h"
#include "pause/pause.h"
#include "pause/options.h"
#include "inventory.h"
#include "map_system.h"
#include "profile.h"
#include "ObjManager.h"
#include "map.h"
#include "slope.... |
/*
Copyright © 2016, The Pennsylvania State University
All rights reserved.
Copyright © 2016 Forschungszentrum Jülich GmbH
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted under the GNU General Public License v3 and provided that the following conditi... |
//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... |
/***********************************************************************
* Copyright 1998-2020 CERN for the benefit of the EvtGen authors *
* *
* This file is part of EvtGen. *
* ... |
/* Copyright (C) 2016 <NAME>.
* This file is part of 0 A.D.
*
* 0 A.D. is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* 0 A.... |
#include "core/print.hh"
#include "core/reactor.hh"
#include "core/app-template.hh"
#include "core/future-util.hh"
#include "core/distributed.hh"
#include "core/semaphore.hh"
#include "core/future-util.hh"
#include <chrono>
#include <iostream>
#include <new>
#include <fstream>
#include <string>
using namespace seastar... |
int NEU/**/,mhE,
y8bl,j, Ix,/*O*/ Lq,s4 ,r0I
,
VPv/*eRL*///ugI
,fcA,
Exb
,
A5IB, sFz,Xw ,
Wbr,iXC0C , Zew , eb, Efhy ,
/*zI*/qvb, WfMUI
, apc
,QeM ,
jX,
omi,
/*ckUls*/pB,//Kv
kt
,ocN, eih
, /*GMwL*/wOJ ,/*W*/
ky ,
sp/*e*/
,
wIMG//z
,FDM, Oph,
Wu,gDH ,
//r1G
FD,
WD,qAL ,
cdl
, pN0dH,
Ap ,... |
#include "terrain.hpp"
Chunk::Chunk(glm::vec3 center, float sideXSize, unsigned numVertexX, unsigned numVertexY)
: center(center), sideXSize(sideXSize), numVertexX(numVertexX), numVertexY(numVertexY), modelOrdered(false) { }
Chunk::Chunk(std::tuple<float, float, float> center, float sideXSize, unsigned numVerte... |
// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All right 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 th... |
#include "dump_reader.hpp"
#include "config.h"
#include <cstdio>
#include <limits>
#include <boost/algorithm/string.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/format.hpp>
#include <boost/noncopyable.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/filesystem.hpp>
#include <boost/i... |
/*
*
*
Partial Model Library
Copyright (c) 2016, <NAME> <EMAIL>
Consejo Nacional de Ciencia y Tecnología (CONACYT)
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 mu... |
#include "external/CLI11.hpp"
#include "external/linalg.h"
#define NANOSVG_IMPLEMENTATION
#define NANOSVG_ALL_COLOR_KEYWORDS
#include "external/nanosvg.h"
#include <cstdio>
#include <cmath>
#include <random>
#include <unordered_set>
#include <unordered_map>
using float2 = linalg::vec<float, 2>;
using mat2 = linalg::m... |
#include "DataFormats/SiPixelDetId/interface/PixelBarrelName.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
//#include "DataFormats/SiPixelDetId/interface/PXBDetId.h"
#include "DataFormats/TrackerCommon/interface/TrackerTopology.h"
#include <sstream>
#include <iostream>
using namespace std;
namespac... |
#include "smc.hpp"
#include <algorithm> // for_each, sort
#include <numeric> // accumulate
#include <gsl/gsl_statistics_double.h>
#include "engine.hpp"
ParticleFilter::ParticleFilter(int J, const Model & mod,
unsigned long seed, int threads) : wp(threads) {
rng.seed(seed);
rel_temp = 1.0;
effective_swarm_siz... |
/*
* Scamp5d M0 Program
* This program runs a 2 layer CNN, using maxpooling
*/
/*
* 2-layer AnalogNet, using maxpooling: 15 fps network
* Author: <NAME>, MSc Thesis, Imperial College London
*/
#include <scamp5.hpp>
#include <vs_import.hpp>
#include "fc_weights.hpp"
#include "kernel_instructions.hpp... |
//
// main.cpp
// match_two_pics_and_transform
//
// Created by fanyue on 2019/2/24.
// Copyright © 2019 fanyue. All rights reserved.
//
#include <opencv2/video/video.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/xfeatures2d.hpp>
#include <opencv2/core/core.hpp... |
/*
Copyright 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.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... |
/*******************************************************************************
* Copyright (c) 2018, Hitachi-LG Data Storage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistrib... |
// Mach1 Spatial SDK
// Copyright © 2017-2021 Mach1. All rights reserved.
/*
This example is for reference for how Mach1Spatial Coefficients from Mach1Transcode API
could be used on audio streams and buffers.
Order of Operations:
1. Setup Input and Output formats (and paths)
2. Call `processConversionPath()` ... |
/**
guid.cpp
**/
#include "guid.h"
#include <Platform.h> // Only use angled for Platform, else, xcode project won't compile
//this is standard
//gEfiSmbios3TableGuid = { 0xF2FD1544, 0x9794, 0x4A2C, { 0x99, 0x2E, 0xE5, 0xBB, 0xCF, 0x20, 0xE3, 0x94 }};
//EFI_GUID gEfiConsoleControlProtocolGuid = {0... |
//=== VarDependencySlicer.cpp - Slicing program w.r.t. value of a variable ===//
//
// SimpLL - Program simplifier for analysis of semantic difference //
//
// This file is published under Apache 2.0 license. See LICENSE for details.
// Author: <NAME>, <EMAIL>
//===-------------------------------------------... |
//===--- SILGenMaterializeForSet.cpp - Open-coded materializeForSet -------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LI... |
/**
* 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... |
#include "types.h"
/*
* --INFO--
* Address: ........
* Size: 00009C
*/
void _Error(char*, ...)
{
// UNUSED FUNCTION
}
/*
* --INFO--
* Address: ........
* Size: 0000F4
*/
void _Print(char*, ...)
{
// UNUSED FUNCTION
}
/*
* --INFO--
* Address: 80073164
* Size: 00016C
*/
LightPool::LightPool()
{
/*
.loc... |
// Copyright (c) 2006-2008 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 "base/string_util.h"
#include "chrome/browser/bookmarks/bookmark_model.h"
#include "chrome/browser/bookmarks/bookmark_codec.h"
#include ... |
#include "io.hpp"
_io::_io(int argc, char** argv) {
// Default values
/***************************************/
mode=-1;
A0=0; A0_isempty=true;
B0=0; B0_isempty=true;
A1=0; A1_isempty=true;
B1=0; B1_isempty=true;
lambda=0; lambda_isempty=true;
gf_hf=true;
/***********/
//... |
/*
==== Author:
<NAME> (<EMAIL>)
Visual Geometry Group,
Department of Engineering Science
University of Oxford
==== Copyright:
The library belongs to <NAME> and the University of Oxford.
No usage or redistribution is allowed without explicit permission.
*/
#include "evaluator_v2.h"
#include <fstream>
#include <set... |
/**********
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 libr... |
#include <vector>
#include <iostream>
#include "lab_m1/Tema1/Tema1.h"
#include "lab_m1/Tema1/object2D.h"
#include "lab_m1/Tema1/transform2D.h"
#include <math.h>
using namespace std;
using namespace m1;
Tema1::Tema1()
{
}
Tema1::~Tema1()
{
}
void Tema1::Init()
{
auto camera = GetSceneCamera();
camera-... |
#include "syntaxhighlighter.h"
#include <QList>
#include <QRegularExpressionMatchIterator>
#include <QTextDocument>
#include "defines.h"
#include "lexerutilities.h"
FieldType::FieldType(Type type, int lowerBound, int upperBound, SyntaxHighlighter* highlighter) {
m_type = type;
m_lowerBound = lowerBound;
... |
#include "analyzer.h"
#include <csignal>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/if_ether.h> // includes net/ethernet.h
#include <netinet/ip.h>
#include <netinet/udp.h>
#include <netinet/tcp.h>
#include <iostream>
#include <map>
#includ... |
/*************************************************************************/
/* line_edit.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
/*
* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... |
// Fizzy: A fast WebAssembly interpreter
// Copyright 2020 The Fizzy Authors.
// SPDX-License-Identifier: Apache-2.0
#include "execute.hpp"
#include "execute_floating_point_test.hpp"
#include "instructions.hpp"
#include "parser.hpp"
#include "trunc_boundaries.hpp"
#include <test/utils/asserts.hpp>
#include <test/utils... |
/*****************************************************************************
* McPAT
* SOFTWARE LICENSE AGREEMENT
* Copyright 2012 Hewlett-Packard Development Company, L.P.
* All Rights Reserved
*
* Redistribution and use in... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
//TODO: switch to use onnxruntime public api
#include "TestCase.h"
#include <fstream>
#include <memory>
#include "core/common/logging/logging.h"
#include "core/common/common.h"
#include "core/platform/env.h"
#include "core... |
// ============================================================================
//
// Copyright (c) 2001-2006 Max-Planck-Institut Saarbruecken (Germany).
// All rights reserved.
//
// This file is part of EXACUS (http://www.mpi-inf.mpg.de/projects/EXACUS/).
//
// --------------------------------------------------------... |
//
// Copyright (c) 2019 Regents of the SIGNET lab, University of Padova.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// 1. Redistributions of source code must retain the above copyrigh... |
// Copyright (c) 2015, helo2804. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions a... |
/*=======================================================================
Copyright (c) 2018-2019 <NAME>.
This software is distributed under the Apache License, Version 2.0.
All copies must contain the full copyright notice licence.txt located
at the base folder of the distribution.
=====================... |
// $Id: amicacal.cpp 6045 2015-02-07 02:06:59Z <EMAIL> $
#include "Isis.h"
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <memory>
#include <vector>
#include <QFile>
#include <QScopedPointer>
#include <QString>
#include <QTemporaryFile>
#include <QVector>
#include "AlphaCube.h"
#include "AmicaCalUt... |
/*
Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved.
Copyright (c) 2013, <NAME>. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must ... |
#include "ui/Style.h"
void applyCustomLightStyle( bool bStyleDark_, float alpha_ )
{
ImGuiStyle& style = ImGui::GetStyle();
style.Alpha = 1.0f;
style.FrameRounding = 3.0f;
ImVec4* colors = style.Colors;
if ( ! colors ) return;
colors[ImGuiCol_Text] = ImVec4(0.00f, 0.00f, 0... |
/*
Copyright 2011 - 2015 Occam Robotics Inc - All rights reserved.
This software is licensed under GPLv2, as specified in the top-level
LICENSE.txt file. Please contact us at <EMAIL> for
information regarding commercial licensing.
*/
#include <stdio.h>
#include <iostream>
#include <atomic>
#include <ros/ros.h... |
#include <gd.h>
#include "platform.h"
#include "util.h"
#include "isi.h"
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <functional>
using namespace std;
static void draw(REAL64 begtime, gdImagePtr paint, int xw1, int xw2, int yw1, int yw2, int nMaxY);
static REAL32 findAverage... |
// *********************************************************************
// **
// ** Informática Gráfica, curso 2019-20
// ** Declaraciones de la clase Objeto3D.hpp
// **
// *********************************************************************
//#include <set> // std::set
#include "ig-aux.h"
#include "tuplasg.h"
#in... |
// Copyright (c) 2006-2008 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 "net/disk_cache/entry_impl.h"
#include "base/histogram.h"
#include "base/message_loop.h"
#include "base/string_util.h"
#include "net/ba... |
#include <ros/ros.h>
#include <message_filters/subscriber.h>
#include <message_filters/synchronizer.h>
#include <message_filters/sync_policies/approximate_time.h>
#include <sensor_msgs/PointCloud.h>
#include <sensor_msgs/ChannelFloat32.h>
#include <sensor_msgs/PointField.h>
#include <geometry_msgs/Point32.h>
#include... |
#include <iostream>
using namespace std;
#include <winbgim.h>
#include <string.h>
#include <stdio.h>
#include <time.h>
#define MINW 20
#define MINH 20
#define MAXW 420
#define MAXH 220
#define MINX 20
#define MINY 20
#define MAXX 420
#define MAXY 220
#define BACKGROUND 15
struct Point {
int ... |
int i3D,
fYq2QH ,B,
Htd
,eG1, tLLx, J, gfQ ,
ROe
,/*j*/
WvJ,tQL ,JB ,
eKXfzY
,
K1F/*2g*/,RR,gWL ,
x8q
,
UNE34 ,GcptI
,
rsp, NvDbGz, nP ,
fJ
, lVyL ,lE0//Mp
,zaB
,V0L2 ,m
,
s ,/*L3*/k ,fnck,BvB,
/*7wr*//*g*/MM0, PW , HC4
,W, TxY,Ac ,
KR ,O6P
, y0B /*fT*/, qn
,/*z1OV*/WP; void f_f0
/*e*/(){... |
/*
* specializer.{cc,hh} -- specializer
* <NAME>
*
* Copyright (c) 2000 Massachusetts Institute of Technology
* Copyright (c) 2000 Mazu Networks, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to de... |
/*
==============================================================================
LLVM Release License
==============================================================================
University of Illinois/NCSA
Open Source License
Copyright (c) 2003-2017 University of Illinois at Urbana-Champaign.
All rights reserved.
... |
// Copyright (c) 2009-2012, <NAME>, <NAME>
// The University of British Columbia
// 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 copy... |
/********************************************************************/
/* */
/* FILE : GENERATE.CC */
/* AUTHOR : <NAME> */
/* DATE : AUG. 1996/1997 ... |
//**************************************************************************************
//**************************************************************************************
// ods_wagon
// ロボットによるワゴン運搬のためのロボット搭載カメラによるワゴン検出
// 黒色のグリッパを検出し、その位置からワゴンの中心位置を求める.
// ロボット:SmartPal5
//***********************************... |
#include <dake/dake.hpp>
#include <cstdlib>
#include <cstring>
#include "cockpit.hpp"
#include "graphics.hpp"
#include "localize.hpp"
#include "options.hpp"
#include "radar.hpp"
#include "text.hpp"
#include "weapons.hpp"
// #define COCKPIT_SUPERSAMPLING
#define MAX_LINES 128
using namespace dake;
using namespace... |
#include "jobshop.h"
// TODO
const std::string ext[] = {".txt", ""};
void project_information_cb() {
fl_message_title("Introduction");
fl_message("Group: 9~12班36\n\n"
"Authors: 张志博 赵佳祺 宋伊雯\n\n"
"Algorithm: Genetic algorithm\n\n"
"Graphical User Interface: Fast Ligh... |
/*
* This sample use gradient descend to classify a spiral dataset
* http://cs231n.github.io/neural-networks-case-study/
*/
#include "conv-neural-network.h"
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include <SDL2/SDL_ttf.h>
#include <sys/time.h>
#include <sstream>
#include <fstream>
#include <iomanip>
#in... |
//=============================================================================
// main.cpp
//
// Author: <NAME> (C) 2014 All Rights Reserved.
// Updated by <NAME> (100817604) for the purposes of Assignment 4 - COMP 4002
//-----------------------------------------------------
//
// Purpose:
//--------------
/... |
#include "ProjectedState.h"
void print_matrix(const char* desc, MKL_INT m, MKL_INT n, MKL_Complex16* a, MKL_INT lda) {
std::cout << desc << ":\n";
for (int i = 0; i < m; ++i) {
for (int j = 0; j < n-1; ++j) {
std::cout << a[i * lda + j] << ",";
}
std::cout << a[i * lda + n - 1] << "\n";
}
}
ProjectedState... |
#include "Geometry.h"
/**
* @brief Geomtery constructor.
* @details Sets a default number of neutrons per batch (10,000), number of
* batches (10) and number of threads (1). Sets the source sampling
* radius to 10 cm by default.
*/
Geometry::Geometry(spatialType spatial_type, const char* name) ... |
#include "wifi80211.h"
#include "qam.h"
#include "util.h"
#include "scrambler.h"
#include "interleave.h"
#include "fft.h"
#include <limits>
#include "kalman.h"
#include <cassert>
#include <valgrind/memcheck.h>
WiFi80211::WiFi80211() : ofdm(audioLTFormat()), code(7, 0133, 0171)
{
rates.push_back(Rate(0xd, QAM(1), P... |
/*
* Copyright (C) 2018 Intel Corporation.All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
/*
* equalizerCoreTest.cpp
*
* Created on: August 2016
*/
#include <cstdio>
#include <cstring>
#include <iostream>
extern "C" {
#include <sndfile.h>
}
#include <gtest/gtest.h>
#include "rtprocessingfw... |
/** @file
A brief file description
@section license License
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 you und... |
#include "ds_convert.h"
DS_Convert::DS_Convert() { }
DS_Convert::DS_Convert(QString sourceFile, QString destinationFile)
: sourceFile_(sourceFile), destinationFile_(destinationFile) { }
bool DS_Convert::convert() {
initConvert();
readFileAll();
if (lines_.empty()) return true;
// qDebug() << line... |
//
// check_bridges_result
//
// analyze result of check_bridges
//
// Copyright 2016 <NAME> @ CSHL
//
#include <algorithm>
#include <exception>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <random>
#include <sstream>
#include <string>
#include <utility>
#incl... |
#include "FrameGrabber.h"
// define to create error text functions
#define PCO_ERRT_H_CREATE_OBJECT
// fix pco error lib compatibility
#define sprintf_s snprintf
#include <iostream>
#include <PCO_err.h>
#include <PCO_errt.h>
constexpr unsigned TIME_BASE_MU = 1;
constexpr unsigned TRIGGER_AUTO = 0;
constexpr unsigned ... |
/****************************************************************************\
Part of the XeTeX typesetting system
Copyright (c) 1994-2008 by SIL International
Copyright (c) 2009-2014 by <NAME>
SIL Author(s): <NAME>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and... |
/*
* SolverBudget.cpp
*
* Created on: Mar 29, 2015
* Author: markus
*/
#include "include/Parameters.h"
#include <queue>
#include "include/SolverBudget.h"
#include <stack>
using std::vector;
using std::greater;
using std::priority_queue;
using std::queue;
using Rcpp::Rcout;
SolverBudget::SolverBudget(Inst... |
/* -*- tab-width: 4; -*- */
/* vi: set sw=2 ts=4 expandtab textwidth=80: */
/*
* ©2019 Khronos Group, 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.or... |
// -*- C++ -*-
//
// Package: MuonIdentification
// Class: MuonCaloCompatibility
//
/*
Description: test track muon hypothesis using energy deposition in ECAL,HCAL,HO
*/
//
// Original Author: <NAME>
//
//
#include "RecoMuon/MuonIdentification/interface/MuonCaloCompatibility.h"
#include "DataFormats/TrackRe... |
// Copyright 2020 <NAME>
// This file is part of CIDE, licensed under the new BSD license.
// See the COPYING file in the project root for the license text.
#include "cide/code_completion_widget.h"
#include <QDebug>
#include <QPainter>
#include <QPaintEvent>
#include <QScrollBar>
#include "cide/clang_utils.h"
#inclu... |
// Copyright 2017 <NAME>. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/searchlib/common/bitvector.h>
#include <vespa/searchlib/common/resultset.h>
#include <vespa/searchlib/util/rand48.h>
#include <vespa/searchlib/test/fakedata/fakeword.h>
#include <vespa/searchl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.