text stringlengths 8.71k 38.4k |
|---|
/********************************************************
* Copyright 2016-2080 evilbinary.
*作者:evilbinary on 12/24/16.
*邮箱:<EMAIL>
********************************************************/
#include "imgui_impl_gl.h"
#include <sys/time.h>
#include "keyboard.h"
#include <stdio.h>
#define STB_IMAGE_IMPLEMENTATION
#inc... |
int A8
, Vbjc2,aohf70Y,
iMcy
,
joZ ,
Wug ,
fOu//Zw
,
Lh ,
//xAkV
F1siz//iel
/*w*/,nD
, wj ,RniY,y
, spFCJ
,
P
, Cj/*R88*/ , Z3c
,HbSag
, ld93G0
, OFp
, LNt
, //lw
XRzX8 ,
FEEG , e,
H ,ORs
, vM , a7rS/*JDUk*/,
CIgsm, XvOfI,
Om, hoXgR ,DL ,n6gL, WZF, jV /*r*/, xQ,nuf //lu1
, fXw , Yk,DN
,M1 ... |
#include "stored_queries/StoredFlashQueryHandler.h"
#include "FeatureID.h"
#include "StoredQueryHandlerFactoryDef.h"
#include "WfsConst.h"
#include <fmt/format.h>
#include <macgyver/StringConversion.h>
#include <smartmet/spine/Convenience.h>
#include <smartmet/macgyver/Exception.h>
#include <smartmet/spine/ParameterToo... |
#pragma once
// Constants etc
//
// Things that are constants, but are not settings, or cannot be changed
//
// #define PI 3.14159265358979323846
#define ZMQ_TAG_RING "?"
#define ZMQ_TAG_ALL "@"
#define ZMQ_TAG_PEER_START 'A'
#define ZMQ_TAG_STATUS "~"
// used when not specified by env/cmdln
#define DEFAULT_JSON_PAT... |
/*
* Copyright (c) 2010, <NAME>, <NAME>, <NAME>,
* <NAME>, <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... |
// Copyright (c) 2009-2010 <NAME>
// Copyright (c) 2009-2018 The Bitcoin Core developers
// Copyright (c) 2011-2021 The Freicoin Developers
//
// This program is free software: you can redistribute it and/or modify it under
// the terms of version 3 of the GNU Affero General Public License as published
// by the Free S... |
/*
* Gspeak 2.6
* by Thendon.exe
* Sneaky Rocks
*/
#ifdef _WIN32
#pragma warning (disable : 4100) /* Disable Unreferenced parameter warning */
#include <Windows.h>
#endif
#include <stdio.h>
#include <thread>
#include <ts3_functions.h>
#include <teamspeak/public_errors.h>
#include <teamspeak/public_errors_rare.h>
#in... |
#include <iostream>
#include <string>
#include "item.h"
#include <vector>
#include <cctype>
#include <chrono>
#include <thread>
#include <fstream>
#include <iterator>
#include <algorithm>
#include <limits>
#include <algorithm>
#include <cwchar>
#include <windows.h>
#include <math.h>
using namespace std;
std::string n... |
#include "btree.h"
#include <stdlib.h>
#include <string.h>
#if defined(_DEBUG) && defined(DEBUG_NEW)
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
BNode::BNode(){
for (int i=0; i<BNODE_FULL+1; i++){
nodes[i]=0;
keys[i]=0;
}
parent=0;
}
BNode::~BNode(){... |
//-----------------------------------//
// This file is part of MuJoCo. //
// Copyright (C) 2016 Roboti LLC. //
//-----------------------------------//
#include "mujoco.h"
#include "glfw3.h"
#include "stdlib.h"
#include "string.h"
#include <mutex>
//-------------------------------- global variables --------... |
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
//
// XSDK
// Copyright (c) 2015 <NAME>
//
// Use, modification, and distribution is subject to the Boost Software License,
// Version 1.0 (See accompanying file LICENSE).
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-... |
#include "LoadingWindow.h"
#include "ui_LoadingWindow.h"
#include <QDebug>
#include <QFile>
#include <QDir>
//#include <QFileSystemModel>
//#include <QTimer>
#include <QSettings>
#include <QItemSelection>
//#include <QErrorMessage>
#include <QScrollArea>
#include <QDir>
#include <QStandardItemModel>
#include <QAbstrac... |
// Finally, after attempting to make a video editor... oh God was it almost FOUR
// years ago already? Anyway, after attemping to make an editor all those years
// ago, I finally made one that... semi-works? No guarantees that this will
// compile on your machine, fair warning.
#include <bits/stdc++.h>
#include <SFML... |
/*****************************************************************************
* Copyright (C) 2008-2011 Massachusetts Institute of Technology *
* *
* Permission is hereby granted, free of charge, to any person obtaining *
* ... |
// $Id$
/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Authors: *
* ... |
/**
* Copyright (c) 2007-2012, <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 conditi... |
#include <std_msgs/Bool.h>
#include <visualization_msgs/MarkerArray.h>
#include <tf2/LinearMath/Matrix3x3.h>
#include <tf2_geometry_msgs/tf2_geometry_msgs.h>
#include <nav_msgs/Odometry.h>
#include <nav_msgs/Path.h>
#include "orca_base/orca_base.h"
#include "orca_base/orca_pwm.h"
namespace orca_base {
// Limits
const... |
#include "Array.hpp"
#include "BoundaryCond.hpp"
#include "Common.hpp"
void print_usage() {
std::cout << "Usage: ./heat [-d <data_dir>]" << std::endl;
exit(EXIT_SUCCESS);
}
void read_params_from_file(const std::string fname, double& Lx, double& Ly,
int& nx, int& ny, BoundaryConds& BCs) ... |
// Copyright 2019 <NAME>
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, so... |
/*
* Market.cc
*
* Created on: Apr 13, 2014
* Author: wilfeli
*/
#include <list>
#include <algorithm>
#include <functional>
#include <iostream>
#include <boost/random.hpp>
#include <boost/random/normal_distribution.hpp>
#include <boost/random/uniform_int_distribution.hpp>
#include "W.h"
#include "Market... |
/*
Copyright (c) 2017, The University of Bristol, Senate House, Tyndall Avenue, Bristol, BS8 1TH, United Kingdom.
Copyright (c) 2019, <NAME>, <NAME> 10, bus 2452, B-3001 Leuven-Heverlee, Belgium.
All rights reserved
*/
#include "DABitGenerator.h"
#include "DABitMachine.h"
#include "OT/OT_Thread_Data.h"
#include "Proc... |
#include "Trikin_Astar.h"
bool mapReceived = false;
void TrikinAstar::visualizePath(void)
{
geometry_msgs::PoseArray msg;
msg.header.frame_id = "/map";
msg.header.stamp = ros::Time::now();
geometry_msgs::Pose pose;
tf::Matrix3x3 R;
for (auto node : path_nodes_)
{
pose.position.x = node->state.pose.x();
p... |
//===-- StatepointLowering.cpp - SDAGBuilder's statepoint code -----------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===--------------------------------------------------------... |
/*
-- MAGMA (version 1.6.1) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date January 2015
@author <NAME>
@author <NAME>
@author <NAME>
@generated from zhetrd_hb2st.cpp normal z -> s, Fri Jan 30 19:00:18 20... |
// Copyright (c) 2009-2010 <NAME>
// Copyright (c) 2017-2019 The WaykiChain Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "rpc/core/rpcserver.h"
#include "main.h"
#include "net.h"
#include "netbase.h"
... |
// Copyright (c) 2017-2020 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <seeder/dns.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <strings.h>
#include <sys/socket.h>
#include <sys... |
/*
* unbuffered I/O
* Copyright (c) 2001 <NAME>
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your opti... |
#include <iostream>
#include <map>
#include <unordered_set>
#include <set>
#include <utility>
#include <vector>
#include "utils.h"
#include "pangenome/pangraph.h"
#include "pangenome/pannode.h"
#include "de_bruijn/graph.h"
#include "minihit.h"
uint_least32_t node_plus_orientation_to_num(
const uint_least32_t node_... |
/****************************************************************************
*
* Copyright (c) 2021 PX4 Development Team. 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. Redistri... |
/* -*- Mode: C++; tab-width: 3; indent-tabs-mode: nil; c-basic-offset: 2 -*-
* vim:set ts=2 sts=2 sw=2 et cin:
*
* 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/. */
... |
/*
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/**********************************************************************
// @@@ START COPYRIGHT @@@
//
// 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. ... |
/*
* Copyright (c) 2008 <NAME> <<EMAIL>>.
* Copyright (c) 2009 <NAME>, <EMAIL>
* All rights reserved. Distributed under the terms of the MIT license.
*
* Copyright (c) 1999 Mike Steed. You are free to use and distribute this software
* as long as it is accompanied by it's documentation and this copyright notice.
... |
/*
* Copyright 2005-2009, <NAME>, <EMAIL>.
* Distributed under the terms of the MIT License.
*
* Copyright 2002, <NAME>. All rights reserved.
* Distributed under the terms of the NewOS License.
*/
#include "runtime_loader_private.h"
#include <string.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <sys/cd... |
//
// Copyright (c) 2017 The 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.org/licenses/LICENSE-2.0
//
// Unless required by applicable la... |
#include "SystemData.h"
#include "Gamelist.h"
#include "AudioManager.h"
#include "VolumeControl.h"
#include "Log.h"
#include "Settings.h"
#include "Util.h"
#include <boost/thread.hpp>
#include <boost/property_tree/xml_parser.hpp>
#include <boost/asio/io_service.hpp>
#include <boost/make_shared.hpp>
#include <RHGamestat... |
#include "precomp.h"
#include "Scene.h"
const float epsilon = 0.0001;
Scene::Scene()
{
}
float XorRandomFloat(xorshift_state* s)
{
return xorshift32(s) * 2.3283064365387e-10f;
}
float3 CosineWeightedDiffuseReflection(float3 normal, xorshift_state& rand_state)
{
XorRandomFloat(&rand_state); //TODO find out why... |
int
pHn //2
,Rhi//R
,
iuSw
,
By5 ,Mgb, k59,GKP
, fkYmQIG,Fkee, ja , /*Vk*/ hfsCYD, Oj, JuI
, cdv
,
iw ,
/*pNd3*/hTj5twz , mWFX, mWn
,xGNt ,
p
,yRa ,lG ,
xBpXAq
,
a8GX , LzG
, E , zQdn ,lRm,NtLXI ,/*ceRFN*/Ah, it6P
,//u0
sxH ,
R1,
//o1m
qb, L2uQ ,/*49*/Fl ,
gtD
, dlEBF,
OX
, yefU
,c5H/*qlK*/,toXe4... |
/*
* This source file is part of RmlUi, the HTML/CSS Interface Middleware
*
* For the latest information, see http://github.com/mikke89/RmlUi
*
* Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd
* Copyright (c) 2019 The RmlUi Team, and contributors
*
* Permission is hereby granted, free of charge, to... |
//
// main.cpp
// MarchingCubes
//
// Created by <NAME> on 11/23/19.
// Copyright © 2019 <NAME>. All rights reserved.
//
#include <chrono>
#include <filesystem>
#include <iostream>
#include <map>
#include <random>
#include <stdexcept>
#include <string>
#include <thread>
#include <vector>
#include <epoxy/gl.h>
#i... |
#include "UnreliableRDMA.h"
using namespace rdma;
/********** constructor and destructor **********/
UnreliableRDMA::UnreliableRDMA(size_t mem_size) : UnreliableRDMA(mem_size, (int)Config::RDMA_NUMAREGION) {
}
UnreliableRDMA::UnreliableRDMA(size_t mem_size, int numaNode) : BaseRDMA(mem_size, numaNode) {
m_qpType =... |
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
<NAME>, <EMAIL>
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04-94AL85000 with San... |
//-
// ===========================================================================
// Copyright 2015 Autodesk, Inc. All rights reserved.
//
// Use of this software is subject to the terms of the Autodesk license
// agreement provided at the time of installation or download, or which
// otherwise accompanies this softw... |
/**
* 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 under the Apache License, Version 2.0 (the
* "License"); you... |
/*
* This file is part of the GROMACS molecular simulation package.
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
* Copyright (c) 2013,2014,2015,2016,2017 by the GROMACS development team.
* Copyright (c) 2018,2019,2020,2021, by the ... |
#include <string.h>
#include <iostream>
#include <sstream>
#include <vector>
#include <algorithm>
#include <nodge/Graph.hh>
#include "Algorithms.hh"
/* Node Data references. */
namespace {
const MetaSchema::model_spec* the_model = NULL;
struct it_entry{
Graph::node_iterator i;
const Data* d;
};
/* Sorting ... |
#include <ros/ros.h>
#include <ros/package.h>
#include <geometry_msgs/PoseWithCovarianceStamped.h>
#include <nav_msgs/Odometry.h>
#include <sensor_msgs/Imu.h>
#include <std_msgs/Float32.h>
#include <diagnostic_msgs/DiagnosticArray.h>
#include <diagnostic_msgs/DiagnosticStatus.h>
#include <diagnostic_msgs/KeyValue.h>
#i... |
//===-- RAColorBasedCoalescing.cpp - Color-based Coalescing Register Allocator ----------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the MIT License.
// See the LICENSE file for details.
//
//===------------------------------------------------... |
/* Copyright 2020 iwatake2222
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, soft... |
#include "../common.h"
/****
This is BY FAR the shittiest map format I've ever witnessed.
WAY too complex, useless compression, no real way to skip ahead
Just getting to the texture informations takes forever...
I might just go with the build engine instead of this crap...
****/
/***
BEST READ : http://icculus.org/... |
#include <iostream>
#include <fstream>
#include <list>
#include <cstring>
#include <csignal>
#include <cstddef>
#include <cstdlib>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/un.h>
#include <sys/socket.h>
#include <unistd.h>
#include <fcntl.h>
#include <pwd.h>
#include <termios.h>
#ifdef __linux__
#incl... |
#include "dp.h"
#include "dp_data.h"
using namespace dp;
#include <cassert>
#include <cfloat>
using namespace std;
/***** OptimalRegion *****/
void Region::expand(const int l, const int r, const int b, const int t, const db::Region* reg) {
int rlx = DPModule::dplacer->coreLX;
int rhx = DPModule::dplacer->cor... |
//trigTable is a table with 10 rows for ten combinations or p^(mu)p_(nu) normalized by the energy
#pragma once
#include <stdio.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_eigen.h>
#include <gsl/gsl_sort_vector.h>
//#include <math.h>
#i... |
#include <fstream>
#include <iostream>
#include <stdio.h>
#include <cstdio>
#include <vector>
#include <algorithm>
#include <ctype.h>
#include <string>
#include <factory.h>
#include <structures.h>
#include <config.h>
#include <detection.h>
#include <math.h>
#include "libraw/libraw.h"
#include <opencv2/opencv.hpp>
#inc... |
/*
* Copyright 2018 Rockchip Electronics Co. LTD
*
* 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... |
/*
Mosh: the mobile shell
Copyright 2012 <NAME>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Th... |
#include <array>
#include <cstdint>
#include <stdio.h>
#include <string>
#include <iostream>
#include "transmission.h"
#include "imu/I2Cdev.h"
#include "imu/MPU6050_6Axis_MotionApps20.h"
#include "algorithm/filter.h"
#include "algorithm/MadgwickAHRS.h"
#include "pwm/motor_control.h"
#include <opencv2/videoio/videoio.... |
#include <cstring>
#include <iostream>
#include <map>
#include <vector>
#include <time.h>
#include <boost/multi_array.hpp>
#include <wx/filefn.h> // ::wxFileExists, ::wxCopyFile, etc.
#include <wx/log.h>
#include <wx/string.h>
#include <wx/textfile.h> // wxTextFile
#include <wx/tokenzr.h>
#include <wx/txtstrm.h> // wxT... |
/*
Copyright (c) 2021, JugadorXEI
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistrib... |
// ---------------------------------------------------------------------------
//
// The ab-initio based multiscale library
//
// S / P H I / n X
//
// Copyright: Max-Planck-Institute for Iron Research
// 40237 Duesseldorf, Germany
//
// Contact: https://sxlib.mpie.d... |
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <cassert>
#include <iostream>
#include <fstream>
#include <vector>
#include <sstream>
#include "OpenCLDeviceInfo.h"
#include "Event.h"
#include "OptionParser.h"
#include "ResultDatabase.h"
#include "support.h"
#include "S3D.h"
using namespace std;
/... |
#include "utils.h"
// Color converting codes shipped from Ejecta:
// https://github.com/phoboslab/Ejecta
static const uint32_t _htmlcolortable[] = {
0xff000000, // invaid
0xfffff8f0, // aliceblue
0xffd7ebfa, // antiquewhite
0xffffff00, // aqua
0xffd4ff7f, // aquamarine
0xfffffff0, // azure
0xffdcf5f5, // beige... |
/**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2013 <NAME>. All rights reserved. *... |
#include <cstring>
#include <iostream>
#include <string>
#include <sstream>
#include <vector>
#include <unordered_map>
#include <memory>
#include <execinfo.h>
#include <inttypes.h>
#include <unistd.h>
#include <signal.h>
#include "csan.h"
#include "cilksan_internal.h"
#include "debug_util.h"
// void print_race_repor... |
// CLASSIFICATION: UNCLASSIFIED
/***************************************************************************/
/* RSC IDENTIFIER: CASSINI
*
* ABSTRACT
*
* This component provides conversions between Geodetic coordinates
* (latitude and longitude in radians) and Cassini projection coordinates
* (easting a... |
#include <iostream>
#include "chart.hh"
#include "tree.hh"
#include "acmacs-base/read-file.hh"
#include "json-struct.hh"
// ----------------------------------------------------------------------
Chart import_chart(std::string buffer)
{
Chart chart;
if (buffer == "-")
buffer = acmacs_base::read_stdin(... |
#include"encrypt.h"
#include <vector>
#include <windows.h>
#include <bitset>
string shift_left_once(string key_chunk) {
string shifted = "";
for (int i = 1; i < 28; i++) {
shifted += key_chunk[i];
}
shifted += key_chunk[0];
return shifted;
};
string shift_left_twice(string key_chunk) {
string s... |
#include "Board.hpp"
#include <iostream>
#include <queue>
#define FAIL return nullptr
#define MUST(x) { if(!(x)) { FAIL; } }
using namespace std;
ptr<Board> readBoard(stream nextCh) {
Board b;
spaces(nextCh);
MUST(expect(nextCh,"Move "));
size_t move = readInt(nextCh);
b.moveNumber_ = move;
... |
//
// Project: LunarGlobe
// SPDX-License-Identifier: Apache-2.0
//
// File: globe/globe_app.cpp
// Copyright(C): 2018-2019; LunarG, Inc.
// Author(s): <NAME> <<EMAIL>>
//
#include <sstream>
#include <iomanip>
#include "globe_event.hpp"
#include "globe_submi... |
int sn,
Glm0/*i*/,d3xW ,A42,ufe
,AubY ,
f, B7U,
n, WSd,ck/*RX*/ ,
K1 , EcM /*R99S*/, B5 ,R ,
Bu9PqN, xk
,T3uJ , gHh
, HQ,si, Ejz, Jpste,ivg , nSd, M5, l, zVX
, oqm
,mSXA,
kmT ,
p/**///SYlE
, zxR
,Tm ,UI
,
Ro, jv
, iGpQV,qg9X ,WE,TzZq,
bq,g,
s7uoY, SULB, cwVv ;void f_f0() { int C , gf;
volatile int
... |
#include <algorithm>
#include <iostream>
#include <map>
#include <string>
#ifdef _WIN32
#define NOMINMAX // Prevent windows.h from clobbering STL's min and max.
#include <windows.h>
#endif
#include "imgui/imgui.h"
#include "imgui/imgui_internal.h"
#include "imgui/examples/imgui_impl_glfw.h"
#include "imgui/example... |
/*
* Copyright (C) 2015 <NAME>
*
* This file is part of Crea
*
* Crea is free software: you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License as published by the Free
* Software Foundation (FSF), either version 3 of the License, or (at your
* option) any later versi... |
/* ---------------------------------------------------------------------------
*
* Autonomous Navigation and Perception Lab (ANPL),
* Technion, Israel Institute of Technology,
* Faculty of Aerospace Engineering,
* Haifa, Israel, 32000
* All Rights Reserved
*
* See LICENSE for the license information
*
* -----... |
int XSb, H ,Ad ,
fm, Gw,aUg,
J,
/*QOF*/AY, mUN ,
Pl0//8doH
/*0*/, fQ0 , BM/*0*/ ,
YCdCP
,
lE ,
AS/*fxy*/ , //p
lZ
, G6C8//URg
,S0i,
foIt,k3wZIO2,Uk
,
GFssB , G3Vu,YvZ0
, hr, ulEO
//xM
,T7, A2C7,VFAo
,zEVo ,
p4,vUoe
//c
,
mlUWL, wj
,
P ,
lqIp , rrnj44 /*rHrV*/, pZH, Tgt, SjnNB ,//PRW
gqx ,
c3v ,Z0 ,... |
#include <linux/input-event-codes.h>
#include <cstddef>
#include <stdint.h>
#include "keycode_map.h"
#include <iostream>
using namespace std;
struct key_map {
uint32_t godot_scancode;
uint32_t eudev_scancode;
};
/* Copied+modified from core/os/keyboard.h */
enum {
SPKEY = (1 << 24)
};
enum KeyList {
GDKEY_ESCAPE... |
#include "main.h"
#include "enc/enc.h"
namespace mnf {
using namespace enc;
int enc_main(const main_data& mn) {
bool failed = false;
if ( mn.help ) {
enc_manager_t enc_mgr;
std::cout << "usage: neos -e <lock_method> <input_bench> <output_bench> [args]\n";
for (auto& p : enc_mgr.encryptor_map) {
std::c... |
/*
* LpdFrameDecoder.cpp
*
* ODIN data frame decoder plugin for LPD detector UDP frame data.
*
* Created on: July 9th, 2018
* Author: <NAME>, STFC Application Engineering Group
*/
#include "LpdFrameDecoder.h"
#include "logging.h"
#include "version.h"
#include "gettime.h"
#include <iostream>
#include <ioma... |
// Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
#include "iss_wrapper.h"
#include <cassert>
#include <cstring>
#include <fcntl.h>
#include <ftw.h>
#include <iomanip>
#include <iostream>
#ifdef __MACH__
#include <libp... |
/**
* \file PercolatorApplication.cpp
* \brief Runs Percolator
*****************************************************************************/
#include "MakePinApplication.h"
#include "PercolatorApplication.h"
#include "PercolatorAdapter.h"
#include "Caller.h"
#include "util/Params.h"
#include <string>
#include <alg... |
#include "OV7670.h"
#include "XClk.h"
#include "Log.h"
OV7670::OV7670(Mode m, const int SIOD, const int SIOC, const int VSYNC, const int HREF, const int XCLK, const int PCLK, const int D0, const int D1, const int D2, const int D3, const int D4, const int D5, const int D6, const int D7)
:i2c(SIOD, SIOC)
{
ClockEnab... |
//===- SampleProfReader.cpp - Read LLVM sample profile data ---------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===------------------------------------------------------... |
// Copyright 2009-2015 Sandia Corporation. Under the terms
// of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S.
// Government retains certain rights in this software.
//
// Copyright (c) 2009-2015, Sandia Corporation
// All rights reserved.
//
// This file is part of the SST software package. For license
... |
/*******************************************************************************
Copyright (C) 2017 Marvell International Ltd.
This software file (the "File") is owned and distributed by Marvell
International Ltd. and/or its affiliates ("Marvell") under the following
alternative licensing terms. Once you have made an... |
/**
* Author: <NAME>, Technische Universität Darmstadt,
* Embedded Systems & Applications Group 2018
* Author: <NAME>, Technische Universität Darmstadt,
* Embedded Systems & Applications Group 2018
* License: Apache 2.0 (see attachached File)
*/
#include "benchmark.h"
#include "p2idatatypes.h"
#include "omp_log... |
#include <algorithm>
#include <cmath>
#include <stddef.h>
#include "base/display.h"
#include "base/logging.h"
#include "math/math_util.h"
#include "gfx_es2/draw_buffer.h"
#include "gfx_es2/draw_text.h"
#include "gfx_es2/glsl_program.h"
#include "gfx_es2/gl_state.h"
#include "gfx/texture_atlas.h"
#include "gfx/gl_debug... |
/*
* Copyright (c) 2004-2006 The Regents of The University of Michigan
* 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
* not... |
/* -------------------------------------------------------------------------
*
* array_typanalyze.c
* Functions for gathering statistics from array columns
*
* Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* ID... |
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <iostream>
#include <map>
#include "main.h"
#include "shader_s.h"
#include "modelclass.h"
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
#include <glm/glm/glm.hpp>
#include <glm/glm/gtc/matrix_transform.hpp>
#include <glm/glm/gtc/type_ptr.hpp>
#define... |
#include "NTradiation.h"
#include "modelParameters.h"
#include "write.h"
#include "messages.h"
#include "globalVariables.h"
#include "adafFunctions.h"
#include "absorption.h"
#include "thermalProcesses.h"
#include "thermalCompton.h"
#include <fmath/RungeKutta.h>
#include <fluminosities/luminositySynchrotron.h>
#inclu... |
#include <rcc/rcc.h>
#include <gpio/gpio.h>
#include <interrupt/interrupt.h>
#include <timer/timer.h>
#include <dma/dma.h>
#include <usb/usb.h>
#include <usb/descriptor.h>
#include "report_desc.h"
#include "usb_strings.h"
#include "configloader.h"
#include "config.h"
#include "inf_defines.h"
#include "remap.h"
#inclu... |
// ROS includes.
#include <ros/ros.h>
#include <ros/time.h>
#include <image_transport/subscriber_filter.h>
#include <sensor_msgs/CameraInfo.h>
#include <image_transport/image_transport.h>
#include <nav_msgs/OccupancyGrid.h>
#include <message_filters/subscriber.h>
#include <message_filters/synchronizer.h>
#include <me... |
//
// Copyright (c) 2021 <NAME> <<EMAIL>>
//
// Permission to use, copy, modify, and distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCL... |
//#include <opencv/highgui.h>
//#include <opencv2/opencv.hpp>
//#include <opencv/cv.h>
//#include <opencv/cxcore.h>
#include <GL/freeglut.h>
#include <GL/glut.h>
#include <GL/glu.h>
#include <iostream>
//-------------------------------------
#include <stdlib.h>
#include <stdio.h>
#include <termios.h>
#include <string.h... |
/*****************************************************************************/
/* XDMF */
/* eXtensible Data Model and Format */
/* */
... |
//
// Created by <NAME> on 18/06/19.
//
#include "STONNEModel.h"
#include <assert.h>
#include <chrono>
#include "types.h"
#include <vector>
#include "Tile.h"
#include "utility.h"
#include "Config.h"
#include <time.h>
#include <math.h>
Stonne::Stonne(Config stonne_cfg) {
this->stonne_cfg=stonne_cfg;
this->ms_s... |
#include <vlog/trigger/tg.h>
#include <kognac/logs.h>
#include <inttypes.h>
#include <unordered_set>
#include <chrono>
TriggerGraph::TriggerGraph() {
freshIndividualCounter = (uint64_t)1 << 32;
}
void computeAllPermutations(std::vector<std::vector<int>> &out,
std::vector<int> &in, int n, int k) {
do ... |
# include "variational_parameters.h"
# include "gtest/gtest.h"
# include <string>
# include <Eigen/Dense>
# include "boost/random.hpp"
# include <stan/math.hpp>
using Eigen::VectorXd;
using Eigen::MatrixXd;
# include "test_eigen.h"
TEST(PosDefMatrixParameter, basic) {
int k = 3;
MatrixXd zero_mat = MatrixXd::Z... |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "media/audio/win/audio_low_latency_output_win.h"
#include <Functiondiscoverykeys_devpkey.h>
#include "base/logging.h"
#include "base/memory... |
//+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 2000
//
// File: digtlsig.cpp
//
//--------------------------------------------------------------------------
#include "precomp.h"
#include <wincrypt.h>
#... |
#include <iostream>
#include <unordered_map>
using namespace std;
unsigned char s[256] =
{
0x63, 0x7C, 0x77, 0x7B, 0xF2, 0x6B, 0x6F, 0xC5, 0x30, 0x01, 0x67, 0x2B, 0xFE, 0xD7, 0xAB, 0x76,
0xCA, 0x82, 0xC9, 0x7D, 0xFA, 0x59, 0x47, 0xF0, 0xAD, 0xD4, 0xA2, 0xAF, 0x9C, 0xA4, 0x72, 0xC0,
0xB7, 0xFD, 0x93, 0x26, 0x36, 0x... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.