text stringlengths 5.71k 33.7k |
|---|
//Copyright: <NAME>, <NAME>
#include "PBAS.h"
int pbasCounter = 0;
PBAS::PBAS(void) : N(35), R(18), parts(2), nrSubsampling(18), foreground(255), background(0)
{
++pbasCounter;
//initialize background-model depending parameters
//r-Thresh
rThreshScale = 5.0;
rIncDecFac = 0.05;
//T-thresh
increas... |
/*
* LSGL - Large Scale Graphics Library
*
* Copyright (c) 2013 - 2015 Advanced Institute for Computational Science,
*RIKEN.
* All rights reserved.
*
* Copy from LSGL library. Depencence for SparseVolumeData
*/
#include <cstdio>
#include <cstdlib>
#include <cfloat>
#include <cstring>
#include <cassert>
#includ... |
#include "opencv_tutorial/kobot.h"
cv::VideoCapture capture;
cv::Mat frame;
pthread_mutex_t frameLocker;
pthread_t UpdThread;
cv::Mat Binaryframe, small_Binaryframe;
//신호등은 미션 당 한 번 등장하므로 algorithm_flag를 두어 한 번만 실행하게 한다.
bool algorithm_flag = false;
bool green_flag = false, red_flag = false, yellow_flag = false;
/... |
#include "PlanarSupportPoseGenerator.hpp"
#include <rw/geometry/QHull3D.hpp>
//#include <rw/geometry/IncrementalHull.hpp>
#include <rw/common/Timer.hpp>
#include <rw/core/Ptr.hpp>
#include <rw/geometry/Geometry.hpp>
#include <rw/geometry/GeometryUtil.hpp>
#include <rw/geometry/IndexedTriMesh.hpp>
#include <rw/geometry... |
/*
FILE: hal.cpp
Created on: April 24th, 2020, by <NAME>
Hardware Abstraction Layer(HAL) source file for STM32L476
*/
#include "includes.h"
static volatile uint32_t masterCount;
static volatile uint32_t usCounter;
System* p_SysPtr;
bool m_ToggleState;
//--------------------------------------------------------... |
#include <pci.h>
#include <cpu.h>
#include <stdio.h>
#include <cpu.h>
#include <memory.h>
pci_device** pci_devices = 0;
uint32_t devs = 0;
pci_device** pci_getdevices() {
return pci_devices;
}
size_t pci_numdevices() {
return devs;
}
void add_pci_device(pci_device* device) {
pci_devices[devs] = device;... |
// Copyright (c) 2021, Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause
#include "drawable.hpp"
#include "material.hpp"
#include "shader.hpp"
#include "shaderDescription.hpp"
#include "shaderModule.hpp"
#include "system/os_common.h"
#include "mesh/instanceGenerator.hpp"
#i... |
// Copyright (c) 2010, <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 DISCLAI... |
/*
Copyright 1999, Be Incorporated. All Rights Reserved.
This file may be used under the terms of the Be Sample Code License.
*/
#include <stdio.h>
#include <Alert.h>
#include <Autolock.h>
#include <PrintJob.h>
#include <Region.h>
#include <ScrollBar.h>
#include <StopWatch.h>
#include <StringView.h>
#include <Mess... |
#include "octree.h"
#include "FileIO.h"
#include "SharedMemory.h"
#include "BonsaiSharedData.h"
#ifndef WIN32
#include <sys/time.h>
#endif
#include "IDType.h"
#ifdef USE_MPI
#include "BonsaiIO.h"
#endif
/*********************************/
/*********************************/
/****************************... |
#include "master_vu.h"
void MasterVU::_mouse_button_event(GdkEventButton *event, bool p_press) {
if (event->button == 1) {
if (p_press && event->x >= grabber_x && event->x < grabber_x + grabber_w && event->y >= grabber_y && event->y < grabber_y + grabber_h) {
grabbing_x = event->x;
grabbing_db = song->get_ma... |
/* Copyright (C) 1995-1998 <NAME> (<EMAIL>)
* All rights reserved.
*
* This package is an SSL implementation written
* by <NAME>ung (<EMAIL>).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commercial use as long as
* the following condition... |
// Generated from /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar
#pragma once
#include <atomic>
#include <fwd-POI.hpp>
#include <java/io/fwd-POI.hpp>
#include <java/lang/fwd-POI.hpp>
#include <java/math/fwd-POI.hpp>
#include <java/util/fwd-POI.hpp>
#include <java/lang/Number.hpp>
#inc... |
#include "../Config.h"
#include "../Interfaces.h"
#include "../Memory.h"
#include "../SDK/Entity.h"
#include "../SDK/GlobalVars.h"
#include "../SDK/UserCmd.h"
#include "../SDK/WeaponData.h"
#include "../SDK/WeaponId.h"
#include "Triggerbot.h"
using namespace std;
class msvkjvp {
public:
double vhvksawtu;
doub... |
/* -*- Mode:C++; c-basic-offset:8; tab-width:8; indent-tabs-mode:t -*- */
/*
* Copyright (C) 1997 by the University of Southern California
* $Id: sessionhelper.cc,v 1.22 2005/09/18 23:33:31 tomh Exp $
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General ... |
#include <signal.h>
#include <pthread.h>
#include <sys/ipc.h>
#include <sys/msg.h>
#include <termios.h>
#include <sys/time.h>
#include <errno.h>
#include <syslog.h>
#include <iostream>
#include <fstream>
extern "C" {
#include "util.h"
#include "display-kms.h"
#include "v4l2.h"
#include "vpe-common.h"
... |
#include <cstring>
#include<string>
#include<vector>
#include<map>
#include<iostream>
#include<fstream>
#include<algorithm>
#include "functions.h"
#include "classes.h"
#include "board_class.h"
board::board() = default;
board::board(bool default_board) {
if (default_board == true) {
load_game(true);
} e... |
// New UW Mahony AHRS for the LSM9DS1 <NAME> 3/2021
// Requires the Sparkfun LSM9DS1 library
// Standard sensor orientation X North (yaw=0), Y West, Z up
// NOTE: Sensor X axis is remapped to the opposite direction of the "X arrow" on the Adafruit sensor breakout!
// New Mahony filter error scheme uses Up (accel Z ax... |
#include "hoibc_math_plane.hpp"
#include "hoibc_types.hpp"
#include "hoibc_constants.hpp"
#include "hoibc_math.hpp" // matmul, inv, big_init, overloaded *+-/
#include <iostream>
#include <numeric> // std::accumulate
#include <cmath> // pow, sqrt, imag, real, abs
#include <limits> // epsilon
using namespace hoibc;
usin... |
/*
* Copyright (c) 2018-2021 <NAME>, <NAME>,
* <NAME>, and <NAME>
* All rights reserved.
*
* FastReso is distributed under MIT license;
* see the LICENSE file that should be present in the root
* of the source distribution, or alternately available at:
* https://github.com/amazeliauskas/Fast... |
#include <kos.h>
#include <arch/cache.h>
#include <stdlib.h>
#include <dc/sound/snd_driver.h>
#include <dc/sound/snd_stream2.h>
#include "types.h"
#include "mainloop.h"
#include "console.h"
#include "input.h"
#include "snes.h"
#include "memsurface.h"
//#include "nespal.h"
//#include "nesspumix.h"
#includ... |
#include "NOKIA_5110.h"
#define MAX_EFFECTS 5
#define MAX_MODIFICATION 50
// Current active effect
int effect_state = 0;
int effect_parameter_count = 4;
int active_parameter_select = 0;
extern float modified;
float in_sample = 0;
#include "mbed.h"
#include "effects.h"
#include <math.h>
#include "stm32f3xx_hal.h"
... |
// win32_gridWindow.cpp
//
// EvoWindows
#include "stdafx.h"
#include "Resource.h"
#include "config.h"
#include "BoolOp.h"
#include "PixelTypes.h"
#include "GridDimensions.h"
#include "gridSelection.h"
#include "gridPOI.h"
#include "gridPoint24.h"
#include "EvolutionCore.h"
#include "win32_util.h"
#include "win32_clut... |
/****************************************************************************
*
* (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
*
***************************************... |
/**************************************************************************\
*
* This file is part of the Coin 3D visualization library.
* Copyright (C) by <NAME> & Gas Technologies.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License... |
/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... |
/* Copyright (c) 2018 <NAME>. All Rights Reserved.
*
* You may use, distribute and modify the code in this file under the terms of the MIT Open Source license, however
* if this file is included as part of a larger project, the project as a whole may be distributed under a different
* license.
*
* MIT license:
*... |
//===--- CrossModuleOptimization.cpp - perform cross-module-optimization --===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2019 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... |
/*
*
* Copyright 2015 gRPC 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 agree... |
// Chemfiles, a modern library for chemistry file reading and writing
// Copyright (C) <NAME> and contributors -- BSD license
#include <cassert>
#include <cstdint>
#include <map>
#include <array>
#include <string>
#include <vector>
#include <exception>
#include <unordered_map>
#include <fmt/format.h>
#include "chem... |
/**
\file ecc-pk-crypto.cpp
\author <EMAIL>
\copyright ABY - A Framework for Efficient Mixed-protocol Secure Two-party Computation
Copyright (C) 2015 Engineering Cryptographic Protocols Group, TU Darmstadt
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU ... |
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... |
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <iostream>
using namespace std;
#include "Expr.h"
#include "Stmt.h"
Expr::Expr(ExprType exprType, const SourcePos &sourcePos)
: exprType(exprType), sourcePos(sourcePos) {
}
Expr::Expr(ExprType exprType, const shared_ptr<BSVType> &bsvtype... |
/*************************************************************************/
/* matrix3.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
#include "CPackage.h"
#include "DependencyListBuilders.h"
#include "CGameProject.h"
#include "Core/CompressionUtil.h"
#include "Core/Resource/Cooker/CWorldCooker.h"
#include <Common/Macros.h>
#include <Common/FileIO.h>
#include <Common/FileUtil.h>
#include <Common/Serialization/XML.h>
using namespace tinyxml2;
bool C... |
//===- llvm/CodeGen/DwarfExpression.cpp - Dwarf Debug Framework -----------===//
//
// 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 2019 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable ... |
//
// ReedSolomon16.cpp
// RSExp
//
// Created by <NAME> on 10/11/15.
// Copyright (c) 2015 <NAME>. All rights reserved.
//
#include "ReedSolomon16.h"
#include "galois_cpp.h"
ReedSolomon16::ReedSolomon16(int n_init, int k_init) {
//s = 16
n = n_init;
k = k_init;
s = 16;
w = s;
// Note... |
//
// World.cpp
// Tutorials
//
// Created by SatyaGowthamKudupudi on 08/01/17.
//
//
// Include GLEW
#ifndef __glew_h__
#include <GL/glew.h>
#endif
#include "world.hpp"
#include "common/controls.hpp"
#include <vector>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glfw3.h>
#include <stdio.... |
/* Copyright 2015-2018 <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
*
* THE SOFTWARE IS PROVIDED "AS IS", WITH... |
/*************************************************************************/
/* cp_loader_mod.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
#include "rebuild_topology.h"
#include "vector.h"
#include <map>
#include <cstring>
#include <vector>
#include <cassert>
// https://github.com/mitsuba-renderer/mitsuba/blob/master/src/librender/trimesh.cpp#L468
// TODO: this can be parallelize by sorting & segmented reduction
struct VertexUV {
Vector... |
#include <tuple>
#include <vector>
// For External Library
#include <torch/torch.h>
// For Original Header
#include "detector.hpp"
// ------------------------------------
// class{YOLODetector} -> constructor
// ------------------------------------
YOLODetector::YOLODetector(const std::vector<std::vector<std::tuple<f... |
#include "arm.h"
#include <GLFW/glfw3.h>
#include <light_array.h>
#include <stdio.h>
#include <math.h>
#include "../vendor/imgui.h"
#include "../render/graphics.h"
#include "../render/obj.h"
#include "../physics/gjk.h"
#include "../physics/epa.h"
#include "../physics/clipping.h"
#include "../physics/pbd.h"
#include "..... |
/*
Open Asset Import Library (assimp)
----------------------------------------------------------------------
Copyright (c) 2006-2018, assimp team
All rights reserved.
Redistribution and use of this software in source and binary forms,
with or without modification, are permitted provided that the
following condition... |
#include "j1Player.h"
#include "j1Render.h"
#include "j1Input.h"
#include "j1Scene.h"
#include "j1Collisions.h"
#include "j1Map.h"
#include "Animation.h"
#include "j1Textures.h"
#include "j1Pathfinding.h"
#include "j1Timer.h"
#include "j1Particles.h"
#include "j1Fade.h"
#include "j1Player.h"
#include "j1EntityManager.h... |
//
// Created by firat on 25.01.20.
//
#include <algorithm>
#include "car/bldc/utils.h"
using namespace car::bldc;
uint16_t SerialHelper::plot_counter = 0;
float DerivateFilter::s = 0;
float DerivateFilter::s_dot = 0;
uint32_t Diagnostics::motor1FluxAnlge = 0;
uint32_t Diagnostics::motor2FluxAnlge = 0;
uint32_t Dia... |
/******************************************************************************
** Copyright (C) 2000 by CEA
*******************************************************************************
**
** UNIT
**
** Version: 1.0
**
** Author: <NAME>
**
** Date: 03/02/00
**
** File: cb_mca.c... |
/******************************************************************************
** Copyright (C) 2000 by CEA
*******************************************************************************
**
** UNIT
**
** Version: 1.0
**
** Author: Philippe
**
** Date: 03/02/00
**
** File: ridgel... |
#include "glnext.hpp"
Framebuffer * new_framebuffer(Instance * self, PyObject * vargs, PyObject * kwargs) {
static char * keywords[] = {
"size",
"format",
"samples",
"levels",
"layers",
"depth",
"compute",
"mode",
"memory",
NULL
};... |
/* -------------------------------------------------------------------------
*
* logicalfuncs.cpp
*
* Support functions for using logical decoding and management of
* logical replication slots via SQL.
*
*
* Portions Copyright (c) 2020 Huawei Technologies Co.,Ltd.
* Copyright (c) 2012-2014, PostgreSQL Global... |
#include <vif.hpp>
using namespace vif;
using namespace vif::astro;
const std::string egg_share_dir = file::directorize(EGG_SHARE_DIR);
void print_help();
// SkyMaker pixel type (see PIXTYPE in skymaker/src/fits/fitscat.h)
using SkyPixType = float;
int vif_main(int argc, char* argv[]) {
if (argc < 2) {
... |
/*
<NAME>
Cisco Systems, Inc.
*/
/*
Copyright (c) 2016-2017 Cisco Systems, 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 r... |
//===- DropUnitDims.cpp - Pass to drop use of unit-extent for broadcasting ===//
//
// 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 "opencv2/imgcodecs.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/photo/photo.hpp"
#include <time.h>
#include <iostream>
#include<string.h>
#include "roomba.h"
#include <unistd.h>
#include "stdio.h"
#include <iostream>
#include <fstream>
using namespace ... |
#include "wm/sub-window.h"
#include "gui/so-handle.h"
#include "gui/so-handoff-lib.h"
#include "wm/cross-process-transfer.h"
#include "parser/ast-context.h"
#include <iostream>
#include <stdlib.h>
ADD_TRANSFER_TYPE(SubWindow, 3);
void DrawDecorations(gui::DrawCtx& cr, gui::Rectangle pos) {
cr.set_source_rgb(1.0, 1... |
//
// Created by house on 5/23/17.
//
#include <cstdio>
#include <iostream>
#include <cstring>
#include <algorithm>
#include <cmath>
#include <stdlib.h>
#include <ctime>
#include <vector>
#include <set>
#include <map>
using namespace std;
#define D_NUM 5
#define DEFAULT_PAA_DIMENSION 10
#define PAA_BUCKET 10
#defin... |
/* Copyright 2019-2020 Canaan 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 t... |
//
// Copyright (c) 2012-2016 <NAME> (krzysztof at jusiak dot net)
//
// Distributed under 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)
//
#include <boost/di.hpp>
namespace di = boost::di;
// clang-format off
struct X00 { BOOST_DI_... |
/*
* Copyright(c) Sophist Solutions, Inc. 1990-2021. All rights reserved
*
* Copyright (C) 1990, RSA Data Security, Inc. All rights reserved
*/
#include "../../../StroikaPreComp.h"
#include "../../../Memory/BLOB.h"
#include "../../../Traversal/Iterator.h"
#include "MD5.h"
using std::byte;
using namespace Stroi... |
#include <eeros/hal/JsonParser.hpp>
#include <eeros/core/Fault.hpp>
#include <regex>
#include <cmath>
#include <limits>
#include <dlfcn.h>
#include <eeros/hal/Output.hpp>
#include <eeros/hal/Input.hpp>
#include <eeros/hal/ScalableInput.hpp>
#include <eeros/hal/ScalableOutput.hpp>
#include <eeros/hal/HAL.hpp>
#include <... |
#include <deque>
#include <mutex>
#include <WS2tcpip.h>
#include <map>
#include <list>
#include <condition_variable>
#include <set>
#include <vector>
#include "Debug.h"
#include "Macro.h"
#include "Define.h"
#include "Packet.h"
#include "TCPServer.h"
cTCPSClient* cTCPServer::addNewClient()
{
//정원초과
if (m_iConnectedS... |
#include <memory>
#include "ZipArchiveEntry.h"
#include "ZipArchive.h"
#include "methods/ZipMethodResolver.h"
#include "streams/zip_cryptostream.h"
#include "streams/compression_encoder_stream.h"
#include "streams/compression_decoder_stream.h"
#include "streams/nullstream.h"
#include "utils/stream_utils.h"
#include... |
//
// Copyright (c) 2012-2016 <NAME> (krzysztof at jusiak dot net)
//
// Distributed under 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)
//
#include <fruit/fruit.h>
// clang-format off
struct X00 { INJECT(X00()) { } };
struct X01 { I... |
/***************************************** TRICK HEADER ********************************************
@copyright Copyright 2019 United States Government as represented by the Administrator of the
National Aeronautics and Space Administration. All Rights Reserved.
LIBRARY DEPENDENCY:
((math/UnitConversio... |
#include "protoVif.h"
#include "protoNet.h"
#include "protoDebug.h"
#include "windows.h"
#include "common.h" // ljt why isn't it finding this in the
#include <Iphlpapi.h>
#include <stdio.h>
#include <winioctl.h>
// Where did these defines go?? Is this the right location? ljt
/* =======================================... |
/*=========================================================================
Library: TubeTK
Copyright Kitware Inc.
All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http... |
/*
* Copyright (C) 2016 <NAME>
*
* Permission to use, copy, modify, and/or 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 DISCLAIMS AL... |
/*
-- MAGMA (version 1.6.1) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date January 2015
@precisions normal z -> s d c
*/
/* Includes, system */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include... |
// Full-screen quad example using the "Compact YCoCg Frame Buffer" technique.
#include <thread>
#include "lightsky/math/vec_utils.h"
#include "lightsky/math/mat_utils.h"
#include "lightsky/utils/Log.h"
#include "lightsky/utils/StringUtils.h"
#include "lightsky/utils/Time.hpp"
#include "lightsky/utils/Tuple.h"
#inc... |
#include "dmadriver.h"
#include <iostream>
#include <fstream>
#include<stdio.h>
#include<stdlib.h>
using namespace std;
void load_start(DMADriver *dmad, string name){
string input;
ifstream wrin0;
ifstream wrin1;
ifstream wrin2;
ifstream wrin3;
wrin0.open (name+"_0.txt");
wrin1.open (name+"_1.txt");
wrin2.open... |
/*
* H.265 video codec.
* Copyright (c) 2013-2014 struktur AG, <NAME> <<EMAIL>>
*
* This file is part of libde265.
*
* libde265 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 3 o... |
#include <base/math.hpp>
#include <string.h> // strcmp, strlen, strncpy
#include <stdlib.h> // atoi
#include <engine/e_client_interface.h>
#include <engine/e_demorec.h>
#include <game/generated/g_protocol.hpp>
#include <game/generated/gc_data.hpp>
#include <game/client/ui.hpp>
#include <game/client/gameclient.hpp>... |
/*
* Copyright 2020 Tier IV, Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
/* ========================================================================== */
/* FLYSPECK - CODE FORMALIZATION */
/* */
/* Chapter: nonlinear inequalities ... |
/*
* Main author:
* <NAME> <<EMAIL>>
*
* Copyright:
* <NAME>, 2009
*
* 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 limitatio... |
/*
Copyright (c) 2014 Aerys
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute,
sublicens... |
#include "stdafx.h"
#include "GameObject.hpp"
#include "Model.hpp"
#include "ShaderProgram.hpp"
#include "ModelManager.hpp"
#include "Timer.hpp"
#include "Animation.hpp"
#include "GameWorld.hpp"
#include "math_utilities.h"
// GLM Mathemtics
#include <glm/glm.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <glm/gtc/matr... |
#include <dmzTypesHashTableUInt32Template.h>
#include <dmzTypesString.h>
#include <dmzTypesBase.h>
#include <dmzTypesConsts.h>
#include <dmzTest.h>
#include <string.h>
using namespace dmz;
// test class to make sure the empty () call works
class DestructionTestClass
{
public:
~DestructionTestClass() { destr... |
#define _UNKNOWN DWORD
char *off_1001F378 = "profile\\sex"; // weak
char byte_1001F37C[] = { '\x01' }; // weak
int dword_1001F380[] = { 1128 }; // weak
int dword_1001F384[] = { 8 }; // weak
_UNKNOWN unk_1001F3B8; // weak
_UNKNOWN unk_1001F3BC; // weak
_UNKNOWN unk_1001F3D0; // weak
int dword_10022258 = 4; // ... |
/*****************************************************************************
* GATB : Genome Assembly Tool Box
* Copyright (C) 2017 INRIA
* Authors: R.Chikhi, G.Rizk, E.Drezen
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public ... |
// ===============================================================================
// NVIDIA PHYSX SDK TRAINING PROGRAMS
// LESSON 210: 6DOF Joints
//
// Written by <NAME>, 5-1-06
// Edited by Yongdong, 7-9-08
// ========================================================================... |
/*Header-MicMac-eLiSe-25/06/2007
MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation
eLiSe : ELements of an Image Software Environnement
www.micmac.ign.fr
Copyright : Institut Geographique National
Author : <NAME>
Contributors : <NAME>, <NAME>.
[1] <NAME>, <NAM... |
/* ****************************************************************** **
** OpenSees - Open System for Earthquake Engineering Simulation **
** Pacific Earthquake Engineering Research Center **
** **
** ... |
#include <iostream>
#include <iomanip>
#include <map>
#include <string>
#include <sstream>
#include <vector>
#include <scene.hpp>
#include "bodypart.h"
#include "animation.h"
void write_to_sdf(
std::map<std::string, Interval> const& object_map,
std::vector<Animation> const& animations,
std::vector<CamAnimation>... |
//Reference:
//https://github.com/microsoft/Windows-classic-samples/tree/master/Samples/Win7Samples/netds/adsi/activedir/QueryUsers/vc
//https://github.com/outflanknl/Recon-AD
#include <stdio.h>
#include <objbase.h>
#include <activeds.h>
#include <sddl.h>
#pragma comment(lib, "ADSIid.lib")
#pragma comment(lib, "Activ... |
/*
ESP32_WebGet.cpp
Beta version 1.12 for ILI9341
Copyright (c) 2017 Mgo-tec
This library is used by the Arduino IDE(Tested in ver1.8.2).
Reference Blog --> https://www.mgo-tec.com
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as... |
// Copyright (c) 2010 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 "gfx/platform_font_gtk.h"
#include <algorithm>
#include <fontconfig/fontconfig.h>
#include <gdk/gdk.h>
#include <gtk/gtk.h>
#include <map>
#... |
#include "PackageTileMask.h"
#include "core/MapBounds.h"
#include "components/Exceptions.h"
#include "geometry/MultiPolygonGeometry.h"
#include "projections/Projection.h"
#include "utils/TileUtils.h"
#include <vector>
#include <algorithm>
namespace {
enum { NP = 255 };
const unsigned char base64DecodeTable[]... |
/*
* LNA_Onset.cpp
*
* Created on: Oct 22, 2013
* Author: justinfeigelman
*
*/
extern "C" {
#include "mex.h"
}
#include "computeLinearNoise.h"
#include <algorithm>
#include <iostream>
#include <iomanip>
#include "cvodes/cvodes.h"
#include "nvector/nvector_serial.h"
#include "MODEL_DEF.h" // model specific... |
#include "SF2Synth.h"
struct LowPass
{
char active;
double QInv;
double a0, a1, b1, b2;
};
struct tsf_voice_envelope { float level, slope; int samplesUntilNextSegment; short segment, midiVelocity; struct tsf_envelope parameters; TSF_BOOL segmentIsExponential, isAmpEnv; };
struct tsf_voice_lfo { int samplesUntil; f... |
// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2014 ResiliNets, ITTC, University of Kansas
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
... |
#include <vector>
#include <deque>
#include <string>
#include <algorithm>
#include <iostream>
#include <fstream>
#include <chrono>
#include <unistd.h>
#include <sys/wait.h>
#include <boost/program_options.hpp>
namespace po = boost::program_options;
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.h... |
#include "LaneAssist.h"
#include "../hsogserver/utils/geometry/Line2D.h"
using namespace taco;
using namespace cv;
using namespace Eigen;
using namespace std;
LaneAssist::LaneAssist(LaneDetectionConfiguration cfg) : _cfg(cfg)
{
}
LaneAssist::~LaneAssist()
{
}
void LaneAssist::detectLaneMiddle(cv::Mat &frame)
{
int ... |
// proj-marker-transform.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <vector>
#include <iostream>
#include <time.h>
#include <Eigen/Dense>
#include <Eigen/SVD>
#include <Eigen/Cholesky>
#include <Eigen/Sparse>
#include <Eigen/SparseCholesky>
#include <math/func.h>
#i... |
#include "GfxInternal.h"
#define TINYOBJLOADER_IMPLEMENTATION
#include <tiny_obj_loader.h>
#define GLM_FORCE_RADIANS
#include <glm/glm.hpp>
#include <glm/gtc/type_ptr.hpp>
static Blob CreateModelBlob(const void* data, size_t size, const char* material_dir)
{
Blob blob;
blob.m_Data = NULL;
blob.m_Size = 0... |
// All the webots classes are defined in the "webots" namespace
#include <iostream>
#include "httplib.h"
#include <webots/Keyboard.hpp>
#include <webots/Motor.hpp>
#include <webots/Robot.hpp>
#include <webots/Camera.hpp>
#include <webots/Lidar.hpp>
#include <webots/GPS.hpp>
#include <webots/Gyro.hpp>
#include <webots... |
#include <spikes/timer.hpp>
#include "../src/core/composite_fe.hpp"
#include "../src/core/composite_fes.hpp"
#include "../src/core/composite_form.hpp"
#include "../src/core/quadrature.hpp"
#include "../src/core/export.hpp"
/*
* Regularized driven south and east boundary condition for u
*/
double f0(const double*... |
/*----------------------------------------------------------------------------
* AFBS-Kernel
* A Flexible Scheduling Simulink block for MATLAB.
* by <NAME>
* Real-Time Systems Group, University of York
----------------------------------------------------------------------------*/
#include <stddef.h>
#include <math... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.