text stringlengths 8.71k 38.4k |
|---|
// 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 may... |
int WIv,/*97g*/ep//Dg
, b, UUx1y,I0V, a
,C1,y1, kV2y,y /*yB*/,//U
BSzM,//J
Yz,
qfCfD8
, Bx8,
rs ,k
,
sqv8J
, jr, PtiFn ,
hE0
/**/,
aw3Z
,GV ,
p2
//Cz
, Wt9y//JtI
//v
,d5r,TXx,/*JZP*/mgqgo,
WKng
,W675,/**/ QKbLT ,/*wjP*/wo5
//
,XmotG,O ,bd2C ,//2P3B
Xrk //b8Do
,n7H,
dSc8
, /*RYd*/YBX , D... |
#include "test_common.h"
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <string>
#include <random>
#include <chrono>
#include <thread>
#include <gns/gamenetworkingsockets.h>
#include <gns/igamenetworkingutils.h>
#ifndef STEAMNETWORKINGSOCKETS_OPENSOURCE
#include <gns/game_api.... |
// -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*-
// Copyright (c) 2008, Google Inc.
// 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 cod... |
/*
This is Vocode-O-Matic, a vocoder plugin for VCV Rack v1.x
Copyright (C) 2018, <NAME> aka <NAME>.
You can contact me here: josbouten at gmail dot com
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... |
// <NAME>
//
// Generate peptides (enzymatic or non-enzymatic) from a set of proteins.
//
// Example command-line:
// make_peptides [ options ] --proteins=<raw_proteins.proto input file> \
// --peptides=<peptides.proto output file>
// See other command-line options below.
//
// Implementatio... |
/**************************************************************************\
* This file is part of CaSPER. *
* *
* Copyright: *
* 2009-20... |
// Tally.cpp
// Central Tally Class
// -- <NAME>
#include <string>
#include <vector>
#include <iomanip>
#ifndef PYNE_IS_AMALGAMATED
#include "tally.h"
#include "particle.h"
#endif
enum entity_type_enum {VOLUME, SURFACE}; // Enumeration for entity types
enum tally_type_enum {FLUX, CURRENT}; // Enumeration for ... |
/**
* Copyright (c) 2009 Carnegie Mellon University.
* 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... |
/*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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://ww... |
//
// Original Fortran code taken from http://www.netlib.org/specfun/erf, compiled with f2c, and adapted by hand.
//
// Created with command line f2c -C++ -c -a -krd -r8 cody_erf.f
//
// Translated by f2c (version 20100827).
//
//
// This source code resides at www.jaeckel.org/LetsBeRational.7z .
//
// ===============... |
//===-- Commands.cpp - Implement various commands for the CLI -------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
/*
* TightSpanWalker.cpp
*
* Created on: Sep 14, 2012
* Author: jleigh
*/
#include "TightSpanWalker.h"
#include "NetworkError.h"
#include <QTime>
#include <algorithm>
#include <cmath>
#include <cstdlib>
#include <fstream>
#include <sstream>
using namespace std;
TightSpanWalker::TightSpanWalker(const vecto... |
// Begin CVS Header
// $Source: /fs/turing/cvs/copasi_dev/copasi/trajectory/CTrajAdaptiveSA.cpp,v $
// $Revision: 1.1 $
// $Name: Build-33 $
// $Author: shoops $
// $Date: 2010/09/13 15:06:38 $
// End CVS Header
// Copyright (C) 2010 by <NAME>, Virginia Tech Intellectual
// Properties, Inc., University of He... |
/*This file is part of the PostView source code and is licensed under the MIT license
listed below.
See Copyright-PostView.txt for details.
Copyright (c) 2020 University of Utah, The Trustees of Columbia University in
the City of New York, and others.
Permission is hereby granted, free of charge, to any person obta... |
/************************************
Processes information from the VANDLE Bars
Updated: <NAME> 26 July 2010
*************************************/
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <fstream>
#include <iostream>
#include <numeric>
#include <string>
#include <unistd.h> //not standard c... |
#include "../dungeon/RogueMap.h"
RogueMap::RogueMap() {
mMap = NULL;
mWidth = 0;
mHeight = 0;
mLastRoomHandle = 0;
}
RogueMap::RogueMap(int width, int height) {
mMap = NULL;
resize(width, height);
mLastRoomHandle = 0;
}
RogueMap::~RogueMap() {
if (mMap != NULL) {
delete [] mMap;
}
}
void Rogue... |
/* Copyright 2019 Google Inc. All Rights Reserved.
** Licensed under the Apache License, Version 2.0 (the "License");
**
** Derived from the public domain SQLite (https://sqlite.org) sources.
*/
#include <fuzzer/FuzzedDataProvider.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include <cstdlib>
#inclu... |
/*
* DBServConn.cpp
*
* Created on: 2013-7-8
* Author: <EMAIL>
*/
#include "DBServConn.h"
#include "RouteServConn.h"
#include "public_define.h"
#include "AttachData.h"
#include "HttpConn.h"
#include "HttpPdu.h"
#include "HttpQuery.h"
#include "IM.Other.pb.h"
#include "IM.Message.pb.h"
#include "IM.Buddy.pb.... |
// Copyright (c) 2007-2010 <NAME>
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Copyright (c) 2011-2017 The Litecoin Core developers
// Copyright (c) 2013-2018 The Goldcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licens... |
//======================================================================
// sesame2spiner tool for converting eospac to spiner
// Author: <NAME> (<EMAIL>)
// © 2021. Triad National Security, LLC. All rights reserved. This
// program was produced under U.S. Government contract 89233218CNA000001
// for Los Alamos Nation... |
/************************************************************************
* *
* GLE - Graphics Layout Engine <http://www.gle-graphics.org/> *
* *
* Modified BSD License ... |
#include "SandBox.h"
#include "System/Log.h"
#include "System/Input.h"
#include "Events/WindowEvent.h"
#include "Events/KeyEvent.h"
#include "Events/MouseEvent.h"
#include "Graphics/MeshFactory.h"
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <glm/gtx/euler_angles.hpp>
#define SINGLE... |
/*
* Copyright 2016 Mozilla Foundation
*
* 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 agr... |
/**************************************************************
*
* 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 y... |
#include <stdlib.h>
#include "matrices.h"
#include "util2019.h"
#include "habitat.h"
#include "landscpe.h"
#include "gasdev.h"
//---------------------------------------------------------------------------
/*************************************************************************
This file implements a landscape with ... |
/*
* LLNS Copyright Start
* Copyright (c) 2014-2019, Lawrence Livermore National Security
* This work was performed under the auspices of the U.S. Department
* of Energy by Lawrence Livermore National Laboratory in part under
* Contract W-7405-Eng-48 and in part under Contract DE-AC52-07NA27344.
* Produced at the... |
/* Copyright (c) 2016, <NAME> <<EMAIL>>. All rights reserved. */
/*
Analyze cribbage hands.
Given a cribbage hand (six cards), which two cards should you discard
to the crib to maximize your chances of getting the best score?
*/
#include <algorithm>
#include <cassert>
#include <cmath>
#include <cstddef>
#include ... |
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdint.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/socket.h>
#include <netinet/tcp.h>
#include <netdb.h>
#include <raids/ev_memcached.h>
using namespace rai;
using namespace ds;
using namespace kv;
static MemcachedStat... |
/* Copyright 2001, 2019 IBM Corporation
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
* following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the
* following d... |
#include <cfloat>
#include <algorithm>
#include <cstdlib>
#include <cmath>
#include "process.h"
const double get_max(cv::Mat &to_get) {
double min_v, max_v;
cv::minMaxLoc(to_get, &min_v, &max_v);
return max_v;
}
const void round_and_scale(cv::Mat &to_scale, cv::Mat &scaled, const double multiplier, const double d... |
/*
* Copyright (C) 2010 Learning Algorithms and Systems Laboratory, EPFL, Switzerland
* Author: <NAME>
* email: <EMAIL>
* website: lasa.epfl.ch
*
* Permission is granted to copy, distribute, and/or modify this program
* under the terms of the GNU General Public License, version 2 or any
* later version publis... |
/*
* Copyright (c) 2006,2011-2012,2014 Apple Inc. All Rights Reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file exc... |
/* -------------------------------------------------------------------------- *
* SimTK Core: SimTK Simbody(tm) *
* -------------------------------------------------------------------------- *
* This is part of the SimTK Core biosimulation toolkit originating from ... |
#include "precompiled_stl.hpp"
using namespace std;
#include "utils.hpp"
#include <map>
#include "read.hpp"
#include "visu.hpp"
#include "core_functions.hpp"
#include "image_functions.hpp"
#include "normalize.hpp"
#include "spec.hpp"
#include "image_functions2.hpp"
int rcDiff(Image_ img) {
vector<int> row(img.h,1)... |
/**
* @file LoRaPHYAU915.cpp
*
* @brief Implements LoRaPHY for Australian 915 MHz band
*
* \code
* ______ _
* / _____) _ | |
* ( (____ _____ ____ _| |_ _____ ____| |__
* \____ \| ___ | (_ _) ___ |/ ___) _ \
* _____) ) ____| | | || |_| ____(... |
/**********************************************************************
main.cpp - Main conversion program, command-line handling.
Copyright (C) 1998-2001 by OpenEye Scientific Software, Inc.
Some portions Copyright (C) 2001-2006 by <NAME>
Some portions Copyright (C) 2004-2010 by <NAME>
This file is part of the Open ... |
/* --------------------------------------------------------------------------
*
* File DrawSpace.cpp
* Ported By <NAME>
* Contact <EMAIL>
*
* --------------------------------------------------------------------------
*
* Copyright (c) 2010-2013 XMSoft.
* Co... |
#include "PPU.h"
#include "memory/Bus.h"
#include <SFML/Graphics.hpp>
#include <utility>
#include <algorithm>
#include <string>
#include <iostream>
#include "util/macros.h"
#include "assert.h"
#include <cmath>
PPU::PPU() {
}
PPU::~PPU() {
}
void PPU::renderScanline(uint16_t scanline) {
// TODO: explain this l... |
//===- ComprehensiveBufferize.cpp - Single pass bufferization -------------===//
//
// 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
//
//===---------------------------... |
extern "C" {
#include <lua.h>
#include <lauxlib.h>
#include <stdlib.h>
#include <stdint.h>
#include <assert.h>
#include <string.h>
}
#include "lua_helpers.h"
#include "serialize.h"
#define TYPE_NIL 0
#define TYPE_BOOLEAN 1
// hibits 0 false 1 true
#define TYPE_NUMBER 2
// hibits 0 : 0 , 1: byte, 2:word, 4: dword, 6: qw... |
/*
* Copyright (C) 2004-2019 ZNC, see the NOTICE file for details.
*
* 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... |
#include <yangwebrtc/YangRtcSession.h>
#include <yangwebrtc/YangRtcStun.h>
#include <yangrtp/YangRtcpCompound.h>
#include <yangrtp/YangRtpConstant.h>
#include <yangutil/yang_unistd.h>
#include <yangutil/sys/YangSsrc.h>
#include <yangutil/sys/YangLog.h>
#include <yangutil/sys/YangSRtp.h>
#include <queue>
/**
bool ya... |
#define _FILE_OFFSET_BITS 64
#include <algorithm>
#include <cerrno>
#include <cstdlib>
#include <cstring>
#include <string>
#include <vector>
#include <stdint.h>
#include "qtlzip.h"
#include "lzip.h"
#include "encoder_base.h"
#include "encoder.h"
extern LZipLib::CRC32 lcrc32 ;
int LZ_encoder::get_match_pairs( Pair ... |
/* -*- C++ -*- */
/* -----------------------------------------------------------------------------
@@@@@@@@ @@ @@@@@@ @@@@@@@@ @@
/@@///// /@@ @@////@@ @@////// /@@
/@@ /@@ @@@@@ @@ // /@@ /@@
/@@@@@@@ /@@ @@///@@/@@ /@@@@@@@@@/@@
/@@//// /@@/@@@@@@@/@@ ... |
/****************************************************************************
*
* Copyright (c) 2008 by <NAME>, all rights reserved.
*
* Author: <NAME>
* Contact: <EMAIL>
*
* This software is partly based on the following open source:
*
* - OpenCV
*
**********************************************************... |
#include "WorldChunk.h"
#include "WorldChunkDebugger.h"
#include "Globule.h"
#include "ChunkWorker.h"
#include "VertexGenerator.h"
#include "gfx/gl/buffer/Buffer.h"
#include "gfx/gl/buffer/VertexArray.h"
#include "gfx/gl/texture/Texture2D.h"
#include "gfx/model/RenderProgram.h"
#include "world/chunk/Chunk.h"
#include... |
//:
// \file
// \brief arbitrary precision calculator
// Accepts a C-style numeric expression that is to be parsed (preferably within
// quotes to escape spaces, brackets and other special symbols from the shell);
// it may contain the following:
// optional spaces (are ignored)
// integer and floating point numbers,... |
/*
* Copyright (C) 2018, SICK AG
* Copyright (C) 2018, Ing.-Buero Dr. <NAME>
* Copyright (C) 2016, DFKI GmbH
* 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
*
* ... |
// Copyright 2022 The Google Research 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... |
//c++ includes
#include <assert.h>
#include <iostream>
//slicer includes
#include "slicer.hpp"
//SIGMA includes
#include "moab/Core.hpp"
#include "moab/Interface.hpp"
//test driver includes
#include "testutils.hpp"
using namespace moab;
void group_slicing_test();
//structure functions
void line_struct_test();
//... |
#include <stdlib.h>
#include <glut.h>
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <vector>
void addLight(void);
//Define struct to be used to hold coordinates for points read in from .poly file.
struct point
{
GLfloat x;
GLfloat y;
GLfloat z;
};
//Define struct to hold ref... |
///
/// BinauralDB.cpp -- HRTF-based binaural panner/spatializers
///
/// Classes
/// HRTF: holds the data that corresponds to an HRTF for a single position.
/// HRTFDatabase: vector of HRTFs; implemented as a Singleton because it's large.
/// BinauralPanner: place sources in 3D using block-wise convolution with an... |
#include "Sky.h"
#include "WICTextureLoader.h"
#include "DDSTextureLoader.h"
using namespace DirectX;
Sky::Sky(
const wchar_t* cubemapDDSFile,
std::shared_ptr<Mesh> mesh,
std::shared_ptr<SimpleVertexShader> skyVS,
std::shared_ptr<SimplePixelShader> skyPS,
Microsoft::WRL::ComPtr<ID3D11SamplerState> samplerOpti... |
/*
==== Author:
<NAME> (<EMAIL>)
Visual Geometry Group,
Department of Engineering Science
University of Oxford
==== Copyright:
The library belongs to <NAME> and the University of Oxford.
No usage or redistribution is allowed without explicit permission.
Updates:
- 2 Aug. 2019: removed dependency on... |
#include "RenderLayer.h"
#include "EntityProprieties.h"
#include "Hazel/Core/Input.h"
#include "Hazel.h"
#include "ImGuizmo/ImGuizmo.h"
RenderLayer::RenderLayer(GizmoOverlay* GizmoLayer) :Layer("Render Layer"), m_Scene(Hazel::Scene(1280.0f, 720.0f)), m_GizmoLayer(GizmoLayer)
{
// Init
// setti... |
// CinderPango.cpp
// PangoBasic
//
// Created by <NAME> on 1/6/16.
//
#include "cinder/Log.h"
#include "CinderPango.h"
#include <regex>
#if CAIRO_HAS_WIN32_SURFACE
#include <cairo-win32.h>
#endif
using namespace kp::pango;
#pragma mark - Lifecycle
CinderPangoRef CinderPango::create() {
return CinderPangoRef(new... |
/*
* VICI VC8145
*
* V0.1 - December 22, 2018
*
*
* Written by <NAME> (<EMAIL>)
*
*/
#include <SDL.h>
#include <SDL_ttf.h>
#include <signal.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <termios.h... |
/*****************************************************************/
/* NAME: <NAME> */
/* ORGN: Dept of Mechanical Eng / CSAIL, MIT Cambridge MA */
/* FILE: FColorMap.cpp */
/* DATE: Jan 12th 2006 ... |
/* ************************************************************************
* File: spec_procs.c Part of CircleMUD *
* Usage: implementation of special procedures for mobiles/objects/rooms *
* *
* All rights re... |
#include <cstdio>
#include <cstring>
#include <cmath>
#include <vector>
#include <algorithm>
using namespace std;
const double pi = 4 * atan(1);
const double eps = 1e-8;
inline int dcmp (double x) { if (fabs(x) < eps) return 0; else return x < 0 ? -1 : 1; }
inline double getDistance (double x, double y) { return sqrt... |
int
B8wh ,//R5
Uuj1B , dIA2Yh, HPb
,Xn ,jjU,b , u8Qe,QN1,
Bs ,Cz9Q,D66,unRf
, zZ ,onsL,PiT,EHjM /*sk*/,
n5A,
sbp0D , gh9 ,
W5/*lQ*/,//8w
BtWM,df, tn
, W2 ,Z7dy,
wX5Xp,BB
, K1,mhj , zW , NT6E, NdpL , bG , p, LlS,Zyn,/*W*/Ui
,AC,ue9ta ,Yz, YFC;void f_f0
() { int p2X6
; volatile int k4kGdv
,Ns1l9
,
ISk,
... |
#include "GMSPolyhedron.h"
#include "Geometry/Boundaries/WorkspaceBoundingBox.h"
#include "MPLibrary/ValidityCheckers/CollisionDetection/RapidCollisionDetection.h"
#include "MPLibrary/ValidityCheckers/CollisionDetection/PQPCollisionDetection.h"
#include "Utilities/IOUtils.h"
#include "Utilities/MPUtils.h"
#include "P... |
/*
* Copyright (c) 2017-2021, Alibaba Group Holding Limited
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
/*
* JBoss, Home of Professional Open Source
* Copyright 2008, Red Hat, Inc., and others contributors as indicated
* by the @authors tag. All rights reserved.
* See the copyright.txt in the distribution for a
* full listing of individual contributors.
* This copyrighted material is made available to anyone wishin... |
#include "portal/workload.h"
#include "common/make_key.h"
#include "common/table_id.h"
#include "common/tuple.h"
#include "common/bench_result.h"
#include "common/db_type.h"
#include "common/time_tracer.h"
#include "network/client.h"
#include "network/db_client.h"
#include <boost/date_time.hpp>
#include <boost/log/triv... |
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration... |
#include "execution_data.h"
#include "error.h"
#include <algorithm>
#include <sstream>
Execution_data::Execution_data(int rank,
int comm_sz,
int CU,
int local_PE_dim,
int remote_PE_dim,
... |
#include "driver.h"
namespace pt = boost::property_tree;
namespace beast = boost::beast;
namespace http = beast::http;
namespace net = boost::asio;
namespace logging = boost::log;
namespace keywords = boost::log::keywords;
namespace sinks = boost::log::sinks;
namespace src = boost::log::sources;
using net::ip::tcp;
u... |
#define AliSelectorFindableHyperTriton3Body_cxx
#include "AliESDVertex.h"
#include "AliESDtrack.h"
#include "AliExternalTrackParam.h"
#include "AliPID.h"
#include "AliVTrack.h"
#include <TH1D.h>
#include <TH2D.h>
#include <TList.h>
#include <TLorentzVector.h>
#include <TObjArray.h>
#include <TStyle.h>
#include <TVecto... |
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <vector>
#include <ctime>
#include "windows.h"
#include "Model.h"
#include "Shader.h"
#include "Camera.h"
#include "stb_image.h"
#include "SDL.h"
#include "glew.h"
#include "glm/glm.hpp"
#include "glm/gtc/matrix_transform.hpp"
#include "glm/gtc/type_... |
#include <Common/AesEngine.h>
#include <spdlog/spdlog.h>
#include <fmt/format.h>
#include <algorithm>
#include <exception>
#include <iterator>
#include <stdexcept>
using namespace common;
static const std::array<std::uint8_t, 256> substitutionTable = {
{99, 124, 119, 123, 242, 107, 111, 197, 48, 1, 103, 43... |
/**
* A tile puzzle game in which the user must sort numerical tiles in a given order.
*
* This program is a demonstration of some basic search methods used in classical AI.
* When the solution space is enumerable, finite, and the combinatorial expansion can be kept
* under control, search algorithms are a very e... |
//////////////////////////////////////////////////////////////////////////
// Homemade GPS Receiver
// Copyright (C) 2013 <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 vers... |
/* Copyright (c) 2017, 2020, Oracle and/or its affiliates.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2.0,
as published by the Free Software Foundation.
This program is also distributed with certain software (including... |
#include <iostream>
#include <fstream>
#include <string.h>
#include <string>
#include <sstream>
#include <list>
using namespace std;
class textblock {
public:
int blockpointer;
char * value1; char * value2;
char * jpnnamepointer; char * jpnname;
char * jpntextpointer; char * jpntext;
char * engnamepointer; char *... |
/************************************************************************
*
* 22.locale.globals.mt.cpp
*
* test exercising the thread safety of [locale.global.templates]
*
* $Id$
*
***************************************************************************
*
* Licensed to the Apache Software Foundation (ASF)... |
/*************************************************************************
*
* SCSC CONFIDENTIAL
* __________________
*
* Copyright (c) [2009] - [2012]
* SubCarrier System Corp. (SCSC)
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains,
* the property of SubCarrier Syste... |
// Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
#include <torch/extension.h>
#include <algorithm>
#include <list>
#include <queue>
#include <tuple>
#include "geometry_utils.h"
#include "vec2.h"
#include "vec3.h"
float PixToNdc(int i, int S) {
// NDC x-offset + (i * pixel_width + half_pixel_... |
/**
Copyright (c) 2015-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.
*/
#include <car/Rendition.h>
#include <car/Reader.h>
#include <car/car_format.h>
#include <cassert>
#include <cstring... |
//
// Created by <NAME> on 2018/11/30.
//
#include <iostream>
#include <torch/csrc/jit/ir/constants.h>
#include <torch/csrc/jit/ir/ir.h>
#include <torch/csrc/jit/python/python_tracer.h>
#include <torch/csrc/jit/serialization/import.h>
#include <torch/torch.h>
#include <spdlog/sinks/stdout_color_sinks.h>
#include <co... |
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "DataFormats/MuonDetId/interface/CSCTriggerNumbering.h"
#include "L1Trigger/CSCTriggerPrimitives/src/CSCGEMMotherboardME21.h"
#include "Geometry/GEMGeometry/interface/GEMEtaPartitionSpecs.h"
CSCGEMMotherboardME21::CSCGEMMotherboardME21(unsigned endcap,... |
#include <iostream>
#include <fstream>
#include <cmath>
#include "hdf5.h"
using namespace std;
#define MACHINEACCURACY 5.e-16 ///< This should be found out before running the code!
#define GNDIM 2
#define EQNDIM 3
#if defined (HD)
#define NVAR (2+EQNDIM)
#elif defined (MHD)
#define NVAR (2+2*EQNDIM) // density, pre... |
#include "voxel_instance_generator.h"
#include "../../util/funcs.h"
#include "../../util/profiling.h"
#include <core/core_string_names.h>
#include <scene/resources/mesh.h>
namespace {
const float MAX_DENSITY = 1.f;
const char *DENSITY_HINT_STRING = "0.0, 1.0, 0.01";
} // namespace
inline Vector3 normalized(Vector3 p... |
int
VA
,Rn ,oHObz /*Uc*/,/*qC*/vIQ, keni, i
,
iqoe
,xu3e5tC,
lD1H,AaVeC
,
sRxu , jc
,NgNRf,mqs,fd82UP,fEs
,UXp,
aY,
nd , yV, qkx
,Wx
, Et1, ZW,m7f
,
ag5W
,
EWv, UXu, cijhF ,/*iogo*/BD
/*Eph*/,
//GJk
Ers, wVSor5//t9
, iWjJj
, cpTk, E
,
ij01, E5I,mTikC,vp8, PD
, zRs43,bb ,
abx; void f_f0(... |
//Created by <NAME> on 6/1/15
//Do whatever you want with this code
#include "wfLZ.h"
#include <iostream>
#include <vector>
#include <string>
#include <sstream>
#include <stdlib.h>
#include <cstdio>
#include <squish.h>
#ifdef _WIN32
#include <windows.h>
#endif
#include "FreeImage.h"
#include <list>
#include <cmath>
#i... |
/*
* Copyright 2019 OmniSci, 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... |
#include "endpoint.h"
#include <stdexcept>
#include <set>
#include <libpq-fe.h>
#include "schema.h"
#include "database_client_traits.h"
#include "row_printer.h"
class PostgreSQLRes {
public:
PostgreSQLRes(PGresult *res);
~PostgreSQLRes();
inline PGresult *res() { return _res; }
inline ExecStatusType status() { ... |
#include "alfe/sdl2.h"
#include "alfe/bitmap.h"
#include "alfe/bitmap_png.h"
#include "resource.h"
#include "SDL_syswm.h"
#define TILESX 100
#define TILESY 100
#define TILEX 64
#define TILEY 64
#define TILETYPES 256
#define OUTERTILE
#define SHKGTILE 7
#define LIANTILE 15
#define ZOMBIERTILE0 0
#define ZOMBIERTILE1 13... |
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkPDFShader.h"
#include "SkCanvas.h"
#include "SkData.h"
#include "SkPDFCatalog.h"
#include "SkPDFDevice.h"
#include "SkPDFTypes.h"
#include "SkPDFUtils.h"
#inclu... |
#include <cstdlib>
#include <ctime>
#include <fstream>
#include <corecrt.h>
#include <corecrt_io.h>
#include <string>
#include <direct.h>
#include <sys/timeb.h>
#include <iomanip>
#include <windows.h>
#include "mediapipe/framework/calculator_framework.h"
#include "mediapipe/framework/formats/image_frame.h"
#include "... |
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <memory.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdint.h>
#include <sys/mman.h>
#include "Types.h"
#define max(a,b) ((a)>(b)?(a):(b))
#define min(a,b) ((a)<(b)?(a):(b))
#pragma pack(1)
struc... |
/*NOTICE: Copyright 2014 Arizona Board of Regents on behalf of University of Arizona.
* All information, intellectual, and technical concepts contained herein is and shall
* remain the proprietary information of Arizona Board of Regents and may be covered
* by U.S. and Foreign Patents, and patents in process. D... |
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
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 ... |
//
// Implementation for Yocto/CommonIO
//
//
// LICENSE:
//
// Copyright (c) 2016 -- 2020 <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... |
// Magic Software, Inc.
// http://www.magic-software.com
// Copyright (c) 2000-2002. All Rights Reserved
//
// Source code from Magic Software is supplied under the terms of a license
// agreement and may not be copied or disclosed except in accordance with the
// terms of that agreement. The various license agreemen... |
// (C) 2017-2021 by <NAME>, released under Apache License v2.0
#include "config.h"
#include <algorithm>
#include <assert.h>
#include <atomic>
#include <dirent.h>
#include <dlfcn.h>
#include <errno.h>
#include <fcntl.h>
#include <filesystem>
#include <functional>
#include <malloc.h>
#include <math.h>
#include <netdb.h>
... |
/*
* \file UTRs.cpp
*/
#include "Genomic_Data.hpp"
#include "Supporting_Methods.hpp"
#include "flex_vec.hpp"
#include "Coord_Transform.hpp"
#include "Compute_UTRs.hpp"
#include "UTRs.hpp"
#include "Global.hpp"
#include <vector>
#include <string>
#include <map>
#include <iostream>
#include <fstream>
#include <algo... |
// __BEGIN_LICENSE__
// Copyright (c) 2009-2013, United States Government as represented by the
// Administrator of the National Aeronautics and Space Administration. All
// rights reserved.
//
// The NGT platform is licensed under the Apache License, Version 2.0 (the
// "License"); you may not use this file excep... |
///////////////////////////////////////////////////////////////////////////////
// Copyright (C) Microsoft Corporation, 2000.
//
// pixproc.cpp
//
// Direct3D Reference Device - Pixel Processor
//
///////////////////////////////////////////////////////////////////////////////
#include "pch.cpp"
#pragma hdrstop... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.