text
stringlengths
54
60.6k
<commit_before>// ======================================================================== // // Copyright 2009-2016 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); ...
<commit_before>/* Copyright 2009-2016 Francesco Biscani (bluescarni@gmail.com) This file is part of the mp++ library. The mp++ library is free software; you can redistribute it and/or modify it under the terms of either: * the GNU Lesser General Public License as published by the Free Software Foundation; eith...
<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 "chrome/browser/extensions/api/declarative/rules_registry_storage_delegate.h" #include "base/bind.h" #include "base/metrics/h...
<commit_before>/* * Copyright 2014 CyberVision, 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 applic...
<commit_before>/****************************************************************** * * Round for C * * Copyright (C) Satoshi Konno 2015 * * This is licensed under BSD-style license, see file COPYING. * ******************************************************************/ #include <boost/test/unit_test.hpp> #incl...
<commit_before>// Copyright (c) 2010-2020, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-806117. // // This file is part of the MFEM library. For more information and source code // availa...
<commit_before>/************************************************************************* * * $RCSfile: colrowba.hxx,v $ * * $Revision: 1.1.1.1 $ * * last change: $Author: hr $ $Date: 2000-09-18 16:44:57 $ * * The Contents of this file are made available subject to the terms of * either of the following l...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: expftext.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2005-09-08 21:24:30 $ * * The Contents of this file are made ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: hintwin.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2005-09-08 22:59:44 $ * * The Contents of this file are made a...
<commit_before>#include "parse.hh" #include <nail/size.hh> /* template<typename siz_t> struct NailCoroFragmentStream { private: typedef std::map<siz_t, NailMemStream> inner_t; std::map<siz_t, NailMemStream> streams; public: typedef class { inner_t::iterator iter; NailMemStream::pos_t pos; } };*/ temp...
<commit_before> /* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "Test.h" #include "SkDeque.h" static void assert_count(skiatest::Reporter* reporter, const SkDeque& deq, int count) { if (0 == count) { RE...
<commit_before>// Copyright 2015-2019 Elviss Strazdins. All rights reserved. #include <iterator> #include <stdexcept> #include <string> #include "MtlLoader.hpp" #include "Bundle.hpp" #include "Cache.hpp" #include "core/Engine.hpp" namespace ouzel { namespace assets { namespace { co...
<commit_before>/* * DefineLink.cc * * Copyright (C) 2015 Linas Vepstas * * Author: Linas Vepstas <linasvepstas@gmail.com> May 2015 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License v3 as * published by the Free Software Found...
<commit_before>/************************************************************************* * * $RCSfile: writer.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: pjunck $ $Date: 2004-11-03 09:18:14 $ * * The Contents of this file are made available subject to the terms of * either of the following lic...
<commit_before>/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across ...
<commit_before>/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across ...
<commit_before>/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across ...
<commit_before>/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across ...
<commit_before>#include <stdio.h> #include <stdlib.h> #include <mpi.h> // neighbours convention #define UP 0 #define DOWN 1 #define LEFT 2 #define RIGHT 3 // hallo radius #define R 1 // for the time been this is a fixed param. // domain decompostion #define Sx 1 // size in x #define Sy 4 // size in y // root p...
<commit_before>/* The MIT License Copyright (c) 2011 Sahab Yazdani 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...
<commit_before><commit_msg>Update HttpServerRequestHandler.cpp<commit_after><|endoftext|>
<commit_before>#include <Halide.h> #include <stdio.h> #include "clock.h" #include <memory> using namespace Halide; enum { scalar_trans, vec_y_trans, vec_x_trans }; void test_transpose(int mode) { Func input, block, block_transpose, output; Var x, y; input(x, y) = cast<uint16_t>(x + y); i...
<commit_before><commit_msg>Remove file<commit_after><|endoftext|>
<commit_before><commit_msg>Use a std::map instead of a linear search to look up files for line records.<commit_after><|endoftext|>
<commit_before><commit_msg>GeographyValue.hpp: Add const to methods which should be const<commit_after><|endoftext|>
<commit_before><commit_msg>Omit shader swizzle if it is rgba.<commit_after><|endoftext|>
<commit_before><commit_msg>INTEGRATION: CWS vgbugs07 (1.36.132); FILE MERGED 2007/06/04 13:27:07 vg 1.36.132.1: #i76605# Remove -I .../inc/module hack introduced by hedaburemove01<commit_after><|endoftext|>
<commit_before>#include <turbo/threading/shared_mutex.hpp> #include <turbo/threading/shared_lock.hpp> #include <turbo/threading/shared_lock.hxx> #include <gtest/gtest.h> #include <asio/io_service.hpp> #include <algorithm> #include <functional> #include <memory> #include <string> #include <thread> #include <utility> na...
<commit_before>#include <dublintraceroute/udpv4probe.h> #include <gtest/gtest.h> #include <tins/tins.h> using namespace Tins; namespace { class UDPv4Test: public ::testing::Test { }; TEST_F(UDPv4Test, TestUDPv4Constructor) { UDPv4Probe p = UDPv4Probe(IPv4Address("8.8.8.8"), 33434, 12345, 64, IPv4Address("127.0.0...
<commit_before>/* -*- mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ // vim:sts=4:sw=4:ts=4:noet:sr:cino=>s,f0,{0,g0,(0,\:0,t0,+0,=s /* * Copyright (C) FFLAS-FFPACK * Written by Clément Pernet <clement.pernet@imag.fr> * Philippe LEDENT <philippe.ledent@etu.univ.grenoble-alpes * This file is...
<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>/*********************************************************************************************************************** ** ** Copyright (c) 2011, 2014 ETH Zurich ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the...
<commit_before><commit_msg>Cleaned up TODO list.<commit_after><|endoftext|>
<commit_before>/* Copyright (C) 2019 Martin Albrecht This file is part of fplll. fplll 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...
<commit_before>// REQUIRES: shell // MSYS doesn't emulate umask. // FIXME: Could we introduce another feature for it? // REQUIRES: shell-preserves-root' // RUN: umask 000 // RUN: %clang_cc1 -emit-llvm-bc %s -o %t // RUN: ls -l %t | FileCheck --check-prefix=CHECK000 %s // CHECK000: rw-rw-rw- // RUN: umask 002 // RUN:...
<commit_before>// Copyright 2013 Google Inc. 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 require...
<commit_before>#include "parsertests.h" #include "handlermacros.h" #include "yaml-cpp/yaml.h" #include <iostream> namespace Test { namespace Parser { TEST NoEndOfMapFlow() { try { HANDLE("---{header: {id: 1"); } catch(const YAML::ParserException& e) { ...
<commit_before>#include <se306Project/sheepdog.h> const static double MIN_SCAN_ANGLE_RAD = -10.0/180*M_PI; const static double MAX_SCAN_ANGLE_RAD = +10.0/180*M_PI; const static float PROXIMITY_RANGE_M = 5; const static double FORWARD_SPEED_MPS = 1; const static double ROTATE_SPEED_RADPS = M_PI; float prevclosestRange...
<commit_before>//===--- Job.cpp - Command to Execute -------------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<commit_before>//======================================================================= // Copyright (c) 2014-2017 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //===================================================...
<commit_before>#ifndef FX_SEGMENT_TREE_HPP #define FX_SEGMENT_TREE_HPP #include <vector> #include <utility> namespace fx { template <typename T, typename Specification, typename Container=std::vector<T> > class segment_tree { // Types public: typedef T value_type; typedef Container container; typedef...
<commit_before><commit_msg>tests: Add LayoutFromPresentWithoutSrcAccess test<commit_after><|endoftext|>
<commit_before><commit_msg>tests: Fix CreateBufferView error in DSUsageBitsErrors<commit_after><|endoftext|>
<commit_before>/* Author: Araf Al-Jami Last Edited: 21/05/16 */ #include <iostream> #include <cstring> using namespace std; int board[10]; int win_combos[][3] = { { 1, 2, 3 }, { 4, 5, 6 }, { 7, 8, 9 }, { 1, 4, 7 }, { 2, 5, 8 }, { 3, 6, 9 }, { 1, 5, 9 }, { 3, 5, 7 } }; int mv_cnt; void init(); void draw(); void...
<commit_before>// Copyright 2019 The SwiftShader 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 // // Un...
<commit_before>#include "specter/ViewResources.hpp" namespace specter { static logvisor::Module Log("specter::ViewResources"); void ViewResources::init(boo::IGraphicsDataFactory* factory, FontCache* fcache, const IThemeData* theme, float pf) { if (!factory || !fcache || !theme) Log.report(logvisor::Fatal, "all ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: printopt.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2005-09-08 18:47:23 $ * * The Contents of this file are made ...
<commit_before>/************************************************************************* * * $RCSfile: excdefs.hxx,v $ * * $Revision: 1.44 $ * * last change: $Author: obo $ $Date: 2004-08-11 09:04:12 $ * * The Contents of this file are made available subject to the terms of * either of the following lice...
<commit_before><commit_msg>Fix on the protection against zero in MUON conversion<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * $RCSfile: scuiexp.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: hr $ $Date: 2004-05-10 15:56:24 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: docsh2.cxx,v $ * * $Revision: 1.19 $ * * last change: $Author: kz $ $Date: 2006-07-21 13:37:44 $ * * The Contents of this file are made a...
<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><commit_msg>disable mouse aiming when app has no focus<commit_after><|endoftext|>
<commit_before>/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with ...
<commit_before>/****************************************************************************** The MIT License(MIT) Embedded Template Library. https://github.com/ETLCPP/etl https://www.etlcpp.com Documentation: Copyright(c) 2022 John Wellbelove Permission is hereby granted, free of charge, to any person obtaining ...
<commit_before>#include <string> #include <Python.h> /* * basically doing this: * * PyRun_SimpleString("from Bio import SeqIO\n" * "SeqIO.parse('filename.extnsn', 'filetype'"); */ PyObject* getFileData(int argc, char *argv[]) { PyObject *BioModule = PyImport_ImportModule("Bio"); const...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkInteractorStyleImage.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen All rights reserved...
<commit_before>/* * yosys -- Yosys Open SYnthesis Suite * * Copyright (C) 2012 Clifford Wolf <clifford@clifford.at> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission no...
<commit_before>/* * Copyright (C) 2014 Pelagicore AB * All rights reserved. */ #include "CommandLineParser.h" #include "debug.h" #include "paminterface.h" #include "pelagicontain.h" #include "pelagicontaintodbusadapter.h" #include "dbusmainloop.h" #include "generators.h" /* used for gen_ct_name */ #include "puls...
<commit_before>#include "CCharLayoutInfo.hpp" #include "CToken.hpp" namespace urde { zeus::CVector3f CCharLayoutInfo::GetFromParentUnrotated(const CSegId& id) const { const CCharLayoutNode::Bone& bone = x0_node->GetBoneMap()[id]; if (!x0_node->GetBoneMap().HasElement(bone.x0_parentId)) return bone.x4_origin; ...
<commit_before>/* * Copyright (c) 2015 The WebM 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. ...
<commit_before>#ifdef _MSC_VER #pragma warning(push) #pragma warning(disable : 4100 4701 4127 4706 4267 4324) #endif <commit_msg>beast seems to produce fewer warnings now<commit_after>#ifdef _MSC_VER #pragma warning(push) #pragma warning(disable : 4100 4267) #endif <|endoftext|>
<commit_before>#include "photoeffects.hpp" #include <vector> #include <iostream> using namespace cv; using namespace std; Point topleftFind(Point firstPoint, Point secondPoint, int &Xsize, int &Ysize) { Point topleft(0, 0); if(Xsize < 0) { topleft.x = firstPoint.x; Xsize-=(2*Xsize); } ...
<commit_before> /* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "Test.h" #include "SkColor.h" #include "SkColorFilter.h" #include "SkRandom.h" #include "SkXfermode.h" static SkFlattenable* reincarnate_flattenable(S...
<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 "webkit/glue/webcursor.h" #include <X11/Xcursor/Xcursor.h> #include <X11/Xlib.h> #include <X11/cursorfont.h> #include "base/...
<commit_before><commit_msg>minor fix<commit_after><|endoftext|>
<commit_before>#include <QApplication> #include <QQmlApplicationEngine> #include <QQuickStyle> #include <QQuickView> #include <QQmlContext> #include <QFontDatabase> #include "opencv2/core/core.hpp" #include "opencv2/highgui/highgui.hpp" #include "headers/qml_models/fileitemmodel.h" #include "headers/qml_models/genera...
<commit_before><commit_msg>minor fix<commit_after><|endoftext|>
<commit_before>#include <algorithm> #include <chrono> #include "control.h" #include "bvs/archutils.h" BVS::Control::Control(ModuleDataMap& modules, BVS& bvs, Info& info) : modules(modules), bvs(bvs), info(info), logger{"Control"}, runningThreads{0}, masterModules{}, pools{}, flag{SystemFlag::PAUSE}, mutex{...
<commit_before>/* Copyright (C) 2016 INRA * * 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, modify, merge, pu...
<commit_before>/* * Copyright 2021 Google LLC. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "include/private/SkTArray.h" #include "include/private/SkTOptional.h" #include "tests/Test.h" DEF_TEST(SkTOptionalEmpty, r) { skstd::optional<int...
<commit_before>#include <iomanip> #include <Castro.H> #include <Castro_F.H> #include <Geometry.H> void Castro::sum_integrated_quantities () { int finest_level = parent->finestLevel(); Real time = state[State_Type].curTime(); Real mass = 0.0; Real momentum[3] = {0.0, 0.0, 0.0}; Re...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: optfltr.hxx,v $ * * $Revision: 1.7 $ * * last change: $Author: hr $ $Date: 2007-06-27 17:26:39 $ * * The Contents of this file are made a...
<commit_before>#include <libmesh/equation_systems.h> #include <libmesh/mesh.h> #include <libmesh/mesh_generation.h> #include <libmesh/elem.h> #include <libmesh/dof_map.h> #include "test_comm.h" #include "libmesh_cppunit.h" using namespace libMesh; #ifdef LIBMESH_ENABLE_CONSTRAINTS // This class is used by testConst...
<commit_before><commit_msg>INTEGRATION: CWS vgbugs07 (1.10.320); FILE MERGED 2007/06/04 13:27:25 vg 1.10.320.1: #i76605# Remove -I .../inc/module hack introduced by hedaburemove01<commit_after><|endoftext|>
<commit_before>//------------------------------------------------------------------------------ // cpp-compile-test.cc // Just check whether (most of) the sokol headers also comppile as C++. //------------------------------------------------------------------------------ #if defined(__APPLE__) #error "This is for...
<commit_before>/* Copyright (C) 2016 INRA * * 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, modify, merge, pu...
<commit_before><commit_msg>dead assign (clang)<commit_after><|endoftext|>
<commit_before>#include "THttpServer.h" #include "THttpWSHandler.h" #include "THttpCallArg.h" #include "TString.h" #include "TSystem.h" #include "TDatime.h" #include "TTimer.h" #include <cstdio> class TUserHandler : public THttpWSHandler { public: UInt_t fWSId; Int_t fServCnt; TUserHandler(const...
<commit_before>#include <Halide.h> #include <math.h> #include <sys/time.h> using namespace Halide; template<typename A> const char *string_of_type(); #define DECL_SOT(name) \ template<> \ const char *string_of_type<name...
<commit_before>/** * @file server.cc * tests/kiwi/http * * Copyright (c) 2013 Hugo Peixoto. * Distributed under the MIT License. */ #include "gtest/gtest.h" #include "kiwi/http/server.h" #include "kiwi/http/response.h" #include <unistd.h> #include <stdlib.h> #in...
<commit_before>/* * Copyright (C) 2013-2016 Alexander Saprykin <xelfium@gmail.com> * * 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) ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: wrapfield.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: rt $ $Date: 2005-09-08 19:33:40 $ * * The Contents of this file are made...
<commit_before>#include <string> #include <sys/types.h> #include <sys/socket.h> #include <sys/un.h> #include <arpa/inet.h> #include <unistd.h> #include <stdio.h> #include <errno.h> #include <string.h> #include <fcntl.h> bool socketError = false; bool socketBlocking = false; int DDV_OpenUnix(std::string adres, bool no...
<commit_before>/* * Copyright 2018 NXP. * * 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 conditions and the following disclaimer. ...
<commit_before>//////////////////////////////////////////////////////////////////////////////// // Name: app.cpp // Purpose: Implementation of classes for syncodbcquery // Author: Anton van Wezenbeek // Copyright: (c) 2014 Anton van Wezenbeek ///////////////////////////////////////////////////////////////////...
<commit_before>/************************************************************************* > File Name: Draw.cpp > Project Name: Hearthstonepp > Author: Young-Joong Kim > Purpose: Implement DrawTask > Created Time: 2018/07/21 > Copyright (c) 2018, Young-Joong Kim *********************************************************...
<commit_before>/** @package TBTKtemp * @file main.cpp * @brief Basic Chebyshev example * * Basic example of using the Chebyshev method to solve a 2D tight-binding * model with t = 1 and mu = -1. Lattice with edges and a size of 20x20 sites. * Using 5000 Chebyshev coefficients and evaluating the Green's funct...
<commit_before> // Copyright 2010-2012 University of Washington. All Rights Reserved. // LICENSE_PLACEHOLDER // This software was created with Government support under DE // AC05-76RL01830 awarded by the United States Department of // Energy. The Government has certain rights in the software. /// One implementation of...
<commit_before>//===- InstrInfoEmitter.cpp - Generate a Instruction Set Desc. ------------===// // // 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>/************************************************************************* * * $RCSfile: salframe.cxx,v $ * * $Revision: 1.43 $ * * last change: $Author: pluby $ $Date: 2001-03-07 04:39:53 $ * * The Contents of this file are made available subject to the terms of * either of the following l...
<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 "views/widget/native_widget_views.h" #include "ui/gfx/compositor/compositor.h" #include "views/desktop/desktop_window_view.h"...
<commit_before>#include <iostream> #include <vector> using namespace std; class ModInt { public: ModInt(int n) : num(n) {}; operator int() const { return num; } ModInt operator=(const ModInt& other); ModInt operator+(const ModInt& other); ModInt operator-(const ModInt& other...
<commit_before>#include <CL/sycl.hpp> #include <array> #include <iostream> // dpcpp simple2.cpp -o simple2 using namespace sycl; int main() { constexpr unsigned N = 256; constexpr unsigned M = 16; // Create queue on implementation-chosen default device queue Q; unsigned* data = malloc_shared<unsigned>(N...
<commit_before>#include "optical_flow.h" using namespace cv; using namespace std; namespace nba_vision { OpticalFlow::OpticalFlow(bool debug){ debug_ = debug; if (debug_){ namedWindow(windowName, CV_WINDOW_AUTOSIZE); } } void OpticalFlow::computeOpticalFlow(Mat current_frame){ cvtColor(current_frame, current...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2013. All rights reserved */ #ifndef _Stroika_Foundation_DataExchangeFormat_ObjectVariantMapper_inl_ #define _Stroika_Foundation_DataExchangeFormat_ObjectVariantMapper_inl_ 1 /* *************************************************************************...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2013. All rights reserved */ #ifndef _Stroika_Foundation_DataExchangeFormat_XML_SAXObjectReader_inl_ #define _Stroika_Foundation_DataExchangeFormat_XML_SAXObjectReader_inl_ 1 /* **************************************************************************...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkGradientAnisotropicDiffusionImageFilterTest2.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium....
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkSpatialObjectToImageStatisticsCalculatorTest.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 2002 Insight Consortium. All...
<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 "android_webview/browser/renderer_host/aw_resource_dispatcher_host_delegate.h" #include <string> #include "android_webview/b...