text
stringlengths
54
60.6k
<commit_before><commit_msg>DevTools: check that devtools front-end JS files are loaded before running a test, otherwise the test will hang waiting for reponse from the front-end. Review URL: http://codereview.chromium.org/151143<commit_after><|endoftext|>
<commit_before><commit_msg>Rollback 23350. Fix build breakage: no object file generated. TBR=mnaganov<commit_after><|endoftext|>
<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 "base/path_service.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" #i...
<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 <gtk/gtk.h> #include "app/l10n_util.h" #include "base/rand_util.h" #include "base/string_util.h" #include "chrome/browser/bro...
<commit_before>/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, version 1.0 RC 1 * * (c) 2006-2011 MGH, INRIA, USTL, UJF, CNRS * * ...
<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/history/in_memory_history_backend.h" #include "base/command_line.h" #include "base/histogram.h" #include "bas...
<commit_before>#include "omp.h" inline kth_cv_omp::kth_cv_omp(const std::string in_path, const std::string in_actionNames, const field<std::string> in_all_people, const int in_scale_factor, const int in_shift, const int in_scene, //only for kth const int in_segment_length, const int in_dim ):path(...
<commit_before>#include "stdafx.h" #include "CoreJobTest.h" #include "CoreJob.h" #include "move_only.h" #include <boost/thread.hpp> TEST_F(CoreJobTest, VerifySimpleProperties) { AutoRequired<CoreJob> jb; ASSERT_FALSE(m_create->IsInitiated()) << "CoreJob reported it could receive events before its enclosing contex...
<commit_before>// Day23.cpp : Defines the entry point for the console application. // #include "stdafx.h" enum OpCode { hlf, tpl, inc, jmp, jie, jio }; struct CPUState { size_t InstructionPointer; size_t a; size_t b; CPUState() :InstructionPointer(0), a(0), b(0) {} }; typedef std::function<void(CPUState &...
<commit_before>// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ash/first_run/first_run_helper.h" #include "ash/shell.h" #include "ash/system/tray/system_tray.h" #include "chrome/browser/chrome...
<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/chromeos/input_method/xkeyboard.h" #include <algorithm> #include <set> #include <string> #include <gtest/gte...
<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 "base/message_loop.h" #include "base/scoped_ptr.h" #include "chrome/browser/automation/ui_contr...
<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/prerender/prerender_interceptor.h" #include <string> #include "base/callback.h" #include "base/file_path.h" ...
<commit_before>/* * ProbingPT.cpp * * Created on: 3 Nov 2015 * Author: hieu */ #include <boost/foreach.hpp> #include "ProbingPT.h" #include "../System.h" #include "../Scores.h" #include "../Phrase.h" #include "../legacy/InputFileStream.h" #include "../legacy/ProbingPT/probing_hash_utils.hh" #include "../FF/F...
<commit_before>/* * Copyright (c) 2002 - present, H. Hernan Saez * 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 * ...
<commit_before>#include "EventDialog.h" #include "ui_EventDialog.h" #include <QDebug> #include <QLineEdit> #include <QPushButton> #include <QSqlRelationalDelegate> #include <QSqlRelationalTableModel> #include <QTableView> // TODO Get the columns from the Database class enum EventColumn { IDColumn = 0, TypeCol...
<commit_before>// // Exponent.cpp // Calculator // // Created by Gavin Scheele on 3/27/14. // Copyright (c) 2014 Gavin Scheele. All rights reserved. // #include "Exponential.h" Exponential::Exponential(Expression* base, Rational* exponent){ this->type = "exponential"; this->base = base; this->exponen...
<commit_before>/* * #%L * %% * Copyright (C) 2011 - 2017 BMW Car IT GmbH * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
<commit_before><commit_msg>ugly hack for NS_ooxml::LN_CT_Style_type being the first attribute processed<commit_after><|endoftext|>
<commit_before>/* // $ g++ -O3 -o createdSortedJaccsFile createdSortedJaccsFile.cpp // $ ./createdSortedJaccsFile network.pairs network.jaccs threshDensity.csv */ #include <math.h> #include <ctime> #include <cstdlib> #include <fstream> #include <iostream> #include <set> #include <map> #include <utility> // for pai...
<commit_before>#include <common/RhodesApp.h> #include "../../../shared/generated/cpp/AudioCaptureBase.h" #include "AudioCapture.h" namespace rho { using namespace apiGenerator; using namespace common; #undef DEFAULT_LOGCATEGORY #define DEFAULT_LOGCATEGORY "AudioCapture" class CAudioCaptureImpl: public IRhoExtensio...
<commit_before>// // TapePRG.hpp // Clock Signal // // Created by Thomas Harte on 14/08/2016. // Copyright © 2016 Thomas Harte. All rights reserved. // #ifndef Storage_Tape_PRG_hpp #define Storage_Tape_PRG_hpp #include "../Tape.hpp" #include "../../FileHolder.hpp" #include <cstdint> namespace Storage { namespace...
<commit_before>// // Copyright (c) 2018, 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 retain the above copyright notice,...
<commit_before>/* rbOOmit: An implementation of the Certified Reduced Basis method. */ /* Copyright (C) 2009, 2010 David J. Knezevic */ /* This file is part of rbOOmit. */ /* rbOOmit is free software; you can redistribute it and/or */ /* modify it under the terms of the GNU Lesser General Public */ /* License as p...
<commit_before>#ifndef H_EXTENSIONS_CUTEHMI_2_INCLUDE_CUTEHMI_INTERNATIONALIZER_HPP #define H_EXTENSIONS_CUTEHMI_2_INCLUDE_CUTEHMI_INTERNATIONALIZER_HPP #include "internal/common.hpp" #include "Singleton.hpp" #include <QObject> #include <QMap> #include <QTranslator> namespace cutehmi { /** * Internationalization s...
<commit_before>#include <iostream> #include <cstring> #include <cmath> #include <algorithm> #include <stdio.h> #include <stdlib.h> #include <string.h> #define lli long long int using namespace std; int main() { int a,b; cin >> a >> b; cout << a+a+b+b << endl; return 0; } <commit_msg>Update A_Accepted.cpp...
<commit_before>/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib 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 * * Unles...
<commit_before>// For conditions of distribution and use, see copyright notice in license.txt #include <boost/test/unit_test.hpp> #include <OISKeyboard.h> #include "CoreStdIncludes.h" #include "Core.h" #include "Foundation.h" #include "ServiceInterfaces.h" #include "StaticModuleDefinitions.h" #include "...
<commit_before>/* * Copyright 2012 TennenColl * * 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>/*! * \file dcxdivider.cpp * \brief blah * * blah * * \author David Legault ( clickhere at scriptsdb dot org ) * \version 1.0 * * \b Revisions * * ScriptsDB.org - 2006 */ #include "dcxdivider.h" #include "dcxdialog.h" /*! * \brief Constructor * * \param ID Control ID...
<commit_before>#include "LinearImage.h" LinearImage::LinearImage( const size_t width, const size_t height, const bool hasAlpha, const unsigned char* data, const float gamma ) : mWidth( width ), mHeight( height ) { InitTables( gamma ); // allocate channels mChannels.resize( hasAlpha ? 4 : 3 )...
<commit_before>{ cout << "Loading libraries ..." << endl; gROOT->LoadMacro("${ALICE_ROOT}/MUON/loadlibs.C"); gInterpreter->ProcessLine("loadlibs()"); TString includePath = "-I${ROOTSYS}/include "; includePath += "-I${ALICE_ROOT}/STEER/STEER "; includePath += "-I${ALICE_ROOT}/STEER/STEERBas...
<commit_before>#include "Enemies.hpp" #include <Plinth/Generic.hpp> Enemies::Enemies(sf::RenderWindow& window) : m_speedIncreaseMultiplier(0.9) , m_dropSpeedIncreaseMultiplier(1.1) , m_speed(40.0) , m_dropSpeed(0.05) , m_enemies() , m_view(window.getView()) , m_reachedBottom(false) { priv_addEnemies(); } void...
<commit_before>#include <dlfcn.h> #include <mach/mach.h> extern "C" { #include <mach-o/nlist.h> } #include <cstdio> #include <pthread.h> #include <unistd.h> #include "Baton.hpp" #include "Exception.hpp" #include "Pooling.hpp" #include "Trampoline.t.hpp" extern "C" void __pthread_set_self(pthread_t); template <type...
<commit_before>/****************************************************************************** * Copyright 2018 The Apollo 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 ...
<commit_before>/* Siconos-Examples version 3.0.0, Copyright INRIA 2005-2008. * Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * Siconos is a free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published...
<commit_before>/* Siconos-sample , Copyright INRIA 2005-2011. * Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * Siconos is a free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free...
<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 "atom/browser/atom_resource_dispatcher_host_delegate.h" #include "atom/browser/login_handler.h" #include "atom/browser/web_contents_permission_helper.h" #inclu...
<commit_before>#include <fstream> #include <pcl/common/angles.h> #include <pcl/console/parse.h> #include <pcl/point_types.h> #include <pcl/point_cloud.h> #include <pcl/point_representation.h> #include <pcl/io/pcd_io.h> #include <pcl/keypoints/uniform_sampling.h> #include <pcl/features/normal_3d.h> #include <pcl/featur...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2011. All rights reserved */ #include "../StroikaPreComp.h" #include <algorithm> #include <cstdlib> #include <fstream> #include <sstream> #if qPlatform_POSIX #include <sys/types.h> #include <unistd.h> #include <signal.h> #endif #include "../../Foun...
<commit_before> #include <qapplication.h> #include <qpushbutton.h> int main(int argc, char **argv) { QApplication app( argc, argv ); QPushButton bb( "Insight + Qt", 0 ); bb.resize( 100, 30 ); app.setMainWidget( &bb ); bb.show(); return app.exec(); } <commit_msg>ENH: ITK and Qt declarations combined.<commi...
<commit_before>/****************************************************************************** * This file is part of the Gluon Development Platform * Copyright (c) 2010 Arjen Hiemstra <ahiemstra@heimr.nl> * Copyright (c) 2011 Giulio Camuffo <giuliocamuffo@gmail.com> * * This library is free software; you can redi...
<commit_before>#include "compress_keyword_encoding.h" #include "bytebuffer.h" #include <stdexcept> #include <sstream> #include <map> #include <unordered_map> #include <iostream> std::string initializeSymbols() { std::string s; for(int i = 1; i < 255; ++i) s += i; return s; } bool CompressKeywor...
<commit_before>#include <iostream> // cout #include <fstream> // ifstream #include <sstream> // istringstream #include <math.h> // log;exp #include <vector> // vector #include <algorithm> // for_each using namespace std; int main(int argc, char* argv[]){ string str, a,b,c; // define variables and constants. in...
<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-2013 Torus Knot Software Ltd Permission is hereby granted, free of charge,...
<commit_before>#include "../Simulator/Simulator.h" #include "../Models/FourLayerVisionSpikingModel.h" #include "../SpikeAnalyser/SpikeAnalyser.h" #include "../Helpers/TimerWithMessages.h" #include "../Helpers/TerminalHelpers.h" // Use the following line to compile the binary // make FILE='JITest' EXPERIMENT_DIRECTOR...
<commit_before>#include "CameraForm.h" #include "Object.h" #include "Director.h" #include "TransformPipelineParam.h" using namespace Math; using namespace std; using namespace Rendering::Light; using namespace Device; using namespace Core; using namespace Rendering::Camera; using namespace Rendering::Manager; CameraF...
<commit_before>/**************************************************************************************/ /* */ /* Visualization Library */ /* http://www.visualizationlibrary...
<commit_before>#pragma once #include "..\Quantities\Dimensionless.hpp" #include "..\Quantities\Quantities.hpp" #include "R3Element.hpp" namespace Principia { namespace Geometry { template<typename Scalar, typename Frame, unsigned int Rank> struct Multivector; template<typename Scalar, typename Frame> struct Multivec...
<commit_before>// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/socket/client_socket.h" #include "base/histogram.h" namespace net { ClientSocket::ClientSocket() : omnibox_specula...
<commit_before>// VisualBlock.cpp #include "VisualBlock.h" #include "VisualPainter.h" #include "Assert.h" #include <algorithm> #undef min #undef max VisualBlock::VisualBlock( size_t length ) : m_length( length ) { m_lines.push_back( VisualLine() ); } VisualBlock::VisualBlock( size_t length, Layout...
<commit_before>#include "Judge.h" #include <iostream> #include <sstream> #include <unordered_map> #include <unordered_set> #include <vector> using namespace WinnerPoker; std::vector<size_t> test(const std::vector<size_t> &t) { std::stringstream ss; ss << "{ "; for (auto &&item : t) { ss << ite...
<commit_before>//courseID:CIS165-001 //name: David Ribeiro //Prof. Wang //Assignment#2 //Due by 9/22/2015 /* steps 1.Input: a. sales numbers for each of the divisions 2.Processing: a. Rewrites the sales figures for each division to the input number. 3.Output: a. Computes the highest number and the corre...
<commit_before>// Module: Log4CPLUS // File: loglevel.cxx // Created: 6/2001 // Author: Tad E. Smith // // // Copyright 2001-2009 Tad E. Smith // // 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 Li...
<commit_before>//======================================================================= // Copyright Baptiste Wicht 2011. // 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) //======================================...
<commit_before>// Copyright 2014-2017 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 // // Unle...
<commit_before>#include "testing/testing.hpp" #include "platform/local_country_file.hpp" #include "geometry/mercator.hpp" #include "geometry/point2d.hpp" #include "indexer/classificator_loader.hpp" #include "indexer/data_source.hpp" #include "indexer/feature_altitude.hpp" #include "indexer/mwm_set.hpp" #include "ro...
<commit_before>#include "bignum_conversions.h" #include <stdint.h> #include <stdlib.h> #include <string.h> #include "bignum_types.h" /** * Returns an binary string representation of a uint32_t. The string returned is * of length BITS_PER_WORD. * @param number uint32_t to be converted. * @return String wit...
<commit_before>#include "xml.h" namespace ospray { namespace xml { std::string toString(const float f) { std::stringstream ss; ss << f; return ss.str(); } std::string toString(const vec3f &v) { std::stringstream ss; ss << v.x << " " << v.y << " " << v.z; return ss.str(); } Node::~Node() ...
<commit_before>/************************************************************************* * * $RCSfile: SlsBitmapCompressor.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: obo $ $Date: 2006-09-16 19:03:35 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser Genera...
<commit_before>// // Copyright (c) 2018 The nanoFramework project contributors // See LICENSE file in the project root for full license information. // #include <nanoHAL.h> #include <nanoHAL_v2.h> #include <nanoWeak.h> #include <Target_BlockStorage_STM32FlashDriver.h> // initialization of configuration manager // pro...
<commit_before><?hh //strict /** * This file is part of hhpack\typesafety package. * * (c) Noritaka Horio <holy.shared.design@gmail.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace hhpack\typesafety; use Exception; final class A...
<commit_before>//===--- Pattern.cpp - Swift Language Pattern-Matching ASTs ---------------===// // // 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>// SciTE - Scintilla based Text Editor /** @file Cookie.cxx ** Examine start of files for coding cookies and type information. **/ // Copyright 2011 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. #include <stdlib.h> ...
<commit_before>#if (TARGET_OS_WATCH != 1) #include "braincloud/internal/DefaultWebSocket.h" #include <algorithm> #include <iostream> #include <cctype> #define MAX_PAYLOAD (64 * 1024) static std::mutex lwsContextMutex; namespace BrainCloud { static struct lws_protocols protocols[] = { { "bra...
<commit_before>// Cuboid.cpp // Copyright (c) 2009, Dan Heeks // This program is released under the BSD license. See the file COPYING for details. #include "stdafx.h" #include "Cuboid.h" #include "../interface/PropertyVertex.h" #include "../interface/PropertyDouble.h" #include "../interface/PropertyLength.h" #include...
<commit_before>#include <string.h> // strrchr, strncpy #include <stdio.h> // stdout #include <dummy/tap_reporter.h> #include <engine/Common.h> #include "TestTools.h" void ChangeDirectoryToExecutableOrigin( const char* executablePath ); void TestLogHandler( LogLevel level, const char* line ) { switch(level) ...
<commit_before>#define DEBUG_TYPE "enerc" #include "llvm/Pass.h" #include "llvm/Function.h" #include "llvm/BasicBlock.h" #include "llvm/Module.h" #include "llvm/Constants.h" #include "llvm/Support/raw_ostream.h" #include "llvm/Instructions.h" #include "llvm/ADT/Statistic.h" #include "llvm/Support/Debug.h" #include "llv...
<commit_before>/* DisplayController.h - Library for Controlling a 14x28 bits FlipDot display sign using two FP2800A. Created by Antonio Carioca, March 3, 2014. */ //#include "Arduino.h" //#include <avr/pgmspace.h> //#include "application.h" #include "mark-iv-flip-dot-display-sign-14x28-controller.h" /* CONSTANTS */ ...
<commit_before>#include <iostream> #include <CL/cl.hpp> #include <EasyCl.h> #include <fstream> using namespace EasyCl; using namespace std; ////////////////////////////////////////////////////////////////////////// //DeviceManager // ////////////////////////////////////////////////////////////////////////// ...
<commit_before>#ifndef REPEAT_HPP #define REPEAT_HPP #include <iostream> #include <iterator_range.hpp> #include <iterator> namespace iter { template <typename Elem> struct repeat_iter { const Elem elem; size_t until; size_t start=0; repeat_iter(const Elem & ...
<commit_before>/* Copyright (C) 2011 Christian Van Brussel, Institute of Information and Communication Technologies, Electronics and Applied Mathematics at Universite catholique de Louvain, Belgium http://www.uclouvain.be/en-icteam.html This library is free software; you can redistribute it and/o...
<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>// // This file is a part of pomerol - a scientific ED code for obtaining // properties of a Hubbard model on a finite-size lattice // // Copyright (C) 2010-2013 Andrey Antipov <antipov@ct-qmc.org> // Copyright (C) 2010-2013 Igor Krivenko <igor@shg.ru> // // pomerol is free software: you can redistribute...
<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>#include <faunus/species.h> #include <faunus/inputfile.h> #include <faunus/textio.h> #include <faunus/physconst.h> #include <faunus/json.h> #include <stdlib.h> namespace Faunus { AtomData::AtomData() { activity=0; charge=0; dp=0; dprot=0; eps=0; hydrophobic=0; mean=0; ...
<commit_before> #include <OgrePrerequisites.h> // for OGRE_THREAD_SUPPORT #include <OgreRoot.h> #include <OgreRenderSystem.h> #include <OgreMeshManager.h> #include <OgreMesh.h> #include <OgreSubMesh.h> #include <OgreMaterialManager.h> #include <OgreMaterial.h> #include "sleep.h" #include "BackgroundMeshLoader.h" Ba...
<commit_before>/* Copyright 2020 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>//===- Pass.cpp - LLVM Pass Infrastructure Implementation -----------------===// // // 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>/* * TableSelectionTx.cpp * * Copyright (C) 2020 by VISUS (University of Stuttgart) * Alle Rechte vorbehalten. */ #include "stdafx.h" #include "TableSelectionTx.h" #include "mmcore/param/BoolParam.h" #include "vislib/sys/Log.h" using namespace megamol::stdplugin::datatools; using namespace megamo...
<commit_before>// Copyright (c) 2019 by Robert Bosch GmbH. All rights reserved. // Copyright (c) 2021 - 2022 by Apex.AI 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 Lice...
<commit_before>//------------------------------------------------------------------------------ // CLING - the C++ LLVM-based InterpreterG :) // author: Vassil Vassilev <vvasilev@cern.ch> // // This file is dual-licensed: you can choose to license it under the University // of Illinois Open Source License or the GNU L...
<commit_before>// // Author: Ilka Antcheva 1/12/2006 // This macro gives an example of how to create a status bar related to // an embedded canvas that shows the info of the selected object exactly // as the status bar of any canvas window // To run it do either: // .x embstat.C // .x embstat.C++ #include <TApplica...
<commit_before>/* Copyright 2019 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>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: respintest.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: hr $ $Date: 2006-06-20 03:36:29 $ * * The Contents of this file are mad...
<commit_before>#include "tests.h" #include <cstdlib> #include <chrono> #include <memory> #include <algorithm> #include <unordered_set> #ifdef _WIN32 #define WIN32_LEAN_AND_MEAN #include <Windows.h> #include <conio.h> // _kbhit #elif __ANDROID__ #include <unistd.h> // usleep #include <android/log.h> ...
<commit_before><commit_msg>plugins: robotCalibration: cleanup<commit_after><|endoftext|>
<commit_before>// RUN: %clang_cc1 -triple=x86_64-apple-darwin10 -emit-llvm %s -o - |FileCheck %s struct A { A(); ~A(); }; A a; A as[2]; struct B { B(); ~B(); int f(); }; int i = B().f(); // CHECK: define internal void @__cxx_global_var_init() section "__TEXT,__StaticInit,regular,pure_instructions" { // C...
<commit_before>#include <thread> #include <atomic> #include <mutex> #include <condition_variable> #include <iostream> using namespace std; std::mutex mut; std::condition_variable cond; bool go = false; typedef char buffer[4096*2]; using atom = std::atomic<size_t>; typedef void (*fnc_type)(size_t, size_t); atom lock_...
<commit_before>#pragma once #include <depthai-shared/common/EepromData.hpp> #include <depthai-shared/common/optional.hpp> #include <nlohmann/json.hpp> #include "depthai-shared/common/CameraBoardSocket.hpp" #include "depthai-shared/datatype/RawStereoDepthConfig.hpp" namespace dai { /** * Specify properties for Ster...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a ...
<commit_before>/* * Copyright 2007-2022 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>#pragma once #include "physics/barycentric_rotating_dynamic_frame.hpp" #include "geometry/barycentre_calculator.hpp" #include "geometry/named_quantities.hpp" #include "geometry/r3x3_matrix.hpp" #include "quantities/quantities.hpp" #include "quantities/si.hpp" namespace principia { using geometry::Ba...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>// Copyright (c) 2014 Baidu, 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 applicabl...
<commit_before>// csabbg_midreturn.cpp -*-C++-*- #include <clang/AST/ASTContext.h> #include <clang/AST/Decl.h> #include <clang/AST/DeclBase.h> #include <clang/AST/Stmt.h> #include <clang/AST/StmtIterator.h> #include <clang/ASTMatchers/ASTMatchFinder.h> #include <clang/ASTM...
<commit_before>#include "command.hh" #include "common-args.hh" #include "shared.hh" #include "progress-bar.hh" #include "eval.hh" #include <nlohmann/json.hpp> #include <queue> using namespace nix; struct CmdFlakeList : StoreCommand, MixEvalArgs { std::string name() override { return "list"; } ...
<commit_before>#include <Python.h> #include "platecapi.hpp" static PyObject * platec_create(PyObject *self, PyObject *args) { unsigned int seed; unsigned int width; unsigned int height; float sea_level; unsigned int erosion_period; float folding_ratio; unsigned int aggr_overlap_abs; flo...
<commit_before>// -*- C++ -*- //===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //...
<commit_before>#include "buzz_qt.h" /****************************************/ /****************************************/ CBuzzQT::CBuzzQT() { RegisterUserFunction<CBuzzQT,CFootBotEntity>(&CBuzzQT::Draw); RegisterUserFunction<CBuzzQT,CSpiriEntity>(&CBuzzQT::Draw); } /****************************************/...