text
stringlengths
54
60.6k
<commit_before>#define BOOST_TEST_MODULE trace_data_extraction #include <boost/test/included/unit_test.hpp> #include <eosio/chain/trace.hpp> #include <eosio/chain/transaction.hpp> #include <eosio/chain/block.hpp> #include <eosio/chain/block_state.hpp> #include <eosio/trace_api_plugin/test_common.hpp> #include <eosio/...
<commit_before>// Copyright 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: // // 1. Redistributions of source code must retain the above copyright notice, // this list o...
<commit_before>#include "ofdpa_bridge.hpp" #include "roflibs/netlink/clogging.hpp" #include <cassert> #include <map> #include <rofl/common/openflow/cofport.h> namespace basebox { ofdpa_bridge::ofdpa_bridge(rofl::rofl_ofdpa_fm_driver &fm_driver) : fm_driver(fm_driver) {} ofdpa_bridge::~ofdpa_bridge() {} void ...
<commit_before>/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* * This file is part of the libvisio 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 ...
<commit_before> #include <cctype> #include <cstring> #include "Word.h" Word& Word::operator=(const String& other) { (String&)*this = other; return *this; } bool Word::operator==(const Word& other) const { return *(String*)this == other; } bool Word::operator!=(const Word& other) const { return *(String*)thi...
<commit_before>#include "qmdatabase.h" QMDatabase::onCreate() { // table for frames Exec("CREATE TABLE frames (" "_id INTEGER PRIMARY KEY AUTOINCREMENT," "time REAL NOT NULL," "step INT NOT NULL," "box11 REAL NOT NULL," "box12 REAL NOT NULL," "box13 REAL NOT NULL,...
<commit_before>#include "standard_entity_validators.h" #include "halley/entity/entity.h" #include "halley/entity/world.h" #define DONT_INCLUDE_HALLEY_HPP #include "component_editor_context.h" #include "halley/entity/components/transform_2d_component.h" using namespace Halley; std::vector<IEntityValidator::Result> Tr...
<commit_before>#include "stdafx.h" #include "NetworkClient.hpp" //fToServerStc NetworkClient::toServerData; NetworkClient::NetworkClient() : NetworkWorker() { tryToConnect = true; clientConnected = false; myType = CLIENT; } int NetworkClient::initialize(int port) { last = now = AnnEngine::Instance()->getTimeF...
<commit_before>#include "accelometerwidget.h" AccelometerWidget::AccelometerWidget(QQuickItem *parent) : QQuickPaintedItem(parent) { } void AccelometerWidget::paint(QPainter *painter) { const int boundX = boundingRect().x(); const int boundY = boundingRect().y(); const int boundHeight = boundingRect()...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: convuno.cxx,v $ * * $Revision: 1.6 $ * * last change: $Author: kz $ $Date: 2006-07-21 14:30:28 $ * * The Contents of this file are made a...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: test_activedatasink.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: obo $ $Date: 2006-09-17 13:53:29 $ * * The Contents of this fi...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: pkgdatasupplier.cxx,v $ * * $Revision: 1.15 $ * * last change: $Author: ihi $ $Date: 2007-06-05 18:13:27 $ * * The Contents of this file ...
<commit_before>// Author: Enrico Guiraud, 2021 /************************************************************************* * Copyright (C) 1995-2021, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
<commit_before>#include <stdio.h> #include <vector> #include <string> #include <iostream> #include <sstream> #include <stdio.h> #include <string.h> #include <algorithm> using namespace std; /*void doExec(char* cmd){ int pid = fork(); if (pid == -1){ perror("There was an error with fork()"); exit(1); } else if...
<commit_before>#include <boost/tokenizer.hpp> #include <iostream> #include <unistd.h> #include <string.h> #include <cstdlib> #include <errno.h> #include <stdio.h> #include <sys/types.h> #include <sys/wait.h> #include <string> #include <sstream> #include <vector> //using namespace boost; using namespace std; int main(...
<commit_before><commit_msg>Adding many of the features. Considering this a v0.1<commit_after>#include <iostream> #include <string> #include <queue> #include <vector> #include <algorithm> #include <errno.h> #include <sys/types.h> #include <sys/wait.h> #include <string.h> #include <unistd.h> #include <stdio.h> #include <...
<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/automation/testing_automation_provider.h" #include <windows.h> #include "base/string_util.h" #include "base/...
<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 "chrome/browser/chromeos/drive/change_list_loader.h" #include "base/files/scoped_temp_dir.h" #include "base/memory/scoped_ptr.h" ...
<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/app/chrome_command_ids.h" #include "chrome/browser/extensions/extension_apitest.h" #include "chrome/browser/extensions...
<commit_before> #include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules #include "BeaconEntity.h" #include "../BlockArea.h" #include "../Entities/Player.h" #include "../UI/BeaconWindow.h" #include "../ClientHandle.h" cBeaconEntity::cBeaconEntity(BLOCKTYPE a_BlockType, NIBBLE...
<commit_before>/** * The Seeks proxy and plugin framework are part of the SEEKS project. * Copyright (C) 2009 Emmanuel Benazera, juban@free.fr * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software ...
<commit_before>#ifndef UTENSOR_FULLY_CONNECTED_OPS #define UTENSOR_FULLY_CONNECTED_OPS #include "uTensor/core/tensor.hpp" #include "uTensor/core/uTensorBase.hpp" #include "arm_math.h" #include "arm_nnfunctions.h" /*** * Here we have two types of kernel functions. The basic function implements the function using regul...
<commit_before>#include "merlin_image.h": namespace merlin { Persistent<FunctionTemplate> MerlinImage::constructor_template; Handle<Value> MerlinImage::New(const Arguments& args) { HandleScope scope; node::Buffer *buf = ObjectWrap::Unwrap<node::Buffer>(args[0]->ToObject()); MerlinImage* img = new MerlinI...
<commit_before>#include "editaddressdialog.h" #include "ui_editaddressdialog.h" #include "addresstablemodel.h" #include "dialogwindowflags.h" #include "guiconstants.h" #include "guiutil.h" #include <QDataWidgetMapper> #include <QMessageBox> EditAddressDialog::EditAddressDialog(Mode mode, QWidget *parent) : QDialo...
<commit_before>/************************************************************************* * * REALM CONFIDENTIAL * __________________ * * [2011] - [2012] Realm Inc * All Rights Reserved. * * NOTICE: All information contained herein is, and remains * the property of Realm Incorporated and its suppliers, * i...
<commit_before>#include "AssetConverter.hpp" #include <Utility/Log.hpp> #include <Engine/Hymn.hpp> #include <Engine/Util/FileSystem.hpp> AssetConverter::AssetConverter() { } AssetConverter::~AssetConverter() { } void AssetConverter::Convert(const char* filepath, const char* destination, glm::vec3 scale, bool triangu...
<commit_before>/** \file circularize_main.cpp * * Defines the "vg circularize" subcommand */ #include <omp.h> #include <unistd.h> #include <getopt.h> #include <iostream> #include "subcommand.hpp" #include "../utility.hpp" #include "../handle.hpp" #include "../vg.hpp" #include <vg/io/stream.hpp> #include <vg/io/...
<commit_before>#include "MainDialog.h" #include "../common/bouncing.h" #include "../common/paths.h" #include "../common/timing.h" #include <agge/blenders_simd.h> #include <agge/clipper.h> #include <agge/dash.h> #include <agge/math.h> #include <agge/rasterizer.h> #include <agge/renderer_parallel.h> #includ...
<commit_before>#ifndef MJOLNIR_CORE_GLOBAL_FORCE_FIELD_HPP #define MJOLNIR_CORE_GLOBAL_FORCE_FIELD_HPP #include <mjolnir/core/GlobalInteractionBase.hpp> #include <mjolnir/util/logger.hpp> #include <vector> #include <array> #include <memory> namespace mjolnir { template<typename traitsT> class GlobalForceField { pub...
<commit_before>#ifndef MJOLNIR_INPUT_READ_INPUT_FILE_HPP #define MJOLNIR_INPUT_READ_INPUT_FILE_HPP #include <extlib/toml/toml.hpp> #include <mjolnir/core/BoundaryCondition.hpp> #include <mjolnir/core/SimulatorBase.hpp> #include <mjolnir/core/SimulatorTraits.hpp> #include <mjolnir/core/Unit.hpp> #include <mjolnir/util/l...
<commit_before>/*! * Copyright (c) 2018 by Contributors * \file type_functor.cc * \brief Implementations of type functors. */ #include "type_functor.h" namespace tvm { namespace relay { void TypeVisitor::VisitType_(const TypeVarNode* op) { } void TypeVisitor::VisitType_(const TensorTypeNode* op) { } void TypeV...
<commit_before>#include "vec2.h" namespace fd { namespace core { namespace math { vec2i::vec2i() : x(0), y(0) {} vec2i::vec2i(int32 x, int32 y) : x(x), y(y) {} //int32 vec2i& vec2i::Add(const vec2i& v) { __m128i vxmm = _mm_set_epi32(0, 0, v.y, v.x); __m128i xmm = _mm_set_epi32(0, 0, y, x); xmm = _m...
<commit_before>#include "Genes/Freedom_To_Move_Gene.h" #include <memory> #include <string> #include <array> #include <bitset> #include "Genes/Gene.h" #include "Game/Board.h" #include "Game/Color.h" #include "Game/Piece.h" double Freedom_To_Move_Gene::score_board(const Board& board, Color perspective, size_t) const {...
<commit_before>// Copyright (c) 2016 Stefan Krüger // released under MIT (see LICENSE for details) // based on example from // http://docs.openlighting.org/ola/doc/latest/dmx_cpp_client_tutorial.html // build for local: // g++ -std=c++11 olamapper.cpp -o olamapper.out $(pkg-config --cflags --libs libola) #include ...
<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/autocomplete/autocomplete_popup_model.h" #include "unicode/ubidi.h" #include "base/string_util.h" #include "...
<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/automation/url_request_automation_job.h" #include "base/message_loop.h" #include "base/time.h" #include "chro...
<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 "chrome/browser/chromeos/login/chrome_restart_request.h" #include <vector> #include "ash/ash_switches.h" #include "base/chromeos...
<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/task_manager/task_manager.h" #include "app/l10n_util.h" #include "base/file_path.h" #include "chrome/browser/...
<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_frame/ready_mode/internal/ready_prompt_window.h" #include <atlctrls.h> #include <Shellapi.h> // Must appear before a...
<commit_before>// @(#)root/treeplayer:$Id$ // Author: Axel Naumann, 2011-09-21 /************************************************************************* * Copyright (C) 1995-2013, Rene Brun and Fons Rademakers and al. * * All rights reserved. * * ...
<commit_before>/* The MIT License (MIT) Copyright (c) 2013-2014 winlin 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, m...
<commit_before>/* The MIT License (MIT) Copyright (c) 2013-2015 SRS(simple-rtmp-server) 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 right...
<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>#include "stdafx.h" #include "Token.h" #include <cassert> #include <memory> using namespace std; using Checkpoint = GraphLang::Parser::Checkpoint; namespace GraphLang { namespace Tokenizer { const TokenVisitor::RootTag TokenVisitor::Root = {}; void TokenVisitor::operator()(Token& tok) { auto dire...
<commit_before>#include "application.h" // POSIX #include <fcntl.h> // POSIX++ #include <cstring> // for strerror() #include <cstdlib> // for exit // STL #include <atomic> #include <list> // PDTK #include <cxxutils/error_helpers.h> #ifndef VTERM_H namespace terminal { const char* const critical = "\x1b[0;41;37;1mC...
<commit_before> /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. * * * * F...
<commit_before>#include "trajopt/configuration_space.hpp" #include <boost/foreach.hpp> #include "trajopt/rave_utils.hpp" #include "utils/math.hpp" using namespace OpenRAVE; using namespace util; // TODO: configuration should know something about what dofs are part of SO(1), SO(2) etc for functions like RandomDOFValues...
<commit_before>#include <iostream> #include <unistd.h> // For getpid, getppid. #include <gmock/gmock.h> #include <set> #include <stout/abort.hpp> #include <stout/gtest.hpp> #include <stout/numify.hpp> #include <stout/os.hpp> #include <stout/proc.hpp> #include <stout/try.hpp> using proc::CPU; using proc::SystemStat...
<commit_before>//***************************************************************************** // Copyright 2017-2020 Intel Corporation // // 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>/* This file is part of the ORK library. Full copyright and license terms can be found in the LICENSE.txt file. */ #pragma once #include"boost/spirit/home/support/common_terminals.hpp" #include"boost/spirit/home/qi.hpp" #include"ork/ork.hpp" /* Placeholders for parser components */ namespace ork { name...
<commit_before>/****************************************************************** * * Round for C++ * * Copyright (C) Satoshi Konno 2014 * * This is licensed under BSD-style license, see file COPYING. * ******************************************************************/ #include <boost/filesystem.hpp> #include <boost...
<commit_before>/*! \copyright (c) RDO-Team, 2003-2012 \file output.cpp \author (rdo@rk9.bmstu.ru) \date 20.02.2003 \brief \indent 4T */ // ---------------------------------------------------------------------------- PCH #include "app/rdo_studio_mfc/pch/stdpch.h" // ------------------...
<commit_before>/* * This file is part of Maliit framework * * * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * * Contact: maliit-discuss@lists.maliit.org * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser Ge...
<commit_before>//============================================================================== #include <game.hpp> #include <engine.hpp> #include <entity.hpp> #include <entity_manager.hpp> #include <viewport.hpp> #include <score.hpp> #include <hgeresource.h> #include <algorithm> #include <set> //==================...
<commit_before>#include "game.h" #include "rook.h" #include "pawn.h" #include "queen.h" #include "bishop.h" #include "knight.h" #include "king.h" game::game() { turn = true; board.addPiece(new rook(0,0,true)); board.addPiece(new knight(1,0,true)); board.addPiece(new bishop(2,0,true)); board.addPiece(new queen(3,0,...
<commit_before>/* Copyright (c) 2015, Project OSRM, Dennis Luxen, others 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>#include <lib/Numeric.hpp> #include <iostream> #include <thread> #include <mutex> #include <vector> #include <atomic> struct Fraction { Fraction(uint64_t n, uint64_t d) : numerator(n), denominator(d), value((double)n / d) { } Fraction(uint64_t n, uint...
<commit_before>/* * author: Max Kellermann <mk@cm4all.com> */ #include "RConnectSocket.hxx" #include "net/Resolver.hxx" #include "net/AddressInfo.hxx" #include "net/UniqueSocketDescriptor.hxx" #include "system/Error.hxx" #include "io/FileDescriptor.hxx" UniqueSocketDescriptor ResolveConnectSocket(const char *host_a...
<commit_before>#include "genome.h" #include <vector> #include <algorithm> Genome::Genome(const TrainingParameters& parameters) : parameters(parameters), genes(parameters.numberOfInputs * parameters.numberOfOutputs) { auto *currentGene = &genes.front(); for (auto in = 0U; in < parameters.numberOfInputs; ++in) { f...
<commit_before>//----------------------------------------------------------------------------- // Jikken - 3D Abstract High Performance Graphics API // Copyright(c) 2017 Jeff Hutchinson // Copyright(c) 2017 Tim Barnes // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software...
<commit_before>/*========================================================================= Program: ORFEO Toolbox Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. See OTBCopyright.txt for details. This software is distribu...
<commit_before>// SafeArryGUID.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <objbase.h> #include <string> #include<atlsafe.h> #include<iostream> using namespace std; string GuidToString(const GUID &guid) { char buf[64] = { 0 }; sprintf_s(buf, sizeof(buf), "{%08X-%04X-%0...
<commit_before>// SafeArryGUID.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <objbase.h> #include <string> #include<atlsafe.h> #include<iostream> using namespace std; string GuidToString(const GUID &guid) { char buf[64] = { 0 }; sprintf_s(buf, sizeof(buf), "{%08X-%04X-%0...
<commit_before>/***************************************************************************** * Controller.hpp : Controller for the main interface **************************************************************************** * Copyright (C) 2006-2008 the VideoLAN team * $Id$ * * Authors: Jean-Baptiste Kempf <jb@vi...
<commit_before>/***************************************************************************** * ctrl_text.cpp ***************************************************************************** * Copyright (C) 2003 VideoLAN * $Id$ * * Authors: Cyril Deguet <asmax@via.ecp.fr> * Olivier Teulire <ipkiss@via....
<commit_before>#include "sass_context_wrapper.h" extern "C" { using namespace std; void compile_it(uv_work_t* req) { sass_context_wrapper* ctx_w = static_cast<sass_context_wrapper*>(req->data); if (ctx_w->dctx) { compile_data(ctx_w->dctx); } else if (ctx_w->fctx) { compile_file(ctx_w-...
<commit_before>/************************************************************************* * * $RCSfile: tlog.hxx,v $ * * $Revision: 1.1 $ * * last change: $Author: sz $ $Date: 2001-04-12 10:55:26 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses ...
<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: InsertFunctions.cxx,v $ * $Revis...
<commit_before>/************************************************************************* * * $RCSfile: stgelem.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: mba $ $Date: 2001-02-05 18:11:55 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>/************************************************************************* * * $RCSfile: NeonTypes.hxx,v $ * * $Revision: 1.9 $ * * last change: $Author: obo $ $Date: 2005-01-27 12:13:58 $ * * The Contents of this file are made available subject to the terms of * either of the following lic...
<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 "ui/base/cursor/cursor_loader_x11.h" #include <X11/Xlib.h> #include <X11/cursorfont.h> #include "base/logging.h" #include "g...
<commit_before>/*************************************************************************/ /* file_access_memory.cpp */ /*************************************************************************/ /* This file is part of: */ /...
<commit_before>/* * Copyright (c) 2011 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>// 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 "ui/gfx/color_utils.h" #include "ui/gfx/sys_color_change_listener.h" #if defined(OS_WIN) #include <windows.h> #endif #includ...
<commit_before> // NetworkSingleton.cpp // Implements the cNetworkSingleton class representing the storage for global data pertaining to network API // such as a list of all connections, all listening sockets and the LibEvent dispatch thread. #include "Globals.h" #include "NetworkSingleton.h" #include <event2/event.h...
<commit_before>// Copyright (c) 2021 The Orbit 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 "GpuSubmissionTrack.h" #include <absl/time/time.h> #include <memory> #include "App.h" #include "Batcher.h" #include "ClientDat...
<commit_before>// https://oj.leetcode.com/problems/word-break/ namespace WordBreak { class Solution { public: bool wordBreak(string s, unordered_set<string> &dict) { if (s.length() == 0) { return true; } if (dict.size() == 0) ...
<commit_before>/****************************************************************************** * Copyright 2017 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>/////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2011 - 2012 by // // Simon Pratt // // (All rights reserved) ...
<commit_before>{ cout << "rootlogon.C for UCNSIM" << endl; cout << "-------------------------------------" << endl; if ( gSystem->Load("libPhysics") == 0 ) { cout << "Successfully loaded libPhysics.so" << endl; } if ( gSystem->Load("libGeom.so") == 0 ) { cout << "Successfully loaded libGeom.so" << end...
<commit_before>/* * The Apache Software License, Version 1.1 * * * Copyright (c) 2000 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistri...
<commit_before>/************************************************************************* * * $RCSfile: AccessibleDocument.cxx,v $ * * $Revision: 1.15 $ * * last change: $Author: sab $ $Date: 2002-03-12 09:44:28 $ * * The Contents of this file are made available subject to the terms of * either of the fol...
<commit_before>/*---------------------------------------------------------------------\ | | | _ _ _ _ __ _ | | | | | | | \_/ | / \ | | | | ...
<commit_before>#include <iostream> #include "TObjArray.h" #include "TTimer.h" #include "TThread.h" #include "AliEveEventBuffer.h" //Not needed, only for debug #include "AliESDEvent.h" using namespace std; ClassImp(AliEveEventBuffer) ///_______________________________________________________________________ AliEve...
<commit_before><commit_msg>Fixing SPXRatio::Parse: data_stat and data_tot<commit_after><|endoftext|>
<commit_before>#ifndef CV_ADAPTERS_ROWRANGE_HPP #define CV_ADAPTERS_ROWRANGE_HPP #include <iterator> #include <opencv2/core/core.hpp> template <typename T> class RowRangeConstIterator : public std::iterator<std::forward_iterator_tag, T> { public: RowRangeConstIterator() : data() , row(...
<commit_before>/* * Copyright 2006-2008 The FLWOR Foundation. * * 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...
<commit_before> // -*- mode: c++; c-basic-offset:4 -*- // This file is part of libdap, A C++ implementation of the OPeNDAP Data // Access Protocol. // Copyright (c) 2013 OPeNDAP, Inc. // Author: James Gallagher <jgallagher@opendap.org> // // This library is free software; you can redistribute it and/or // modify it u...
<commit_before>/* * Copyright (C) 2006-2009 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, t...
<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 "config.h" #include <wtf/HashSet.h> #include <wtf/RefPtr.h> #include <wtf/Vector.h> #include "Document.h" #include "Page.h" ...
<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: * 1. Redistributions of source code must retain the above copyright * notice, this list...
<commit_before>//===- unittests/Basic/FileMangerTest.cpp ------------ FileManger tests ---===// // // 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 "index/MeshStream.hpp" #include <cstdint> using namespace utymap::index; using namespace utymap::math; namespace { const float Precision = 1E7; template<typename T> T read(std::istream &stream) { T data; stream.read(reinterpret_cast<char *>(&data), sizeof(data)); return data; } /// Re...
<commit_before>/*************** <auto-copyright.pl BEGIN do not edit this line> ************** * * VR Juggler is (C) Copyright 1998-2003 by Iowa State University * * Original Authors: * Allen Bierbaum, Christopher Just, * Patrick Hartling, Kevin Meinert, * Carolina Cruz-Neira, Albert Baker * * This libra...
<commit_before>/** \brief Utility for deleting partial or entire MARC records based on an input list. * \author Mario Trojan (mario.trojan@uni-tuebingen.de) * * \copyright 2018 Universitätsbibliothek Tübingen. All rights reserved. * * This program is free software: you can redistribute it and/or modify * it ...
<commit_before>//===----------------------------------------------------------------------===// // // 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><commit_msg>Reduce limit to 2^64-1<commit_after><|endoftext|>
<commit_before>/* * Copyright 2016 Nu-book Inc. * Copyright 2016 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
<commit_before>/** \file restart_zts * \brief Restart the docker container with the Zotero Translation Server * \author Johannes Riedl */ /* Copyright (C) 2020,2021, Library of the University of Tübingen This program is free software: you can redistribute it and/or modify it under the terms of ...
<commit_before>/** \file Elasticsearch.cc * \brief Implementation of utility functions relating to Elasticsearch. * \author Mario Trojan * * \copyright 2018 Universitätsbibliothek Tübingen. All rights reserved. * * This program is free software: you can redistribute it and/or modify * it under the te...