text
stringlengths
54
60.6k
<commit_before>/* SWARM Copyright (C) 2012-2020 Torbjorn Rognes and Frederic Mahe 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 (...
<commit_before>/// /// @file MainWindow.cpp /// /// @Copyright (C) 2013 The Imaging Source GmbH; Edgar Thier <[email protected]> /// #include "MainWindow.h" #include "ui_mainwindow.h" #include "../Camera.h" #include "../utils.h" #include <memory> #include <thread> #include <future> #include <QThread> #include <Q...
<commit_before><commit_msg>Planning: faster approach to stop_sign<commit_after><|endoftext|>
<commit_before>// (C) Copyright Gennadiy Rozental 2005-2014. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // See http://www.boost.org/libs/test for the library home page. // // File : $RCSfile$ ...
<commit_before>#pragma once //=====================================================================// /*! @file @brief Arithmetic テンプレート @n ※テキストの数式を展開して、計算結果を得る。@n 演算式解析 @author 平松邦仁 ([email protected]) */ //=====================================================================// #include <cstdint> #i...
<commit_before>/*-------------------------------------------------------------------------- File : spi_nrf5x.cpp Author : Hoang Nguyen Hoan Oct. 6, 2016 Desc : SPI implementation on nRF5x series MCU Copyright (c) 2016, I-SYST inc., all rights reserved Permission to use, copy, modify, and distribute thi...
<commit_before><commit_msg>Forgot to remove debugging logging<commit_after><|endoftext|>
<commit_before><commit_msg>Improve gradient-descent algorithm to avoid tiny blocks.<commit_after><|endoftext|>
<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>#include "calendar.h" #include <uuid.h> #include <QtCore/qalgorithms.h> #include <QDebug> #include <icalformat.h> #include <icaltimezones.h> #include <memorycalendar.h> #include <extendedstorage.h> #include <extendedcalendar.h> #include <libical/ical.h> #include <sys/file.h> #include <unistd.h> #includ...
<commit_before>#include "calendar.h" #include <uuid.h> #include <QtCore/qalgorithms.h> #include <QDebug> #include <icalformat.h> #include <icaltimezones.h> #include <memorycalendar.h> #include <extendedstorage.h> #include <extendedcalendar.h> #include <libical/ical.h> #include <sys/file.h> #include <unistd.h> #includ...
<commit_before>/* Copyright (c) 2010, 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>/********************************************************************************* * * 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 "LdapPushReceiver.h" #include "LdapConfigurationManager.h" #include "json/json.h" #include <iostream> #include <string> #include <sstream> #include <algorithm> #include <boost/tokenizer.hpp> #include <boost/foreach.hpp> #include <boost/algorithm/string.hpp> #include <ldap.h> #include "decode...
<commit_before>#include <fstream> #include <iostream> #include <string> #include <cstring> #include <vector> #include "mugen_font.h" #include "mugen_item.h" #include "mugen_item_content.h" #include "mugen_section.h" #include "mugen_reader.h" #include "mugen_util.h" #include "globals.h" // If you use this, please del...
<commit_before>/* Copyright (c) 2010, Dan Bethell, Johannes Saam. 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 li...
<commit_before>#include "jpeg.h" const unsigned char Jpeg::header_magic[] = { 0xFF, 0xD8, 0xFF }; jmp_buf Jpeg::setjmp_buffer; void Jpeg::mozjpeg_error_handler(j_common_ptr cinfo) { (*cinfo->err->output_message)(cinfo); longjmp(setjmp_buffer, 1); } size_t Jpeg::Leanify(size_t size_leanified /*= 0*/) { ...
<commit_before>// 11 may 2015 // TODO split out winapi includes #include "tablepriv.h" // before we start, why is this file C++? because the following is not a valid C header file! // namely, UIAutomationCoreApi.h forgets to typedef enum xxx { ... } xxx; and typedef struct xxx xxx; so it just uses xxx incorrectly // an...
<commit_before>#include <stdlib.h> #include <time.h> #include <string.h> #include <cstdlib> #include <ctime> #include <stdio.h> #include <time.h> #include <set> #include <fstream> #include <unistd.h> #include "hlt.hpp" #include "Networking.hpp" int main(int argc, const char ** argv) { //Ignore as main until needed. ...
<commit_before>// I2C slave, responds as fake RTC device at 0x68 with some dummy data. #include "LPC8xx.h" #include "lpc_types.h" #include "romapi_8xx.h" uint32_t i2cBuffer [24]; I2C_HANDLE_T* ih; void i2cSetupXfer(); // forward void i2cSetup () { LPC_SWM->PINASSIGN7 = 0x00FFFFFF; // SDA on P0 LPC_SWM...
<commit_before>class Solution { public: bool validMountainArray(vector<int>& A) { if (A.size() < 3) { return false; } bool climbing = true; // must check whole array for rule, any pair can break it for (int i = 1; i < A.size(); i++) { // flat breaks th...
<commit_before><commit_msg>Place _init_seek_columns() in right place (#1302)<commit_after><|endoftext|>
<commit_before>/********************************************************************* * Software License Agreement (BSD License) * * 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 f...
<commit_before>// Copyright (c) 2014 Steinwurf ApS // All Rights Reserved // // Distributed under the "BSD License". See the accompanying LICENSE.rst file. #pragma once #include <tuple> #include <type_traits> #include <utility> namespace type_storage { namespace detail { /// Helper struct for find_i...
<commit_before>/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2015-2020 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permit...
<commit_before>#include "gtest/gtest.h" #include "maze.h" #include "mazedata.h" #include "mazeprinter.h" class TestMazePrinter : public ::testing::Test { protected: Maze *maze; MazePrinter* printer; virtual void SetUp() { maze = new Maze(16); maze->resetToEmptyMaze(); } virtual void TearDown() ...
<commit_before><commit_msg>Add db is use to spam at application start<commit_after><|endoftext|>
<commit_before>/* * Copyright (C) 2018 ScyllaDB */ /* * This file is part of Scylla. * * Scylla 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 op...
<commit_before>#include <primitives/version_range.h> #include <range_parser.h> #include <fmt/format.h> #include <primitives/constants.h> #include <primitives/exceptions.h> #include <primitives/hash_combine.h> #include <primitives/string.h> #include <pystring.h> #include <algorithm> #include <map> const primitives:...
<commit_before>#include <iostream> #include <string> #include "gtest/gtest.h" #include <nomlib/graphics.hpp> #include <nomlib/system.hpp> namespace nom { /// \note These unit tests target the non-typical usage of the FontCache class -- /// the non-static variant. class FontCacheTest: public ::testing::Test { publ...
<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>// Copyright (c) 2009 - Mozy, Inc. #include "namedpipe.h" #include "mordor/assert.h" #include "mordor/exception.h" #include "mordor/log.h" #include "mordor/runtime_linking.h" #include "mordor/string.h" namespace Mordor { static Logger::ptr g_log = Log::lookup("mordor:streams::namedpipe"); NamedPipeS...
<commit_before>/* * qmqtt_network.cpp - qmqtt network * * Copyright (c) 2013 Ery Lee <ery.lee at gmail dot com> * 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>#include "glyphcellrenderer.h" #include "wxcontext.h" #include <wx/dcclient.h> #include <wx/graphics.h> #include <wx/settings.h> #include <memory> GlyphCellRenderer::GlyphCellRenderer(const std::map<wxString, SvgGlyph> &glyphs, int fontSize): glyphs(glyphs) { labelFont = wxSystemSettings::GetFont(wxS...
<commit_before>//===--- MinGWToolChain.cpp - MinGWToolChain Implementation //-----------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===------------------------------...
<commit_before>#include <stdio.h> #include <Halide.h> // Test the simplifier in Halide by testing for equivalence of randomly generated expressions. using namespace std; using namespace Halide; using namespace Halide::Internal; const int fuzz_var_count = 5; Type fuzz_types[] = { UInt(1), UInt(8), UInt(16), UInt(32)...
<commit_before>#include "stdafx.h" #include "AutowiringBenchmarkTest.h" #include "TestFixtures/SimpleObject.h" #include <boost/chrono/system_clocks.hpp> TEST_F(AutowiringBenchmarkTest, VerifySimplePerformance) { const size_t n = 10000; // Insert the object: AutoRequired<SimpleObject>(); // Time n hash map hi...
<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>/* * * Copyright 2015-2016 gRPC 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 app...
<commit_before>/* * Copyright (C) 2018 The Android Open Source Project * * 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 ...
<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>/** * Self-Organizing Maps on a cluster * Copyright (C) 2013 Peter Wittek * * 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 ...
<commit_before>//====================================================================== //----------------------------------------------------------------------- /** * @file exception_assertion_tests.cpp * @brief iutest test 例外アサーションテスト * * @author t.shirayanagi * @par copyright ...
<commit_before>#include <node.h> #include <nan.h> #include "enums.h" extern "C" { #include <ocstack.h> } using namespace v8; // The rest of this file is generated void InitConstants(Handle<Object> exports) { // ocstackconfig.h: Stack configuration SET_CONSTANT_MEMBER(exports, Number, DEV_ADDR_SIZE_MAX); SET...
<commit_before>/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * 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 r...
<commit_before>/* * Copyright (C) 2017 The Android Open Source Project * * 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 ...
<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> /************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: pdffilter.cxx,v $ * * $Revision: 1.9 $ * * last change: $Author: obo $ $Date: 2006-07-13 11:14:33 $ * * The Contents of this file are ma...
<commit_before>/*************************************************************************/ /* groups_editor.cpp */ /*************************************************************************/ /* This file is part of: */ /...
<commit_before>// PC implementation of the framework. #ifdef _WIN32 #define WIN32_LEAN_AND_MEAN #include <Windows.h> #include <shlobj.h> #include <shlwapi.h> #include <ShellAPI.h> #else #include <pwd.h> #include <unistd.h> #endif #include <string> #include "SDL/SDL.h" #include "SDL/SDL_timer.h" #include "SDL/SDL_aud...
<commit_before>/* * Copyright (c) 2003 The Regents of The University of Michigan * 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 copyri...
<commit_before>//============================================================================ // Name : brainfuck_rpc_emulator.cpp // Author : Artem Kashkanov // Version : // Copyright : // Description : Hello World in C++, Ansi-style //================================================================...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: breakiterator_unicode.hxx,v $ * * $Revision: 1.12 $ * * last change: $Author: hr $ $Date: 2005-11-17 20:30:00 $ * * The Contents of this ...
<commit_before><commit_msg>Removed unnecessary dynamic_cast.<commit_after><|endoftext|>
<commit_before>#include "dataFile.h" #include "debugUtils.h" DataFile::DataFile(void) : file(0) , fileIsOpen(false) { } DataFile::DataFile(const std::string& in_filename, std::ios_base::openmode mode) : file(0) { open(in_filename, mode); } DataFile::~DataFile(void) { close(); } void DataFile::wr...
<commit_before><commit_msg>Error messages added by PeiYong Zhang.<commit_after><|endoftext|>
<commit_before> #include <stdarg.h> #include <stdio.h> #include "../imgui/imgui.h" #if defined _WIN32 || defined __CYGWIN__ #define API __declspec(dllexport) #else #define API #endif extern "C" API ImGuiIO* ImGui_GetIO() { return &ImGui::GetIO(); } extern "C" API void ImGui_Shutdown() { ImGui::Shutdown(); } exte...
<commit_before>// Time: O(n) // Space: O(k) class Solution { public: /** * @param nums: A list of integers * @param k: As described * @return: The majority number */ int majorityNumber(vector<int> nums, int k) { unordered_map<int, int> hash; int n = nums.size(); ...
<commit_before>// Copyright 2008 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 law ...
<commit_before>#ifndef DUBINS_TRAFFIC_PROBLEM_H #define DUBINS_TRAFFIC_PROBLEM_H #include <iostream> #include <vector> #include <string> #include <Eigen/Dense> #include "roadnet.hpp" namespace dubins_traffic { /** Representation of problem instances. \ingroup dubins_traffic */ class Problem { public: d...
<commit_before>// ------------------------------------------------------------------------- // @FileName : NFCObject.cpp // @Author : LvSheng.Huang // @Date : 2012-03-01 // @Module : NFCObject // // ---------------------------------------------------...
<commit_before>/* This file is part of the KDE libraries Copyright (C) 2001-2003 Christoph Cullmann <[email protected]> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License version 2 as published by the Free Software Foundation. ...
<commit_before>/* Mailbox Copyright (C) 2015 Will Penington 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; either version 2.1 of the License, or (at your option) any later version. This libr...
<commit_before>#include <unistd.h> #include <osquery/core.h> #include <osquery/logger.h> #include <osquery/tables.h> #include <osquery/sql.h> extern "C" { #include <libcryptsetup.h> } namespace osquery { namespace tables { void genFDEStatusForBlockDevice(const std::string &name, cons...
<commit_before>/* Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * * Copyright 2018 INRIA. * * 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 L...
<commit_before>/*------------ant.cpp---------------------------------------------------------// * * ants -- We have them * * Purpose: Figure out ant pathing to food. I want food. * *-----------------------------------------------------------------------------*/ #include <array> #include <iostream> #include...
<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>/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** Contact: Qt Software Information ([email protected]) ** ** This file is part of the Qt Linguist of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No C...
<commit_before>// Copyright (C) 2015 Jérôme Leclercq // This file is part of the "Nazara Engine - Utility module" // For conditions of distribution and use, see copyright notice in Config.hpp #include <Nazara/Utility/PixelFormat.hpp> #include <Nazara/Core/Error.hpp> #include <algorithm> #include <array> #include <cstr...
<commit_before>/* * Copyright (c) 2012 Sacha Refshauge * */ // Qt 4.7+ / 5.0+ implementation of the framework. // Currently supports: Symbian, Blackberry, Meego, Linux, Windows #include <QApplication> #include <QUrl> #include <QDir> #include <QDesktopWidget> #include <QDesktopServices> #include <QLocale> #include <...
<commit_before>/* This file is part of: NoahFrame https://github.com/ketoo/NoahGameFrame Copyright 2009 - 2018 NoahFrame(NoahGameFrame) File creator: lvsheng.huang NoahFrame is open-source software and you can redistribute it and/or modify it under th...
<commit_before>// Time: O(n) // Space: O(1) /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: ListNode* reverseList(ListNode* head) { auto dummy = ListNode(0); whi...
<commit_before>/* * Copyright (C) 2006-2011 by Benedict Paten ([email protected]) * * Released under the MIT license, see LICENSE.txt */ /* * sonLibKVDatabase_KyotoTycoon.cpp * * Created on: 5-1-11 * Author: epaull * * Note: all the KT methods seem to have a C and a CPP version (in terms of the ...
<commit_before>/* * File: PPSequenceTypes.cpp * Copyright (C) 2006 The Institute for System Programming of the Russian Academy of Sciences (ISP RAS) */ #include "sedna.h" #include "PPSequenceTypes.h" #include "PPUtils.h" #include "casting_operations.h" ////////////////////////////////////////////////////////////...
<commit_before>//===-LTOCodeGenerator.cpp - LLVM Link Time Optimizer ---------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>// Copyright 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/logging.h" #include <stdio.h> #include <stdlib.h> #include <sys/time.h> #include <unistd.h> #include <iomanip> #incl...
<commit_before>// Time: O(nlogn) // Space: O(n) // Divide and Conquer. class Solution { public: enum {start, end, height}; vector<pair<int, int>> getSkyline(vector<vector<int>>& buildings) { const auto intervals = move(ComputeSkylineInInterval(buildings, 0, buildings.size())); ve...
<commit_before>/* This file is part of Kontact. Copyright (c) 2003 Tobias Koenig <[email protected]> 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, o...
<commit_before>// This file is part of meshoptimizer library; see meshoptimizer.h for version/license details #include "meshoptimizer.h" #include <assert.h> #include <float.h> #include <string.h> // This work is based on: // Nicolas Capens. Advanced Rasterization. 2004 namespace meshopt { const int kViewport = 256; ...
<commit_before><commit_msg>Eliminate precarious use of const_cast<wchar*>(wstring.get()) Review URL: http://codereview.chromium.org/42617<commit_after><|endoftext|>
<commit_before>#include <stdio.h> #include <stdlib.h> #include <string.h> #include "wifipropconnection.h" #define CALIBRATE_DELAY 10 #define HTTP_PORT 80 #define TELNET_PORT 23 #define DISCOVER_PORT 2000 int resetPin = 12; extern int verbose; WiFiPropConnection::WiFiPropConnection() : m_ipaddr(NULL)...
<commit_before>// // Copyright (c) 2010-2012 Linaro Limited // // All rights reserved. This program and the accompanying materials // are made available under the terms of the MIT License which accompanies // this distribution, and is available at // http://www.opensource.org/licenses/mit-license.php // // Contributors...
<commit_before><commit_msg>Include trivial definition of method in release mode (where we don't do tracking)<commit_after><|endoftext|>
<commit_before><commit_msg>introduced Date::IsValidDate() and Date::Normalize()<commit_after><|endoftext|>
<commit_before>#ifndef BLOCK_MASKS_HPP__ #define BLOCK_MASKS_HPP__ #include <cassert> namespace clotho { namespace utility { template < class Block > class block_masks { public: static const unsigned int bits_per_block = sizeof( Block ) * 8; typedef Block block_type; typedef Block mask_type; stati...
<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-2006 Torus Knot Software Ltd Also see acknowledgements in Readme.html This pro...
<commit_before>// 01TextView.cpp : implementation of the CMy01TextView class // #include "stdafx.h" #include "01Text.h" #include "01TextDoc.h" #include "01TextView.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif /////////////////////////////////////////////////////...
<commit_before>// Jubatus: Online machine learning framework for distributed environment // Copyright (C) 2012 Preferred Infrastructure and Nippon Telegraph and Telephone Corporation. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // Lic...
<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 test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICE...
<commit_before>/************************************************************************* * * Copyright (c) 2010-2014 Kohei Yoshida * * 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 wi...
<commit_before>/************************************************************************* * * Copyright (c) 2012-2013 Kohei Yoshida * * 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>/** * \file * \brief Basic UDP receiver * * \copyright 2012 Omnibius, LLC * \author Dmitriy Kargapolov * \version 1.0 * \since 27 May 2012 * */ /* * Copyright (c) 2012 Omnibius, LLC * Author: Dmitriy Kargapolov <[email protected]> * Use, modification and distribution are subject t...
<commit_before>/** * @file lllocaltextureobject.cpp * * $LicenseInfo:firstyear=2009&license=viewergpl$ * * Copyright (c) 2009-2009, Linden Research, Inc. * * Second Life Viewer Source Code * The source code in this file ("Source Code") is provided by Linden Lab * to you under the terms of the GNU General Pu...
<commit_before><commit_msg>Planning: add more debug more in iterative smoother<commit_after><|endoftext|>
<commit_before>#include <papyrus/parser/PapyrusLexer.h> #include <cctype> #include <map> namespace caprica { namespace papyrus { namespace parser { void PapyrusLexer::setTok(TokenType tp, int consumeChars) { cur = Token(tp); cur.line = lineNum; for (int i = 0; i < consumeChars; i++) strm.get(); } void Pap...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkArchetypeSeriesFileNames.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights reserved...
<commit_before>/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: filecopy.cxx,v $ * $Revision: 1....
<commit_before><commit_msg>tools: check for data loss in WriteFraction<commit_after><|endoftext|>
<commit_before><commit_msg>coverity#708548 Uninitialized pointer field<commit_after><|endoftext|>
<commit_before>/* * Copyright 2016 Matthias Fuchs * * 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...