text
stringlengths
54
60.6k
<commit_before>// // RemotePhotoTool - remote camera control software // Copyright (C) 2008-2014 Michael Fink // /// \file ImagePropertyView.cpp View for image properties // // includes #include "stdafx.h" #include "resource.h" #include "ImagePropertyView.hpp" #include "IPhotoModeViewHost.hpp" #include "ImageProperty....
<commit_before>/**************************************************************************** * * (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * ************************...
<commit_before>// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "query.h" #include "blueprintbuilder.h" #include "matchdatareservevisitor.h" #include "resolveviewvisitor.h" #include "termdataextractor.h" #include "sameelementmodifier.h" #in...
<commit_before>// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/fastos/fastos.h> #include "postingchange.h" #include "multivaluemapping.h" #include "postinglistattribute.h" #include <vespa/searchlib/common/bitvector.h> #include <map> nam...
<commit_before>// Copyright (c) 2009 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/renderer/paint_aggregator.h" #include "base/logging.h" #include "base/metrics/histogram.h" // ----------------------...
<commit_before>/* OpenSceneGraph example, osgtexture3D. * * 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, copy, modi...
<commit_before>// This is free and unencumbered software released into the public domain. // For more information, please refer to <http://unlicense.org/> #include "results_pane.h" #include "models/base/helper.h" #include "wx/xrc/xmlres.h" #include "edit_pane.h" #include "span.h" #include "span_analyzer_app.h" #incl...
<commit_before>/******************************************************************** * Copyright © 2017 Computational Molecular Biology Group, * * Freie Universität Berlin (GER) * * * * This file is part of ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: XMLIndexTitleTemplateContext.cxx,v $ * * $Revision: 1.8 $ * * last change: $Author: hr $ $Date: 2007-06-27 16:01:58 $ * * The Contents of...
<commit_before>// Copyright The OpenTelemetry Authors // SPDX-License-Identifier: Apache-2.0 #ifndef HAVE_CPP_STDLIB // Unfortunately as of 04/27/2021 the fix is NOT in the vcpkg snapshot of Google Test. // Remove above `#ifdef` once the GMock fix for C++20 is in the mainline. // // Please refer to this GitHub issue f...
<commit_before>#include <metaSMT/DirectSolver_Context.hpp> #include <metaSMT/API/Stack.hpp> #include <metaSMT/backend/Z3_Backend.hpp> typedef metaSMT::DirectSolver_Context<metaSMT::Stack<metaSMT::solver::Z3_Backend> > ContextType; #include "main.cpp" <commit_msg>removed stack emulation from Z3_Backend SMT-LIB2 evaluato...
<commit_before>// ======================================================================== // // Copyright 2009-2016 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); ...
<commit_before>#include "Component.h" #include "Simulation.h" #include "ComponentPostProcessor.h" unsigned int Component::subdomain_ids = 0; unsigned int Component::bc_ids = 0; template<> InputParameters validParams<Component>() { InputParameters params = validParams<R7Object>(); params.addPrivateParam<Simulatio...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ldapuserprof.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: obo $ $Date: 2006-09-16 12:57:38 $ * * The Contents of this file are ...
<commit_before>// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html #include "cap_mfx_common.hpp" // Linux specific #ifdef __linux__ #include <sys/types.h> #include <sys/stat.h> ...
<commit_before>#include <sstream> // ostringstream #include <iomanip> // std::setw #include <stdio.h> // printf #include "allocore/math/al_Constants.hpp" #include "allocore/system/al_Time.hpp" /* Windows */ #if defined(AL_WINDOWS) #include <windows.h> /* Info on Windows timing: http://windowstimestamp.com/description ...
<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/basictypes.h" #include "base/file_util.h" #include "base/string_util.h" #include "net/disk_cache/disk_cache_test_ba...
<commit_before>#include "ofMain.h" #include "ofxSmartOscSender.h" #include "ofxMultiOscSender.h" using namespace bbb::ofxOscMessageStreamOperators; class ofxSmartOscSenderExampleApp : public ofBaseApp { ofxMultiOscSender sender; ofxOscReceiver receiver; public: void setup() { sender.addTarget...
<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>/************************************************************************* * * 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: textparagraph.cxx,v $ * $Revisio...
<commit_before>// ======================================================================== // // Copyright 2018-2019 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); ...
<commit_before>#include "cssysdef.h" #include "awssktst.h" #include "csutil/scfstr.h" #include "iaws/awsparm.h" #include <stdio.h> static char *names[10] = { "Yellow", "Green", "Blue", "Orange", "Purple", "Red", "White", "Teal", "Black" }; static int namec = 0; awsTestSink::awsTestSink():wmgr(NULL), sink(NULL), us...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ocompinstream.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: rt $ $Date: 2005-09-08 16:06:54 $ * * The Contents of this file are ...
<commit_before>/* Servo Class author : vincent JAUNET mail : vincent.jaunet@hotmail.fr date : 10-01-2013 Description: the Servo class is a collection of routine used to control the motors through the electronic speed controllers. ESC and Servo use the same communication protocole: PWM. That i...
<commit_before>/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite * * This file is part of OpenOffice.o...
<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 "chrome/browser/extensions/extension_apitest.h" #include "chrome/browser/extensions/extension_tt...
<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 <gtk/gtk.h> #include "base/string_util.h" #include "chrome/browser/bookmarks/bookmark_model.h" #include "chrome/browser/...
<commit_before>// Copyright 2014 // ville.kankainen@gmail.com // ville.kankainen@kangain.com // // 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/L...
<commit_before>// Title : Implementation of Coroutine in Cpp // Author : hanzh.xu@gmail.com // Date : 11-21-2020 // License : MIT License /* Implementation of Coroutine in Cpp Compiler: // clang version 3.8.1-24+rpi1 (tags/RELEASE_381/final) // Target: armv6--linux-gnueabihf // Thread model: pos...
<commit_before>/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkExtractUnstructuredGridPiece.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm fo...
<commit_before>#include <iostream> #include <string> #include <algorithm> #include <vector> #include <cstdlib> #include <utility> using namespace std; void printCrosswordBoard(vector<string> CrosswordBoard) { size_t boardSize=CrosswordBoard.size(); for(int row=0;row<boardSize;++row) { size_t rowSize=CrosswordBoa...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: liImageRegistrationConsoleBase.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 2001 Insight Consortium All rights reserved. R...
<commit_before>/*********************************************************************************************************************** ** ** Copyright (c) 2011, 2015 ETH Zurich ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the...
<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>// For conditions of distribution and use, see copyright notice in license.txt #include <direct.h> #include "Foundation.h" #include "ModuleManager.h" #include "HttpUtilities.h" #include "DebugOperatorNew.h" #if defined(_MSC_VER) && defined(MEMORY_LEAK_CHECK) // for reporting memory leaks upon debug ...
<commit_before>/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "StubViewTree.h" #include <glog/logging.h> #include <react/debug/react_native_assert.h> #ifdef STUB_VIEW_...
<commit_before>#include "src/camera.h" #include "src/math.h" #include "src/timer.h" #include "src/triangle.h" #include "src/utils.h" #include "3rdparty/mdl/mdl.h" enum MDLDrawModeType { HALF_WIREFRAME, // textured screen on one half, wireframe on second half FULLSCREEN, // fullscreen model MDLDRAWMODE...
<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. // // @file // Content script manager implementation. #include "ceee/ie/plugin/scripting/content_script_manager.h" #include "ceee/ie/co...
<commit_before>#include "ManagedHeap.hpp" #ifdef ___INANITY_TRACE_HEAP #include "CriticalCode.hpp" #endif #include <map> #include <iostream> #include <algorithm> BEGIN_INANITY #ifdef ___INANITY_TRACE_PTR /// Выключить трассировку указателей? /** Она очень замедляет работу в debug. */ static const bool disableTracePtr...
<commit_before>// Copyright 2015 Open Source Robotics Foundation, 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 re...
<commit_before>/* Copyright 2011, Jernej Kovacic 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 wri...
<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 "chrome/browser/chromeos/views/domui_menu_widget.h" #include "base/stringprintf.h" #include "base/singleton.h" #include "base...
<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 "chrome/browser/notifications/balloon_collection_impl.h" #include "base/logging.h" #include "base/stl_util-inl.h" #include "c...
<commit_before>//===--- AvoidConstParamsInDecls.cpp - clang-tidy--------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform...
<commit_before>/************************************************************************* * * $RCSfile: accessibletexthelper.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: vg $ $Date: 2003-04-24 17:26:09 $ * * The Contents of this file are made available subject to the terms of * either of the fol...
<commit_before>#pragma once //=====================================================================// /*! @file @brief RX700 グループ Δ-Σモジュレータインタフェース定義 @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2019 Kunihito Hiramatsu @n Released under the MIT license @n https://github.com/hirakuni45/RX/blob/...
<commit_before>#include <cmath> #include <iostream> #include <cstdlib> #include "Block.h" #include "Font.hpp" int main() { //okno sf::RenderWindow okno(sf::VideoMode(400, 400), "2048", sf::Style::Titlebar && sf::Style::Default); //pojedynczy klocek Texture -- > tylko to rysowania obrazow sf::Texture textura; i...
<commit_before>/* Copyright (c) 2012 Carsten Burstedde, Donna Calhoun 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 ...
<commit_before>/* * main.cpp * * Created on: 6 Sep 2015 * Author: jeremy */ #include "MainWindow/MainWindow.h" #include <gtkmm/application.h> #include <gtkmm/builder.h> #include <gtkmm/button.h> #include <string> #include <memory> #include <iostream> #include "Controllers/MainController.h" int main(int a...
<commit_before>#include<iostream> using namespace std; int main(){ } string[] splitString(string *s,char *split){ for(int i=0;i<s.lenth();i++){ <commit_msg>Simple string split implemented<commit_after>#include<iostream> #include<string> using namespace std; struct list{ string s; list *next; }; list...
<commit_before>/* TPC DA for online calibration Contact: Haavard.Helstrup@cern.ch Link: Run Type: PHYSICS STANDALONE DAQ DA Type: MON Number of events needed: 500 Input Files: Output Files: tpcCE.root, to be exported to the DAQ FXS fileId: CE Trigger types used: PHYSICS_EVENT */ /* TPCCEda.cxx - calibration alg...
<commit_before>#include <thread> #include <vector> #include <time.h> #include <chrono> using namespace std; std::atomic<bool> ready (false); std::atomic<int> counter(0); //int counter(0); //int counter = 0; //increment local constexpr int max_value = 100000000; void increment_l (int id) { unsigned int lcou...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: canvascustomspritehelper.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: obo $ $Date: 2007-07-17 14:18:28 $ * * The Contents of th...
<commit_before>#pragma once #include <utki/config.hpp> #if M_OS != M_OS_WINDOWS # error "compiling in non-Windows environment" #endif #include <cstring> #include <thread> #include <initguid.h> // The header file initguid.h is required to avoid the error message "undefined reference to `IID_IDirectSoundBu...
<commit_before>// This file is part of the dune-stuff project: // http://users.dune-project.org/projects/dune-stuff/ // Copyright Holders: Felix Albrecht // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifdef HAVE_CMAKE_CONFIG # include "cmake_config.h" #elif defined (HAVE_CONFIG_H) # ...
<commit_before>/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, version 1.0 RC 1 * * (c) 2006-2011 INRIA, USTL, UJF, CNRS, MGH * * ...
<commit_before>////////////////////////////////////////////////////////////////////////////// // Licensed to Qualys, Inc. (QUALYS) under one or more // contributor license agreements. See the NOTICE file distributed with // this work for additional information regarding copyright ownership. // QUALYS licenses this fil...
<commit_before><commit_msg>Cast pointer before dereferencing. (firebird-sdbc)<commit_after><|endoftext|>
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p10/procedures/hwp/perv/p10_pre_poweroff.C $ ...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/io/p9_io_obus_scominit.C $ ...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/memory/p9_mss_scominit.C $ ...
<commit_before><commit_msg>Disable tests failing due webkit (Roll WebKit DEPS 45843:45873). Introduced in r20680. See http://crbug.com/16767. TBR=dimich Review URL: http://codereview.chromium.org/155545<commit_after><|endoftext|>
<commit_before><commit_msg>Enable devtools test (fixed upstream)<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/extensions/extension_input_ui_api.h" #include <string> #include "base/json/json_writer.h" #include "base/log...
<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 "chrome/browser/password_manager/password_manager.h" #include <vector> #include "app/l10n_util.h" #include "app/resourc...
<commit_before><commit_msg>Chance the toast experiment from TS to TT - The TS data is not meaningful, we don't want to mix it - The base group moved from TS00 to TS80, since omaha does not show 00 - A better random number generator is used<commit_after><|endoftext|>
<commit_before>/* This file is part of the Vc library. Copyright (C) 2010 Matthias Kretz <kretz@kde.org> 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>// 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 "chrome/browser/file_path_watcher/file_path_watcher.h" #include <CoreServices/CoreServices.h> #include <set> #include "base/...
<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 "chrome/browser/password_manager/password_store_change.h" #include "chrome/browser/password_manager/password_store_default.h" ...
<commit_before>#include <iostream> #include <numeric> #include <vector> using MyInt = size_t; int main() { MyInt T; std::cin >> T; for (auto testCase{1u}; testCase <= T; ++testCase) { MyInt N; MyInt K; MyInt x1; MyInt y1; MyInt C; MyInt D; MyInt E1; MyInt E2; MyInt F; st...
<commit_before>// // Copyright 2015 The ANGLE 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. // // DebugAnnotator11.cpp: D3D11 helpers for adding trace annotations. // #include "libANGLE/renderer/d3d/d3d11/DebugAnnotator11.h...
<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 "Lice...
<commit_before>/* * Copyright 2011 DataStax * * 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 2020 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "distance_function.h" #include "hnsw_index.h" #include "random_level_generator.h" #include <vespa/eval/tensor/dense/typed_cells.h> #include <vespa/vespalib/datastore/array_store.hpp>...
<commit_before>// -*- C++ -*- //===-------------------- support/win32/locale_win32.cpp ------------------===// // // 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>// STL #include <cassert> #include <iostream> #include <sstream> #include <fstream> #include <vector> #include <string> // Boost (Extended STL) #include <boost/date_time/posix_time/posix_time.hpp> #include <boost/date_time/gregorian/gregorian.hpp> #include <boost/tokenizer.hpp> #include <boost/program_op...
<commit_before><commit_msg>Ajokki: do not use heightmap for Helsinki east downtown scene.<commit_after><|endoftext|>
<commit_before>#pragma once #include "config.h" #include <pybind11/pybind11.h> #include <autocxxpy/autocxxpy.hpp> #include "generated_functions.h" #include "xtp_trader_api.h" #include "xtp_quote_api.h" class PyTraderSpi : public XTP::API::TraderSpi { public: void OnDisconnected(uint64_t session_id,int reason)...
<commit_before>/* Copyright 2019 Benjamin Worpitz, René Widera * * This file is part of alpaka. * * 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/. */ #pragma once...
<commit_before>// Copyright (c) 2008, 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 Mapnik (c++ mapping toolkit) * * Copyright (C) 2012 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 Eran Pe'er. * * This program is made available under the terms of the MIT License. * * Created on Mar 10, 2014 */ #ifndef VIRTUALTABLE_H_ #define VIRTUALTABLE_H_ #include "mockutils/VTUtils.hpp" namespace fakeit { typedef unsigned long DWORD; struct TypeDescriptor { Ty...
<commit_before>/** * @file llfloatermediasettings.cpp * @brief Tabbed dialog for media settings - class implementation * * $LicenseInfo:firstyear=2002&license=viewergpl$ * * Copyright (c) 2009, Linden Research, Inc. * * Second Life Viewer Source Code * The source code in this file ("Source Code") is provide...
<commit_before>// Copyright (c) 2015 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "shell/browser/electron_download_manager_delegate.h" #include <string> #include <utility> #include "base/bind.h" #include "base/files/file_util.h" #include "b...
<commit_before>#include "FilterUnion.hpp" namespace org_pqrs_KeyRemap4MacBook { namespace RemapFilter { FilterUnion::FilterUnion(const unsigned int* vec, size_t length) { initialize(vec, length); } FilterUnion::~FilterUnion(void) { terminate(); } void FilterUnion::initia...
<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 QtCore module of the Qt Toolkit. ** ** $QT_BEGIN_L...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: DIndexColumns.cxx,v $ * * $Revision: 1.14 $ * * last change: $Author: obo $ $Date: 2006-09-17 02:22:14 $ * * The Contents of this file ar...
<commit_before>/************************************************************************* * * $RCSfile: basenode.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: vg $ $Date: 2005-03-10 13:50:17 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>/* @(#)dtkComposerNodeRemote.cpp --- * * Author: Nicolas Niclausse * Copyright (C) 2012 - Nicolas Niclausse, Inria. * Created: 2012/04/03 15:19:20 * Version: $Id$ * Last-Updated: Mon Oct 8 15:18:00 2012 (+0200) * By: Thibaud Kloczko, Inria. * Update #: 1024 */ /* Commentary: *...
<commit_before>/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "GrTextureDomainEffect.h" #include "GrTBackendEffectFactory.h" #include "gl/GrGLEffect.h" #include "gl/GrGLEffectMatrix.h" #include "SkFloatingPoint.h"...
<commit_before>/** Copyright 2015 Emil Maskovsky 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 applicab...
<commit_before>#include <iostream> #include <vector> using namespace std; vector<int> char_to_bin(string str) { vector<int> temp (64,0); int size = str.size(); for (int i = 0; i < size; ++i) { int count = 7; while(str[i]) { temp[i*8+count] = str[i]&1; str[i] >>= 1; count--; } } return temp; } v...
<commit_before>/* * MacFileMonitor.cpp * * Copyright (C) 2009-11 by RStudio, Inc. * * This program is licensed to you under the terms of version 3 of the * GNU Affero General Public License. This program is distributed WITHOUT * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT, * MERCHANTABI...
<commit_before>#include "gtest/gtest.h" #include <boost/interprocess/managed_shared_memory.hpp> #include <boost/interprocess/sync/interprocess_mutex.hpp> #include <boost/interprocess/sync/interprocess_condition.hpp> #include <cstdlib> class SharedMemoryTest : public ::testing::Test { protected: SharedMemoryTest()...
<commit_before>/* * Copyright 2007-2020 CM4all GmbH * All rights reserved. * * author: Max Kellermann <mk@cm4all.com> * * 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...
<commit_before>#include <map> #include <iostream> #include <stdlib.h> using namespace std; float* def_variables(int ecozone, int forestmodel_data, int ifl, int climate, int plant_data, int lossyr) { int model_years; // How many loss years are in the model model_years = 15; int tropical; // The ecozone...
<commit_before>/*************************************************************************** * Copyright (C) 2005-2013 by the FIFE team * * http://www.fifengine.net * * This file is part of FIFE. ...
<commit_before>//===--- ASTNode.cpp - Swift Language ASTs --------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...