text stringlengths 8.71k 38.4k |
|---|
// __________ ___ ______ _
// / ____/ __ \____ / (_)___ ___ / ____/___ ____ _(_)___ ___
// / /_ / / / / __ \/ / / __ \/ _ \ / __/ / __ \/ __ `/ / __ \/ _ \
// / __/ / /_/ / / / / / / / / / __/ / /___/ / / / /_/ / / / / / __/
// /_/ \____/_/ /_/_/_/_/ /_/\_... |
/* SLiM - Simple Login Manager
Copyright (C) 1997, 1998 <NAME>
Copyright (C) 2004-06 <NAME> <<EMAIL>>
Copyright (C) 2004-06 <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 published by
the Free Software Foun... |
// Copyright 2016 The Gemmlowp 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 ... |
#if defined(__GNUC__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#elif defined(_MSC_VER)
#pragma warning(disable : 4996)
#endif
#include <cmath>
#include <ctime>
#include <queue>
#include <string>
#include <fstream>
#include <iostream>
#include <algorithm>
#include <json/jso... |
/************************************************************************************
*
* TriviaBot, The trivia bot for discord based on Fruitloopy Trivia for ChatSpike IRC
*
* Copyright 2004 <NAME> <<EMAIL>>
*
* Core based on Sporks, the Learning Discord Bot, <NAME> (c) 2019.
*
* Licensed under the Apache Lic... |
/*
paw_gui_themes.cpp
This file is part of:
GAME PENCIL ENGINE
https://create.pawbyte.com
Copyright (c) 2014-2019 <NAME>, <NAME>.
Copyright (c) 2014-2019 PawByte LLC.
Copyright (c) 2014-2019 Game Pencil Engine contributors ( Contributors Page )
Permission is hereby granted, free of charge, to any person obt... |
// Copyright (c) by respective owners including Yahoo!, Microsoft, and
// individual contributors. All rights reserved. Released under a BSD (revised)
// license as described in the file LICENSE.
#include <float.h>
#include "reductions.h"
#include "cb_algs.h"
#include "rand48.h"
#include "bs.h"
#include "vw.h"
#includ... |
/*
* Copyright (c) 2016 University of Cordoba and University of Illinois
* All rights reserved.
*
* Developed by: IMPACT Research Group
* University of Cordoba and University of Illinois
* http://impact.crhc.illinois.edu/
*
* Permission is hereby granted, free of charge, to ... |
//______________________________________________________________________________________
// Program : OpenCV based QR code Detection and Retrieval
// Author : <NAME>
//______________________________________________________________________________________
#include <opencv2/opencv.hpp>
#include <iostream>
#include <cma... |
#include <ctype.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "fpparser.h"
#define INPUT_1V 1
#define INPUT_2V 2
#define INPUT_3V 3
#define INPUT_1S 4
#define INPUT_2S 5
#define INPUT_CC 6
#define INPUT_1V_T 7 /* one source vector, plus textureId */
#define INPUT_3... |
/*
This file is part of Kismet
This file was derived directly from aircrack-ng, and most of the other files in
this directory come, almost unmodified, from that project.
For more information about aircrack-ng, visit:
http://aircrack-ng.org
Kismet is free software; you can redistribute it and/or modify
... |
//===-- Thumb1FrameLowering.cpp - Thumb1 Frame Information ----------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
#include "hg_io.h"
#include <cstdio>
#include <cstdlib>
#include <fstream>
#include <sstream>
#include <iostream>
#include "fast_lexical_cast.hpp"
#include "tdict.h"
#include "json_parse.h"
#include "hg.h"
using namespace std;
struct HGReader : public JSONParser {
HGReader(Hypergraph* g) : rp("[X] ||| "), state(... |
#include <kchashdb.h>
#include <kcprotodb.h>
//#include <string>
//#include <cstring>
//#include <sys/time.h>
#include <stdlib.h>
//#include <netdb.h>
#include "zht_util.h"
//#include "meta.pb.h"
//#include "d3_transport.h"
//#include "d3_sys_globals.h"
#include <pthread.h>
#include <iomanip>
using namespace std;
usi... |
/* Copyright (c) <2003-2011> <<NAME>, Newton Game Dynamics>
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
*... |
/*
* Copyright 2014 Samsung Research America, Inc. - SiliconValley
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkShapeStrokerPriv.h"
#include "SkGeometry.h"
#include "SkPath.h"
#define kMaxQuadSubdivide 5
#define kMaxCubicSubdivide 7
st... |
/********************************************************************************
* Volatile - Volume Visualization Software for SAGE
* Copyright (C) 2004 Electronic Visualization Laboratory,
* University of Illinois at Chicago
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with ... |
#include "application_solar.hpp"
#include "window_handler.hpp"
#include "utils.hpp"
#include "shader_loader.hpp"
#include "model_loader.hpp"
#include <glbinding/gl/gl.h>
// use gl definitions from glbinding
using namespace gl;
//dont load gl bindings from glfw
#define GLFW_INCLUDE_NONE
#include <GLFW/glfw3.h>
#incl... |
#include "smtpclientbase.h"
#include <algorithm>
#include <sstream>
#include <stdexcept>
#include <string>
#include "base64.h"
#include "message.h"
#include "messageaddress.h"
#include "serverauthoptions.h"
#include "smtpclienterrors.h"
#include "smtpserverstatuscodes.h"
#include "socketerrors.h"
#include "stringutil... |
/* -*-C-*-
********************************************************************************
*
* File: blobs.c (Formerly blobs.c)
* Description: Blob definition
* Author: <NAME>, OCR Technology
* Created: Fri Oct 27 15:39:52 1989
* Modified: Thu Mar 28 15:33:26 1991 (<NAME>) <EMAIL>
* Lan... |
/* xermsg.f -- translated by f2c (version 20100827).
This file no longer depends on f2c.
*/
#include "slatec-internal.hpp"
/* Table of constant values */
static integer const c__2 = 2;
static integer const c__0 = 0;
static logical c_false = FALSE_;
static integer const c__4 = 4;
static integer c_n1 = -1;
static i... |
/*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "GrGLSLBlend.h"
#include "gl/builders/GrGLFragmentShaderBuilder.h"
//////////////////////////////////////////////////////////////////////////////
// Advanced (non-co... |
/*
Sjasm Z80 Assembler version 0.42
Copyright 2011 <NAME>
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the
use of this software.
Permission is granted to anyone to use this software for any ... |
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "iommu.h"
#include <assert.h>
#include <stdbool.h>
#include <stdint.h>
#include <optional>
#include <acpica/acpi.h>
#include <ddk/debug.h>
#inc... |
#include "block_change_flags.h"
#include "gpu/cost_functions/cost_function.h"
#include "worker_pool.h"
#include "deform_lib/solver/gco_solver.h"
#include "deform_lib/profiler/profiler.h"
#include <stk/cuda/stream.h>
#include <stk/image/gpu_volume.h>
#include <iomanip>
template<typename TSolver>
HybridGraphCutOptim... |
/* Copyright (c) <NAME> and the Grit Game Engine project 2015
* 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, ... |
/*
output_grafic2.cc - This file is part of MUSIC -
a code to generate multi-scale initial conditions
for cosmological simulations
Copyright (C) 2010 <NAME>
*/
#include <sys/types.h>
#include <sys/stat.h>
#include <fstream>
#include "output.hh"
//! Implementation of class grafic2_output_plugin
/*!
Th... |
/*
* \file DTLocalTriggerBaseTask.cc
*
* \author <NAME> - CIEMAT
*
*/
#include "DQM/DTMonitorModule/src/DTLocalTriggerBaseTask.h"
// Framework
#include "FWCore/Framework/interface/EventSetup.h"
// DT DQM
#include "DQM/DTMonitorModule/interface/DTTimeEvolutionHisto.h"
// DT trigger
#include "DQM/DTMonitorModule/... |
/* -*- Mode:C++; c-basic-offset:8; tab-width:8; indent-tabs-mode:t -*- */
/*
* Copyright (c) 1997 Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
... |
// ==========================================================================
// Information/ReadMe in prAttractNode.py
//
// Uses openMP
//
// P E R F O R M A N C E:
// In my test openMP improves performance by 10-30%
// Performance comparison in fps (frames per second) with polygon attractor
// System: Core2Duo 2.6Gh... |
/**
* @file: ktaub.cpp
* @brief:
* @author: <NAME>, <EMAIL>
* @version: 0.0.1
* @creation date: 17-12-2015
* @last modified: Thu 10 Mar 2016 09:32:02 AM EST
*/
#include "ktaub.hpp"
using namespace std;
/*------------------------------------------------------*/
/* Sorts in place, returns the bubble sort distance bet... |
/*
* Copyright (c) 2017-9, Ubiquity Robotics
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of... |
//
// Created by <NAME> on 23/4/2020.
//
#include <sstream>
#include <iomanip>
#include <vector>
#include <map>
#include <iostream>
#include <random>
#include "sha1.h"
struct SecretKey {
std::string RandomContent; // 12 HEX
std::string TotalKeyNum; // 2 Digit
};
static const size_t BLOCK_INTS = 16; /* numbe... |
/*
Properties for R134a.
by <NAME>
Thermo props from
"A International Standard Formulation for the Thermodynamic Properties of 1,1,1,2-Tetrafluoroethane
(HFC-134a) for Temperatures from 170 K to 455 K and Pressures up to 70 MPa"
by <NAME> and <NAME>, J. Phys. Chem. Ref. Data, v. 23, 1994, pp 657-729
*/
#if defined... |
// ----------------------------------------------------------------------------
// Interface to strands of hair. Both in terms of rendering, and the data
// required for simulation.
// ----------------------------------------------------------------------------
//
// Copyright (c) 2017 Advanced Micro Devices, Inc. All... |
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <limits>
#include "chrome/browser/views/tabs/tab_renderer.h"
#include "base/gfx/image_operations.h"
#include "chrome/app/theme/theme_r... |
/***************************************************************************
neoPLC-GPS Library
A library for UBlox GPS
This is a library for communicating with uBlox GPS modules
Based on "u-blox 8 / u-blox M8 Receiver Description" (UBX-13003221 - R13)
It is not likely to work with Devices older that protocol 20
C... |
#include "Isis.h"
#include <cmath>
#include <fstream>
#include <iostream>
#include <sstream>
#include <string>
#include <set>
#include <vector>
// Gnu Scientific Library
#include <gsl/gsl_errno.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_min.h>
#include "AtmosModel.h"
#include "AtmosModelFactory.h"
#include "GuiE... |
#include "ide.h"
void Ide::MakeTitle()
{
String title;
if(!main.IsEmpty())
title << main;
if(mainconfigname == mainconfigparam)
title << " - " << mainconfigname;
else
if(!mainconfigname.IsEmpty()) {
title << " - " << mainconfigname;
title << " ( " << mainconfigparam << " )";
}
title << " - TheIDE";
if(... |
/*
Copyright (C) 2011 by <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, distribute,... |
/*############################################################################
# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT
############################################################################*/
#include "src/cpu_decode.h"
#include <memory>
#include <utility>
#include "src/cp... |
/*
* Copyright 2020 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... |
/*
* 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... |
///////////////////////////////////////////////////////////////////////////////
// SOFTWARE COPYRIGHT NOTICE AGREEMENT //
// This software and its documentation are copyright (2009) by the //
// Broad Institute. All rights are reserved. This software is supplied //
... |
#include <utility>
#include <string>
#include <vector>
#include <string>
#include "boost/lexical_cast.hpp"
#include <sys/types.h> // directory check
#include <sys/stat.h>
//#include <filesystem>
#include "SpheroidScattering.hpp"
void TestSpheroidVectorTransforms() {
double eta = 0.9;
double ksi = 1.3;
... |
#include "cil.h"
using namespace binlex;
using json = nlohmann::json;
CILDecompiler::CILDecompiler(const binlex::File &firef) : DecompilerBase(firef) {
type = CIL_DECOMPILER_TYPE_ALL;
for (int i = 0; i < CIL_DECOMPILER_MAX_SECTIONS; i++){
sections[i].offset = 0;
sections[i].ntraits = 0;
... |
#include "llvm/Pass.h"
#include "llvm/IR/Function.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/IR/LegacyPassManager.h"
#include "llvm/IR/InstrTypes.h"
#include "llvm/Transforms/IPO/PassManagerBuilder.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
#include "llvm/IR/Module... |
/******************************************************************************
* kaffpa.cpp
* *
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* <NAME> <<EMAIL>>
*****************************************************************************/
#include <argtable3.h>
#include <iostream>
#include <math.h>... |
// code to maintain person location and orientation
// used to control camera
//
/*
Copyright © 2021 <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 l... |
//
// Copyright (c) .NET Foundation and Contributors
// Portions Copyright (c) Microsoft Corporation. All rights reserved.
// See LICENSE file in the project root for full license information.
//
#include "sys_dev_ble_native.h"
//#define BLE_NANO_DEBUG 1
extern bool device_ble_init();
extern void device_ble_dispos... |
#include "Arduino.h"
#include "aes.h"
//#include "utils.h"
#include <avr/pgmspace.h>
#include <EEPROM.h>
#define Nb 4
#define Nk 8
#define Nr 14
const int S_INV_START_EEPROM = 512;
/*const unsigned char s[256] =
{
0x63, 0x7C, 0x77, 0x7B, 0xF2, 0x6B, 0x6F, 0xC5, 0x30, 0x01, 0x67, 0x2B, 0xFE, 0xD7, 0xAB, 0x76,
... |
// -*- mode: C++; c-file-style: "cc-mode" -*-
//*************************************************************************
// DESCRIPTION: Verilator: main()
//
// Code available from: http://www.veripool.org/verilator
//
//*************************************************************************
//
// Copyright 2003-201... |
#include "rosetollvm/Control.h"
#include <rosetollvm/LLVMAstAttributes.h>
#include <llvm/ADT/StringExtras.h>
void __rose2llvm_fail (const char *__assertion, const char *__file, unsigned int __line) {
std::cerr << "*** Bad assertion in file " << __file << " at line " << __line << ": " << __assertion << std::endl;
... |
#include <string>
#include <string.h>
#include <stdio.h>
#include <assert.h>
#include <boost/locale.hpp>
#include "../micro_format.hpp"
static const std::string error_str = "{{error}}";
template <typename ... Args>
void test_eq(const std::string &desired, const char *format_str, const Args& ... args)
{
// multib... |
#include "Mesh.h"
#define USE_MATH_DEFINE
#include <math.h>
using namespace glm;
//-------------------------------------------------------------------------
Mesh ::~Mesh(void)
{
delete[] vertices;
delete[] colors;
}
//-------------------------------------------------------------------------
... |
#include <CImageLib.h>
#include <CImageTIF.h>
#include <CThrow.h>
#include <cstring>
#define NEW_SUBFILE_TYPE 254
#define IMAGE_WIDTH 256
#define IMAGE_HEIGHT 257
#define BITS_PER_SAMPLE 258
#define COMPRESSION 259
#define PHOTOMETRIC 262
#define STRIP_OFFSETS 273
#define SAMPLES_PER_PIX... |
#include <stdlib.h>
#include <boost/format.hpp>
#include <iostream>
#include <pcl/common/transforms.h>
#include <pcl/features/integral_image_normal.h>
#include <pcl/features/normal_3d_omp.h>
#include <pcl/filters/passthrough.h>
#include <pcl/kdtree/kdtree_flann.h>
#include <pcl/point_cloud.h>
#include <pcl/point_type... |
// ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
template < typename inputPixelType, typename binaryPixelType >
void ftk::nucSecNic::BinarizeMixPoisson< inputPixelType, binaryPixelType >::setP... |
//
// Algorithm.cpp
// CToC++
//
// Created by mac on 2020/3/14.
// Copyright © 2020 lwb. All rights reserved.
//
#include "Algorithm.hpp"
#include <vector>
#include <queue>
#include <climits>
#include <algorithm>
#include <deque>
#include <stack>
#include <map>
void printEdge(vector<vector<int>> matrix,size_t tR... |
/**
* This file is part of Fast-Planner.
*
* Copyright 2019 <NAME>, Aerial Robotics Group, Hong Kong University of Science and Technology, <uav.ust.hk>
* Developed by <NAME> <bzhouai at connect dot ust dot hk>, <uv dot boyuzhou at gmail dot com>
* for more information see <https://github.com/HKUST-Aerial-Robotics/Fast-... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
// - A couple helper functions for serializing/deserializing an AppKeyBindings
// to/from json.
//
// Author(s):
// - <NAME> - May 2019
#include "pch.h"
#include "AppKeyBindings.h"
#include "ActionAndArgs.h"
#include "KeyChordSeria... |
#include "ofApp.h"
#include <thread>
#include <queue>
#include <mutex>
#include <chrono>
#include <omp.h>
bool isDebug = false;
glm::vec3 camera = glm::vec3(0, 5, 20);
std::vector<glm::vec3> lightSource = { glm::vec3(-15, 18, 10) , glm::vec3(15, 18, 10) };
float viewportWidth = 2.0f;
float viewportHeight = 2.0f;
glm... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "TestCase.h"
#include <fstream>
#include <memory>
#include "core/platform/env.h"
#include "core/framework/tensorprotoutils.h"
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wignored... |
#include <iostream>
#include "PracticalSocket.h"
#include "Sha256Lib.h"
#include "protocol/SPChatMessage.h"
#include "protocol/SPChatChallenge.h"
#include "protocol/SPChatLogin.h"
#include "protocol/SPChatResponse.h"
#include "protocol/SPChatACK.h"
#include <openssl/rand.h>
#include "protocol/SPChatException.h"
#includ... |
// Copyright 2021 The WebNN-native 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 ... |
//===--------------------------------------------------------------------------------*- C++ -*-===//
// _
// | |
// __| | __ ___ ___ ___
// / _` |/ _` \ \ /\ / / '_ |
// | (_| | (_| |\ V V /| | | |
// ... |
// ===========================================================================
// Imagine++ Libraries
// Copyright (C) Imagine
// For detailed information: http://imagine.enpc.fr/software
// ===========================================================================
// So far, this file is aimed at using each function... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/*
* GDevelop C++ Platform
* Copyright 2008-2016 <NAME> (<EMAIL>). All rights
* reserved. This project is released under the MIT License.
*/
#include "GDCpp/Runtime/RuntimeObject.h"
#include <SFML/System.hpp>
#include <cmath>
#include <cstring>
#include <iostream>
#include "GDCore/CommonTools.h"
#include... |
/*
* Copyright (c) 2009-2011, NVIDIA 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
* ... |
#include <stdio.h>
#include <iostream>
#include "ArgumentParser.h"
#include "Log.h"
#include <vector>
#include <map>
#include "itkImageRegionIterator.h"
#include "TransformationUtils.h"
#include "ImageUtils.h"
#include "FilterUtils.hpp"
#include "bgraph.h"
#include <sstream>
#include "ArgumentParser.h"
#include <fstre... |
/*
* Compile:: g++ -std=c++17 GenAUs.cpp -o genAUs -O3
*/
#include <iostream>
#include <fstream>
#include <string>
#include <cstring>
#include <random>
#include <vector>
#include <sstream>
#include <list>
#define CFCount 3//# methods in coin contract.
#define BFCount 5//# methods in ballot contract.
#define AFConut 6... |
/* Copyright (c) 2017, United States Government, as represented by the
* Administrator of the National Aeronautics and Space Administration.
*
* All rights reserved.
*
* The Astrobee platform is licensed under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with t... |
#include "util/global.hpp"
#include "time/time.hpp"
#include "task/task.hpp"
#include "util/iterative.hpp"
#include "operator/2eoperator.hpp"
#include "operator/excitationoperator.hpp"
#include "operator/st2eoperator.hpp"
#include "operator/denominator.hpp"
#include "convergence/diis.hpp"
using namespace aquarius::op... |
#include <memory>
#include <cctype>
#include "CLHEP/Random/DRand48Engine.h"
#include "CLHEP/Random/RandGauss.h"
#include "CLHEP/Random/Randomize.h"
#include "DataFormats/TrackingRecHit/interface/AlignmentPositionError.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "FWCore/Utilities/interface/Random... |
// Include the necessary libraries.
#include "Shape.h"
#include "VisitedList.h"
#include "ListHelper.h"
#include "ObjectSortingContainer.h"
#include <math.h>
#define E 2.718281828
#define PI 3.1415926535897932384626433
// Construct the shape from another shape.
Shape::Shape(Shape & other)
{
fromOther(other);
}
// ... |
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
int rLcf,N, HOVz ,lXbG,Vz9
,egT , HPo ,a ,ao,MSt7L
/*n*/,wd0uH,
u
,WLS ,GuzmY ,bDD
,Lz8 ,Qo2GC/*XIa*/,
hH4
//
,t ,/*iS*/Y8F
,
/*Uw*/ Ssq18,gWB, Ek, zGMhR ,o,rbY /*vJx*/
,b, QcQ, ND//l5
,nI , KINZ //2
,E
,
eMLH
, sv , lx,
Ph
,
Sq, vN , B, Nxj ,
wrO,
Qo,BO2
,Dg ,
ml,LJWm
,/**/
azAv;
void f_f0(... |
/* The copyright in this software is being made available under the BSD
* License, included below. This software may be subject to other third party
* and contributor rights, including patent rights, and no such rights are
* granted under this license.
*
* Copyright (c) 2010-2017, ITU/ISO/IEC
* All rights reserve... |
#include <Carbon/Carbon.h>
#include "IKCommon.h"
#include "IKString.h"
#include "IKMessage.h"
#include "IKUtil.h"
#include "IKSettings.h"
#include "MessageClient.h"
#include "AppLib.h"
#include "IntelliKeys.h"
#include "IKFile.h"
int savedKeyThresh;
int savedKeyRepThresh;
// FUNCTION
// name = myCallBack
//
// Th... |
#include "big_int.hpp"
using namespace std;
/** 1. Constructor Test **/
void constructor_test() {
cout << "\n\nConstructor Test :\n\n";
//a. Default constructor
big_int def;
//b. 'int' parameterized constructor
big_int int_pos(1234);
big_int int_neg(-1234);
//c. 'long long' parameterized constructor
big_... |
/*****************************************************************/
/* NAME: <NAME> */
/* ORGN: Dept of Mechanical Eng / CSAIL, MIT Cambridge MA */
/* FILE: HelmScope.cpp */
/* DATE: Apr 12th 2008 ... |
//----------------------------------------------------
// file: PortalUtils.cpp
//----------------------------------------------------
#include "stdafx.h"
#pragma hdrstop
#include "portalutils.h"
#include "CustomObject.h"
#include "Scene.h"
#include "Portal.h"
#include "Sector.h"
#include "EditMesh.h"
#inc... |
//
// InputBox.cpp
//
#include "InputBox.hpp"
#include "../CardManager.hpp"
#include "../../common/Logger.hpp"
#include "../../common/unicode.hpp"
const size_t InputBox::HISTORY_MAX_SIZE = 50;
const int InputBox::DEFAULT_MAX_WIDTH = 600;
const int InputBox::TAB_TOP_MARGIN = 7;
const int InputBox::TAB... |
#include "Navigation.h"
void Navigation::RecastCleanup()
{
if (m_triareas) delete[] m_triareas;
m_triareas = 0;
rcFreeHeightField(m_solid);
m_solid = 0;
rcFreeCompactHeightfield(m_chf);
m_chf = 0;
rcFreeContourSet(m_cset);
m_cset = 0;
rcFreePolyMesh(m_pmesh);
m_pmesh = 0;
rcFreePolyMeshDetail(m_dmesh);
m_... |
typedef signed short FT_Int16;
typedef unsigned short FT_UInt16;
typedef signed int FT_Int32;
typedef unsigned int FT_UInt32;
typedef int FT_Fast;
typedef unsigned int FT_UFast;
typedef long FT_Int64;
typedef unsigned long FT_UInt64;
typedef struct FT_MemoryRec_* FT_Memory;
typedef void*
(*FT_Allo... |
/*
* A program that ...TODO: enter description
* This strand of nucleic acids can be composed of either DNA or RNA.
*
* (c) 2015 Mathews Lab, University of Rochester Medical Center.
* Written by <NAME> (2015)
*/
#include <iostream>
#include <stdlib.h>
#include <time.h>
#include "design_interface.h"
#include "../... |
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/log/file_net_log_observer.h"
#include <algorithm>
#include <memory>
#include <queue>
#include <string>
#include <utility>
#include "base/b... |
#include "bignumberimpl.h"
#include <regex>
#include <string>
#include <cmath>
#include <iostream>
extern void formatString(std::string & numStr);
/******************************************
* 两个positive BignumberImpl 相加,
* NOTE:必须保证传入的数为整数或0
* 返回值:相加得到的BignumberImpl
* ********************************... |
/*
* AIBIN.cpp
* SCMS
*
* Created by poiuy_qwert on 04/08/09.
*
*/
#include "AIBIN.h"
AIByteCode AIByteCodeHandler;
const char *flowEndings = "\x24\x27\x39\x41";
AIByteCode::AIByteCode() {
this->blockType = this->add_type("BLOCK", TYPE_SIZES::USHORT);
this->stringType = this->add_type("STRING", TYPE_SIZES... |
// This file is part of snark, a generic and flexible library for robotics research
// Copyright (c) 2017 The University of Sydney
// 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. Redistr... |
//Author : Sygmei
//Key : 976938ef7d46c286a2027d73f3a99467bcfa8ff0c1e10bd0016139744ef5404f4eb4d069709f9831f6de74a094944bf0f1c5bf89109e9855290336a66420376f
#include "KeyBind.hpp"
namespace mse
{
namespace Input
{
KeyClass::KeyClass(sf::Keyboard::Key key, std::string name, std::string returnChar, std::stri... |
/* Copyright (C) 2016-2019 INRA
*
* 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 <imgui.h>
#include <imgui_internal.h>
#include "SeqUISequencer.h"
#include "Sequentia.h"
#include "SeqProjectHeaders.h"
#include "SeqPlayer.h"
#include "SeqActionFactory.h"
#include "SeqSerializer.h"
#include "SeqString.h"
#include "SeqList.h"
#include "SeqTime.h"
#include "SeqWidgets.h"
ImU32 SeqUISequencer:... |
/*=========================================================================
Program: Visualization Toolkit
Module: $RCSfile: vtkWriter.cxx,v $
Copyright (c) <NAME>, <NAME>, <NAME>
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distribu... |
//--------------------------------------------------------------------------------------
// SimpleBezier.cpp
//
// This sample demonstrates the basic usage of the DirectX 11 tessellation feature to
// render a simple cubic Bezier patch.
//
// Advanced Technology Group (ATG)
// Copyright (C) Microsoft Corporatio... |
#include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup()
{
ofSetFrameRate(60);
ofSetVerticalSync(true);
ofBackground(0);
ofSetBackgroundAuto(false);
/*--------------------------------------------------------------*/
/*-----------------------------... |
/****************************************************************************
* Copyright (c) 2019, CEA
* 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... |
#include <array>
#include "Southpole.hpp"
#include "dsp/digital.hpp"
#include "Bjorklund.hpp"
namespace rack_plugin_Southpole {
struct Sns : Module {
enum ParamIds {
K_PARAM,
L_PARAM,
R_PARAM,
S_PARAM,
P_PARAM,
A_PARAM,
CLK_PARAM,
TRIG_PARAM,
NUM_PARAMS
};
... |
//===-- COFFDump.cpp - COFF-specific dumper ---------------------*- C++ -*-===//
//
// 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
//
//===---------------------------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.