text
stringlengths
54
60.6k
<commit_before>// Copyright 2009 Anders Bakken // // 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><commit_msg>use chart2 API for attached axis export<commit_after><|endoftext|>
<commit_before>#include <iostream> #include <cstdlib> #include <iomanip> using namespace std; long int **create_array(long int w, long int k) { long int **array2 = new long int *[w]; for (long int i = 0; i < w; i++) array2[i] = new long int[k]; return(array2); } void fill_array(long int ...
<commit_before>#include "constants.hpp" #include <iostream> int main(int argc, const char* argv[]) { std::cout << "get_user_configuration_directory: " << constants::get_user_configuration_directory() << std::endl; std::cout << "get_user_data_directory: " << constants::get_user_data_directory() << std::endl; std:...
<commit_before>// __BEGIN_LICENSE__ // Copyright (c) 2006-2012, United States Government as represented by the // Administrator of the National Aeronautics and Space Administration. All // rights reserved. // // The NASA Vision Workbench is licensed under the Apache License, // Version 2.0 (the "License"); you may...
<commit_before>/* Copyright (c) 2014 Quanta Research Cambridge, Inc * * 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 us...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: typemap.cxx,v $ * * $Revision: 1.12 $ * * last change: $Author: obo $ $Date: 2006-09-16 18:17:35 $ * * The Contents of this file are made...
<commit_before>/* * main.cpp * Copyright (C) 2017 Pi-Yueh Chuang <pychuang@gwu.edu> * * Distributed under terms of the MIT license. */ # include <string> # include <fstream> # include <sstream> # include <petscsys.h> # include <yaml-cpp/yaml.h> # include <petibm/type.h> # include <petibm/parser.h> # include <pet...
<commit_before>#include "Halide.h" using namespace Halide; using namespace Halide::ConciseCasts; int main(int argc, char **argv) { Target target = get_target_from_environment(); std::cout << "Target: " << target.to_string() << "\n"; // We take two 8 bit matrices as input. Var x("x"), y("y"); Ima...
<commit_before>/* Copyright (c) 2003, 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>// 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 "content/public/common/sandbox_init.h" #if defined(OS_LINUX) && defined(__x86_64__) #include <asm/unistd.h> #include <errno....
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/usr/diag/prdf/common/plat/p9/prdfP9Ex.C $ ...
<commit_before><commit_msg>[Tizen] Make content fit to the viewport<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 "content/test/content_browser_test.h" #include "base/command_line.h" #include "base/debug/stack_trace.h" #include "base/file_...
<commit_before>/* * Copyright (c) 2012 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....
<commit_before>/******************************************************************************* Licensed to the OpenCOR team under one or more contributor license agreements. See the NOTICE.txt file distributed with this work for additional information regarding copyright ownership. The OpenCOR team licenses this file...
<commit_before>/* * The Apache Software License, Version 1.1 * * Copyright (c) 2001 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>//! @Alan //! //! Exercise 10.14: //! Write a lambda that takes two ints and returns their sum. //! //! Exercise 10.15: //! Write a lambda that captures an int from its enclosing function //! and takes an int parameter. The lambda should return the sum of //! the captured int and the int parameter. //! /...
<commit_before>/* Copyright 2015 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
<commit_before>// Copyright Toru Niina 2019. // Distributed under the MIT License. #ifndef TOML11_LITERAL_HPP #define TOML11_LITERAL_HPP #include "parser.hpp" namespace toml { inline namespace literals { inline namespace toml_literals { inline ::toml::value operator"" _toml(const char* str, std::size_t len) { ...
<commit_before>/* <one line to give the program's name and a brief idea of what it does.> Copyright (C) <year> <name of author> 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, ei...
<commit_before>/*! * \file painter_clip_equations.hpp * \brief file painter_clip_equations.hpp * * Copyright 2016 by Intel. * * Contact: kevin.rogovin@intel.com * * 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 fi...
<commit_before>#include <test/test-models/good/variational/eta_should_be_small.hpp> #include <stan/variational/advi.hpp> #include <stan/callbacks/stream_logger.hpp> #include <gtest/gtest.h> #include <test/unit/util.hpp> #include <vector> #include <string> #include <iostream> #include <boost/random/additive_combine.hpp>...
<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. // // This file is based on the SMSLib library. // // SMSLib Sudden Motion Sensor Access Library // Copyright (c) 2010 Suitable Systems ...
<commit_before>/* Luwra * Minimal-overhead Lua wrapper for C++ * * Copyright (C) 2016, Ole Krüger <ole@vprsm.de> */ #ifndef LUWRA_TYPES_TABLE_H_ #define LUWRA_TYPES_TABLE_H_ #include "../common.hpp" #include "../auxiliary.hpp" #include "../stack.hpp" #include "reference.hpp" #include <utility> LUWRA_NS_BEGIN n...
<commit_before><commit_msg>From Gerri: Fix problem with checking of a return code found by Isidro Gonzales.<commit_after><|endoftext|>
<commit_before><commit_msg>Updated simple sample (removed commented code).<commit_after><|endoftext|>
<commit_before>//===--- MetadataSource.cpp - Swift Metadata Sources for Reflection -------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<commit_before><commit_msg>Fix wrong API call<commit_after><|endoftext|>
<commit_before>/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qbs. ** ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ ** Commercial License Usage ** Licensees holding valid commercial Qt lice...
<commit_before>// @(#)root/thread:$Id$ // Authors: Enric Tejedor CERN 12/09/2016 // Philippe Canal FNAL 12/09/2016 /************************************************************************* * Copyright (C) 1995-2016, Rene Brun and Fons Rademakers. * * All rights reserved. ...
<commit_before><commit_msg>Use SOCK_CLOEXEC when possible.<commit_after><|endoftext|>
<commit_before>/** * This file is part of Slideshow. * Copyright (C) 2008-2010 David Sveningsson <ext@sidvind.com> * * Slideshow 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...
<commit_before>/** @file @brief Implementation @date 2015 @author Sensics, Inc. <http://sensics.com/osvr> */ // Copyright 2015 Sensics, 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 ...
<commit_before>/* bzflag * Copyright (c) 1993 - 2005 Tim Riker * * This package is free software; you can redistribute it and/or * modify it under the terms of the license found in the file * named COPYING that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ...
<commit_before>#ifndef STAN_MATH_PRIM_MAT_PROB_CATEGORICAL_LOGIT_LPMF_HPP #define STAN_MATH_PRIM_MAT_PROB_CATEGORICAL_LOGIT_LPMF_HPP #include <stan/math/prim/scal/err/check_bounded.hpp> #include <stan/math/prim/scal/err/check_finite.hpp> #include <stan/math/prim/arr/fun/log_sum_exp.hpp> #include <stan/math/prim/mat/fu...
<commit_before>/** \file extract_normdata_translations.cc * \brief Extract IxTheo and MACS translations from the normdata file and write it to * language specific text files * \author Johannes Riedl */ /* Copyright (C) 2016, Library of the University of Tübingen This program is free sof...
<commit_before> /************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: environmentofanchoredobject.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: rt $ $Date: 2005-09-09 03:46:20 $ * * The Contents of...
<commit_before>/** \brief Detect missing references in title data records * \author Johannes Riedl * * \copyright 2019-2020 Universitätsbibliothek Tübingen. All rights reserved. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public Lice...
<commit_before>/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
<commit_before>/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
<commit_before>/* Copyright 2016 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
<commit_before> #include "XXX/websocket_protocol.h" #include "XXX/utils.h" #include "XXX/io_handle.h" #include "XXX/http_parser.h" #include <iostream> #include <string.h> #include <openssl/sha.h> #include <arpa/inet.h> namespace XXX { websocket_protocol::websocket_protocol(io_handle* h, t_msg_cb msg_cb, connecti...
<commit_before>// Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "nearest_neighbor_iterator.h" using search::tensor::DenseTensorAttribute; using vespalib::ConstArrayRef; using vespalib::tensor::DenseTensorView; using vespalib::tensor::MutableDens...
<commit_before>//===----------------------------------------------------------------------===// // // Peloton // // serializable_transaction_test.cpp // // Identification: test/concurrency/serializable_transaction_test.cpp // // Copyright (c) 2015-16, Carnegie Mellon University Database Group //...
<commit_before>/* MIT License Copyright (c) 2019 Bart Bilos 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, merg...
<commit_before>/***************************************************************************** * Copyright (C) 2011-2012 Michael Krufky * * Author: Michael Krufky <mkrufky@linuxtv.org> * * 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) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses...
<commit_before>/* * Copyright (c) 2011 The Native Client 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 "native_client/src/shared/ppapi_proxy/plugin_ppb_graphics_3d.h" #include "gpu/command_buffer/client/gles2_impleme...
<commit_before>#include <eosio/chain/block.hpp> namespace eosio { namespace chain { void additional_block_signatures_extension::reflector_init() { static_assert( fc::raw::has_feature_reflector_init_on_unpacked_reflected_types, "additional_block_signatures_extension expects FC to support r...
<commit_before>// This file is part of the AliceVision 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 at https://mozilla.org/MPL/2.0/. #include <aliceVision/config.hpp> #include <aliceVi...
<commit_before>#include <gtest/gtest.h> #include <test/models/utility.hpp> #include <fstream> #include <stan/mcmc/chains.hpp> const size_t num_chains = 4; bool has_R = false; bool has_jags = false; std::vector<std::string> model_path; std::string Rscript; std::vector<std::string> data_files; TEST(LogisticSpeedTest,Pr...
<commit_before>/* * The Apache Software License, Version 1.1 * * Copyright (c) 1999 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. Redistri...
<commit_before>##var callbackType ##var callbackParam ##ifneq($(operation.params.$count),0) /// ######### deserialize request ########### ##ifneq($(operation.params.$count)-$(operation.params.param.dataType.name),1-MessageContext) NGREST_ASSERT(context->request->node, "Request expected for $(service.serviceNsNa...
<commit_before>/* Copyright 2016 Stanford University * * 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>/* This tutorial shows how to write a simple matrix multiplication (C = A * B) for i = 0 .. N for j = 0 .. N C[i,j] = 0; for k = 0 .. N C[i,j] = C[i,j] + A[i,k] * B[k,j]; To run this tutorial cd build/ make run_developer...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: simpleioerrorrequest.cxx,v $ * * $Revision: 1.8 $ * * last change: $Author: obo $ $Date: 2006-09-16 17:24:44 $ * * The Contents of this f...
<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>#include <iostream> #include <exception> #include <cstdlib> #include <QDebug> #include <QTimer> #include <QThread> #include <QCoreApplication> #include <chillout.h> #include "Connectivity/curlinithelper.h" #include <Helpers/logger.h> #include "integrationtestsenvironment.h" #include "xpikstestsapp.h"...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: chips/p9/common/include/perv_scom_addresses_fld_fixes.H $ ...
<commit_before>// SSSSCpp.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "GF256.h" #include "SSSSCpp.h" #include <vector> #include <stdio.h> #include <iostream> #include <fstream> #include <sstream> #include <iomanip> #include <time.h> #include "boost/filesystem.h...
<commit_before>/**************************************************************************** * * Copyright (c) 2016 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * ...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in **...
<commit_before>#include "SoftapHookup.h" #include <ESP8266WiFi.h> #include <EEPROM.h> //couldnt connect message from eeprom //connect led //looper //dont reset //allow to specify ip range //turn off softap //allow ip range change SoftapHookup::SoftapHookup(char *defaultssid, char *password, ESP8266WebServer *inServe...
<commit_before>/* * Copyright(c) Records For Living, Inc. 2004-2011. All rights reserved */ #include "Stroika/Foundation/StroikaPreComp.h" #include <iostream> #include <sstream> #include "Stroika/Foundation/Execution/CriticalSection.h" #include "Stroika/Foundation/Execution/Event.h" #include "Stroika/Foundation/Ex...
<commit_before>/* * Copyright(c) Records For Living, Inc. 2004-2011. All rights reserved */ #include "Stroika/Foundation/StroikaPreComp.h" #include <iostream> #include <sstream> #include "Stroika/Foundation/Debug/Assertions.h" #include "Stroika/Foundation/Debug/Trace.h" #include "Stroika/Foundation/Execution/Sleep...
<commit_before>StringID("easy"); StringID("easy 1"); StringID( "easy 2" ); StringID ("easy 3"); StringID ("easy 4"); StringID ("easy 3"); Toto; StringID ("easy 4"); Coucou; StringID ("easy 3"); Toto; StringID ("easy 4"); Lolilol; StringID ("easy 4"); StringID( "easy XV3" ); hiphop StringID("easy A"); StringID( "eas...
<commit_before>/* This file is part of the Util library. Copyright (C) 2007-2012 Benjamin Eikel <benjamin@eikel.org> Copyright (C) 2007-2012 Claudius Jähn <claudius@uni-paderborn.de> Copyright (C) 2007-2012 Ralf Petring <ralf@petring.net> This library is subject to the terms of the Mozilla Public License, v. 2.0...
<commit_before>//VBA_NestFunc.hpp //Copyright (c) 2015 mmYYmmdd #include "OAIdl.h" //wtypes.h #include <memory> //VBA配列の次元取得 __int32 __stdcall Dimension(const VARIANT* pv); //プレースホルダの生成 VARIANT __stdcall placeholder(__int32); //プレースホルダの判定 __int32 __stdcall is_placeholder(const VARIANT* pv); //bindされていないV...
<commit_before>/* * Software License Agreement (BSD License) * * Copyright (c) 2010, Willow Garage, 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...
<commit_before>#include "gameloop.hpp" #include "input.hpp" #include "font.hpp" #include "spinner/frac.hpp" #include "camera.hpp" #include "updator.hpp" #include "scene.hpp" #include "sound.hpp" #include <sstream> #include <boost/archive/binary_oarchive.hpp> #include <boost/archive/binary_iarchive.hpp> #include "serial...
<commit_before>#include <bits/stdc++.h> using namespace std; const double EPS=1e-6; int dcmp(double x) { if(fabs(x)<EPS) return 0; else return x<0 ? -1:1; } struct Point { double x,y; Point(){x=0,y=0;} Point(int _x,int _y){x=_x;y=_y;} Point operator +(const Point & b) { return Point...
<commit_before>/************************************************************************** * * Copyright 2011 Jose Fonseca * All Rights Reserved. * * 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 t...
<commit_before>#include <QApplication> #include <QCommandLineParser> #include <QDebug> #include <databasecontroller.h> #include <qsingleinstance.h> #include <QFileInfo> #include <QFile> #include "traycontrol.h" #include "pluginloader.h" #include "wizard/databasewizard.h" #include "consoleoperator.h" static void setupP...
<commit_before>// Petter Strandmark 2012--2013. #include <functional> #include <iostream> #include <random> #include <spii/auto_diff_term.h> #include <spii/constraints.h> #include <spii/interval_term.h> #include <spii/solver.h> using namespace spii; // One term in the negative log-likelihood function for // a one-d...
<commit_before>//------------------------------------------------------------------------ #include <stdio.h> #include <math.h> #include <sstream> #include <string> #include <fstream> #include <random> #include <particle_simulator.hpp> //------------------------------------------------------------------------ const PS::...
<commit_before>// C++ source file - (C) 2003 Robert Osfield, released under the OSGPL. // (C) 2005 Mike Weiblen http://mew.cx/ released under the OSGPL. // Simple example using GLUT to create an OpenGL window and OSG for rendering. // Derived from osgGLUTsimple.cpp and osgkeyboardmouse.cpp #include <osgViewer/Viewer> ...
<commit_before>#include "Bullet.h" #include "SceneHandler.h" Bullet::Bullet() { m_position = Vector2(0, 0); m_direction = Direction::UP; m_2Drender = new aie::Renderer2D; SceneHandler::bullets->push_back(*this); } // Vector2: Starting Position | Direction: Enum Bullet Movement Direction Bullet::Bullet(Vector2 po...
<commit_before>#ifndef PROMETHEUS_VALUES_HH__ #define PROMETHEUS_VALUES_HH__ #include "output_formatter.hh" #include <atomic> #include <string> #include <vector> namespace prometheus { extern const double kInf; extern const std::vector<double> default_histogram_levels; std::vector<double> histogram_levels(st...
<commit_before>#include "error.hpp" #include "Node.hpp" #include <boost/algorithm/string/join.hpp> #include <boost/exception/diagnostic_information.hpp> namespace configure { std::string error_string() { return error_string(std::current_exception()); } static std::string what(std::exception_ptr const& e) { tr...
<commit_before>// To regenerate this list of includes run the following command from skia/include: // // find core effects pathops -maxdepth 1 -name "*.h" | sed "s#^[^\/]*\/##g" | sed "s/\(.*\)/#include \"\1\"/" | sort // #include "Sk1DPathEffect.h" #include "Sk2DPathEffect.h" #include "SkAdvancedTypefaceMetrics.h...
<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) 2006, 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>/* * CHeatmapData.hpp * * Copyright (C) 2015, Achim Lösch <achim.loesch@upb.de>, Christoph Knorr <cknorr@mail.uni-paderborn.de> * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD license. See the LICENSE file for details. * * encoding: UTF-8 ...
<commit_before>// Copyright 2019 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 or agr...
<commit_before>/** * Find the number which is repeated * odd number of times in a given array * which has even number of elements already * and atleast on number is repeated odd * number of times */ #include <iostream> using namespace std; void printArray(int A[], int size) { for (int i = 0; i < size; i++) ...
<commit_before>/* *********************************************************************************************************************** * * Copyright (c) 2021 Google LLC. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated do...
<commit_before>// Copyright (c) 2013 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "atom/common/api/atom_bindings.h" #include <algorithm> #include <iostream> #include <string> #include <utility> #include <vector> #include "atom/browser/brows...
<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/dom_ui/language_options_handler.h" #include <map> #include <set> #include <string> #include <utility...
<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: optionsdrawinglayer.hxx,v $ * $R...
<commit_before>/************************************************************************* * * $RCSfile: animationstate.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: rt $ $Date: 2003-11-24 16:42:53 $ * * The Contents of this file are made available subject to the terms of * either of the following...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * Version: MPL 1.1 / GPLv3+ / LGPLv3+ * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License or as spec...
<commit_before>// Copyright (c) 2016 - present Advanced Micro Devices, Inc. All rights reserved. // // 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 l...
<commit_before>MARKDOWNISH_TEST("simple [re2]", RE2, "**test**\n## test", "<p><strong>test</strong></p><h2>test</h2>"); MARKDOWNISH_TEST("simple [jit]", re2jit::it, "**test**\n## test", "<p><strong>test</strong></p><h2>test</h2>"); MARKDOWNISH_PERF_TEST(200000, "simple", "**test**\n## test"); MARKDOWNISH_FILE_PE...
<commit_before>// Loosely based on https://repo.anl-external.org/repos/BlueTBB/tbb30_104oss/src/rml/perfor/tbb_simple.cpp // #include "stdafx.h" // int _tmain(int argc, _TCHAR* argv[]) // { // return 0; // } #include "tbb/task_group.h" #include <iostream> #include <stdio.h> //// MOVE TO iostreams TODO #include <s...
<commit_before>/* * Author: Vladimir Ivan * * Copyright (c) 2017, University Of Edinburgh * 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 r...
<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 <vespa/searchcore/proton/matchengine/matchengine.h> #include <vespa/vespalib/data/slime/slime.h> #include <vespa/vespalib/testkit/test_kit.h> #includ...
<commit_before>/* * Copyright 2017 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkottieAnimator.h" #include "SkCubicMap.h" #include "SkJSONCPP.h" #include "SkottieProperties.h" #include "SkottieParser.h" #include "SkTArray.h" #i...
<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/safe_browsing/client_side_detection_host.h" #include <vector> #include "base/command_line.h" #include "base/...
<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/ui/views/file_manager_dialog.h" #include "base/file_util.h" #include "base/logging.h" #include "base/memory/s...