text
stringlengths
54
60.6k
<commit_before><commit_msg>test/rados-api/snapshots.cc:RollbackPP<commit_after><|endoftext|>
<commit_before>//===--- TypeInfo.cpp - Type information relevant to SILGen -----*- C++ -*-===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<commit_before>//===--- SILGenEpilog.cpp - Function epilogue emission --------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<commit_before>/* * Copyright 2007-2019 Content Management AG * 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...
<commit_before>//===--- raw_ostream.cpp - Implement the raw_ostream classes --------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/* * Copyright (C) 2008-2009 J-P Nurmi jpnurmi@gmail.com * * This library 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 of the License, or (at your * option) any later ...
<commit_before>#include <iostream> #include <unistd.h> #include <cstring> #include <cstdlib> #include <cstdio> #include <ctime> #include <cmath> #include <utility> #include <cassert> #include <algorithm> #include "Point.h" #include "Strategy.h" #include "Judge.h" #define MAX_NODE 1000000 #define TIME_LIMIT 1 #define RO...
<commit_before>#include <Supervisor/Monitor.hh> #include <Time.hh> #include <Power.hh> #include <MemoryManager.hh> #include <Kernel/Thread.hh> #include <Interrupt.hh> #include <string> #include <list> #include <cstdio> #include <utility> #include <functional> using CommandPair = std::pair<MonitorCommand*, std::strin...
<commit_before>#include <cfloat> #include <stack> #include "mpi.h" #include "kd_tree.hpp" #include "kd_mesh.hpp" #include "mesh.hpp" #define EPSILON 0.00001 Kd_tree::Kd_tree(char dim, int np, int rank) { root = new Kd_tree_node; root->split_dim = 0; root->is_leaf = false; if (np > 1) { this-...
<commit_before>#include "util/bitmap.h" #include "util/trans-bitmap.h" #include <math.h> #include <iostream> #include "level/utils.h" #include "network/messages.h" #include "loading.h" #include "util/file-system.h" #include "util/font.h" #include "util/funcs.h" #include "util/gradient.h" #include "util/thread.h" #incl...
<commit_before>#include <iostream> #include <string> #include <fstream> #include <vector> #include <set> #include <cstdint> #include <getopt.h> #include <cmath> #include <boost/version.hpp> #include <cstdio> #include <iomanip> #include <ctime> #include <chrono> #include <memory> #include <cassert> #include "common.h" ...
<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 <CoreAudio/AudioHardware.h> #include "base/at_exit.h" #include "media/audio/fake_audio_output_stream.h" #include "media/audio...
<commit_before>// -*- Mode: C++; tab-width: 2; -*- // vi: set ts=2: // #include <BALL/FORMAT/PDBFile.h> #include <BALL/VIEW/KERNEL/client.h> using namespace std; using namespace BALL; using namespace BALL::VIEW; int main(int argc, char** argv) { // check for command line arguments if (argc != 3) { cerr << argv...
<commit_before>// CmdLineArgs.cpp // Copyright (c) 2014 - The Foreseeable Future, zhiayang@gmail.com // Licensed under the Apache License Version 2.0. #include <iostream> #include <fstream> #include <cassert> #include <sys/stat.h> #include <sys/types.h> #include <vector> #include "compiler.h" static std::string pars...
<commit_before>//===-- MainLoop.cpp --------------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before> #include <iostream> #include <iomanip> #include <fstream> #include <list> #include <ctime> #include <boost/numeric/ublas/io.hpp> #include <scsi/constants.h> #include <scsi/base.h> #include <scsi/moment2.h> #include <scsi/state/vector.h> #include <scsi/state/matrix.h> typedef Moment2State state_t; ...
<commit_before>/* * Copyright (c) 2011-2015 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware impleme...
<commit_before>#include "messagehub/message.h" JSONMessage::JSONMessage(const std::string &s): handler(std::shared_ptr<JSONMessage>(this)) { parseString(s); } JSONMessage::JSONMessage(zmq::message_t &zmsg): handler(std::shared_ptr<JSONMessage>(this)) { std::string s = std::string(static_cast<char*>(zmsg.data(...
<commit_before>// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "include/types.h" #include "Ager.h" #include "os/ObjectStore.h" #include "config.h" #include "common/Clock.h" // ick #include "ebofs/Ebofs.h" #include <sys/types.h> #include <sys/stat.h> #inclu...
<commit_before>/* * Copyright (C) 2011 The Android Open Source Project * * 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 ...
<commit_before>#include "DcConfiguration.hpp" namespace Telegram { int DcConfiguration::dcCount() const { QVector<quint32> dcs; for (const DcOption &opt : dcOptions) { const quint32 dcId = opt.id; if (dcs.contains(dcId)) { continue; } dcs.append(dcId); } re...
<commit_before>// // Name: app.cpp // Purpose: Example GLUT/vtlib application. // // Copyright (c) 2001-2003 Virtual Terrain Project // Free for all uses, see license.txt for details. // #ifdef __DARWIN_OSX__ #import <GLUT/glut.h> #else #include <GL/glut.h> #endif #ifdef __FreeBSD__ # include <ieeefp.h> #endi...
<commit_before>#include "ATKSD1.h" #include "IPlug_include_in_plug_src.h" #include "IControl.h" #include "resource.h" const int kNumPrograms = 1; enum EParams { kDrive = 0, kTone, kLevel, kNumParams }; enum ELayout { kWidth = GUI_WIDTH, kHeight = GUI_HEIGHT, kDriveX = 55, kDriveY = 38, kToneX = 12...
<commit_before>#include <opkele/exception.h> #include <opkele/curl.h> #include "config.h" namespace opkele { namespace util { curl_slist_t::~curl_slist_t() throw() { if(_s) curl_slist_free_all(_s); } curl_slist_t& curl_slist_t::operator=(curl_slist *s) { if(_s) curl_slist_free_all(_s); _s...
<commit_before>/* * main.cpp - Main entry point for the executable * * Contains command processing functions, and uses * a Huffman Tree to encode and decode files * * Built for EECS2510 - Nonlinear Data Structures * at The University of Toledo, Spring 2016 * * Copyright (c) 2016 Nathan Lowe * * Permission is...
<commit_before>/* * Copyright (C) 2016 Hong Jen Yee (PCMan) <pcman.tw@gmail.com> * * This library 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 ...
<commit_before>#pragma once // Mantella #include <mantella_bits/optimisationAlgorithm/trajectoryBasedAlgorithm.hpp> #include <mantella_bits/helper/random.hpp> namespace mant { template <class DistanceFunction> class HookeJeevesAlgorithm : public TrajectoryBasedAlgorithm<double, DistanceFunction> { public: ...
<commit_before>#include "profiler.h" #include <errno.h> #include <stdlib.h> #include <string.h> #include <sys/time.h> #include "display.h" #ifdef __APPLE__ // See comment in Accessors class pthread_key_t Accessors::key_; #else __thread JNIEnv * Accessors::env_; #endif ASGCTType Asgct::asgct_; TraceData Profiler::t...
<commit_before>#ifndef SFML_INPUT_HANDLER_HPP #define SFML_INPUT_HANDLER_HPP #include <unordered_map> #include <SFML/Window.hpp> #include "hash_pair.hpp" class InputHandler { public: struct MousePosition { MousePosition(): x(0),y(0){} int x; int y; }; InputHandler() { auto p = sf::Mouse::getPosition(); ...
<commit_before>// Copyright (c) the JPEG XL 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. #include "lib/extras/packed_image_convert.h" #include <cstdint> #include "jxl/color_encoding.h" #include "jxl/types.h" #include ...
<commit_before>#include "cfilelistmodel.h" #include "shell/cshell.h" #include "ccontroller.h" #include "../../../cmainwindow.h" #include "../../columns.h" DISABLE_COMPILER_WARNINGS #include <QMimeData> #include <QUrl> RESTORE_COMPILER_WARNINGS #include <set> CFileListModel::CFileListModel(QTreeView * tr...
<commit_before>#pragma once //=====================================================================// /*! @file @brief Graphics Library Core (glfw3) @author 平松邦仁 (hira@rvf-rc45.net) */ //=====================================================================// #include <string> #include <thread> #include <future> #incl...
<commit_before>// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "pending_notify_remove_done.h" #include <vespa/searchcore/proton/reference/i_gid_to_lid_change_handler.h> #include <cassert> namespace proton { PendingNotifyRemoveDone::Pendi...
<commit_before>#pragma once //=====================================================================// /*! @file @brief input クラス @n 数値、文字列などの入力クラス @n %b ---> 2進の数値 @n %o ---> 8進の数値 @n %d ---> 10進の数値 @n %x ---> 16進の数値 @n %f ---> 浮動小数点数(float、double) @n %c ---> 1文字のキャラクター @n %% ---...
<commit_before>/*! \file binlogread.cpp \brief Binary logs reader definition \author Ivan Shynkarenka \date 16.09.2015 \copyright MIT License */ #include <stdio.h> #include "version.h" #include "logging/record.h" #include "logging/layouts/text_layout.h" #include <iostream> #include <vector> #inc...
<commit_before>//============================================================================= // ■ RenderBuffer.cpp //----------------------------------------------------------------------------- // VMDE中渲染对象缓冲 //============================================================================= #include "global.hpp" Re...
<commit_before> #include <stdio.h> #include <unistd.h> #include <string.h> #include <systemlib/err.h> #include <drivers/drv_hrt.h> #include <rc/st24.h> #include "../../src/systemcmds/tests/tests.h" int main(int argc, char *argv[]) { warnx("ST24 test started"); if (argc < 2) errx(1, "Need a filename for the input ...
<commit_before>/********************************************************************************* - Contact: Brigitte Cheynis b.cheynis@ipnl.in2p3.fr - Link: - Raw data test file : - Reference run number : 137366 - Run Type: PHYSICS - DA Type: MON - Number of events needed: >=2000 - Input F...
<commit_before>/* * udev_unit.cpp * * Created on: Feb 26, 2015 * Author: ddz */ #include "udev_unit.h" #include <assert.h> struct udev_device *find_device(struct udev *udev, const char *id) { assert(udev); assert(id); if (startswith(id, "/dev/")) { struct ...
<commit_before> #include <sstream> #include <algorithm> #include "src/database/database.h" #include "mongo/client/dbclient.h" #include "mongo/bson/bson.h" #include "include/container/tokenizer.h" using namespace std; using namespace stoke; using namespace x64asm; using namespace mongo; using namespace cpputil; voi...
<commit_before>#include <stdlib.h> #include <iostream> #include <math.h> #include "diff_drive_robot.hpp" #define PI 3.14159265359 #define K_RHO 0.5 #define K_DELTA -0.5 #define K_GAMMA 0.62 #define R_MERGE_START 1.0 #define R_MERGE_END 0.5 namespace diff_drive_robot { DiffDriveRobot::DiffDriveRobot(double v_max, dou...
<commit_before>// Copyright (c) 2009-2012 Bitcoin Developers // Copyright (c) 2011-2012 Litecoin Developers // Copyright (c) 2013 albocoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "init.h" // for p...
<commit_before>#include "stdafx.h" #include "Player.h" #include "ETypes.h" #include <ATF/global.hpp> namespace GameServer { namespace Fixes { void CPlayer::load() { auto& core = ATF::CATFCore::get_instance(); core.set_hook(&ATF::CPlayer::CalcPvP, &CPlayer::CalcPvP); ...
<commit_before>#include <handy/handy.h> using namespace std; using namespace handy; struct Report { long connected; long retry; long sended; long recved; Report() { memset(this, 0, sizeof(*this)); } }; int main(int argc, const char* argv[]) { if (argc < 9) { printf("usage %s <host> <b...
<commit_before>/** My first Galois program -*- C++ -*- */ #include "Galois/Galois.h" #include "Galois/Graph/Graph.h" #include <boost/iterator/counting_iterator.hpp> #include <iostream> #include <string> using namespace std; //typedef Galois::Graph::FirstGraph<std::string,std::string,true> Graph; typed...
<commit_before>#include <cstdio> #include <cstring> #include <cstdlib> #include <cstdarg> #include <cerrno> #include <vector> #include <map> #include <string> #include <unistd.h> #include "riscv-types.h" #include "riscv-endian.h" #include "riscv-regs.h" #include "riscv-processor.h" #include "riscv-format.h" #include ...
<commit_before>// // riscv-test-emulate.cc // #include <cstdio> #include <cstring> #include <cstdlib> #include <cinttypes> #include <cstdarg> #include <cerrno> #include <cassert> #include <cmath> #include <algorithm> #include <limits> #include <memory> #include <string> #include <vector> #include <deque> #include <ma...
<commit_before>#include <stdint.h> #include <stdlib.h> #include <string.h> #include <SPI.h> #include <SD.h> #include "session.h" #include "bits.h" void init_session_header(uint8_t* buf, uint64_t timestamp, uint16_t channels) { buf[0] = 0xec; // Magic #1. buf[1] = 0x09; // Magic #2. buf[2] = 0x00; // Format epoch. ...
<commit_before>/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2008, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the f...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkThreshold.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-1996 Ken Martin, Will Schroeder, Bill Lorensen. This software is copyrighted by ...
<commit_before>/* * Copyright (c) 2018, Ford Motor Company * 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 *...
<commit_before>//$Id$ //============================================================================ // // This file is part of GPSTk, the GPS Toolkit. // // The GPSTk 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 ...
<commit_before>/* * Copyright (C) 2015 Cloudius Systems, Ltd. */ #include "tests/http_response_parser.hh" #include "core/print.hh" #include "core/reactor.hh" #include "core/app-template.hh" #include "core/future-util.hh" #include "core/distributed.hh" #include "core/semaphore.hh" #include "core/future-util.hh" #incl...
<commit_before> #include "AConfig.h" #if(HAS_STD_PILOT) #include "Device.h" #include "Pin.h" #include "Pilot.h" #include "Timer.h" Timer pilotTimer; bool _headingHoldEnabled = false; int _headingHoldTarget = 0; int hdg = 0; int hdg_Error; int raw_Left, raw_Right; int left, right; // motor outputs in microseconds, +/...
<commit_before><commit_msg>Let the debugger work again. Error was due to me not noticing the change in debugger URL.<commit_after><|endoftext|>
<commit_before>// Copyright 2011 The Avalon Project Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0 // that can be found in the LICENSE file. // // Main loop for helmsman: open client sockets to wind_sensor and imu, server // socket for helsman clients (e.g. the skipper an...
<commit_before><commit_msg>INTEGRATION: CWS dba24d (1.16.68); FILE MERGED 2007/11/21 12:37:25 oj 1.16.68.2: #i68854# impl TypeSettingInfo for Oracle 2007/11/08 14:12:15 fs 1.16.68.1: during #i81658#: string cleanup<commit_after><|endoftext|>
<commit_before><commit_msg>Removed a blank line to get better commit stats on Ohloh.<commit_after><|endoftext|>
<commit_before>/* * Copyright (C) 2015 ScyllaDB */ /* * This file is part of Scylla. * * Scylla 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 the License, or * (at your op...
<commit_before>#include <cstdio> #include <algorithm> #include <string> #include <map> #include <cstdlib> using namespace std; map <string ,int> Dict; //debug #ifdef LOCAL #define fp stdin #else FILE *fp; #endif string getword(){ char ch; string s; while((ch=getc(fp))!=EOF){ if(ch=='-'){ if(getc(fp)=='\n'){ ...
<commit_before>#include "updater.h" #include "ui_updater.h" #include "utilities.h" #include <QNetworkAccessManager> #include <QNetworkRequest> /* TODO: * In the future this class needs big improvements, * such as checking checksum, xml parsing, adding * download progress bar and some archive unpacker * for update...
<commit_before>// Copyright (c) 2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <string> #include "version.h" // Name of client reported in the 'version' message. Report the same name //...
<commit_before>// Copyright (c) 2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <string> #include "version.h" // Name of client reported in the 'version' message. Report the same name //...
<commit_before>#pragma onece #include<QString> const QString app_name = "MCSwitch" // Application Full Name. const QString app_ver = "0.0.1-dev" // Application Version. <commit_msg>version.hppにLicense情報追加<commit_after>#pragma onece #include<QString> const QString app_name = "MCSwitch" // Application Full Name. cons...
<commit_before>// Copyright 2015 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>/* * basic.cpp * * Full implementation of Basic cluster server. * Send ZCL attribute response to read request on Basic Cluster attributes. * * 0x0000 ZCL Version / Just to test * 0xF000 Running time / Used for Legrand device * */ #include "de_web_plugin.h" #include "de_web_plugin_private.h...
<commit_before>#include "lang_keywords_scorer.hpp" #include "../indexer/search_string_utils.hpp" #include "../indexer/search_delimiters.hpp" #include "../base/stl_add.hpp" #include "../std/algorithm.hpp" namespace search { LangKeywordsScorer::LangKeywordsScorer(vector<vector<int8_t> > const & languagePriorities, ...
<commit_before>// // file : hydra_vulkan_instance.hpp // in : file:///home/tim/projects/hydra/hydra/init/hydra_vulkan_instance.hpp // // created by : Timothée Feuillet // date: Tue Apr 26 2016 11:53:06 GMT+0200 (CEST) // // // Copyright (c) 2016 Timothée Feuillet // // Permission is hereby granted, free of charge, to a...
<commit_before>#include <iostream> #include <sstream> #include <string> #include <netinet/in.h> #include <unistd.h> #include <sys/types.h> #include <sys/param.h> #include <sys/socket.h> #include <arpa/inet.h> #include <vector> #include <algorithm> #include <list> #include <map> #include <netdb.h> #include <cstdlib> #...
<commit_before><commit_msg>Bugfix: bitcoin-tx: scriptPubKey may be null, so accept outscript=<n>:<commit_after><|endoftext|>
<commit_before><commit_msg>Log READ_CB or WRITE_CB<commit_after><|endoftext|>
<commit_before><commit_msg>Some minor cleaning up [ci skip].<commit_after><|endoftext|>
<commit_before><commit_msg>Slight changes to the About box [ci skip].<commit_after><|endoftext|>
<commit_before><commit_msg>ruby: getPort function fix Fixed RubyMemory::getPort function to not pass in a -1 for the idx parameter<commit_after><|endoftext|>
<commit_before><commit_msg>Modified nearestValue to explicitly return null by calling Null().<commit_after><|endoftext|>
<commit_before><commit_msg>Add doc<commit_after><|endoftext|>
<commit_before>#include "Buttongrid.h" Buttongrid::Buttongrid(){ if(text = (char *)malloc(DISPLAY_SIZE+1)) memset(text,0,DISPLAY_SIZE+1); //Had to add one more, to avoid some bug } Buttongrid::Buttongrid(unsigned char size){ if(text = (char *)malloc(DISPLAY_SIZE+1)) memset(text,0,DISPLAY_SIZE+1); //Had to add one m...
<commit_before>/* * Copyright (c) [2014-2015] Novell, Inc. * Copyright (c) 2016 SUSE LLC * * All Rights Reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as published * by the Free Software Foundation. * * Thi...
<commit_before><commit_msg>Fix socket leak in PluginComm by closing all sockets in error state, checked using poll().<commit_after><|endoftext|>
<commit_before><commit_msg>fixed errors<commit_after><|endoftext|>
<commit_before><commit_msg>Refactored searchtree.cpp<commit_after><|endoftext|>
<commit_before><commit_msg>Raft: Don't set leaders out of the blue<commit_after><|endoftext|>
<commit_before><commit_msg>Fix makeDir on unix<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * $RCSfile: accmap.hxx,v $ * * $Revision: 1.24 $ * * last change: $Author: obo $ $Date: 2004-08-12 11:59:25 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before><commit_msg>sstables_loader: mutation_fragment_v1_stream() instead of downgrade_to_v1()<commit_after><|endoftext|>
<commit_before>#include "broker.h" #include "frame.h" #include <sstream> #include <thread> #include <sys/socket.h> Broker::Broker() { topicRoot = new TopicNode("", ""); } Broker::~Broker() { delete topicRoot; } MQTT_ERROR Broker::Start() { struct sockaddr_in addr; int listener = socket(AF_INET, SOCK_...
<commit_before>#include "btree.h" #include <memory> #include <cmath> #include <string> #include <iostream> namespace { using std::unique_ptr; using std::move; using std::vector; using std::ceil; using std::string; using std::to_string; using std::cout; using std::endl; } namespace btree { void node::check_invariants(...
<commit_before>// Copyright (c) 2013, German Neuroinformatics Node (G-Node) // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted under the terms of the BSD License. See // LICENSE file in the root of the Project. #include <ctime> #include "...
<commit_before>/*========================================================================= Copyright 2004 Sandia Corporation. Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive license for use of this work by or on behalf of the U.S. Government. Redistribution and use in source and binary ...
<commit_before>// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr> // // 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 f...
<commit_before>#include "qniteticker.h" #include <QDebug> #define DEFAULT_NUM_STEPS 0 #define DEFAULT_LOWER_B 0 #define DEFAULT_UPPER_B 0 /*! \qmltype Ticker \instantiates QniteTicker \ingroup scaling \inqmlmodule Qnite \brief Divide axes scales into tickers TODO: add a long description */ QniteTicker::Qn...
<commit_before>/******************************************************************************\ * File: process.cpp * Purpose: Implementation of class 'wxExProcessWithListView' * Author: Anton van Wezenbeek * RCS-ID: $Id$ * * Copyright (c) 1998-2009 Anton van Wezenbeek * All rights are rese...
<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>//===- unittests/Basic/FileMangerTest.cpp ------------ FileManger tests ---===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<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/extensions/extension_apitest.h" #include "chrome/browser/extensions/extension_service.h" #include "chrome/brow...
<commit_before>#include <bench/BenchTimer.h> #include "main.h" #include <Eigen/MPRealSupport> #include <Eigen/LU> #include <Eigen/Eigenvalues> #include <sstream> using namespace mpfr; using namespace Eigen; void test_mpreal_support() { // set precision to 256 bits (double has only 53 bits) mpreal::set_default_pre...
<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/gtk/toolbar_star_toggle_gtk.h" #include "app/gtk_dnd_util.h" #include "app/resource_bundle.h" #include "chrom...
<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 <vector> #include "base/message_loop.h" #include "chrome/browser/browser_thread.h" #include "chrome/browser/history/history.h...
<commit_before><commit_msg>Use destination URL to compute search engine type in OmniboxEditModel<commit_after><|endoftext|>
<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/signin/signin_header_helper.h" #include "base/strings/string_number_conversions.h" #include "base/strings/string_...