text
stringlengths
54
60.6k
<commit_before>/* -*- mode: c++; c-basic-offset:4 -*- refreshkeyscommand.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 Public License as ...
<commit_before>/* -*- mode: c++; c-basic-offset:4 -*- crypto/gui/resultitemwidget.cpp This file is part of Kleopatra, the KDE keymanager Copyright (c) 2008 Klarälvdalens Datakonsult AB Kleopatra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Li...
<commit_before>/* This file is part of kdepim. Copyright (c) 2009 Kevin Krammer <kevin.krammer@gmx.at> 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...
<commit_before>#ifndef BFC_AST_VISITOR_HPP #define BFC_AST_VISITOR_HPP #include <memory> namespace bfc { namespace ast { class program; class set; class add; class sub; class mul; class mov; class read; class write; class loop; class visitor { public: enum status { BREAK = 0, CONTINUE }; virtual ~v...
<commit_before>/* Copyright 2011 Joe Hermaszewski. 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...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtQml module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usag...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/generic/memory/lib/utils/mcbist/gen_mss_mcbist_trai...
<commit_before>#include <iostream> #include <fstream> #include <stdlib.h> #include <openssl/rand.h> #include "Crypto.h" #include "Identity.h" #include "common/key.hpp" #include <thread> #include <unistd.h> #include <vector> #include <mutex> static std::mutex thread_mutex; static i2p::data::SigningKeyType type; static i...
<commit_before><commit_msg>Delay deletion of view in View::DoRemoveChildView<commit_after><|endoftext|>
<commit_before>/****************************************************************************** * This file is part of the Gluon Development Platform * Copyright (C) 2009 Sacha Schutz <istdasklar@free.fr> * Copyright (C) 2009-2011 Guillaume Martres <smarter@ubuntu.com> * Copyright (C) 2011 Laszlo Papp <lpapp@kde.org...
<commit_before>#include <stdlib.h> #include <string.h> #include <stdio.h> #include <assert.h> #include "common/errdbg/exceptions.h" #include "ugnames.h" /* {% globals */ static UGlobalNamesRegistryItem *registry = NULL; static UGlobalNamesRegistrySearchProc searchProc = NULL; /* }% */ #ifdef _WIN32 #define IPC_PRIV...
<commit_before>/************************************************************************* * * REALM CONFIDENTIAL * __________________ * * [2011] - [2012] Realm Inc * All Rights Reserved. * * NOTICE: All information contained herein is, and remains * the property of Realm Incorporated and its suppliers, * i...
<commit_before>/* * Copyright (C) 2003-2007 Funambol, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, ...
<commit_before>/***************************************************************************************** * * * OpenSpace * * ...
<commit_before>#include <rendering/texture_2d.h> #include <unordered_map> namespace rendering { namespace { struct texture_format_traits { GLint internalformat; GLenum format; GLenum type; }; std::unordered_map<texture_2d::texture_format, texture_format_traits> format_traits = { { texture_2d::TEXTU...
<commit_before>#ifndef __REPLICATION_PROTOCOL_HPP__ #define __REPLICATION_PROTOCOL_HPP__ #include "errors.hpp" #include <boost/function.hpp> #include "arch/arch.hpp" #include "concurrency/fifo_checker.hpp" #include "concurrency/drain_semaphore.hpp" #include "concurrency/mutex.hpp" #include "containers/scoped_malloc.h...
<commit_before>/* This file is part of KDE Kontact. Copyright (c) 2003 Cornelius Schumacher <schumacher@kde.org> 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 2 ...
<commit_before>/** * @file rectifier_function.hpp * @author Marcus Edel * * Definition and implementation of the rectifier function as described by * V. Nair and G. E. Hinton. * * For more information, see the following paper. * * @code * @misc{NairHinton2010, * author = {Vinod Nair, Geoffrey E. Hinton}, ...
<commit_before>#include "model.h" Model::Model(const Data& data){ //initiate the tumour with a homogenous population with the type_p=1 and type_i=1 int i; double n=data.return_initial_cellnumber(); //define a matrix whose entries is initialized with 0 double max_num_row=data.return_max_prolif_types(); doub...
<commit_before>/* Copyright (C) <2011> Michael Zanetti <mzanetti@kde.org> 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 2 of the License, or (at your option) any...
<commit_before><commit_msg>Avoid recursive DisplayDebugMessageInDialog call when an assert is hit on the IO thread<commit_after><|endoftext|>
<commit_before>// Copyright 2010 Google // 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...
<commit_before>/***************************Copyright-DO-NOT-REMOVE-THIS-LINE** * CONDOR Copyright Notice * * See LICENSE.TXT for additional notices and disclaimers. * * Copyright (c)1990-1998 CONDOR Team, Computer Sciences Department, * University of Wisconsin-Madison, Madison, WI. All Rights Reserved. * No ...
<commit_before>#include "ofApp.h" #include "ofxPS3EyeGrabber.h" #define WIDTH 640 #define HEIGHT 480 //-------------------------------------------------------------- void ofApp::setup(){ // Set the video grabber to the ofxPS3EyeGrabber. vidGrabber.setGrabber(std::make_shared<ofxPS3EyeGrabber>()); vidGrabb...
<commit_before>/** * Copyright (C) 2015 3D Repo Ltd * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * T...
<commit_before>// 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/. //===- non_blocking_work_queue.cc -------------------------------*- C++ -*-===// // // Concurrent Work ...
<commit_before>/* * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * ...
<commit_before>#ifndef slic3r_MainFrame_hpp_ #define slic3r_MainFrame_hpp_ #include "libslic3r/PrintConfig.hpp" #include <wx/frame.h> #include <wx/string.h> #include <string> #include <map> #include "GUI_Utils.hpp" #include "Plater.hpp" #include "Event.hpp" class wxNotebook; class wxProgressDialog; namespace Sli...
<commit_before>/* * Copyright (c) 2003-2009, John Wiegley. 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>#include "lsearch_init.h" using namespace nano; scalar_t lsearch_unit_init_t::get(const solver_state_t&, const int) { return 1; } scalar_t lsearch_linear_init_t::get(const solver_state_t& state, const int iteration) { scalar_t t0; const auto dg = state.d.dot(state.g); ...
<commit_before>// Copyright (c) 2015 Steinwurf ApS // All Rights Reserved // // Distributed under the "BSD License". See the accompanying LICENSE.rst file. #pragma once #include <ostream> #include <cstdint> #include <tuple> #include <type_traits> namespace stub { /// Specialization chosen for empty tuples or whe...
<commit_before>#pragma once #include "type.hpp" #include "error.hpp" #define BOOST_PP_VARIADICS 1 #include <boost/preprocessor.hpp> namespace spn { template <class... Ts> struct ValueHolder { template <class T2> void ref(T2*) {} template <class T2> void cref(T2*) const {} }; template <class T, class... Ts>...
<commit_before> #include "RFM02.h" uint8_t _pinFSK; uint8_t _pinNIRQ; uint8_t _pinSOMI; uint8_t _pinSIMO; uint8_t _pinChipSelect; uint8_t _pinSerialClock; // Booster Pack Pins FR5969 // 7 - P2.2 for SPI_CLK mode // 15 - P1.6 for SPI_SIMO mode // 14 - P1.7 for SPI_SOMI mode // 5 - P2.5 outp...
<commit_before>#include <cmath> #include <vector> #include <random> #include <numeric> #include <fstream> #include <iomanip> #include <iterator> #include <iostream> #include <iterator> #include <algorithm> #include "caf/all.hpp" #if defined __APPLE__ || defined(MACOSX) #include <OpenCL/opencl.h> #else #includ...
<commit_before>/** * po n c i * poor mans cgroups interface * * Copyright 2016 by LRR-TUM * Jens Breitbart <j.breitbart@tum.de> * * Licensed under GNU Lesser General Public License 2.1 or later. * Some rights reserved. See LICENSE */ #include "ponci/ponci.hpp" #include <algorithm> #include <fs...
<commit_before>//////////////////////////////////////////////////////////////////////////////// // taskwarrior - a command line task list manager. // // Copyright 2006 - 2010, Paul Beckingham. // All rights reserved. // // This program is free software; you can redistribute it and/or modify it under // the terms of the...
<commit_before>// Copyright[2015] <kangic21@gmail.com> #include <cstdio> #include "./runner.h" namespace eznetpp { runner::runner(void) { } runner::~runner(void) { } void runner::run(void) { printf("hello test!"); } } // namespace eznetpp <commit_msg>updated runner class code<commit_after>// Copyright[2015] <...
<commit_before>/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor ...
<commit_before>#include "Halide.h" using namespace Halide; using namespace Halide::Internal; class ValidateInterleavedPipeline: public IRMutator { protected: // // This is roughly the structure that we are trying to validate in this custom pass: // // parallel<Renderscript> (result$2.s0.y$2.__block_id_y, 0, result$2....
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkBinaryMinMaxCurvatureFlowImageFilterTest.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All...
<commit_before>//===- bugpoint.cpp - The LLVM Bugpoint utility ---------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before> #include <algorithm> #include <iomanip> #include <iostream> #include <iterator> #include <fc/io/json.hpp> #include <fc/io/stdio.hpp> #include <fc/network/http/websocket.hpp> #include <fc/rpc/cli.hpp> #include <fc/rpc/websocket_api.hpp> #include <bts/app/api.hpp> #include <bts/chain/address.hpp> #inclu...
<commit_before>#include "runner/at_handler.hh" #include <iostream> #include <list> #include "scheduler/tag.hh" namespace runner { class AtJob { public: AtJob(rObject condition, rObject clause, rObject on_leave, scheduler::tags_type tags); bool blocked() const; bool frozen() const; const rOb...
<commit_before>/* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Written (W) 2013 Evgeniy Andreev (gsomix) *...
<commit_before>#include "runtime_internal.h" #include "HalideRuntimeQurt.h" #include "printer.h" #include "mini_qurt.h" #include "hexagon_remote/log.h" using namespace Halide::Runtime::Internal::Qurt; extern "C" { enum qurt_hvx_mode_t { QURT_HVX_MODE_64B = 0, QURT_HVX_MODE_128B = 1, }; extern int qurt_hvx_l...
<commit_before>/*************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (directui@nokia.com) ** ** This file is part of libmeegotouch. ** ** If you have questions regarding t...
<commit_before>/*********************************************************************/ /* Copyright (c) 2011 - 2012, The University of Texas at Austin. */ /* All rights reserved. */ /* */ /* Redistribution...
<commit_before>#include "MyTools.h" #include "Nurse.h" //----------------------------------------------------------------------------- // // S t r u c t u r e S t a t e // //----------------------------------------------------------------------------- // Updates the state if a new day is worked on shift newShift v...
<commit_before>#include <limits.h> #include <gtest/gtest.h> #include "ramdis.h" // Global variable for coordinator locator string. char* coordinatorLocator = NULL; // Tests GET and SET commands. TEST(GetSetTest, readWrite) { Context* context = ramdis_connect(coordinatorLocator); Object key; key.data = (void*)...
<commit_before>#include <algorithm> #include <bts/net/chain_downloader.hpp> #include <bts/net/chain_server_commands.hpp> #include <fc/network/tcp_socket.hpp> #include <fc/io/raw_variant.hpp> #include <fc/thread/thread.hpp> namespace bts { namespace net { namespace detail { class chain_downloader_impl { ...
<commit_before>/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2019 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted p...
<commit_before>#include <assert.h> #include <string.h> #ifdef WIN32 #include <winsock2.h> #include <ws2tcpip.h> #define SHUT_RDWR SD_BOTH #else // WIN32 #include <sys/socket.h> #include <netinet/in.h> #include <netinet/tcp.h> #include <netdb.h> #include <fcntl.h> #endif // !WIN32 #include <unordered_map> #inc...
<commit_before>#include <common.h> #define TITLE Quest( #define DESC , #define REWARD ,(struct item_t){ #define x , #define END }), const Quest QuestList[TOTAL_QUESTS]={ // Quest("Test","A test quest",(struct item_t){1,TEST_ITEM}), // Get quest list #include "../config/quest_list.txt" }; Quest::Q...
<commit_before>#ifndef SPEED_CONTROL_H #define SPEED_CONTROL_H #include <Arduino.h> class Servo; class SerialMessageHandler; class SpeedControl { /** * external state transitions (initiated by the user) * - STOPPED -> DRIVING or REVERSING * - DRIVING -> STOPPING * - REVERSING -> DRIVING or STOPPING * - RE...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: e3ditem.cxx,v $ * * $Revision: 1.10 $ * * last change: $Author: hr $ $Date: 2007-06-27 18:27:16 $ * * The Contents of this file are made ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: grfitem.cxx,v $ * * $Revision: 1.11 $ * * last change: $Author: hr $ $Date: 2007-06-27 18:28:01 $ * * The Contents of this file are made ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: xmltxtimp.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: rt $ $Date: 2005-09-09 01:16:35 $ * * The Contents of this file are made...
<commit_before>#include "WPILib.h" #include "Commands/Command.h" #include "Commands/ExampleCommand.h" #include "CommandBase.h" #include "XboxController.h" #include "Subsystems/Shooter.h" #include "Subsystems/BallCollector.h" class Robot: public IterativeRobot { private: std::unique_ptr<Command> autonomousCommand; S...
<commit_before>/** * This file is part of the CernVM File System. */ #include "gtest/gtest.h" #include "json_document.h" #include "json_document_write.h" #include "platform.h" #include "statistics.h" #include "util/pointer.h" using namespace std; // NOLINT namespace perf { TEST(T_Statistics, Counter) { Counte...
<commit_before>/* Pololu Motor Driver Code for Use with Arduino Microcontroller. Adapted from https://github.com/pololu/qik-arduino, a pololu supplied library Author: Alex Sher, 17 Oct 2013 */ #include "serial_interface.h" // serial command buffer storage char cmd[5]; // C++ serial interface stuff using namespace L...
<commit_before>/*************************************************************************** * Copyright (C) 2003 by * * Unai Garro (ugarro@users.sourceforge.net) * * * ...
<commit_before># include "particle-functions.h" # include <application.h> extern WeatherData weather; void WeatherData :: message(int data) // defined outside class definition { Serial.print("Timestamp: "); Serial.println(_weatherTime); Serial.print("Temp (F): "); Serial.println(_greenhouseTemp); Serial.print(...
<commit_before>/* may need to code against htslib rather than samtools. For each read in the BAM file: calculate the 5' ends of the fragment: if last 5' end seen is less than the current 5' end: flush buffers, gathering stats on duplicates if last 5' end seen is greater than the current 5' end BAM ...
<commit_before>/* * cam_QHY5IIbase.cpp * PHD Guiding * * Created by Craig Stark. * Copyright (c) 2012 Craig Stark. * All rights reserved. * * This source code is distributed under the following "BSD" license * Redistribution and use in source and binary forms, with or without * modification,...
<commit_before>#include "gtest/gtest.h" #include "fix4.2/Fix42.h" #include "util.h" TEST(TestFieldValue, CharFieldValue) { EXPECT_EQ('a', fromString<Fix42::kFieldType::kkChar>("a")->getValue()); EXPECT_EQ("a\001", fromValue<Fix42::kFieldType::kkChar>('a')->toString()); } TEST(TestFieldValue, IntFieldValue) {...
<commit_before>/* Copyright (c) 2010-2011 Sune Vuorela <sune@vuorela.dk> 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 r...
<commit_before>/* * Copyright 2014-present Facebook, 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 appl...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: Edit.hxx,v $ * * $Revision: 1.16 $ * * last change: $Author: hr $ $Date: 2007-11-01 14:54:45 $ * * The Contents of this file are made ava...
<commit_before><commit_msg>fixed a typeo<commit_after><|endoftext|>
<commit_before>//===-- dsymutil.cpp - Debug info dumping utility for llvm ----------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#include <experimental/filesystem> #include <fstream> #include <string> #include <vector> #include "glog/logging.h" #include "google/protobuf/descriptor.h" #include "serialization/journal.pb.h" namespace principia { using ::google::protobuf::Descriptor; using ::google::protobuf::FieldDescriptor; using...
<commit_before>#include "includes.h" #include "spdlog/sinks/dup_filter_sink.h" #include "test_sink.h" using namespace spdlog; using namespace spdlog::sinks; TEST_CASE("dup_filter_test1", "[dup_filter_sink]") { dup_filter_sink_st dup_sink{std::chrono::seconds{5}}; auto test_sink = std::make_shared<test_sink_mt...
<commit_before>#ifndef GUI_PROCESS_HPP #define GUI_PROCESS_HPP class wxWindow; class wxString; namespace Slic3r { namespace GUI { // Start a new slicer instance, optionally with a file to open. void start_new_slicer(const wxString *path_to_open = nullptr, bool single_instance = false); void start_new_slicer(const st...
<commit_before>// timer.cpp // 30. April 2017 // Created by: // Bryan Burkhardt (bmburkhardt@alaska.edu) // Alexander Eckert (aeckert@alaska.edu) // Jeremiah Jacobson (jjacobson2@alaska.edu) // Jarye Murphy (jmurphy11@alaska.edu) // Cameron Showalter (cjshowalter@alaska.edu) // // Source file for timer #incl...
<commit_before> #if !defined(MAX_TIMERS) #define MAX_TIMERS MAX_WORKER_THREADS #endif typedef int (*taction)(void *arg); struct ttimer { double time; double period; taction action; void *arg; }; struct ttimers { pthread_t threadid; /* Timer thread ID */ pthread_mutex_t mutex; /* Protec...
<commit_before>/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "vk/GrVkPipelineStateBuilder.h" #include "vk/GrVkDescriptorSetManager.h" #include "vk/GrVkGpu.h" #include "vk/GrVkRenderPass.h" GrVkPipelineState* GrVkPip...
<commit_before>#include "common.h" #include <cmath> using namespace std; extern "C" void fft_inplace_even(complexd * data, int size, int pitch); // In principle, we can calculate 1 - (t2/r)^2 separately // because it does not depend on w and can be reused for // all layers, but we don't bother with caching and c...
<commit_before>#ifndef STAN_MATH_REV_FUN_MULTIPLY_LOWER_TRI_SELF_TRANSPOSE_HPP #define STAN_MATH_REV_FUN_MULTIPLY_LOWER_TRI_SELF_TRANSPOSE_HPP #include <stan/math/rev/meta.hpp> #include <stan/math/rev/core.hpp> #include <stan/math/rev/fun/dot_product.hpp> #include <stan/math/rev/fun/dot_self.hpp> #include <stan/math/r...
<commit_before>/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2011, Willow Garage, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followi...
<commit_before>// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "dense_lambda_peek_optimizer.h" #include "dense_lambda_peek_function.h" #include "dense_cell_range_function.h" #include <vespa/eval/instruction/replace_type_function.h> #include <ves...
<commit_before>// // Copyright (C) 2013-2014 mogemimi. // // Distributed under the MIT License. // See accompanying file LICENSE.md or copy at // http://enginetrouble.net/pomdog/LICENSE.md for details. // #include "VoxModelLoader.hpp" #include "Pomdog/Content/detail/AssetLoaderContext.hpp" #include "Pomdog/Utilit...
<commit_before>/*********************************************************************************************************************** * * * SPLASH build system v0.2 ...
<commit_before>// FRAGMENT(include) #include <iostream> #include <seqan/seq_io.h> #include <seqan/journaled_set.h> using namespace seqan; // FRAGMENT(searchAtBorder) template <typename TJournalEntriesIterator, typename TJournal, typename TPattern> void _searchAtBorder(String<int> & hitTarget, TJou...
<commit_before>#include <windows.h> #include <tchar.h> #include "resource.h" #include "MyMsgProc.h" #include "server\LowDbAccess.h" #include "server\VarController.h" int GetMsgWidth(HWND WndHndl, TCHAR* Msg); int GetMsgHeight(HWND WndHndl, TCHAR* Msg); HWND HttpHdDelHttp = NULL; bool HttpHdDelHttpFlag = false; HWND H...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: fmservs.cxx,v $ * * $Revision: 1.16 $ * * last change: $Author: obo $ $Date: 2006-09-17 05:08:53 $ * * The Contents of this file are made...
<commit_before>/************************************************************************* * * $RCSfile: prtopt.hxx,v $ * * $Revision: 1.5 $ * * last change: $Author: mtg $ $Date: 2001-08-08 21:38:13 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>/*========================================================================= Program: ORFEO Toolbox Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. See OTBCopyright.txt for details. This software is distr...
<commit_before>// tankview.cpp : Defines the entry point for the application. // #include "tankview.h" #include "Model.h" #include "config.h" #include "TextUtils.h" // for the stupid debug openGLcount model uses #ifdef DEBUG int __beginendCount; #endif class Application : public SimpleDisplayEventCallbacks { public:...
<commit_before>#include <iostream> using namespace std; #include <math.h> #include "modelFunctions.cpp" #include "cameraFunctions.cpp" #if defined(__APPLE__) #include <OpenGL/OpenGL.h> #include <GLUT/GLUT.h> #else #include<GL/gl.h> #include<GL/freeglut.h> #endif /** TYPE DEFINITIONS **/ #ifndef __POIN...
<commit_before>/* Copyright 2017 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>/* * The MIT License (MIT) * * Copyright (c) 2014 Alexander Chumakov * * 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 ...
<commit_before>#ifndef UTILS_HPP_ #define UTILS_HPP_ #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <stdexcept> #include <string> #include <vector> #include "containers/printf_buffer.hpp" #include "errors.hpp" #include "config/args.hpp" struct const_charslice { const char *beg, *end; c...
<commit_before>//---------------------------- template.cc --------------------------- // $Id: gradients.cc 22693 2010-11-11 20:11:47Z kanschat $ // Version: $Name$ // // Copyright (C) 2005, 2008, 2009, 2010 by the deal.II authors // // This file is subject to QPL and may not be distributed // without ...
<commit_before>/*------------------------------------------------------------------------------ Copyright (c) 2004 Media Development Loan Fund This file is part of the LiveSupport project. http://livesupport.campware.org/ To report bugs, send an e-mail to bugs@campware.org LiveSupport is free s...
<commit_before>/* RawSpeed - RAW file decoder. Copyright (C) 2009-2014 Klaus Post Copyright (C) 2014 Pedro Côrte-Real 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 Foundation; e...
<commit_before>/* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Written (W) 1999-2009 Soeren Sonnenburg * C...
<commit_before>// Copyright (c) 2012-2014 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 "bloom.h" #include "primitives/transaction.h" #include "hash.h" #include "script/script.h" #include ...
<commit_before>#include "buffer.hh" #include "buffer_manager.hh" #include "window.hh" #include "assert.hh" #include "utils.hh" #include "context.hh" #include "utf8.hh" #include <algorithm> namespace Kakoune { Buffer::Buffer(String name, Flags flags, std::vector<String> lines) : m_name(std::move(name)), m_flags(...
<commit_before>#include <gtest/gtest.h> #include <stdlib.h> #include <fstream> #include <iostream> #include "boost/filesystem.hpp" #include "context.h" #include "env.h" #include "error.h" #include "recorder.h" #include "agent.h" #include "timer.h" #include "dynamic_module.h" namespace fs = boost::filesystem; using c...
<commit_before>// maketable.hpp // #pragma once #ifndef __SDL_SYSTEM_MAKETABLE_HPP__ #define __SDL_SYSTEM_MAKETABLE_HPP__ namespace sdl { namespace db { namespace make { template<class this_table, class record> record make_query<this_table, record>::find_with_index(key_type const & key) { if (m_cluster)...