text
stringlengths
54
60.6k
<commit_before>c10af5da-2e4e-11e5-9284-b827eb9e62be<commit_msg>c10feaea-2e4e-11e5-9284-b827eb9e62be<commit_after>c10feaea-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>0a58f250-2e4f-11e5-9284-b827eb9e62be<commit_msg>0a5e063c-2e4f-11e5-9284-b827eb9e62be<commit_after>0a5e063c-2e4f-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>6a9b7842-2e4d-11e5-9284-b827eb9e62be<commit_msg>6aa07cd4-2e4d-11e5-9284-b827eb9e62be<commit_after>6aa07cd4-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>d8db27ea-2e4c-11e5-9284-b827eb9e62be<commit_msg>d8e036a4-2e4c-11e5-9284-b827eb9e62be<commit_after>d8e036a4-2e4c-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>1c441834-2e4d-11e5-9284-b827eb9e62be<commit_msg>1c4a2f6c-2e4d-11e5-9284-b827eb9e62be<commit_after>1c4a2f6c-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>dd9473e8-2e4e-11e5-9284-b827eb9e62be<commit_msg>dd996e0c-2e4e-11e5-9284-b827eb9e62be<commit_after>dd996e0c-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>3d10b360-2e4d-11e5-9284-b827eb9e62be<commit_msg>3d15bd56-2e4d-11e5-9284-b827eb9e62be<commit_after>3d15bd56-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>1fdddd16-2e4f-11e5-9284-b827eb9e62be<commit_msg>1fe2d8b6-2e4f-11e5-9284-b827eb9e62be<commit_after>1fe2d8b6-2e4f-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>8251f780-2e4e-11e5-9284-b827eb9e62be<commit_msg>825700d6-2e4e-11e5-9284-b827eb9e62be<commit_after>825700d6-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>f5364706-2e4e-11e5-9284-b827eb9e62be<commit_msg>f53b3e6e-2e4e-11e5-9284-b827eb9e62be<commit_after>f53b3e6e-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>fc890b74-2e4e-11e5-9284-b827eb9e62be<commit_msg>fc8e1c5e-2e4e-11e5-9284-b827eb9e62be<commit_after>fc8e1c5e-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>fa25c6ec-2e4e-11e5-9284-b827eb9e62be<commit_msg>fa2ad25e-2e4e-11e5-9284-b827eb9e62be<commit_after>fa2ad25e-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>c2b0850e-2e4d-11e5-9284-b827eb9e62be<commit_msg>c2b59710-2e4d-11e5-9284-b827eb9e62be<commit_after>c2b59710-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>b30ab6ec-2e4d-11e5-9284-b827eb9e62be<commit_msg>b30fa79c-2e4d-11e5-9284-b827eb9e62be<commit_after>b30fa79c-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>aaac43e8-2e4e-11e5-9284-b827eb9e62be<commit_msg>aab146a4-2e4e-11e5-9284-b827eb9e62be<commit_after>aab146a4-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>49ad1e5a-2e4e-11e5-9284-b827eb9e62be<commit_msg>49b21f22-2e4e-11e5-9284-b827eb9e62be<commit_after>49b21f22-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>569290c4-2e4d-11e5-9284-b827eb9e62be<commit_msg>56979b8c-2e4d-11e5-9284-b827eb9e62be<commit_after>56979b8c-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>8140737c-2e4d-11e5-9284-b827eb9e62be<commit_msg>8145663e-2e4d-11e5-9284-b827eb9e62be<commit_after>8145663e-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>4348b10a-2e4e-11e5-9284-b827eb9e62be<commit_msg>434db998-2e4e-11e5-9284-b827eb9e62be<commit_after>434db998-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>2d2cb570-2e4d-11e5-9284-b827eb9e62be<commit_msg>2d31a8d2-2e4d-11e5-9284-b827eb9e62be<commit_after>2d31a8d2-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>0b0e18f6-2e4f-11e5-9284-b827eb9e62be<commit_msg>0b1311c6-2e4f-11e5-9284-b827eb9e62be<commit_after>0b1311c6-2e4f-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>94e997fe-2e4e-11e5-9284-b827eb9e62be<commit_msg>94ee936c-2e4e-11e5-9284-b827eb9e62be<commit_after>94ee936c-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>2bf81b5e-2e4d-11e5-9284-b827eb9e62be<commit_msg>2bfd0966-2e4d-11e5-9284-b827eb9e62be<commit_after>2bfd0966-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>f7fb94b6-2e4c-11e5-9284-b827eb9e62be<commit_msg>f8009d12-2e4c-11e5-9284-b827eb9e62be<commit_after>f8009d12-2e4c-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>3138fb6e-2e4e-11e5-9284-b827eb9e62be<commit_msg>313df790-2e4e-11e5-9284-b827eb9e62be<commit_after>313df790-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>f3079cfc-2e4c-11e5-9284-b827eb9e62be<commit_msg>f30cad6e-2e4c-11e5-9284-b827eb9e62be<commit_after>f30cad6e-2e4c-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>a9495306-2e4e-11e5-9284-b827eb9e62be<commit_msg>a94e5248-2e4e-11e5-9284-b827eb9e62be<commit_after>a94e5248-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>8109d3f2-2e4e-11e5-9284-b827eb9e62be<commit_msg>810edadc-2e4e-11e5-9284-b827eb9e62be<commit_after>810edadc-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>64917014-2e4d-11e5-9284-b827eb9e62be<commit_msg>64967bcc-2e4d-11e5-9284-b827eb9e62be<commit_after>64967bcc-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>ede6e8e8-2e4e-11e5-9284-b827eb9e62be<commit_msg>edebe0a0-2e4e-11e5-9284-b827eb9e62be<commit_after>edebe0a0-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>0062fa5c-2e4f-11e5-9284-b827eb9e62be<commit_msg>0067fb24-2e4f-11e5-9284-b827eb9e62be<commit_after>0067fb24-2e4f-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>72522284-2e4d-11e5-9284-b827eb9e62be<commit_msg>725710dc-2e4d-11e5-9284-b827eb9e62be<commit_after>725710dc-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>4d93653e-2e4d-11e5-9284-b827eb9e62be<commit_msg>4d987434-2e4d-11e5-9284-b827eb9e62be<commit_after>4d987434-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>28adc546-2e4f-11e5-9284-b827eb9e62be<commit_msg>28b2c38e-2e4f-11e5-9284-b827eb9e62be<commit_after>28b2c38e-2e4f-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>64f7890c-2e4e-11e5-9284-b827eb9e62be<commit_msg>64fc949c-2e4e-11e5-9284-b827eb9e62be<commit_after>64fc949c-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>3ecadd60-2e4e-11e5-9284-b827eb9e62be<commit_msg>3ecfecce-2e4e-11e5-9284-b827eb9e62be<commit_after>3ecfecce-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>ecab1c26-2e4c-11e5-9284-b827eb9e62be<commit_msg>ecb01244-2e4c-11e5-9284-b827eb9e62be<commit_after>ecb01244-2e4c-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>c3231b88-2e4c-11e5-9284-b827eb9e62be<commit_msg>c3280b48-2e4c-11e5-9284-b827eb9e62be<commit_after>c3280b48-2e4c-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>f6a52b4e-2e4d-11e5-9284-b827eb9e62be<commit_msg>f6aa1f32-2e4d-11e5-9284-b827eb9e62be<commit_after>f6aa1f32-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>d815266c-2e4c-11e5-9284-b827eb9e62be<commit_msg>d81a3044-2e4c-11e5-9284-b827eb9e62be<commit_after>d81a3044-2e4c-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>5f93299e-2e4e-11e5-9284-b827eb9e62be<commit_msg>5f984578-2e4e-11e5-9284-b827eb9e62be<commit_after>5f984578-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>101e9e3e-2e4e-11e5-9284-b827eb9e62be<commit_msg>10239ef2-2e4e-11e5-9284-b827eb9e62be<commit_after>10239ef2-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>7e80c898-2e4e-11e5-9284-b827eb9e62be<commit_msg>7e85ccbc-2e4e-11e5-9284-b827eb9e62be<commit_after>7e85ccbc-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>43eab5b8-2e4e-11e5-9284-b827eb9e62be<commit_msg>43efbf86-2e4e-11e5-9284-b827eb9e62be<commit_after>43efbf86-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>36f04828-2e4e-11e5-9284-b827eb9e62be<commit_msg>36f540e4-2e4e-11e5-9284-b827eb9e62be<commit_after>36f540e4-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>abfafc12-2e4e-11e5-9284-b827eb9e62be<commit_msg>ac00460e-2e4e-11e5-9284-b827eb9e62be<commit_after>ac00460e-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>2d093f22-2e4e-11e5-9284-b827eb9e62be<commit_msg>2d0e8748-2e4e-11e5-9284-b827eb9e62be<commit_after>2d0e8748-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>6fb7be70-2e4e-11e5-9284-b827eb9e62be<commit_msg>6fbccbf4-2e4e-11e5-9284-b827eb9e62be<commit_after>6fbccbf4-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>// g++ j.cc -o j -L/usr/local/lib -lroaring #include <vector> #include <string> #include <array> #include <map> #include "roaring.hh" enum FieldType { TIMESTAMP, DIMENSION, BOOL, METRIC_INT, METRIC_FLOAT }; class FieldBase {}; template <FieldType, typename T> class Field : FieldBase { priva...
<commit_before>#include <iostream> using namespace std; int main() { int numEntries = 0; cin >> numEntries; cin.ignore(); while (numEntries--) { } return 0; } <commit_msg>Shit be broke, yo<commit_after>#include <iostream> #include <list> using namespace std; struct word { int x; int y; int length; stri...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: xmlTable.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: hr $ $Date: 2007-08-03 09:58:22 $ * * The Contents of this file are made ...
<commit_before>/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the imp...
<commit_before>// ------------------------------------------------------------------------- // @FileName : NFCLoginNet_ServerModule.cpp // @Author : LvSheng.Huang // @Date : 2013-01-02 // @Module : NFCLoginNet_ServerModule // @Desc : // -...
<commit_before><commit_msg>[HF] Add test of gamma parameters to testHistFactory.<commit_after><|endoftext|>
<commit_before>#include <chrono> #include <iostream> #include <opencv2/highgui/highgui.hpp> #include <opencv2/opencv.hpp> #include <vpp/vpp.hh> #include <vpp/utils/opencv_bridge.hh> #include <vpp/algorithms/FAST_detector/FAST.hh> // #include <vpp/algorithms/FAST_detector/FAST2.hh> // #include <vpp/algorithms/FAST_dete...
<commit_before>//===- ExecutionEngine.cpp - MLIR Execution engine and utils --------------===// // // Copyright 2019 The MLIR 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 // /...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: VndSunStarPkgUrlReferenceFactory.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: hr $ $Date: 2007-09-27 13:06:56 $ * * The Content...
<commit_before>#include "UbidotsFONA.h" #include <stdlib.h> /** * Constructor. */ Ubidots::Ubidots(char* token, char* server = NULL){ _token = token; _server = server; _dsName = NULL; _dsTag = "FONA"; currentValue = 0; val = (Value *)malloc(MAX_VALUES*sizeof(Value)); fonaSS.begin(4800); ...
<commit_before>/** * @copyright * ==================================================================== * 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 copyrig...
<commit_before>#include <chrono> #include <memory> #include <iostream> #include <SFML/Graphics.hpp> #include <Wind/Engine/Entity/Entity.hpp> #include <Wind/Engine/Engine/Engine.hpp> int main() { sf::RenderWindow window{{800, 600}, "Windtunnel"}; window.setFramerateLimit(1000); // Basic particle shape sf::CircleSh...
<commit_before>/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2013 Torus Knot Software Ltd Permission is hereby granted, free of charge,...
<commit_before>// Copyright (c) 2019 Chris Ohk, Youngjoong Kim, SeungHyun Jeon // We are making my contributions/submissions to this project solely in our // personal capacity and are not conveying any rights to any intellectual // property of any third parties. #ifndef ROSETTASTONE_ENTITY_HPP #define ROSETTASTONE_EN...
<commit_before>#include <examples/zurg/slave/Heartbeat.h> #include <examples/zurg/slave/SlaveConfig.h> #include <examples/zurg/proto/master.pb.h> #include <muduo/protorpc2/rpc2.pb.h> #include <muduo/base/FileUtil.h> #include <muduo/base/Logging.h> #include <muduo/base/ProcessInfo.h> #include <muduo/base/Timestamp.h>...
<commit_before>/**************************************************************************************/ /* */ /* Visualization Library */ /* http://www.visualizationlibrary...
<commit_before>//===-- UnreachableBlockElim.cpp - Remove unreachable blocks for codegen --===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#include <iostream> #include <fstream> using namespace std; template <class T> struct Node { T element; Node<T> *left, *right, *pparent; }; template <class T> class BST { private: Node<T> *root; int count; public: BST(); ~BST(); void deleteTree(Node<T> *Tree); void show(ostream&cout, const N...
<commit_before>#pragma once #include "cpputil.hh" #include "ns.hh" #include "gc.hh" #include "atomic.hh" #include "ref.hh" u64 namehash(const strbuf<DIRSIZ>&); struct file : public referenced { static file *alloc(); file *dup(); int stat(struct stat*); int read(char *addr, int n); ssize_t pread(char *addr,...
<commit_before>/************************************************ * gen.hpp * ESA++ * * Copyright (c) 2014, Chi-En Wu * Distributed under The BSD 3-Clause License ************************************************/ #ifndef ESAPP_GEN_HPP_ #define ESAPP_GEN_HPP_ #include <iterator> #include <type_traits> namesp...
<commit_before>// This file is a part of the IncludeOS unikernel - www.includeos.org // // Copyright 2015-2016 Oslo and Akershus University College of Applied Sciences // and Alfred Bratterud // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the...
<commit_before>/*========================================================================= Library: CTK Copyright (c) Kitware 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 ...
<commit_before>/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one ...
<commit_before>/** * C S O U N D V S T * * A VST plugin version of Csound, with Python scripting. * * L I C E N S E * * This software is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either *...
<commit_before>/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation ([email protected]) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LG...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation ([email protected]) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LG...
<commit_before>//===- ExecutionEngine.cpp - MLIR Execution engine and utils --------------===// // // Copyright 2019 The MLIR 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 // /...
<commit_before>#include <UnitTest++.h> #include <OpenSG/OSGConfig.h> #include <OpenSG/OSGBaseInitFunctions.h> int main(int argc, char *argv[]) { OSG::osgInit(argc, argv); return UnitTest::RunAllTests(); } <commit_msg>Added ability to only run named suite<commit_after>#include <UnitTest++.h> #include <Tes...
<commit_before>#include "SDL.h" #include "SDL_opengl.h" #include <cmath> const float kPi = 4.0f * std::atan(1.0f); const Uint32 kLagThreshold = 1000; const Uint32 kFrameTime = 10; const float kPlayerForwardSpeed = 10.0f * (kFrameTime * 0.001f); const float kPlayerTurnSpeed = 100.0f * (kFrameTime * 0.001f); const flo...
<commit_before>/************************************************************************* * * $RCSfile: adtabdlg.cxx,v $ * * $Revision: 1.11 $ * * last change: $Author: oj $ $Date: 2002-07-11 12:05:02 $ * * The Contents of this file are made available subject to the terms of * either of the following lice...
<commit_before>////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2004-2019 musikcube team // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: //...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: LayerDialogChildWindow.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2005-09-09 05:07:22 $ * * The Contents of this ...
<commit_before> #include "demhandlers.h" #include "demmessages.h" #define DECLARE_DEM_HANDLER_ARRAY(funcname) \ { \ &DemHandlers::Dem_Unknown_##funcname, \ &DemHandlers::Dem_Packet_##funcname, \ &DemHandlers::Dem_Packet_##funcname, \ &DemHandlers::Dem_SyncTick_##funcname, \ ...
<commit_before>#include "stdafx.h" #include <windows.h> #include "..\includes\CPatch.h" #include "..\includes\IniReader.h" HMODULE h_e2mfc_dll = NULL; HMODULE comics = NULL; float iniFOV, FOV; float fAspectRatio, stdViewPortSize, fWidthFactor, fDiffFactor; float fVisibilityFactor1, fVisibilityFactor2; unsigned int Sc...
<commit_before>/******************************************************* * Copyright (c) 2014, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause *******************************...
<commit_before>/* * Software License Agreement (Apache License) * * Copyright (c) 2014, Dan Solomon * * 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...
<commit_before>/************************************************************************* * * $RCSfile: services.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: obo $ $Date: 2005-03-15 12:23:44 $ * * The Contents of this file are made available subject to the terms of * either of the following lice...
<commit_before>// implementation for p_evaluate.h #include <Rd/r_index.h> #include <Rd/cdf_utils.h> #include <utils/array1d.h> #include <numerics/schoenberg_splines.h> namespace WaveletTL { template <int d, int dT> SampledMapping<1> evaluate(const PBasis<d,dT>& basis, const typename PBasis<d,dT>::Index& lam...
<commit_before>/*M/////////////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2015, Youssef Kashef // Copyright (c) 2015, ELM Library Project // 3-clause BSD License // //M*/ #include "elm/layers/base_layer_derivations/base_filterbanklayer.h" #include <opencv2/features2d...
<commit_before>// // // Copyright (C) 2004 SIPfoundry Inc. // Licensed by SIPfoundry under the LGPL license. // // Copyright (C) 2004 Pingtel Corp. // Licensed to SIPfoundry under a Contributor Agreement. // // $$ ////////////////////////////////////////////////////////////////////////////// // SYSTEM INCLUDES #in...
<commit_before>/****************************************************************** * * Copyright 2015 Samsung Electronics 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...
<commit_before>#pragma once #include <vector> #include <utility> #include <iosfwd> #include <gmpxx.h> // sam: this stuff should really be a class -- otherwise you have to understand // your implementation to use these functions without doing something you // do not want. // notably, you open a file an...
<commit_before>#include<bits/stdc++.h> #define MAXN 5001 #define MAXH 5001 #define INF 0x3f3f3f3f using namespace std; int N,H,R; int rules[MAXN]; int DP[MAXN][MAXH]; int rec(int num_heads, int cur_health) { if(num_heads == 0) { return 0; } else if (DP[num_heads][cur_health] != INF){ retur...
<commit_before><commit_msg>洛谷 T52793<commit_after><|endoftext|>
<commit_before>// Python includes #include <Python.h> // Stl includes #include <fstream> // Qt includes #include <QResource> #include <QMetaType> #include <QFile> #include <QDir> // hyperion util includes #include <utils/jsonschema/JsonSchemaChecker.h> #include <utils/FileUtils.h> // effect engine includes #include...
<commit_before>// Quick benchmark comparison of inlined 4-element sorting network // vs std::sort. // compile with: g++ --std=c++11 -O3 sort_compare.cc -o sort_compare // Copyright (C) 2016 David G. Andersen. // Apache licensed, see LICENSE file. #include <sys/types.h> #include <sys/time.h> #include <inttypes.h> #incl...
<commit_before>#include <3ds.h> #include <stdio.h> #include <string.h> #include <iostream> #include <algorithm> #include "file.h" #include "display.h" #include "file_io.h" #define BUFFER_SIZE 60 #define MAX_BOTTOM_SIZE 28 #define VERSION "Notepad3DS Version 1.0" PrintConsole topScreen, bottomScreen; int scroll = 0;...
<commit_before>#include <iostream> #include <map> #include <memory> #include <string> #include <stdexcept> #include <vector> #ifdef DURATION #include <chrono> #endif #include "version.h" #include "Histogram.h" #include "thresholding/OtsuMethod.h" #include "thresholding/BalancedHistogramMethod.h" #include "thresho...
<commit_before>#include <ctrcommon/common.hpp> #include <sstream> #include <iomanip> typedef enum { INSTALL, DELETE } Mode; int main(int argc, char **argv) { if(!platform_init()) { return 0; } std::vector<std::string> extensions; extensions.push_back("cia"); Me...
<commit_before>#include <3ds.h> #include <stdio.h> void shutdown3DS() { Handle ptmSysmHandle = 0; Result result = srvGetServiceHandle(&ptmSysmHandle, "ptm:sysm"); if (result != 0) return; u32 *commandBuffer = getThreadCommandBuffer(); commandBuffer[0] = 0x040700C0; //ptm:s::ShutdownAsync commandBu...