text
stringlengths
54
60.6k
<commit_before> // FILE: main.cc //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-// // // // Main Startup Code for the Cutplane Editor // (Faster, Stronger, and Much Much More Powerful) // // Authors: LJE and WAK Date: December 27,1989 ...
<commit_before>//===--------------- LLVMContextImpl.cpp - Implementation ------*- C++ -*--===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#define GLEW_STATIC #define RUN_GRAPHICS_DISPLAY 0x00; #define GLM_FORCE_RADIANS #include <GL/glew.h> #include <GL/gl.h> #include <SDL2/SDL.h> #include <glm/glm.hpp> #include <glm/ext.hpp> #include <iostream> #include <memory> #include <boost/program_options.hpp> #include "common.h" #include "GameWorl...
<commit_before>/* Copyright (c) 2013, William Magato All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of condi...
<commit_before>#include "ros/ros.h" #include <string> #include <boost/format.hpp> #include "constants.h" #include "uinput_device.h" #include "viewport_mapper.h" #include "ros_event_relay.h" #include "lg_mirror/EvdevDeviceInfo.h" const char* DEVICE_NAME_BASE = "Virtual Touchscreen (%s)"; const char* VIEWPORT_PARAM = "...
<commit_before>/* NUI3 - C++ cross-platform GUI framework for OpenGL based applications Copyright (C) 2002-2003 Sebastien Metrot licence: see nui3/LICENCE.TXT */ #include "nui.h" #include "nuiSeparator.h" nuiSeparator::nuiSeparator(nuiOrientation orientation) : nuiWidget() { SetObjectClass(_T("nuiSeparator")...
<commit_before>#ifndef FACTOR_ENCODER #define FACTOR_ENCODER #include <map> #include <string> #include <vector> int read_vocab(const char* fname, std::map<std::string, double> &vocab, int &maxlen); void viterbi(const std::map<std::string, double> &vocab, int maxlen, ...
<commit_before>//===-- AsmPrinter.cpp - Common AsmPrinter code ---------------------------===// // // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. // ...
<commit_before>//===- lib/Driver/GnuLdDriver.cpp -----------------------------------------===// // // The LLVM Linker // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------...
<commit_before>//===--- GenClangType.cpp - Swift IR Generation For Types -----------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<commit_before>//===--- GenClangType.cpp - Swift IR Generation For Types -----------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<commit_before>/* * Copyright (c) 2016 DeNA Co., Ltd., Kazuho Oku * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * rights to use...
<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 "base/command_line.h" #include "base/path_service.h" #include "base/utf_string_conversions.h" #include "chrome/browser/ui/brow...
<commit_before><commit_msg>jnitools: fix spelling in error message<commit_after><|endoftext|>
<commit_before><commit_msg>fix a bug about degree measure and radian measure.<commit_after><|endoftext|>
<commit_before>//----------------------------------------------------------------------------- #include "socket.h" //----------------------------------------------------------------------------- Socket::Socket(unsigned int port) :status(false) { int error = WSAStartup (0x0202, &wsaData); // Fill in WSA info SOCKADD...
<commit_before>/*========================================================================= * * 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 ...
<commit_before>#include "build_skins.h" #include "build_common.h" #include "platform/platform.hpp" #include <array> #include <algorithm> #include <exception> #include <tuple> #include <unordered_map> #include <utility> #include <fstream> #include <QtCore/QDir> namespace { enum SkinType { SkinMDPI, SkinHDPI, S...
<commit_before>//===-- AutoUpgrade.cpp - Implement auto-upgrade helper functions ---------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before> #include <functional> #include <string> #include "glog/logging.h" #include "gtest/gtest.h" #include "quantities/astronomy.hpp" #include "quantities/BIPM.hpp" #include "quantities/constants.hpp" #include "quantities/elementary_functions.hpp" #include "quantities/quantities.hpp" #include "quantities/si....
<commit_before><commit_msg>Always send Retrieve in Network::registerCaller()<commit_after><|endoftext|>
<commit_before>// Copyright (C) 2011 The Libphonenumber 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 a...
<commit_before>/* * Copyright 2012 Coherent Theory LLC * * This program 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, or * (at your option) any later version. * * ...
<commit_before><commit_msg>Changed data file to start with ".", don't restore that<commit_after><|endoftext|>
<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 "chrome/browser/external_protocol/external_protocol_handler.h" #include "content/test/test_browser_thread.h" #include "testin...
<commit_before>//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===-------------------------...
<commit_before>/** * @brief Handle on the StdAir library context * @author Anh Quan Nguyen <[email protected]> * @date 20/01/2010 * @detail StdAir aims at providing a clean API, and the corresponding * C++ implementation, for the basis of Airline IT Business Object * Model (BOM), that...
<commit_before>/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor ...
<commit_before>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2006 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public...
<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>#include "core/reactor.hh" #include "core/app-template.hh" #include "core/sstring.hh" #include "message/messaging_service.hh" #include "gms/gossip_digest_syn.hh" #include "gms/gossip_digest_ack.hh" #include "gms/gossip_digest_ack2.hh" #include "gms/gossip_digest.hh" #include "core/sleep.hh" #include "api...
<commit_before>#include<ros/ros.h> #include<keyboard/Key.h> #include<sstream> #include<string.h> std::string intToString(int number){ std::ostringstream oss; oss << number; return oss.str(); } void keyupMessageRecieved(const keyboard::Key& msg){ ROS_INFO("%s",intToString(msg.code).c_str()); } void keydownMessageR...
<commit_before>/******************************************************************************* * thrill/api/dia_base.cpp * * Part of Project Thrill - http://project-thrill.org * * Copyright (C) 2015 Sebastian Lamm <[email protected]> * Copyright (C) 2016 Timo Bingmann <[email protected]> * * All rights reserve...
<commit_before>/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. ==...
<commit_before>/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2010 Robert Osfield * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * inc...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation ([email protected]) ** ** Commercial Usage ** ** Licensees holding valid Qt Commercial...
<commit_before>// // This file is part of the Marble Desktop Globe. // // This program is free software licensed under the GNU LGPL. You can // find a copy of this license in LICENSE.txt in the top directory of // the source code. // // Copyright 2010 Siddharth Srivastava <[email protected]> // #include "Routin...
<commit_before>// // This file is part of the Marble Desktop Globe. // // This program is free software licensed under the GNU LGPL. You can // find a copy of this license in LICENSE.txt in the top directory of // the source code. // // Copyright 2010 Dennis Nienhüser <[email protected]> // #include "RoutinoP...
<commit_before>//****************************************************************************** //****************************************************************************** #include "xbridgetransactionsview.h" // #include "../xbridgeapp.h" // #include "xbridgetransactiondialog.h" #include "xbridge/xbridgeexchange....
<commit_before>// -*- coding: us-ascii-unix -*- // Copyright 2012 Lukas Kemmer // // 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 // // Unles...
<commit_before>#include <iostream> void while_Demo(); void for_Demo(); void notQuantitativeValue(); int main() { // 1.4.1 while while_Demo(); // 1.4.2 for for_Demo(); // 1.4.3 读取数量不定的输入数据 notQuantitativeValue(); std::cout << "Section 1.4 end" << std::endl; return 0; } /** * 读取数量不定的输入数据, * 只...
<commit_before>/* * Author(s): * - Cedric Gestes <[email protected]> * - Herve Cuche <[email protected]> * * Copyright (C) 2012 Aldebaran Robotics */ #include <qimessaging/session.hpp> #include <qimessaging/datastream.hpp> #include <qimessaging/transport_socket.hpp> #include <qimessaging/ob...
<commit_before>#include <bts/blockchain/asset.hpp> #include <bts/blockchain/config.hpp> #include <bts/blockchain/exceptions.hpp> #include <fc/reflect/variant.hpp> #include <fc/uint128.hpp> #include <fc/real128.hpp> #include <sstream> namespace bts { namespace blockchain { price operator *( const price& l, const p...
<commit_before>#include "views.h" using namespace std; namespace rviews { void login(JsonValue * message, ServerHandler * handler) { JsonDict * dictMessage = JDICT(message); if (dictMessage == NULL) { throw BadRequest("Malformatted request. Need a JSON dict"); } bool success = getBool(dictM...
<commit_before>/** * blocked.hpp - * @author: Jonathan Beard * @version: Sun Jun 29 14:06:10 2014 * * Copyright 2014 Jonathan Beard * * 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>//============================================================================================================= /** * @file icp.cpp * @author Ruben Dörfel <[email protected]> * @since 0.1.0 * @date July, 2020 * * @section LICENSE * * Copyright (C) 2020, Ruben Dörfel. All rights r...
<commit_before>/* * Copyright (C) 2004-2017 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 * ...
<commit_before>#include "mbed.h" #include "max32630fthr.h" #include "cmsis.h" // register base address definitions #include "pwrseq_regs.h" // power sequence register definitions #include "rtc_regs.h" //RTC register definitions #include "SDFileSystem.h" MAX32630FTHR pegasus(MAX32630FTHR::VIO_3V3); ...
<commit_before>#pragma once /** * \file sal/buf_ptr.hpp */ #include <sal/config.hpp> #include <sal/char_array.hpp> #include <algorithm> #include <array> #include <string> #include <vector> __sal_begin /** * buf_ptr represents contiguous region of raw memory with specified size. * Internally it is kept as poin...
<commit_before>/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not d...
<commit_before>#include "kernel.h" #include "ilwisdata.h" #include "domain.h" #include "range.h" #include "datadefinition.h" #include "columndefinition.h" #include "connectorinterface.h" #include "domainitem.h" #include "basetable.h" #include "flattable.h" #include "tablemerger.h" #include "itemrange.h" #include "logic...
<commit_before>// Copyright (C) 2019-2020 European Spallation Source, see LICENSE file //===----------------------------------------------------------------------===// /// /// \file /// /// \brief Digital geometry for SUMO (Sub-Modules) - implementation /// //===---------------------------------------------------------...
<commit_before>// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/command_line.h" #if defined(OS_WIN) #include <windows.h> #include <shellapi.h> #elif defined(OS_POSIX) #include <l...
<commit_before><commit_msg>Revert 35907 - Fixes CommandLine::AppendLooseValue() to append the parameter to the loose_values_ vector.<commit_after><|endoftext|>
<commit_before>/*VRP********************************************************************* * * vehicle routing problems * A collection of C++ classes for developing VRP solutions * and specific solutions developed using these classes. * * Copyright 2014 Stephen Woodbridge <[email protected]> * Copyr...
<commit_before>#include "DynamicData.hpp" #include "ProcessObject.hpp" namespace fast { DynamicData::~DynamicData() { delete fillCount; delete emptyCount; #if defined(__APPLE__) || defined(__MACOSX) std::string name = "FAST_fill_count_" + boost::lexical_cast<std::string>(mSemaphoreNumber); boost::in...
<commit_before>// Copyright 2021 Google LLC // // 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 o...
<commit_before>/* * Copyright 2010 Google 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 l...
<commit_before>//===-- tsan_clock.cc -----------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/* The MIT License (MIT) Copyright (c) 2014 n@zgul <[email protected]> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to...
<commit_before>/* * gnd_linalg.hpp * * Created on: 2012/01/22 * Author: tyamada */ #include "gnd-vector-base.hpp" #include "gnd-matrix-base.hpp" /** * @ifnot GNDLinAlg * @defgroup GNDLinAlg linear-algebras * @endif GNDLinAlg */ namespace gnd { /** * @ingroup GNDLinAlg * @namespace linalg * sup...
<commit_before>/* * ComponentManager.cpp * * Created on: Dec 17, 2013 * Author: Dawid Drozd */ #include "component/ComponentManager.h" #include "component/Component.h" #define UNUSED_TAG -1 namespace KoalaComponent { ComponentManager::ComponentManager ( CCNode* pWorkingNode , Notifier& pNotifie...
<commit_before>/* * Copyright 2004 The WebRTC Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. Al...
<commit_before>/************************************************************************* * * $RCSfile: FmtFilter.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: tra $ $Date: 2001-03-20 09:26:01 $ * * The Contents of this file are made available subject to the terms of * either of the following lic...
<commit_before>#pragma once /** * The 'TimingGraph' class represents a timing graph. * * Logically the timing graph is a directed graph connecting Primary Inputs (nodes with no * fan-in, e.g. circuit inputs Flip-Flop Q pins) to Primary Outputs (nodes with no fan-out, * e.g. circuit outputs, Flip-Flop D pins), conn...
<commit_before>/** * @file heisenberg.cpp * @brief The main c++ file for the DMRG * * * @author Roger Melko * @author Ivan Gonzalez * @date $Date$ * * $Revision$ * * Elementary DMRG simulation for the Heisenberg chain; * \f$H= \sum_{ij} (S^x_i S^x_j + S^y_i S^y_j + S^z_i S^z_j ) \f$ * * <ul> * <...
<commit_before>/* -*-c++-*- Present3D - Copyright (C) 1999-2006 Robert Osfield * * This software is open source and may be redistributed and/or modified under * the terms of the GNU General Public License (GPL) version 2.0. * The full license is in LICENSE.txt file included with this distribution,. * * This s...
<commit_before>/***************************Copyright-DO-NOT-REMOVE-THIS-LINE** * * Condor Software Copyright Notice * Copyright (C) 1990-2006, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * This source code is covered by the Condor Public License, which can * be foun...
<commit_before>// Copyright 2012 Cloudera 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 ...
<commit_before>//===--------------------------- new.cpp ----------------------------------===// // // 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 // //===------------...
<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 "ash/system/ime/tray_ime.h" #include <vector> #include "ash/shell.h" #include "ash/system/tray/system_tray.h" #include "ash/...
<commit_before>#include "model_common_functions.hpp" #include "species.hpp" // Include GLEW #ifndef __GL_GLEW_H_INCLUDED #define __GL_GLEW_H_INCLUDED #include <GL/glew.h> // GLfloat, GLuint etc. #endif // Include GLFW #ifndef __GLFW3_H_INCLUDED #define __GLFW3_H_INCLUDED #include <glfw3.h> #endif // Include GLM #ifn...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: implfont.hxx,v $ * * $Revision: 1.5 $ * * last change: $Author: rt $ $Date: 2005-09-08 08:28:49 $ * * The Contents of this file are made ...
<commit_before>/* This file is part of the Vc library. Copyright (C) 2009 Matthias Kretz <[email protected]> Vc 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 3 of the Lic...
<commit_before>/* TidyEngine Copyright (C) 2016 Jakob Sinclair This program 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 3 of the License, or (at your option) any later version. This pr...
<commit_before>/*************************************************************************** ** ** Copyright (C) 2010, 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation ([email protected]) ** ** This file is part of libmeegotouch. ** ** If you have questions regar...
<commit_before>#include "collision-map.h" #include "platformer/object/object.h" #include "platformer/game/camera.h" #include "util/debug.h" #include "util/token.h" #include "util/graphics/bitmap.h" #include "util/exceptions/load_exception.h" #include <math.h> namespace Platformer{ static bool within(const Area...
<commit_before>/* * Copyright (C) 2012 by Glenn Hickey ([email protected]) * * Released under the MIT license, see LICENSE.txt */ #include <sstream> #include <deque> #include <iostream> #include "halValidate.h" #include "hal.h" using namespace std; using namespace hal; // current implementation is poor and hack...
<commit_before>/* * 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 * "...
<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 "net/base/keygen_handler.h" #include <windows.h> #include <wincrypt.h> #pragma comment(lib, "crypt32.lib") #include <rpc.h> #...
<commit_before>/* * NuoDB Adapter */ #include "nuodb/sqlapi/SqlEnvironment.h" #include "nuodb/sqlapi/SqlConnection.h" #include "nuodb/sqlapi/SqlDatabaseMetaData.h" #include "nuodb/sqlapi/SqlStatement.h" #include "nuodb/sqlapi/SqlExceptions.h" using nuodb::sqlapi::ErrorCodeException; using nuodb::sqlapi::SqlConnecti...
<commit_before>/****************************************************************************** This source file is part of the tomviz project. Copyright Kitware, Inc. This source code is released under the New BSD License, (the "License"). Unless required by applicable law or agreed to in writing, software ...
<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 distributed WIT...
<commit_before>#include "writer/verilog/axi/master_controller.h" #include "iroha/i_design.h" #include "writer/verilog/axi/master_port.h" #include "writer/verilog/module.h" #include "writer/verilog/ports.h" #include "writer/verilog/table.h" namespace iroha { namespace writer { namespace verilog { namespace axi { Mast...
<commit_before>/* * The Apache Software License, Version 1.1 * * Copyright (c) 1999-2000 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistr...
<commit_before> #include <SkynetClient.h> // #include <WiFi.h> // WiFiClient client; #include <Ethernet.h> EthernetClient client; #define TOKEN_STRING(js, t, s) \ (strncmp(js+(t).start, s, (t).end - (t).start) == 0 \ && strlen(s) == (t).end - (t).start) struct ring_buffer { unsigned char buffer[SKYNET_BUFF...
<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 "remoting/host/capturer_mac.h" #include <stddef.h> #include <OpenGL/CGLMacro.h> namespace remoting { CapturerMac::Capturer...
<commit_before>/* * The Apache Software License, Version 1.1 * * Copyright (c) 2003 The Apache Software Foundation. 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. Redistributi...
<commit_before>/// @file {{ device.class_name|lower }}.hpp /// /// (c) Koheron 2014-2015 #ifndef __{{ device.class_name|upper }}_HPP__ #define __{{ device.class_name|upper }}_HPP__ {% for include in device.includes -%} #include <{{ include }}> {% endfor -%} #include <drivers/dev_mem.hpp> #if KSERVER_HAS_THREADS #in...
<commit_before>std::vector<std::string> split(std::string str,std::string sep){ char* cstr=const_cast<char*>(str.c_str()); char* current; std::vector<std::string> arr; current=strtok(cstr,sep.c_str()); while(current!=NULL){ arr.push_back(current); current=strtok(NULL,sep.c_str()); ...
<commit_before>// // Application.cpp // ouzel // // Created by Elviss Strazdins on 20/12/15. // Copyright © 2015 Bool Games. All rights reserved. // #include "Application.h" namespace ouzel { Application::Application(Engine* engine): _engine(engine) { _engine->addEventHandler(this); ...
<commit_before>/* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may not use this file except in compliance with the License....
<commit_before>#include "IndexStructureFactory.h" // #include "SequentialScan.h" #include "Octree.h" namespace mdsearch { /* ALL INDEX STRUCTURE GENERATORS ARE DEFINED HERE */ IndexStructure* generateSequentialScan(unsigned int numDimensions, const std::vector<std::string>& args) { return new SequentialScan(n...
<commit_before>// Polygon.cpp #include "Polygon.h" #include "Triangle.h" #include "IndexTriangle.h" #include "LineSegment.h" #include "Surface.h" using namespace _3DMath; Polygon::Polygon( void ) { vertexArray = new VectorArray(); indexTriangleList = new IndexTriangleList(); } /*virtual*/ Polygon::~Polygon( void ...
<commit_before>#include <yuni/yuni.h> #include <yuni/core/noncopyable.h> #include <yuni/io/file.h> #include <yuni/core/system/console.h> #include <yuni/core/getopt.h> #include <yuni/io/directory.h> #include <yuni/io/directory/info.h> #include <yuni/datetime/timestamp.h> #include <yuni/core/logs/logs.h> #include "nany/n...
<commit_before>/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2010-2011, Willow Garage, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the fo...
<commit_before>#include "llvm/Instructions.h" #define OPT_LOCAL_REGISTERS //XXX #include "libcpu.h" #include "libcpu_llvm.h" #include "frontend.h" #include "fapra_internal.h" #include <inttypes.h> using namespace llvm; ////////////////////////////////////////////////////////////////////// // fapra: instruction dec...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: tabvwshg.cxx,v $ * * $Revision: 1.12 $ * * last change: $Author: kz $ $Date: 2008-03-07 17:00:39 $ * * The Contents of this file are made...
<commit_before><commit_msg>RemoteFilesDialog: CMIS subtypes<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * $RCSfile: svtaccessiblefactory.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2007-07-10 09:20:25 $ * * The Contents of this file are made available subject to the terms of * either of the fol...