text stringlengths 8.71k 38.4k |
|---|
/*
BSD 3-Clause License
Copyright (c) 2020, The Regents of the University of Minnesota
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 ... |
#include <rawkit/rawkit.h>
#include <cglm/vec2.h>
#include "stb_sb.h"
typedef struct boundary_t {
float top;
float bottom;
float left;
float right;
} boundary_t;
typedef struct int_vector_t {
int32_t *vals;
uint32_t maxSize;
uint32_t size;
} int_vector_t;
typedef struct hash_t {
uint32_t size;
int... |
#include "StdAfx.h"
#include "UiWindow.h"
#include "App.h"
#include "UiControlManager.h"
#include "UiCommonUi.h"
#include "UiPlatform.h"
#include "UiIconManager.h"
#include "UiIcon.h"
#include "UiWindowDragDrop.h"
#include "UiWindowSysTray.h"
#include "UiWindowTaskbar.h"
#include "UiThemeImage.h"
#include "UiWindowF... |
#include "InputPar.h"
int InitialErrorCheck (string SaveDir, int NumSim, int NumSimNames){
int ErrorCount = 0;
//file name starts as "SaveDir"
string ErrorFileName(SaveDir);
ErrorFileName.append("InitialErrorFile");
ErrorFileName.append(".txt");
ofstream ErrorFile;
ErrorFile.open (ErrorFileName.c_str(), io... |
//============================================================================
#include "Javelin/Tools/jasm/x64/Register.h"
//============================================================================
namespace Javelin::Assembler::x64::Register
{
//==================================================================... |
/******************************************************************************
*
* EXPRESS RECEIVER by AD5GH
* (http://www.expressreceiver.com)
* ARDUINO MEGA DISPLAY & CONTROL BOARD SOFTWARE
* IF_BOARD ROUTINES
*
* Copyright 2017 <NAME> AD5GH
* Distributed under the terms of the MIT License:
* http://www.opensource.o... |
/***********************************************************************************************************************
* *
* ANTIKERNEL v0.1 ... |
//
// Copyright (c) 2015 – <NAME>, SAS
//
// The source code form of this open source project is subject to the terms of the
// Clear BSD license.
//
// You can redistribute it and/or modify it under the terms of the Clear BSD
// License (See LICENSE file).
//
#include <cstdint>
#include <cstring>
#include <vector>
#... |
int EfOS
,zzvx,
IA,
Ae
,Zp ,
x, Qz//D
,qdq ,DuE
,kHz,efna , m7Vw3hke , df//3
, w,Lp1//AKQj
,
FBZ
, JY,
shQmX, ke4 ,
hK,x6h,P6p,BzP,T ,w1 ,Nl, bI ,faN
,
Ol//hw6
, wKeK ,
yDU,s
, CUn /*GW7c*/,Nm, Bg,//HARF
IA89,
TG, ijCF
,
TY ,
lao/*ok*/,k
,CkU ,bO,
EOmf,U ,fKn/*ki*/ , OLL ;void f_f0
() { vo... |
#include <h2opus/core/hcompress_workspace.h>
#include <h2opus/util/thrust_wrappers.h>
// TODO: deal with unsymmetric case and when the ranks of the row and column basis are not the same
#define H2OPUS_HCOMPRESS_WS_PTR(member) (workspace ? &(workspace->member) : NULL)
/////////////////////////////////////////////////... |
//===----- HexagonMCChecker.cpp - Instruction bundle checking -------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
#include "panic.h"
#include "bitops.h"
////////////////////////////////////////////////////////////////////////
// Utility functions
//
constexpr uint64_t ones = (uint64_t)(-1LL);
constexpr int maxbit = 63;
constexpr int bpq = 64;
// bitRange returns a uint64_t value with nonzero bits from m to n, inclusive.
// Note... |
#include <fstream>
#include <ShlObj.h>
#include "json/json.h"
#include "Config.h"
Config::Config(const std::string& name)
{
char buff[MAX_PATH]{ }; // Default initialization to zeros as the array is placed on stack
if (SUCCEEDED(SHGetFolderPath(NULL, CSIDL_PERSONAL, NULL, 0, buff))) {
path = buff + s... |
/*
* Copyright 2004-2019 Cray Inc.
* Other additional copyright holders may be indicated within.
*
* The entirety of this work is 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
*
*... |
// root_finding_example.cpp
// Copyright <NAME> 2010, 2015
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)
// Example of finding roots using Newton-Raphson, Halley.
// Note ... |
/*
Draw - Renders 2D primitives onto the framebuffer
*/
/* Includes */
#include <stdlib.h>
#include <memory.h>
#include "video.h"
#include "draw.h"
/* Get mask */
int Texture :: get_mask(int s)
{
switch(s)
{
case 8:
return 3;
case 16:
return 4;
case 32:
return 5;
case 64:
return 6;
case 128:
return ... |
/*
* Software License Agreement (BSD License)
* Copyright (c) 2013, Georgia Institute of Technology
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retai... |
///////////////////////////////////////////////////////////////////////////
// Copyright (c) 2013 Academy of Motion Picture Arts and Sciences
// ("A.M.P.A.S."). Portions contributed by others as indicated.
// All rights reserved.
//
// A worldwide, royalty-free, non-exclusive right to copy, modify, create
// derivati... |
#include <iostream>
#include <random>
#include <ctime>
#include <vector>
#include <string>
#include <omp.h>
#include <queue>
//
#include "PPTAI.h"
#include "PuyoConst.h"
#include "GameInfo.h"
#include "Simulator.h"
#include "Detected.h"
#include "Detector.h"
#include "Plan.h"
#include "CrossFunc.h"
#include "PuyoPatter... |
/**
* Herramienta para unir videos correspondientes a camaras que captan
* un campo de futbol generando un video en modo panoramico
*
**/
//includes
#include <iostream>
#include <sstream>
#include <fstream>
#include <string>
#include <cstdlib>
#include <vector>
#include <queue>
#include <opencv2/opencv.hpp>
#in... |
#include "KeymapLayer.hpp"
KeymapLayer::Layout g_eLayout = KeymapLayer::kLayoutQWERTY;
uint8_t count_ones(uint8_t byte) {
static const uint8_t NIBBLE_LOOKUP [16] = {
0, 1, 1, 2, 1, 2, 2, 3,
1, 2, 2, 3, 2, 3, 3, 4
};
return NIBBLE_LOOKUP[byte & 0x0F] + NIBBLE_LOOKUP[byte >> 4];
}
std::string K... |
/*
* Copyright 2019 Xilinx, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
/*
* model.cpp
*
* Created on: Aug 13, 2014
* Author: jagiella
*/
/*
* main.cpp
*
* Created on: 29.04.2014
* Author: jagiella
*/
#include <functional>
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <vector>
#include "hash.hpp"
#inclu... |
/*
* Copyright (c) 2004-2005 <NAME> <<EMAIL>>
* Copyright (c) 2017 <NAME> <<EMAIL>>
*
* "THE BEER-WARE LICENSE" (Revision 42):
* Sergey Lyubka wrote this file. As long as you retain this notice you
* can do whatever you want with this stuff. If we meet some day, and you think
* this stuff is worth it, you can b... |
#include "i8086sim.h"
struct EnhKeyVals {
ushort ScanCode;
byte RegChars[2];
byte ShiftChars[2];
byte CtrlChars[2];
byte AltChars[2];
};
struct NormKeyVals {
byte RegChars[2];
byte ShiftChars[2];
byte CtrlChars[2];
byte AltChars[2];
};
//Table of key values for enhanced keys
const st... |
/**
* File: GameSave.c
* Author: chedr
* Description: GameSave definitions
*/
#include "GameSave.h"
#include <iostream>
#include <string.h>
std::map<int32_t, std::string> GameSave::super_attacks = {
{140, "Acid"},
{20, "Afterimage Strike"},
{115, "Afterimage"},
{310, "A... |
#include "WorldGenerator.h"
EagleBird::WorldGeneration::WorldGenerator::WorldGenerator(const uint32_t x_size, const uint32_t y_size, const uint32_t z_size, const int seed)
{
_size_x = x_size;
_size_y = y_size;
_size_z = z_size;
this->_seed = seed;
}
EagleBird::WorldGeneration::WorldGenerator::~WorldGenerator()
{
... |
// Copyright 2005 Google Inc. All Rights Reserved.
#include <set>
using std::set;
using std::multiset;
#include <vector>
using std::vector;
#include "s2.h"
#include "base/logging.h"
#include "util/math/matrix3x3-inl.h"
#include "s2polyline.h"
#include "util/coding/coder.h"
#include "s2cap.h"
#include "s2cell.h"
#in... |
#include <thread>
#include <cstdlib>
#include <string>
#include <thread>
#include "Version.h"
#include "Util.h"
#include "util/Log.h"
#include "SysHost.h"
#include "memplot/MemPlotter.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wreturn-type"
extern "C" {
#include "bech32/segwit_addr.h"
}
#pr... |
#include <algorithm>
#include <iomanip>
#include "Board.hh"
#include "Action.hh"
#include <cctype>
using namespace std;
Board::Board (istream& is) {
string s, version;
// Game settings.
is >> s >> version;
my_assert(s == "starwar");
my_assert(version == "v1");
is >> s;
my_assert(s == "secgame");
... |
//===- SparseTensorConversion.cpp - Sparse tensor primitives conversion ---===//
//
// 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) 2012 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... |
/******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
... |
#include "halide_benchmark.h"
#include "resnet50block_manual0.h"
#include "resnet50block_manual1.h"
#include "resnet50block_manual2.h"
#include "resnet50block_manual3.h"
#include "resnet50block_manual4.h"
#include "resnet50block_manual5.h"
#include "resnet50block_manual6.h"
#include "resnet50block_manual7.h"
#include ... |
/* Copyright 2017-2018 ccls Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software... |
/*
* rbcar_robot_control
* Copyright (c) 2015, Robotnik Automation, SLL
* 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 copyr... |
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cassert>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/statvfs.h>
#include <string>
#include <sstream>
#include <fstream>
#include <iostream>
#include <mutex>
#include <memory>
#include <thread>
#include <curl/curl.h>
#include <openssl/sha.h... |
#include "StdInc.h"
#include "Hooking.h"
#include <CrossBuildRuntime.h>
#include <mutex>
#include <Error.h>
static std::unordered_map<void*, std::string> g_gamerInfoBuffer;
static std::mutex g_gamerInfoBufferMutex;
int SprintfToBuffer(char* buffer, size_t length, const char* format, const char* name)
{
int rv = _sn... |
int oLeB
, wP ,V7Ns
, Bl, e0l, /*GsUeX*/
lp,x0T7,KKl
,/*1y*/
TpM
, bL,
mRMcuG ,TUQv,LK
, Zp1HV
, f8x ,Z8ou,XFb , C6
,lm,Eq9,ZL,
Xv
, mo ,
EuMInFVm //
,
W5F//JV
,
YPw
,
g, m
,jqj1,C0K4F
, VXe ,EP
,
PSh7E , sG,
Rh8 , qJ /*9*/ , SlPp
, hy//w
; /*z*/void f_f0 ()
{
volatile int X
,Tve
, h8l, a... |
// Layered Languages Lexical Analyzer Test
//
// File: ll_lexeme_basic_test.cc
// Author: <NAME> (<EMAIL>)
// Date: Sun Nov 6 21:03:17 EST 2016
//
// The authors have placed this program in the public
// domain; they make no warranty and accept no liability
// for this program.
// Table of Contents
//
// Usage and Se... |
//! Code counter class methods for the Ruby language.
/*!
* \file CRubyCounter.cpp
*
* This file contains the code counter class methods for the Ruby language.
*/
#include "CRubyCounter.h"
/*!
* Constructs a CRubyCounter object.
*/
CRubyCounter::CRubyCounter()
{
classtype = RUBY;
language_name = "Rub... |
// SPDX-License-Identifier: Apache-2.0
// ----------------------------------------------------------------------------
// Copyright 2011-2020 Arm Limited
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy
// of ... |
/*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2006 <NAME> http://continuousphysics.com/Bullet/
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 ... |
#include "light_interactor.h"
#include <cgv/utils/convert.h>
#include <cgv/signal/rebind.h>
#include <cgv/math/ftransform.h>
#include <cgv/gui/file_dialog.h>
#include <cgv/gui/key_event.h>
#include <cgv/gui/trigger.h>
#include <cgv_gl/gl/gl.h>
#include <cgv/render/context.h>
#include <cgv/render/shader_program.h... |
#include <sstream>
#include <fstream>
#include <random>
#include <math.h>
#include <stack>
#include <unordered_map>
#include <unordered_set>
#include <set>
#include "CGfx.h"
#include "CGame.h"
#include "CEnemy.h"
#include "CGameGraphics.h"
CGame* CGame::mSingInst = 0;
CGame::CGame(int map, bool save = false):
mQuit(f... |
/* Copyright 2020 Stanford
*
* 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 wri... |
/** @file SimpleLikelihood.cxx
@brief Implementation of class SimpleLikelihood
$Header: /nfs/slac/g/glast/ground/cvs/ScienceTools-scons/pointlike/src/SimpleLikelihood.cxx,v 1.59 2009/04/13 22:56:01 burnett Exp $
*/
#include "pointlike/SimpleLikelihood.h"
#include "skymaps/DiffuseFunction.h"
#include "astro/SkyDir.h"
... |
/*
GadgetWeapon.cpp
Base class for any type of weapon that shoots a projectile
(c)2000 Palestar, <NAME>
*/
#include "Debug/Assert.h"
#include "System/Messages.h"
#include "Constants.h"
#include "NounProjectile.h"
#include "NounSmartProjectile.h"
#include "NounStructure.h"
#include "NounJumpGate.h"
#include "Gadge... |
/*
* Copyright (c) 2008 <NAME> <rusu -=- cs.tum.edu>
*
* 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... |
//
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Copyright (c) 2017-2020 Project PAI Foundation
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
//
#include "tx_verify.h"
#include "consensus.h"
#include "pubkey.h"
#... |
// Copyright (c) 2007-2009 Google Inc.
// Copyright (c) 2006-2007 Jaiku Ltd.
// Copyright (c) 2002-2006 <NAME> and <NAME>
//
// This software is licensed at your choice under either 1 or 2 below.
//
// 1. MIT License
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software ... |
/*
* This file is part of KONNEKTING Knx Device Library.
*
* It is derived from another GPLv3 licensed project:
* The Arduino Knx Bus Device library allows to turn Arduino into "self-made" KNX bus device.
* Copyright (C) 2014 2015 <NAME> (<EMAIL>)
*
* The KONNEKTING Knx Device Library is free... |
/*
Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
NVIDIA CORPORATION and its licensors retain all intellectual property
and proprietary rights in and to this software, related documentation
and any modifications thereto. Any use, reproduction, disclosure or
distribution of this software and related docum... |
// license:BSD-3-Clause
// copyright-holders:<NAME>
/*
Laser Battle / Lazarian (c) 1981 Zaccaria
Cat and Mouse (c) 1982 Zaccaria
video emulation by <NAME>
This is an absolutely insane arrangement of three Signetics S2623
PVIs and custom TTL logic. The PVIs can each render up to four
... |
/*
* Copyright (C) 2015 <NAME>
*/
#include <gperftools/profiler.h>
#include <algorithm>
#include <fstream>
#include <limits>
#include <map>
#include <random>
#include <set>
#include <string>
#include <utility>
#include <vector>
#include "include/util.h"
#include "include/ContextInfo.h"
#include "include/Constraint... |
/*-------------------------------------------------------------------------
*
* ginfast.c
* Fast insert routines for the Postgres inverted index access method.
* Pending entries are stored in linear list of pages. Later on
* (typically during VACUUM), ginInsertCleanup() will be invoked to
* transfer pend... |
// Constant-time lookup of which triangle contains a query point.
//
// Bucketing algorithm. C++ translation of [Edahiro84]'s FORTRAN code.
// Names of identifiers are generally identical to the original FORTRAN.
//
// Vertices are numbered 1 to nv.
// Edges are numbered 1 to ne.
// Regions are numbered 1 to nr, and 0... |
int YhfI
,E3N
,
W9, PX6 ,
FPYl,zyq7 ,GV, tOxGL,B, xKYL
,
j9t,gPpG
,
//
PI ,m , X/*V62*/
,
Cg6, RFuH
, WLr
, u
,
EgVi
, HOidgr
, yZ,
Hk2
,LMxzvd9, lNwl, o2HQ , L69S01, ApCi, Mir/**/
, ToU ,RW0,TK2 ,pcHK ,Q/*8VC*/
,vX//wQaig
,XDo ,xAF
,EtO/*cS3*/,J3;void f_f0
(){volatile int wbOVZ , MLl,//2
... |
// Copyright 2016-2018 SICK AG. All rights reserved.
#include "Consumer.h"
#include "GenIRanger.h"
#include "SampleUtils.h"
#include <conio.h>
#include <ctime>
#include <direct.h>
#include <fstream>
#include <set>
#include <string>
#include <sys/stat.h>
#include <sys/types.h>
// Global variables
std::string gSavePat... |
int TPaiR,X, Ap ,
Nge , t8X , uiK ,
x4f , Nb , b9Jm,lRkOZ ,
w7R/*m0G*/,
jBEIp,bVW ,BJ8
, yem/*bPB*/,Jl /*2U*/, J,T1 ,
hd,
ATUS /*t*/
,jJ,//Dx
gTW , //
Wq50 , yqb , x1ru, Vc ,nN,FEI/*q*/,
mpC /*cR*/,Cqjf
,
Vf ,upfel , Tk, OiU,ga5SL ,//23Xf
aAoq,
eEN /*u*/,SFhcb/*G7*/, nG8mhU8,
OqHo, rB ,q4mbtR,A//U
,... |
//----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2020, <NAME>
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following c... |
// load_logisim.cpp - <NAME> - BSD-3-Clause (see LICENSE)
//
// Load circuit from a LogiSim circuit file
// This is not intended to be a fully compatible with all the features of Logisim.
// We're basically using Logisim as an easy way to construct our circuits.
// Current restrictions / not supported features:
// ... |
/*
Tracker based on Kernelized Correlation Filter (KCF) [1] and Circulant Structure with Kernels (CSK) [2].
CSK is implemented by using raw gray level features, since it is a single-channel filter.
KCF is implemented by using HOG features (the default), since it extends CSK to multiple channels.
[1] <NAME>, <NAME>, <... |
// pbrt is Copyright(c) 1998-2020 <NAME>, <NAME>, and <NAME>.
// The pbrt source code is licensed under the Apache License, Version 2.0.
// SPDX: Apache-2.0
#include <gtest/gtest.h>
#include <pbrt/pbrt.h>
#include <pbrt/shapes.h>
#include <pbrt/util/rng.h>
#include <pbrt/util/sampling.h>
#include <pbrt/util/transfor... |
#include "Hooks.h"
//////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////
//
// Global variables
//
//////////////////////////////////////////////////////////////////////////////////
/////////////////////////... |
/*
MIT License
Copyright (c) 2017 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish,... |
#include "mp2.hpp"
#include "logger.hpp"
#include "eigen_wrapper.hpp"
#include "molecule.hpp"
#include "integrals.hpp"
#include "error.hpp"
#include <iostream>
#include <thread>
#include "ProgramController.hpp"
#include <libint2.hpp>
// Constructor
MP2::MP2(Fock& _focker) : spinBasis(false), focker(_focker)
{
N = fo... |
/* Copyright (c) 2015, 2020, Oracle and/or its affiliates.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2.0,
as published by the Free Software Foundation.
This program is also distributed with certain software (including... |
/*
* Copyright (c) 2014-2020, the neonavigation authors
* 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... |
/* -------------------------------------------------------------------------
*
* receivelog.c - receive transaction log files using the streaming
* replication protocol.
*
* Author: <NAME> <<EMAIL>>
*
* Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group
*
* IDENTIFICATION
*... |
#include <new>
#include <stdio.h>
#include <Message.h>
#include <MessageQueue.h>
#include "ClientLooper.h"
#include "Desktop.h"
#include "DrawingEngine.h"
#include "WindowLayer.h"
// if the background clearing is delayed until
// the client draws the view, we have less flickering
// when contents have to be redraw... |
#include "ros/ros.h"
#include "actionlib/server/simple_action_server.h"
#include "actionlib/client/simple_action_client.h"
#include <atomic>
#include <ros/console.h>
#include <mutex>
#include <cmath>
#include <thread>
#include <vector>
#include <functional>
#include <map>
#include <string>
#include <algorithm>
#include... |
#include "draw_shp_elements.h"
#include "get_shp_elements.h"
#include "cross_point_feature_creator.h"
#include <iostream>
#include <fstream>
#include <sstream>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
/************************************************************
* ... |
/***********************************************************************
* Copyright (C) 2016 and later: Unicode, Inc. and others.
* License & terms of use: http://www.unicode.org/copyright.html#License
*
***********************************************************************
**************************************... |
/*
Copyright (C) 1996-1997 Id Software, Inc.
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 2
of the License, or (at your option) any later version.
This program is distributed in th... |
// -------------------------------------------
// gMini : a minimal OpenGL/GLUT application
// for 3D graphics.
// Copyright (C) 2006-2008 <NAME>
// All rights reserved.
// -------------------------------------------
// -------------------------------------------
// Disclaimer: this code is dirty in the
// meaning tha... |
/******************************************************************/
/* 09/17/2015 Manually modified by <NAME> (<EMAIL>) */
/* A manual implementation for the shiftCalculus DSL */
/* Have separate functions for MPI Master and members */
/* Overall data is allocated only at master ... |
/*
The MIT License (MIT)
Copyright (c) 2014
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, dist... |
// 981208 bkoz test functionality of basic_stringbuf for char_type == char
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of th... |
// Copyright (c) 2009-2010 <NAME>
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2016-2019 The PIVX developers
// Copyright (c) 2020 The BTCU developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#includ... |
#include "stdhdr.h"
#include "digi.h"
#include "simveh.h"
#include "object.h"
#include "PilotInputs.h"
#include "airframe.h"
#include "aircrft.h"
#include "guns.h"
#include "simdrive.h"
#include "sms.h"
#include "guns.h"
#include "classtbl.h"
#include "MsgInc/WeaponFireMsg.h"
#include "radar.h" // 2002-02-10 S.G.
/* S.... |
#include "index_handler.h"
int getLen(key_ptr key, VarType _type, int size=0){
switch (_type){
case FLOAT: return sizeof(double);
case INT: return sizeof(int);
case VARCHAR: return ((size==0) ? 256 : strlen(key) ) *sizeof(char);
default: return 0;
}
}
int compare(VarType _type, ... |
/*
* matiec - a compiler for the programming languages defined in IEC 61131-3
*
* Copyright (C) 2009-2012 <NAME> (<EMAIL>)
* Copyright (C) 2012 <NAME> (<EMAIL>)
*
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publi... |
#include "tracker.hpp"
tracker::tracker()
{
}
void tracker::darknetCallBck(const darknet_ros_msgs::BoundingBoxes::ConstPtr& msg)
{
coordinate temp;
coordinate temp1;
temp.x = msg->bounding_boxes[0].xmin;
temp.y = msg->bounding_boxes[0].ymin;
temp1.x = msg->bounding_boxes[0].xmax;
... |
// Main function and first file of tc
#include"Channel_crawler.h"
#define FILENAME_LEN 1024
#define DB_NAME "./tvshow.db"
#define DB_CREATION_COMMAND "sqlite3 tvshow.db < tvshow-db.sql"
using namespace std;
const string url_prefix = "http://tv.burrp.com";
int _g_db_ref_count = 0;
sqlite3 *_g_handle = NULL;
C... |
#include <iostream>
#include <thread>
#include <vector>
#include <stdlib.h>
#include <math.h>
#include <inn/neuralnet.h>
#include <inn/error.h>
#include <sys/time.h>
#include <bitset>
#include "lodepng.h"
typedef std::tuple<double, double, double> ColorDefinition;
typedef std::tuple<unsigned char, unsigned char, unsig... |
int XxQy,/**/tn/*d*/,XVb , Md9T ,//
auvU ,/*O*/h18YM2,b8 ,
h,A9r
,DubF
,
J, Nygp
, jLbiH ,D0 , jH//bo
,j3D , DW5 ,sh ,XE ,//fhg
o, Hy,//H0
m7gR
, SL5P, vaSa3 ,XN219h ,R3l
,
p6 ,
wppCd //bxB
,HqQ , StVE,NY
,uG
, lk7
, kSKJ ,
MO ,
tGe
,CmA
,
lKf,qs ,kDq,q11, //4mTP
Y7B , w4,Sr;void
//K
f_f0() ... |
#define _USE_MATH_DEFINES
// OpenCV libraries
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/calib3d/calib3d.hpp"
#include "opencv2/core.hpp"
#include "opencv2/shape.hpp"
#include <opencv2/aruco.hpp>
// Std libraries
#include <iostream>
#include <fstream>
#include <string>
#include <cstdlib>
#include <stdio.... |
/***************************************************************************
* Software License Agreement (BSD License) *
* Copyright (C) 2015 by <NAME> <<EMAIL>> *
* *
* Redistribution and use in source and... |
#include "Application.h"
#include "ModuleSceneLoader.h"
#include "ModuleRenderer3D.h"
#include "ModuleScene.h"
#include "ModuleCamera3D.h"
#include "ModuleTextures.h"
#include "ModuleMeshes.h"
#include "ModuleAnimations.h"
#include "GameObject.h"
#include "ModuleFileSystem.h"
#include "ModuleResource.h"
#include "Comp... |
#include "GameLevel.h"
#include <Game/Interaction/InteractionContext.h>
#include <Frame/RenderableAttribute.h>
#include <Frame/LightAttribute.h>
#include <Frame/AmbientLightAttribute.h>
#include <Scene/SceneNode.h>
#include <Scene/NodeAttribute.h>
#include <Physics/PhysicsLevel.h>
#include <Physics/PhysicsObject.h>
#in... |
#include <iostream>
#include <uv_plat.h>
#include "endian.h"
#include <zlib.h>
#include "pack.h"
#include "text_map.h"
#include "mobile_phones.h"
#include <pkzip.h>
#include "platform/std_task_scheduler.h"
#include "general.h"
#include "lookup_field.h"
using namespace std;
namespace ai
{
void run_on_main_thread(fun... |
// vim:sw=4 ts=4:
#include <typeinfo>
#include <cassert>
#include <sstream>
#include <iostream>
#include <boost/foreach.hpp>
#include "RsType.h"
#include "CppRuntimeSystem.h"
RsType& RsType::UnknownType = *(new RsCompoundType( "Unknown", 0 ));
const RsType*
RsType::getSubtypeRecursive(size_t offset, size_t size, ... |
#include "gpu-mc.hpp"
// Define some globals
GLuint VBO_ID = 0;
Program program;
CommandQueue queue;
Context context;
bool writingTo3DTextures;
bool extractSurfaceOnEveryFrame;
bool extractSurface;
int SIZE;
int isolevel = 51;
int windowWidth, windowHeight;
Image3D rawData;
Image3D cubeIndexesImage;
Buffer cubeIndex... |
//===--- CGCilk.cpp - Emit LLVM Code for Cilk expressions -----------------===//
//
// 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
//
//===---------------------------... |
/*
* FILE: sha2.c
* AUTHOR: <NAME> - http://www.aarongifford.com/
*
* Copyright (c) 2000-2001, <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source cod... |
// DEPRECATED, BE SANE, USE ASSIMP OR SOMETHING
#pragma once
#include "proto/core/platform/common.hh"
#include "proto/core/common.hh"
#include "proto/core/util/algo.hh"
#include "proto/core/util/StringView.hh"
#include "proto/core/debug/logging.hh"
#include "proto/core/debug/markers.hh"
#include "proto/core/gra... |
int Qx
,
LF,kE
, qH//Na
,
J4k , q4kbU , M
,
hHE, Cyvsb2 , wp
,/**/Uc4O ,Q
,
DIySB, lO, hAA,Vy9Xo, E8ICV
,HU6, GQ, Owg,zC,U/**/ ,p9, qnG,t,iW,CTi, M0hH
, ZoY/*HK*/ //mk
,
m6Kd ,
//M
C3 ,//w
WV,
Iba1p , r4MK ,//cB
Ck,
xC
,Zm,L9,
B
,sg ;void f_f0
()
{
//36
{ {{return//
;
}
for //mWA
(int
i=1
;i<
1... |
/*
* Written by <NAME> (2019) <EMAIL> under MIT license.
*/
#include "RigSoftware.h"
#include <Arduino.h>
/*
* Function to loop through computer -> Arduino serial connection
*
* The function appends serial input to a buffer until a newline
* character is met, which causes the newCmd flag to be set a... |
//
// Created by Axel on 2018-11-21.
//
#include <iostream>
#include <cmath>
#include "Agent.h"
#include "Config.h"
#include "utils.cpp"
#include "World.h"
#include "Mushroom.h"
#include "MarkovNames.h"
#include "Skull.h"
#define PI 3.14159265f
bool Agent::loaded = false;
sf::Texture Agent::walkingTexture;
sf::Text... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.