text
stringlengths
8.71k
38.4k
// ------------------------------ // Decompiled by Deathway // Date : 2007-05-09 // ------------------------------ // Gs-N 0.99.60T 0x004E1EB0 // GS-N 1.00.18 JPN 0x0050A790 - Completed #include "stdafx.h" #include "JewelMixSystem.h" #include "PeriodItemEx.h" #include "DSprotocol.h" #include "TLog.h" #include "user.h" ...
#include <chrono> #include <cstring> #include "head.h" #include "otherheaders.h" using namespace std; using namespace cv; void Imsave(string filename, Mat &matrix) { Mat img = Matrix2Image(matrix); imwrite(filename, img); } void ImsaveScale(string filename, Mat &matrix) { double minmin, maxmax; minM...
#include "jni.h" #include "android/log.h" #include "LogUtils.h" #include <v8.h> #include <assert.h> #include <fcntl.h> #include <string.h> jclass jBridgeClazz; jmethodID jCallAddElementMethodId; jmethodID jDoubleValueMethodId; jmethodID jSetTimeoutNativeMethodId; jmethodID jCallNativeMethodId; jmethodID jLogMethodId...
/* COPYRIGHT NOTIFICATION (C) COPYRIGHT 2004 UNIVERSITY OF CHICAGO This program discloses material protectable under copyright laws of the United States. Permission to copy and modify this software and its documentation is hereby granted, provided that this notice is retained thereon and on all copies or modificatio...
#include "DYWiFiConfig.h" #define DYEEPROM_SIZE 512 DYWiFiConfig::DYWiFiConfig() { } void DYWiFiConfig::begin(ESP8266WebServer *server, const char *webPath) { _storeconfig.begin(DYEEPROM_SIZE, 0, &_dws); _storeconfig.read(); DYWIFICONFIG_DEBUG_SERIAL.begin(115200); init();//inital Wifi settings wi...
#include "kinematic-reconstructer.hpp" KinematicReconstructer::KinematicReconstructer(const double bMass, const double WMass): m_bMass(bMass), m_WMass(WMass) { this->Reset(); } void KinematicReconstructer::Reset(){ m_top = TLorentzVector(); m_tbar = TLorentzVector(); m_ttbar = TLorentzVector(); ...
/* rendercore.cpp - Copyright 2019 Utrecht University 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 applica...
// Filename: tlm2_getting_started_6.cpp //---------------------------------------------------------------------- // Copyright (c) 2007-2008 by Doulos 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 co...
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // // XSDK // Copyright (c) 2015 <NAME> // // Use, modification, and distribution is subject to the Boost Software License, // Version 1.0 (See accompanying file LICENSE). // //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-...
// Copyright (c) 2010 libmv authors. // // 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, publis...
#include <external/wmm/worldMagneticModel.h> #include <src/util/data_types.h> int my_isnan(float d) { return (d != d); /* IEEE: only NaN is not equal to itself */ } #define NaN log(-1.0) const float wmmdata[90][6] = { {1, 0, -29438.5, 0.0, 10.7, 0.0}, {1, 1, -1501.1, 4796.2, 17.9, -26.8}, {2, 0, -2445.3...
#include "DU05.h" #include <algorithm> #include "glm/gtc/matrix_transform.hpp" #include "glm/gtc/type_ptr.hpp" using namespace std; #define PI 3.1415926535897932384626433832795 DU05::DU05() { //kamera camera.rotx = 170; camera.roty = 25; camera.zoom = 80; camera.center = glm::vec3(10, 40, 10); multisample = 4...
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2017-2020, Waterplus http://www.6-robot.com * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that ...
/************************************************************************************ * WrightEagle (Soccer Simulation League 2D) * * BASE SOURCE CODE RELEASE 2016 * * Copyright (c) 1998-2016 WrightEagle 2D Soccer Simulation Te...
/* * Copyright 2020 California Institute of Technology (“Caltech”) * * 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...
#include <Windows.h> #pragma comment(lib, "user32.lib") #include <bitset> #include <random> #include <stdafx.h> #include <string.h> #include <chrono> #include <iomanip> #include <iostream> #include <fstream> #include <hidapi.h> #include "public.h" #include "vjoyinterface.h" #include "packet.h" #include "joycon.hpp...
/* --------------------------------------------------------------------------- ** This software is in the public domain, furnished "as is", without technical ** support, and with no warranty, express or implied, as to its usefulness for ** any purpose. ** ** main.cpp ** ** V4L2 RTSP streamer ...
// Copyright (C) 2018 <NAME> // This file is part of the Yasl project // For conditions of distribution and use, see copyright notice in LICENSE #include "yasl/core/datetime.h" #include "yasl/common/binding/class.h" #include "yasl/common/binding/default_arguments.h" #include "yasl/common/binding/namespace.h" #include...
// Copyright 2020 Western Digital Corporation or its affiliates. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
/* simpleAES.cpp, a simple implementation of AES encryption * * Last modified: <NAME>, Dec 2014, removed static constants, * replaced with arguments to the various functions. ****************************************************************** ** Advanced Encryption Standard implementation in C. ...
/** @file A brief file description @section license License Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you und...
/* * LEGAL NOTICE * This computer software was prepared by Battelle Memorial Institute, * hereinafter the Contractor, under Contract No. DE-AC05-76RL0 1830 * with the Department of Energy (DOE). NEITHER THE GOVERNMENT NOR THE * CONTRACTOR MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY * LIABILITY FOR THE USE OF...
/* Copyright 2019-2020 <NAME>, <NAME>, <NAME> * * * This file is part of WarpX. * * License: BSD-3-Clause-LBNL */ #include "SliceDiagnostic.H" #include "WarpX.H" #include "Utils/TextMsg.H" #include "Parallelization/WarpXCommUtil.H" #include <AMReX.H> #include <AMReX_Array4.H> #include <AMReX_BLassert.H> #includ...
//===- InlineFunction.cpp - Code to perform function inlining -------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/** * @file llfloatertopobjects.cpp * @brief Shows top colliders, top scripts, etc. * * $LicenseInfo:firstyear=2005&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of...
//=========================================================================== /* This file is part of the CHAI 3D visualization and haptics libraries. Copyright (C) 2003-2009 by CHAI 3D. All rights reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU G...
#include "SolverMPC.h" #include "common_types.h" #include "convexMPC_interface.h" #include "RobotState.h" #include <eigen3/Eigen/Dense> #include <cmath> #include <eigen3/unsupported/Eigen/MatrixFunctions> //#include <unsupported/Eigen/MatrixFunctions> #include <qpOASES.hpp> #include <stdio.h> #include <sys/time.h> #inc...
// @HEADER // ************************************************************************ // // Intrepid Package // Copyright (2007) Sandia Corporation // // Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive // license for use of this work by or on behalf of the ...
#include <cstdio> #include <iostream> #include <SDL2/SDL.h> #include "Emulation/Controller.hpp" #include "SMB/SMBEngine.hpp" #include "Util/Video.hpp" #include "Configuration.hpp" #include "Constants.hpp" #include <stdio.h> #include <thread> #include <sys/shm.h> //extern "C" void ijon_max(uint32_t a, uint64_t b)...
/* * Copyright 2019-2022 Diligent Graphics LLC * Copyright 2015-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 *...
#include "Builders.h" void GccBuilder::AddFlags(Index<String>& cfg) { } String GccBuilder::CompilerName() const { if(!IsNull(compiler)) return compiler; return "c++"; } String GccBuilder::CmdLine(const String& package, const Package& pkg) { String cc = CompilerName(); cc << " -c "; cc << IncludesDefinesTarget...
int OKG ,/*FR*/ P , q,Y , hRN, Ha4 , T , YvD8 ,W7YF, QT,t5D, JFYc ,tPj,rBSJ , wtnD ,UEWT17, Y9c , xFNC, Y5 , faID,zA,wJxBJ9 ,WrdVWfn ,YbI, zM,c1i ,J ,MzwIcE0, V0N , vUtff , K4 , EJV/*JI*//*gS*/,jmr, C2x , qZH , z ,XY,e1R,//GW UOS , X2Nx ,tCp , Va,OcMm/*G4XS*/, /*L*/V ; void f_f0() { { volatile ...
#include <assert.h> #include <common.hpp> #include <video_renderer.hpp> #ifdef __APPLE__ #include <GLUT/glut.h> #else #include <GL/glut.h> #endif using namespace std; const char *VideoRenderer::kPassThroughVertexShader = R"END( varying vec2 v_texCoord; void main() { gl_Position = ftransform(); v_texCoord = gl_...
/* This file forms part of hpGEM. This package has been developed over a number of years by various people at the University of Twente and a full list of contributors can be found at http://hpgem.org/about-the-code/team This code is distributed using BSD 3-Clause License. A copy of which can found below. Copyr...
/* * Copyright (c) <NAME> 2013. * The following source file belongs to the open-source project Pikifen. * Please read the included README and LICENSE files for more information. * Pikmin is copyright (c) Nintendo. * * === FILE DESCRIPTION === * Gameplay state class and * gameplay state-related functions. */ #...
// Test things to judge what an NPC might be thinking. (want to do) // But take no actions here. #include "graysvr.h" // predef header. CREID_TYPE CChar::NPC_GetAllyGroupType(CREID_TYPE idTest) // static { ADDTOCALLSTACK("CChar::NPC_GetAllyGroupType"); switch ( idTest ) { case CREID_MAN: case CREID_WO...
/* ############################################################################### # If you use PhysiCell in your project, please cite PhysiCell and the version # # number, such as below: # # ...
/************************************************************************** CryptoMiniSat -- Copyright (c) 2009 <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,...
/* Copyright (C) 1998 by <NAME> Largely rewritten by <NAME> <<EMAIL>> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your op...
//***************************************************************************** //*********************** CONSENSUS.CPP *********************** //*********************** Author: <NAME> *********************** //*********************** © 2021 Turtley & Turtles Ltd. *********************** //*****...
int EI, J //1 ,h8Q0, x7 ,hZx, HWND ,eLG/*ZfK1*///H1 /*y7q*/,/*m2*/ BNkH, Kv , ta ,HAB ,Pm , nd , xU/*Q3Q*/,fAh , YgB// , Yo, Sw , Zt, rzm , fD , Ea,hT , /*dd*/YsUjA,Zx ,PbZN , bKA2 , q2//eZ27 , my , CSd, Tk5 ,wRm, ROh4 , r61 , G, Is2 /*g*/,/*Qb*/ dR , Yb ,zHp /*W*/, kU , if8Y, nqX , rO0, ji ,T ; //q4...
#include <glad/glad.h> #include <GLFW/glfw3.h> #define STB_IMAGE_IMPLEMENTATION #include <others/stb_image.h> #undef STB_IMAGE_IMPLEMENTATION #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include <iostream> #include <shader.h> #include <camera.h> #include <model.h> // ...
/* Excited States software: KGS Contributors: See CONTRIBUTORS.txt Contact: <EMAIL> Copyright (C) 2009-2017 Stanford University 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 restrictio...
#include "Const.h" #include "KnownPlayer.h" #include "Matrix.h" #include "Object.h" #include "Response.h" #include "algorithm.h" #include <queue> #include "CellPrioritizationStrategy.h" #include "GameHelpers.h" #include "MovingPoint.h" CellPrioritizationStrategy::CellPrioritizationStrategy() : m_re(std::random_d...
#include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include <random> #include "../include/MyShader.h" #include "../include/Camera.h" #include "../include/Model.h" #include "init.cpp" void renderQuad(); void renderCube(); #include <iostream> int main() { int errorCode = 0...
// Copyright (c) 2012 The Chromium OS 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 "gestures/include/gestures.h" #include <cstring> #include <sys/time.h> #include "gestures/include/accel_filter_interpreter.h" #include "...
#include "TextBuffer.h" #include <algorithm> #include <cmath> #include "gui/Rectangle.h" #include "Resources.h" #include "Scroll.h" #include "textmods/TextState.h" #include "textmods/RenderState.h" #include "textmods/Lookbehind.h" static constexpr etm::TextBuffer::lines_number_t DEF_MAX_NUMBER_LINES = 1000; static ...
/* * PatchDataset.cpp * OpenCV * * Created by <NAME> on 7/11/09. * Copyright 2009 __MyCompanyName__. All rights reserved. * */ #include "PatchDataset.h" #include <math.h> #include <fstream> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/imgproc/imgproc_c.h> #include <opencv2/highgui/highgui_c.h...
/* Copyright 2017 Battelle Energy Alliance, 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 agree...
#define TINYGLTF_IMPLEMENTATION #define STB_IMAGE_IMPLEMENTATION #define STB_IMAGE_WRITE_IMPLEMENTATION #include "Gltf.h" #include "Utility.h" #include <iostream> #include <filesystem> namespace std { template<> struct hash<tinygltf::Sampler> { size_t operator()(tinygltf::Sampler const &sampler) const noexcept ...
int vtAd, Dl , BgTbP//d , EY , XOc /*2XR*/ ,X , Xx, msY8zu , YG,/*l*/I,GZ , //Sk6 E3noJHY, pG ,gMK, HC8 ,pbK2EO , MB//zJFT , xf7k , uHQWu , hgdD4 , FaR , IN , NiX, qT , iU , ytz , bQ,jae6, /*A*/xGYN /*RX*/,Thf,/*Ig*/B8,//h k1, Np1, eirb, Yl, lsKzav , HKqpam , A,Dp , KrlBs ,OB ,wD //ms ,W...
/* IVSCC_process_swc_plugin.cpp * This is a test plugin, you can use it as a demo. * 2014-10-23 : by <NAME> */ #include "v3d_message.h" #include <vector> #include "IVSCC_process_swc_plugin.h" #include "basic_surf_objs.h" #include <boost/lexical_cast.hpp> #include <iostream> #include "../../../released_plugins/v3d...
#include <GL/glew.h> #include <GL/freeglut.h> #include <glm.hpp> #include <gtc/matrix_transform.hpp> #include <vector> #include <iostream> #include <meshes.h> #include <shaders.h> const int WIDTH = 1280; const int HEIGHT = 800; const float aspect = WIDTH / HEIGHT; typedef glm::mat3 mat3; typedef glm::mat4 mat4; typ...
// Copyright 2019- <dim-lang> // Apache License Version 2.0 #include "Ast.h" #include "Token.h" #include "fmt/format.h" #include "iface/Visitor.h" #include "infra/Log.h" #include <sstream> #include <utility> #include <vector> #define DESTROY(x) \ do { ...
/* * Copyright (c) 2019, Intel Corporation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this * list of con...
// Copyright (c) 2020 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or a...
//Header files required to run ROS #include <ros.h> #include <nav_msgs/Odometry.h> #include <std_msgs/String.h> #include <geometry_msgs/Twist.h> #include <sensor_msgs/LaserScan.h> #include <tf/transform_broadcaster.h> #include <tf/tf.h> #include <headers/gtg.h> #include <headers/orientation.h> #include <headers/arc.h> ...
// // Created by dc on 7/4/16. // #include <cmath> #include <cstdlib> #include <gflags/gflags.h> #include <omp.h> #include <fstream> #include <iomanip> #include "utils.h" #include "dtm.h" using namespace std; DEFINE_bool(fix_random_seed, true, "Fix random seed for debugging"); DEFINE_bool(show_topics, false, "Displa...
/* Copyright (c) 1999 - 2010, Vodafone Group Services Ltd 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 condit...
/************************************************************************* * * Copyright 2016 Realm 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/lice...
#include "L1Trigger/GlobalCaloTrigger/interface/L1GctJetFinderBase.h" #include "CondFormats/L1TObjects/interface/L1GctJetFinderParams.h" #include "CondFormats/L1TObjects/interface/L1GctChannelMask.h" #include "DataFormats/L1CaloTrigger/interface/L1CaloRegion.h" #include "DataFormats/L1GlobalCaloTrigger/interface/L1Gct...
#include <iostream> #include <thread> #include "lightsky/math/mat_utils.h" #include "lightsky/math/quat_utils.h" #include "lightsky/math/vec_utils.h" #include "lightsky/utils/Pointer.h" #include "lightsky/utils/Sort.hpp" #include "lightsky/utils/StringUtils.h" #include "lightsky/utils/Time.hpp" #include "lightsky/ut...
int bGjT , P1R,Ws, qmg, DD, /*p*/J , h,VeH ,C4,A8w , JQQ , Ys6 ,rRJb //R //q , f1FK ,j , K, OmIE , ERM ,UoSU , Bi ,F,P , mNaN//j ,o, fYiI /**/ ,hV, SS,//CH Iy , xlP ,QRf, mVu , BLqHd ,/*gMwu*/ yP5QP ,zHD,//n fX , /*7T*/fi7k ,mhA, Q31,Eb , /*M*/nbYBN//Sgyu ,dK3dk , YeI, v98;/*N*/ void f_f0(){...
int oON ,yaTwER,SWZIi , nVJoL , R ,vJ, RV , Un9 //5mHtb , Lq2q,XaC ,ZL , vvu0, rAK ,DMg,u9Q, Rasu//v ,WX /*M*/ , QFw , nQ, z2Og ,mIR ,Ivy,jh, F9rA ,tJJ ,K , sP4 , DEH, WU , MC,zptZnrp0,rA ,/*2m*/ wInSly,YdoixV/*2IWGH*/ ,//yU6 vU4, O , ik//PMv ,//CM S1SXHP, fXx , G9QXO/*4*/ ,/*z*/cfZ,/*CFjW*/ //3 t...
/*------------------------------------------------------------------------- * * pg_aggregate.c * routines to support manipulation of the pg_aggregate relation * * Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * *...
/* * 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...
/* * A program that predicts structures using the TurboFold algorithm. * * (c) 2010 Mathews Lab, University of Rochester Medical Center. * Written by <NAME> */ #include "TurboFold_Interface.h" /////////////////////////////////////////////////////////////////////////////// // Constructor. ////////////////////////...
/** * @file environment.hpp * @author <NAME> (<EMAIL>) * @brief Environment class header * @date 2020-11-12 * * @copyright Copyright (c) 2020 * */ #pragma once #include <ompl/base/State.h> #include <ompl/base/spaces/DubinsStateSpace.h> #include <ompl/base/spaces/ReedsSheppStateSpace.h> #include <ompl/base/spac...
#include <iostream> #include <iomanip> #include <cstring> #include <vector> using namespace std; const int DRAGON = 0; const int NINJA = 1; const int ICEMAN = 2; const int LION = 3; const int WOLF = 4; const char wname[5][10] = {"dragon", "ninja", "iceman", "lion", "wolf"}; const int SWORD = 0; const int BOMB = 1; co...
/**@file main.cpp */ #include "Box2D/Box2D.h" #include "SFML/Graphics.hpp" #include "SFML/Window.hpp" #include <iostream> #include "tclap/CmdLine.h" #include "Config.h" #include "Demo.h" #include <list> #include <any> void load_config(std::string filename, config::sConfig& cfg); void help(); int print_help_and_exit(...
/* Copyright (C) 2006 Imperial College London and others. Please see the AUTHORS file in the main source directory for a full list of copyright holders. <NAME> Applied Modelling and Computation Group Department of Earth Science and Engineering Imperial College London <EMAIL> This library is free s...
/** \file * * \author <NAME> - INFN Legnaro <<EMAIL>> * \author <NAME> - INFN TO <<EMAIL>> * \ A.Meneguzzo - Padova University <<EMAIL>> * \ M.Pelliccioni - INFN TO <<EMAIL>> * \ M.Meneghelli - INFN BO <<EMAIL>> */ /* This Class Header */ #include "RecoLocalMuon/DTSegment/src/DTSegmentUpdator...
// g++ -o player ssm-player.cpp -I../include -lssm -Wall #include <iostream> #include <iomanip> #include <vector> #include <list> #include <string> #include <stdexcept> #include <cstdio> #include <cstdlib> #include <csignal> #include <cstring> #include <cmath> #include <fcntl.h> #include <getopt.h> #define __MAIN__ ...
#include <Beard/aux.hpp> #include <Beard/utility.hpp> #include <Beard/Error.hpp> #include <Beard/geometry.hpp> #include <Beard/tty/Defs.hpp> #include <Beard/tty/Ops.hpp> #include <Beard/tty/Terminal.hpp> #include <Beard/ui/Geom.hpp> #include <Beard/ui/Context.hpp> #include <Beard/ui/Root.hpp> #include <Beard/ui/Contai...
//===- tools/seec-trace-view/ActionRecordSettings.cpp ---------------------===// // // SeeC // // This file is distributed under The MIT License (MIT). See LICENSE.TXT for // details. // //===----------------------------------------------------------------------===// /// /// \file ///...
#include "parser.h" int32 evaluate(Ast_Block* block, Ast_Node* node, Array<Ast_Declaration *> globals) { switch (node->type) { case Ast_Type_Array_Reference: { auto arr = (Ast_Array_Reference *)node; auto decl = find_declaration(block, arr->array_id, &globals); if (!...
/* * Copyright (C) 2010 Advanced Micro Devices, Inc. All Rights Reserved. */ /* Copyright (C) 2006-2009 Tsinghua University. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free ...
/* * author : <NAME> * since : Sun Jan 24 2021 23:56:09 */ #include "es8374.h" #include <stdint.h> #include <i2c.h> #include <algorithm> #include <stdio.h> namespace { struct Clock { enum LCLKDiv { LCLK_DIV_MIN = -1, LCLK_DIV_128 = 0, LCLK_DIV_192 = 1, ...
/* -------------------------------------------------------------------------- * * File GameScene.cpp * Ported By <NAME> * Contact <EMAIL> * * -------------------------------------------------------------------------- * * Copyright (c) 2010-2013 XMSoft. * C...
// copyright (c) 2011 the leveldb authors. all rights reserved. // use of this source code is governed by a bsd-style license that can be // found in the license file. see the authors file for names of contributors. #include <stdio.h> #include <stdlib.h> #include <sqlite3.h> #include "util/histogram.h" #include "util/...
#include <iostream> #include <algorithm> #include <vector> #include <map> #include <fstream> #include "PlanetWars.h" using namespace std; #define pii pair<int,int> #define vi vector<int> #define vpii vector<pair<int,int> > vi MyNumShips; struct future { int id,owner; vpii pred; }; vector<future> neutral_futurep...
/* ************************************************************************ * Copyright 2020-2021 Advanced Micro Devices, Inc. * ************************************************************************ */ #pragma once #include "clientcommon.hpp" template <bool FORTRAN, typename T, typename U> void getrs_checkBadAr...
int F , PWz , vVK,m8tV ,AvZH,/**/a,ltJ, //6yw THR5S ,wfpc , nGq, d , N5, qjtg, wr ,Jj5T /*FSj*/, s3XA0 //Ng ,OXsfJ ,/*brIb5*/ vUO70cB, DU ,Ch ,K //tTz , f , uYk , NOX ,RLA,GJ,/*8*/Gs2 ,/**/ZgH, qBQ , L9GFT ,bB0x8I , IROk , YTK, //LT SuWj, JkoUq,Wc , Ku , Ow,xWjx , JR5C,//u6lG o6, Ol4 , z1C,y8...
/* * Created by <NAME> on 2021/6/18. * * 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...
#ifndef __STDC_FORMAT_MACROS #define __STDC_FORMAT_MACROS #endif #include <inttypes.h> #include <string> #include <fcgi_stdio.h> #include <fcgi_config.h> #include <stdlib.h> #include <errno.h> #include <stdarg.h> #include <inttypes.h> #include <cgi_head.h> #include <cgi_comm.h> #include <sstream> #include <cgi_attr.h...
/* * FrameProcessorApp.cpp * * Created on: 25 May 2016 * Author: gnx91527 */ #include <signal.h> #include <string> #include <cstring> #include <iostream> #include <fstream> using namespace std; #include <log4cxx/logger.h> #include <log4cxx/basicconfigurator.h> #include <log4cxx/propertyconfigurator.h> #inc...
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //=============================================================================// #include "cbase.h" #include "hltvcamera.h" #include "cdll_client_int.h" #include "util_shared.h" #include "prediction.h" #include "movevars_...
/// \author <NAME>, Indiana University Cyclotron Facility /// \date 2003/12/08 // $Id: EEmcTTMMaker.cxx,v 1.30 2009/02/04 20:33:24 ogrebeny Exp $ // doxygen info here /** * \class EEmcTTMMaker * \brief EEMC tower to track matching * * This a MuDST based class to match TPC tracks to EEMC towers. Its main resul...
#include <Homa/Debug.h> #include <Homa/Drivers/DPDK/DpdkDriver.h> #include <Homa/Homa.h> #include <unistd.h> #include <Cycles.h> #include <atomic> #include <cmath> #include <iostream> #include <memory> #include <random> #include <string> #include <thread> #include <vector> #include <sys/time.h> #include "StringUtil....
/* 4. Median of Two Sorted Arrays Hard There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)). You may assume nums1 and nums2 cannot be both empty. Example 1: nums1 = [1, 3] nums2 = [2] The median i...
//===--- ClosureLifetimeFixup.cpp - Fixup the lifetime of closures --------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
#include "stdafx.h" #pragma hdrstop #include "maTranslator.h" #include "..\..\..\editors\Ecore\editor\EditObject.h" #define NO_SMOOTHING_GROUP -1 #define INITIALIZE_SMOOTHING -2 #define INVALID_ID -1 ////////////////////////////////////////////////////////////// /////////////////////////////////...
//===--- SILOwnershipVerifier.cpp -----------------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
/** * Copyright (c) 2014-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ #include "...
int // Nj ,Ut,/*03*/a0 , n, //Ex e, jRz,JTP , i , jrNV ,wDe , ku ,RH2YD,tod, q4v , Q3I , /*K*/v, V6,Iq, tQe1zm,Iy, oc,RbH,lO , aWthu , fpT , u1X,Ve, Em, bR, nq,/*7*/ WX ,cak//g , c7 , qgsW, AeE ,qo1Bf /*fxnGB*/ , zU8 , eQao , oaw6 , //P z2i , Ar ,a16S , l,sf ,k1,qGzm,DP ;void f_f0 (){...
/* * 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...
// src\Inventor\Win\nodes\Slider1.cpp. Generated from Slider1.cpp.in by configure. /**************************************************************************\ * Copyright (c) <NAME> & Gas Technologies AS * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modificatio...
/* * Copyright (c) 2019 Dell 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 * * THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARR...
#include <cassert> #include <cstdlib> // abs #include <cstdint> // uint32_t #include <ios> #include <iomanip> #include <unordered_map> #include <utility> #include <boost/archive/binary_oarchive.hpp> #include <boost/archive/binary_iarchive.hpp> #include <boost/log/trivial.hpp> #include <boost/serialization/map.hpp> #in...
/* * Copyright (c) <NAME> 2013. * The following source file belongs to the open-source project Pikifen. * Please read the included README and LICENSE files for more information. * Pikmin is copyright (c) Nintendo. * * === FILE DESCRIPTION === * Leader class and leader-related functions. */ #include <algorithm>...