text
stringlengths
54
60.6k
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: tpsort.hxx,v $ * * $Revision: 1.7 $ * * last change: $Author: vg $ $Date: 2007-02-27 13:27:37 $ * * The Contents of this file are made av...
<commit_before>// // Created by Danni on 09.06.15. // #include "TweeCompiler.h" #include "ZAssemblyGenerator.h" #include "exceptions.h" #include <sstream> #include <iostream> #include <Passage/Body/Link.h> #include <Passage/Body/Text.h> #include <Passage/Body/Newline.h> #include <algorithm> using namespace std; stat...
<commit_before>#include "rendering/buffers/texture_manager.hh" #include "third_party/imgui/imgui.h" #include "util/clamp.hh" #include "util/eigen_clip.hh" // TODO #include "eigen.hh" namespace jcc { namespace { void show_tooltip(void* tex_id, double draw_w, double draw_h, float region_sz) { const ImGuiIO& io = Im...
<commit_before>/* Gobby - GTK-based collaborative text editor * Copyright (C) 2008-2013 Armin Burgmeier <armin@arbur.net> * * 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...
<commit_before>//Contains hooks that control attack range and seek range (AKA target acquisition range). #include "weapon_range.h" #include "../SCBW/scbwdata.h" #include "../SCBW/enumerations.h" #include "../SCBW/api.h" namespace hooks { /// Returns the modified seek range (AKA target acquisition range) for...
<commit_before>#include "aks.h" #include <gmp.h> #include <mpfr.h> #include <stdlib.h> #define FALSE 0 #define TRUE 1 #define COMPOSITE 0 #define PRIME 1 int aks_debug = 0; /** * Wrapper function to find the log of a number of type mpz_t. */ void compute_logn(mpz_t rop, mpz_t n) { mpfr_t tmp; mpfr_init(tmp);...
<commit_before><commit_msg>This test fails for Windows, so skip it for now.<commit_after><|endoftext|>
<commit_before>/* * Copyright (C) 2005, 2006, 2009 Apple Inc. All rights reserved. * * 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 ...
<commit_before>/* * Copyright (C) 2013 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 code must retain the above copyright * notice, this l...
<commit_before>/* Copyright (C) 2005-2006 MySQL AB 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; version 2 of the License. This program is distributed in the hope that it will be usefu...
<commit_before>#ifndef AppConfig_hpp #define AppConfig_hpp #include <string> class AppConfig { public: AppConfig(); void setFileName(std::string fileName); void setDeviceID(int deviceID); void setIsFile(int isFile); void setIsDevice(int isDevice); void ...
<commit_before>#include "Benchmark.h" #include <iostream> Benchmark::Benchmark(const int runtimeMs, const int allocation_size, const int alignment_size){ m_runtimeMs = runtimeMs; m_allocationSize = allocation_size; m_alignmentSize = alignment_size; } BenchmarkResults Benchmark::Allocation(Allocator* alloc...
<commit_before>namespace bmi { const int BMI_SUCCESS = 0; const int BMI_FAILURE = 1; const int MAX_COMPONENT_NAME = 2048; const int MAX_VAR_NAME = 2048; const int MAX_UNITS_NAME = 2048; const int MAX_TYPE_NAME = 2048; class Bmi { public: // Model control functions. virtual void Initiali...
<commit_before>// Vaca - Visual Application Components Abstraction // Copyright (c) 2005, 2006, 2007, 2008, 2009, David Capello // 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>/* * BLINKERCOUGH: NSA Playset implant for IR bridging of airgap * * Copyright (C) 2015 Hacker, J.R. <r00tkillah@gmail.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Fo...
<commit_before>/* * BLINKERCOUGH: NSA Playset implant for IR bridging of airgap * * Copyright (C) 2015 Hacker, J.R. <r00tkillah@gmail.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Fo...
<commit_before>#include <iostream> #include <cassert> #include <cmath> #include <unistd.h> #include <sys/wait.h> #include <utility> #include "getfeatures_wrapper.hh" #include "mszmodelreader.hh" using std::cerr; using std::cout; using std::pair; using std::make_pair; /** * Welcome, this is the main maxsatzilla so...
<commit_before>#include <stdio.h> #include <stdlib.h> #include <string> #include <iostream> #include <utility> #include <unordered_set> #include <unordered_map> using namespace std; #include "scx/Dir.hpp" #include "scx/FileInfo.hpp" using namespace scx; #include "Tools.h" #include "ConsUnit.h" #include "Parallel.h" ...
<commit_before>#include <stdio.h> #include <stdlib.h> #include <string> #include <cstring> #include <iostream> #include <utility> #include <unordered_set> #include <unordered_map> using namespace std; #include "scx/Dir.h" #include "scx/FileInfo.h" using namespace scx; #include "Tools.h" #include "ConsUnit.h" #includ...
<commit_before>/* cbr * FairQueue.hpp * * Copyright (c) 2009, Ewen Cheslack-Postava * 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 retai...
<commit_before>// Theme.cc for FbTk - Fluxbox ToolKit // Copyright (c) 2002 - 2003 Henrik Kinnunen (fluxgen at users.sourceforge.net) // // 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 wit...
<commit_before> #include "Network.hpp" #include "Server.hpp" #include "Proximity.hpp" #include "CoordinateSegmentation.hpp" #include "Message.hpp" #include "ServerIDMap.hpp" #include "ServerMessageQueue.hpp" #include "Statistics.hpp" #include "Options.hpp" #include "ObjectMessageQueue.hpp" #include "LoadMonitor.hpp" #...
<commit_before>/// JSON encoding and decoding // Encoding Lua tables to JSON strings, and decoding JSON strings to Lua tables. // @module json #include "JSON.h" #include <Poco/JSON/Parser.h> #include <Poco/JSON/Handler.h> #include <Poco/JSON/PrintHandler.h> #include <Poco/JSON/JSONException.h> #include <Poco/JSONStrin...
<commit_before>#include "MPPreview.h" MPPreview::MPPreview(int ideaID) : BWindow(BRect(100, 100, 900, 700), "tmp", B_TITLED_WINDOW, B_ASYNCHRONOUS_CONTROLS | B_AUTO_UPDATE_SIZE_LIMITS, B_CURRENT_WORKSPACE) { // initialize controls BRect r = Bounds(); r.bottom = r.bottom - 50; previewTextView = new BTextView(r, NU...
<commit_before>#ifndef MATH_HPP #define MATH_HPP #include <cmath> namespace swift { namespace math { constexpr float PI = 3.14159265359; /* vector math */ template<typename T> T magnitude(const sf::Vector2<T>& vec) { return std::sqrt(vec.x * vec.x + vec.y * vec.y); } template<typename T> sf::Ve...
<commit_before>/* * PNG_codec.cpp * C++ Wrapper around libpng, providing encoding and decoding functions * * (C)Lucian Plesea 2016-2017 */ #include "mod_reproject.h" #include <png.h> #include <vector> // TODO: Add palette PNG support, possibly other fancy options // Memory output doesn't need flushing static void fl...
<commit_before>/* * Copyright (c) 2014, Nick Potts * 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 * lis...
<commit_before>// // Copyright (c) 2017, Boris Popov <popov@whitekefir.ru> // // 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 at http://mozilla.org/MPL/2.0/. // #include "Semaphore.hpp" #include "E...
<commit_before>// // TcpSocket.cpp for TcpSocket in // // Made by mognetworkhrabi Alexandre // Login <alexmog@epitech.net> // // Started on Thu Jun 5 20:09:34 2014 mognetworkhrabi Alexandre // Last update Mon Mar 23 10:27:39 2015 Moghrabi Alexandre // #include "mognetwork/OS.hh" #include <sys/types.h> #ifndef ...
<commit_before>/* * fMBT, free Model Based Testing tool * Copyright (c) 2012 Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU Lesser General Public License, * version 2.1, as published by the Free Software Foundation. * * ...
<commit_before>#include "socket.h" // PDTK #include <cxxutils/error_helpers.h> #include <cxxutils/colors.h> namespace posix { inline bool peercred(fd_t sockfd, proccred_t& cred) noexcept { return ::peercred(sockfd, cred) == posix::success_response; } } GenericSocket::GenericSocket(EDomain domain, ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: moduleoptions.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: vg $ $Date: 2007-08-30 16:43:12 $ * * The Contents of this file are ...
<commit_before>#include <iostream> #include <boost/filesystem.hpp> #include <boost/date_time/posix_time/posix_time.hpp> using namespace std; using namespace boost::filesystem; using namespace boost::posix_time; #define STATS 0 #define LIST 1 #define ALL 2 #define STATS_ARG "--stats" #define LIST_ARG "--list" #define ...
<commit_before>#include <jansson.h> #include <vector> #include "utils/translate-commit-desc.h" #include "event.h" namespace { QString getStringFromJson(const json_t *json, const char* key) { return QString::fromUtf8(json_string_value(json_object_get(json, key))); } const char *kEventTypeRepoCreate = "repo-cr...
<commit_before>#include "internal.hpp" #include "macros.hpp" #include "message.hpp" #include <algorithm> namespace CaDiCaL { bool Internal::block_clause_on_literal (Clause * c, int pivot) { assert (!val (pivot)); assert (!eliminated (pivot)); LOG (c, "trying to block on %d", pivot); mark (c); assert (marke...
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2016 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. // // File contains modifications by: The Gulden developers // All ...
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2016 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "chain.h" #include "validation.h" using namespace std; ...
<commit_before>/* Copyright 2015 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> inline kth_cv::kth_cv(const std::string in_path, const std::string in_actionNames, const field<std::string> in_all_people, const int in_scale_factor, const int in_shift, const int in_scene, //only for kth const int in_segment_length, const int in_dim ):path(in_path), actionNames(in_a...
<commit_before>// S4Game.cpp : 콘솔 응용 프로그램에 대한 진입점을 정의합니다. // #include "stdafx.h" #include "../../S4Thread/ThreadLocal.h" #include "../../S4Thread/ConcurrentJobManager.h" #include "../../S4Network/NetworkManager.h" #include <boost/log/trivial.hpp> #include "../../S4Util/Exception.h" #include "../../S4Util/TimeStamp...
<commit_before>// dune-multiscale // Copyright Holders: Patrick Henning, Rene Milk // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // das alles klappt momentan nur in 2-D!!! Es laesst sich aber sehr einfach verallgemeinern. // Implementierung funktioniert unter folgenden Voraussetzungen ...
<commit_before>#include "Renderer.h" #include <Probulator/Image.h> #include <string> #include <glm/gtc/type_ptr.hpp> TexturePtr createTextureFromImage( const Image& image, const TextureFilter& filter, bool verticalFlip) { assert(image.getPixelCount() != 0); TexturePtr result = std::make_shared<Texture>(); co...
<commit_before>/* Copyright (c) 2003, Arvid Norberg 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 condi...
<commit_before>/* * Copyright (C) 2013 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 code must retain the above copyright * notice, this l...
<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>/************************************************************************* * * $RCSfile: RefreshListener.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: hr $ $Date: 2003-03-19 17:52:05 $ * * The Contents of this file are made available subject to the terms of * either of the followin...
<commit_before>/* * * Copyright 2015, 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 code must retain the above copyright * notice, thi...
<commit_before>// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2012-2016 Gael Guennebaud <gael.guennebaud@inria.fr> // // 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 t...
<commit_before>#include <lcaes.h> #include <lcencode.h> #include <limecrypt.h> #include <sstream> #include <iostream> #include <fstream> class Print { public: Print() : os(std::cout) {} template<typename T> Print(const T& input) : os(std::cout) { os << input; } ~Print() { os << std::endl; } template<...
<commit_before>// Copyright (c) 2020, Pierre Moulon // 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, ...
<commit_before>/* This file is part of the Vc project Copyright (C) 2009-2010 Matthias Kretz <kretz@kde.org> Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all ...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LG...
<commit_before>#include <gtest/gtest.h> #include <gmock/gmock.h> #include <game/meta/boardmetaclass.hpp> #include <game/meta/terrainmetaclass.hpp> #include <engine/terrain.hpp> #include <game/meta/deploymentzonemetaclass.hpp> #include <game/deploymentzone.hpp> #include <game/meta/coordinatemetaclass.hpp> #include "gam...
<commit_before>/* * sdppublishmsg.cpp * * Created on: Jul 25, 2014 * Author: dtvlab */ #include "sdppublishmsg.h" #include<Time.h> #include <avr/pgmspace.h> using namespace sdp::message; prog_char ValueJSON::LABEL_COMPONENTS[] PROGMEM = {"components"}; PROGMEM const char* ValueJSON::LABEL[] = // c...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the examples of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:BSD$ ** You may use this file under the terms of the BSD li...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ole2uno.hxx,v $ * * $Revision: 1.12 $ * * last change: $Author: ihi $ $Date: 2008-01-14 14:46:30 $ * * The Contents of this file are made...
<commit_before>/* * Copyright (c) 2004-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 directo...
<commit_before><commit_msg>fix webgl build<commit_after><|endoftext|>
<commit_before><commit_msg>ShadowMapManager: fix MSAN use-of-uninitialized-value.<commit_after><|endoftext|>
<commit_before>#include <fstream> #include "cpu.h" #include <iostream> #include <stdexcept> #include <sstream> #include <iomanip> using namespace std; //TODO improve consistency of error handling/reporting //TODO improve debug info function names Cpu::Cpu(Display& d) { display = &d; } void Cpu::reset() { pc = 0x...
<commit_before>#include <Arduino.h> #include "menu.h" #include "common.h" #include "options.h" #include "../config.h" #include "../displays.h" #include "../events.h" static TimerId updateBallTimer, updateSpeedTimer; static struct { byte x:3; byte y:3; signed char xDir:2; signed char yDir:2; unsigned short speed;...
<commit_before>/* ************************************************************************ * HardwareSerial.cpp * * Arduino core files for MSP430 * Copyright (c) 2012 Robert Wessels. All right reserved. * * *********************************************************************** Derived from: Hardwa...
<commit_before>/************************************************************************* * * $RCSfile: ignoreWidth.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: hr $ $Date: 2003-04-28 16:53:09 $ * * The Contents of this file are made available subject to the terms of * either of the following li...
<commit_before>#include <node.h> #include <v8.h> #include <dns_sd.h> #include <mutex> #include <map> using namespace v8; using namespace node; using namespace std; Persistent<Function> AdvertisementConstructor; Persistent<Function> BrowserConstructor; map<DNSServiceRef volatile *, Local<Object> > refMap; void NewAdv...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: KColumns.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: obo $ $Date: 2006-09-17 02:51:26 $ * * The Contents of this file are made...
<commit_before>void sim(Int_t nev=1) { const char * kYear = "08" ; AliSimulation simu; simu.SetMakeSDigits("TRD TOF PHOS HMPID EMCAL MUON FMD PMD T0 ZDC VZERO"); simu.SetMakeDigits ("TRD TOF PHOS HMPID EMCAL MUON FMD PMD T0 ZDC VZERO"); simu.SetMakeDigitsFromHits("ITS TPC"); simu.SetWriteRawData("ALL","r...
<commit_before>// Copyright (c) 2011 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 "content/public/common/context_menu_params.h" namespace content { const int32 CustomContextMenuContext::kCurrentRenderWidget...
<commit_before>/*************************************************************************** * Copyright (c) 2016, Johan Mabille and Sylvain Corlay * * * * Distributed under the terms of the BSD 3-Clause License. ...
<commit_before>// Copyright 2013 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 "content/renderer/media/crypto/key_systems.h" #include <map> #include "base/lazy_instance.h" #include "base/logging.h" #include ...
<commit_before>/* * Author: Vladimir Ivan * * Copyright (c) 2017, University Of Edinburgh * 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 r...
<commit_before>// Copyright (c) 2011 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 "content/browser/in_process_webkit/webkit_thread.h" #include "base/command_line.h" #include "content/browser/in_process_webki...
<commit_before>// Copyright (c) 2012 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 "content/browser/renderer_host/pepper_udp_socket.h" #include <string.h> #include "base/compiler_specific.h" #include "base/l...
<commit_before>/* Copyright 2017 creatorlxd 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 writing, so...
<commit_before>// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/command_line.h" #include "base/file_path.h" #include "base/string_number_conversions.h" #include "base/utf_string_conver...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: VTable.cxx,v $ * * $Revision: 1.19 $ * * last change: $Author: hr $ $Date: 2006-06-20 02:11:23 $ * * The Contents of this file are made a...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: sqlerror.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: ihi $ $Date: 2007-11-21 14:59:40 $ * * The Contents of this file are made...
<commit_before>/* Allocore Example: 2D drawing Description: This demonstrates how to do 2D drawing. Author: Lance Putnam, 2/2012 (putnam.lance at gmail dot com) */ #include "allocore/io/al_App.hpp" using namespace al; class MyApp : public App{ public: Mesh verts; MyApp(){ verts.primitive(Graphics::LINE_STR...
<commit_before>#include <mlopen.h> #include "test.hpp" #include <array> #include <iterator> #include <memory> #include <utility> #include <iostream> #include <mlopen/tensor.hpp> #include <mlopen/convolution.hpp> #include <limits> // #include "network_data.hpp" #include "tensor_holder.hpp" #include "verify.hpp" #includ...
<commit_before>// // Copyright © 2017 Arm Ltd. All rights reserved. // SPDX-License-Identifier: MIT // #include "../../1.2/ArmnnDriverImpl.hpp" #include "Utils.h" #include <boost/test/unit_test.hpp> #include <boost/core/ignore_unused.hpp> #include <sys/system_properties.h> #include <cfloat> using namespace std; ...
<commit_before><?hh /** * @author Alex Phillips <exonintrendo@gmail.com> * Date: 2/5/15 * Time: 6:05 PM */ namespace Titon\Context; use Titon\Test\TestCase; /** * @property \Titon\Context\Depository $object */ class DepositoryTest extends TestCase { protected function setUp() { parent::setUp();...
<commit_before>#pragma once #include <WinSock2.h> #include <deque> #include <functional> #include <memory> #include <thread> #include <future> #include <condition_variable> #include <iostream> namespace common { class Copyable { protected: Copyable() noexcept = default; ~Copyable() noexcept = def...
<commit_before><commit_msg>Add HANDLE_CRASHES to Linux callback functions, since they are plugin entry points too. This makes no difference right now because we currently don't gate Linux crash uploading on HANDLE_CRASHES, but once we change that we'll want these in all the right places.<commit_after><|endoftext|>
<commit_before>/* * Software License Agreement (BSD License) * * Copyright (c) 2009, Willow Garage, 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...
<commit_before>/* This file is part of the OPIE Project Copyright (c) 2002 Holger Freyther <zecke@handhelds.org> 2002 Maximilian Rei <harlekin@handhelds.org> =. .=l. .>+-= _;:, .> :=|. This program is free software; you can .> <`_, > . <= redistr...
<commit_before>/* -*- mode: c++; c-basic-offset:4 -*- uiserver/selectcertificatecommand.cpp This file is part of Kleopatra, the KDE keymanager Copyright (c) 2007 Klarälvdalens Datakonsult AB Kleopatra is free software; you can redistribute it and/or modify it under the terms of the GNU General Pub...
<commit_before>/* * Copyright (C) LinBox * * ========LICENCE======== * This file is part of the library LinBox. * * LinBox is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 ...
<commit_before>/* * jcom.push (previously names tl.push) * By Trond Lossius, Copyright 2011 * * Simple physical modelling: Push an object about within a confined space * Can be used for e.g. trajectories * * License: This code is licensed under the terms of the "New BSD License" * http://creativecommons.org/l...
<commit_before>//===-- X86ShuffleDecodeConstantPool.cpp - X86 shuffle decode -------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#include "math_util.h" #include "test_util.h" void conv_test_set(vector<scalar>& data, vector<scalar>& filter, vector<scalar>& expected_conv) { data.resize(25); for (int i = 0; i < 25; ++i) data[i] = i; filter = {0, 1, 0, 1, 2, 1, 0, 1, 0}; expected_conv = {6, 10, 15, 20, 20, ...
<commit_before><commit_msg>Add pickable steering wheel<commit_after><|endoftext|>
<commit_before>/* 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 app...
<commit_before><commit_msg>Added missing stddef.h include<commit_after><|endoftext|>
<commit_before>/* * MIT License * * Copyright (c) 2016-2019 xiongziliang <771730766@qq.com> * * 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 li...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: selectionstate.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: kz $ $Date: 2006-07-21 15:08:14 $ * * The Contents of this file are...
<commit_before>#define CATCH_CONFIG_MAIN #include "catch.hpp" #include "data/filters.h" #include "yaml-cpp/yaml.h" #include "scene/sceneLoader.h" #include "scene/scene.h" #include "platform.h" using namespace Tangram; SceneLoader sceneLoader; TEST_CASE( "", "[Duktape][init]") { { StyleContext(); } ...
<commit_before>/* Optimal Read Normalization Algorithm: Developed by : Dilip A Durai and Marcel H Schulz */ //File last modified 28/11/2016 #include <gatb/gatb_core.hpp> #include <iostream> #include <string.h> typedef Kmer<>::Type bloom; int main (int argc, char* argv[]) { try { //Variables requi...
<commit_before>/** * This file is part of the "FnordMetric" project * Copyright (c) 2014 Paul Asmuth, Google Inc. * * FnordMetric is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License v3.0. You should have received a * copy of the GNU General Public Licen...
<commit_before>#include "GLPKInterface.h" #if HAVE_GLPK #include <utils.h> #include <utils/SignalHandler.h> #include <signal.h> #include <iostream> #include <stdexcept> extern "C" { #include <glpk.h> } using namespace Optimization; using namespace std; #if GLP_MAJOR_VERSION < 4 || GLP_MINOR_VERSION < 40 #error "Requi...
<commit_before>// Copyright (C) 2016 Elviss Strazdins // This file is part of the Ouzel engine. #include "MeshBufferOGL.h" #include "Engine.h" #include "RendererOGL.h" #include "Utils.h" namespace ouzel { namespace video { MeshBufferOGL::MeshBufferOGL() { } MeshBufferOGL::~Me...
<commit_before>#include "FTCharmap.h" #ifdef FTGL_DEBUG #include "mmgr.h" #endif #ifdef FTGL_USE_NAMESPACE namespace ftgl { #endif FTCharmap::FTCharmap( FT_Face face) : ftFace( face), err(0) { // Check that the default is valid if( !face->charmap) { FT_Set_Charmap( ftFace, ftFace->charmaps[0]); } ...