text
stringlengths
54
60.6k
<commit_before>/* * Copyright (c) 2016 Jason Waataja * * 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, modif...
<commit_before>#include "GLFWController.hpp" #include "ModelView.hpp" #include "AffinePoint.hpp" #include "AffineVector.hpp" #include "ModelViewWithShader.hpp" #include "Block.hpp" #include "DependencyContainer.hpp" #include "otuchaConfig.h" #include <memory> #include <iostream> using namespace otucha; void set3DVie...
<commit_before>/* * Copyright (C) 2016 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 "output.h" #include "buffer_pool.h" #include "compress.h" #include "cso.h" namespace maxcso { // TODO: Tune, less may be better. static const size_t QUEUE_SIZE = 32; Output::Output(uv_loop_t *loop, const Task &task) : loop_(loop), flags_(task.flags), state_(STATE_INIT), fmt_(CSO_FMT_CSO1), s...
<commit_before>#include "parser.h" #include "scanner.h" #include "token.h" #include "exceptions.h" #include <sstream> namespace YAML { Parser::Parser(std::istream& in): m_pScanner(0) { Load(in); } Parser::~Parser() { delete m_pScanner; } Parser::operator bool() const { return m_pSca...
<commit_before>// Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html #include "bstbuseditor.hh" #include "bstparam.hh" #include "bstitemseqdialog.hh" // FIXME #include "bstsnifferscope.hh" // FIXME #include "bse/internal.hh" /* --- prototypes --- */ static void bus_editor_action_exec ...
<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>#define GLEW_STATIC #include <GL/glew.h> #include <GL/glut.h> #include <GL/gl.h> #include <GL/glu.h> //#include <GL/glext.h> #include <cstdio> #include <cstring> #include <string> #include <vector> #include <queue> #include <fstream> #include <float.h> // GLM #include <glm/mat4x4.hpp> #include <glm/gt...
<commit_before>// Copyright (C) Oscar Takeshita 2017 // This code is a translation of the 2-layer neural network Python code in // http://cs231n.github.io/neural-networks-case-study/ // Andrej Karpathy // to C++ with some modifications. // // The machine learning course webpage and the code are quite instruc...
<commit_before>// SA:MP Profiler plugin // // Copyright (c) 2011 Zeex // // 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>#include <uv.h> #include <windows.h> #include <stdio.h> #include <tchar.h> #include <strsafe.h> #include "pm.h" HWND handle; DWORD threadId; HANDLE threadHandle; HANDLE notifyEvent; char notify_msg[1024]; bool isRunning = false; DWORD WINAPI ListenerThread( LPVOID lpParam ); void NotifyAsync(uv_wo...
<commit_before>// @(#)alimdc:$Name$:$Id$ // Author: Fons Rademakers 26/11/99 /************************************************************************** * Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. * * * * Author: Th...
<commit_before>/* The MIT License Copyright (c) 2009 Institut of Mechanics and Fluid Dynamics, TU Bergakademie Freiberg. 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 with...
<commit_before>/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2009-2011, Willow Garage, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the foll...
<commit_before>#include <Arduino.h> #include <Wire.h> #include <EEPROM.h> #include <CmdMessenger.h> #include <Adafruit_PWMServoDriver.h> #define SWITCH_TELE1 2 #define SWITCH_TELE2 3 #define SWITCH_TELE3 4 #define OE_PIN 5 uint8_t positions[16] = {0, 255, 0, 255, 0, 255, 0, 255, 0, 255, 0...
<commit_before>#ifndef COORDINATOR_HPP #define COORDINATOR_HPP #include <QObject> #include <vector> #include <memory> #include <common/module.hpp> #include <common/datastructures/MotorCommand.hpp> typedef std::vector< std::shared_ptr<Module> > module_list_t; class Coordinator : public QObject { Q_OBJECT public: ...
<commit_before><commit_msg>Perception: code style refinement of rt_common<commit_after><|endoftext|>
<commit_before>/*------------------------------------------------------------------------- * * FILE * result.cxx * * DESCRIPTION * implementation of the pqxx::result class and support classes. * pqxx::result represents the set of result tuples from a database query * * Copyright (c) 2001-2007, Jeroe...
<commit_before>// AWSUtilTest.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "../AWSUtil/Auth.h" #include <ctime> #include <iomanip> #include <iostream> #include "../AWSUtil/hmac/hmac_sha2.h" void GetS3Object(const std::string &sBucketName, const std::string &sRegionName, c...
<commit_before>#pragma once template <typename Result, typename... Arguments> class BaseSlot { public: virtual Result operator()(Arguments...) = 0; }; template <typename T, typename Result, typename... Arguments> class Slot: public BaseSlot<Result, Arguments...> { public: typedef Result (T::*Method)(Arguments...
<commit_before>#include <memory> #include <algorithm> #include <iterator> #include <unordered_set> #include <unordered_map> #include <utility> #include "s_rules.hh" #include "s_closure.hh" #include "cons_util.hh" #include "env.hh" #include "zs_error.hh" #include "builtin_extra.hh" #include "printer.hh" #include "equal...
<commit_before>/* RawSpeed - RAW file decoder. Copyright (C) 2009-2014 Klaus Post 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 (...
<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) 2015 Marcus Soll All rights reserved. You may use this file under the terms of BSD license as follows: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of sourc...
<commit_before>//======================================================================= // Copyright (c) 2013-2018 Baptiste Wicht. // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //==================================================...
<commit_before>/******************************************************************************* Author: David Vazquez Garcia <davidvazquez.gijon@gmail.com> Juan Menendez Blanco <juanmb@gmail.com> Version: 2.0 Date: 2016/May/26 *****************************************************************...
<commit_before>#include "sketch.h" #include "subprocess/subprocess.hpp" #include <cstdio> #include <cstring> #define _USE_MATH_DEFINES #include <cmath> #include <sstream> #include <string> #include <algorithm> #include <vector> #include <SFML/Graphics.hpp> #include <SFML/Window.hpp> #include "externs.h" #include "...
<commit_before>/* * fMBT, free Model Based Testing tool * Copyright (c) 2011, Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU Lesser General Public License, * version 2.1, as published by the Free Software Foundation. * *...
<commit_before>/* ** Copyright (C) 2005,2006 Erik de Castro Lopo <erikd@mega-nerd.com> ** ** 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 ret...
<commit_before>#include <iostream> #include <stdio.h> #include <vector> #include <string> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <errno.h> #include <unistd.h> #include <dirent.h> #include <pwd.h> #include <grp.h> #include <stdlib.h> using namespace std; #define FLAG_a 1 #define FLAG...
<commit_before>#include <iostream> #include <string> #include <dirent.h> #include <sys/types.h> #include <errno.h> #include <unistd.h> #include <sys/stat.h> #include <stdio.h> using namespace std; #define NOFLAG 0 #define a 2 #define l 4 #define R 8 void noFlagLs() { char const *dirName = "."; DIR *dirp; if(!(dir...
<commit_before>#include <iostream> #include <sys/types.h> #include <sys/stat.h> #include <errno.h> #include <dirent.h> #include <stdlib.h> #include <stdio.h> #include <string> #include <string.h> #include <vector> #include <algorithm> #include <unistd.h> #include <pwd.h> #include <grp.h> #include <ctime> using namespa...
<commit_before>#include <iostream> #include <pwd.h> #include <grp.h> #include <algorithm> #include <string.h> #include <deque> #include <time.h> #include <vector> #include <sys/stat.h> #include <dirent.h> using namespace std; class Entry{ string path; string name; string info; public: Entry(string ...
<commit_before>#include <iostream> #include <unistd.h> #include <sys/stat.h> #include <stdio.h> #include <vector> #include <sstream> #include <dirent.h> #include <errno.h> #include <sys/types.h> using namespace std; bool isDirectory(char* directoryName) { struct stat directoryInCurrent; if (-1 == (stat(directoryN...
<commit_before>/* * Copyright 2014 Open Connectome Project (http://openconnecto.me) * Written by Da Zheng (zhengda1936@gmail.com) * * This file is part of FlashMatrix. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may...
<commit_before>#ifndef ITER_COMBINATIONS_HPP_ #define ITER_COMBINATIONS_HPP_ #include "iterbase.hpp" #include "iteratoriterator.hpp" #include <vector> #include <type_traits> #include <iterator> #include <initializer_list> namespace iter { template <typename Container> class Combinator; template <typenam...
<commit_before>#include "sys/mman.h" #include "sys/types.h" #include "sys/stat.h" #include "sys/time.h" #include "time.h" #include "fcntl.h" #include "dlfcn.h" #include "errno.h" #include "pthread.h" #include "stdint.h" #ifdef __i386__ extern "C" uint64_t cdeclCall(void* function, void* stack, unsigned stackSize, ...
<commit_before>/*----------------------------------------------------*/ /*--Author: Harrys Kon (Charalambos Konstantinou)-----*/ /*--W: https://harrys.fyi/----------------------------*/ /*--E: konharrys@gmail.com----------------------------*/ /*----------------------------------------------------*/ #include "systab.h" ...
<commit_before>#include <iostream> using namespace std; int main() { cout << "Hello World" << endl; //Print out Hello World cout << "Aaron Skomra" << endl; //Edit Hello World to print out your name cout << "David Snyder" << endl; return 0; } <commit_msg>edited helloworld.cpp to print my name<commit_after...
<commit_before>/* Copyright (C) 2012,2013 IBM Corp. * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This progr...
<commit_before>#include "Board.h" #include "Patterns/PatternMatcher.h" Board::Board(int boardSize) { InitialiseEmpty(boardSize); } Board::Board(Colour colourToMove, const std::vector<std::string>& s) { InitialiseEmpty(s.size()); // Ensure that it's square. assert(s.size() == s[0].size()); int lo...
<commit_before>/***************************************************************************** * ctrl_radialslider.cpp ***************************************************************************** * Copyright (C) 2003 the VideoLAN team * $Id$ * * Authors: Cyril Deguet <asmax@via.ecp.fr> * Olivier Teu...
<commit_before>/* * compose * compose a function call * This macro takes as input a Method object and composes * a function call by inspecting the types and argument names */ {% macro compose(fun) %} {# ----------- Return type ------------- #} {%- if not fun.rtp|void and not fun.constructor -%} retval = {% end...
<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>/*** twsgen.cpp -- twsxml converter and job generator * * Copyright (C) 2011 Ruediger Meier * * Author: Ruediger Meier <sweet_f_a@gmx.de> * * This file is part of twstools. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the fol...
<commit_before>#include <neat-socketapi.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> static const char* properties = "{\ \"transport\": [\ {\ \"value\": \"TCP\",\ \"precedence\": 1\ }\ ]\ }";\ int main(int argc, char** argv) { ...
<commit_before>/* Copyright (c) 2006, MassaRoddel, 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 ...
<commit_before>#ifndef __MODEL_HPP_INCLUDED #define __MODEL_HPP_INCLUDED // Include GLEW #ifndef __GL_GLEW_H_INCLUDED #define __GL_GLEW_H_INCLUDED #include <GL/glew.h> #endif // Include GLFW #ifndef __GLFW3_H_INCLUDED #define __GLFW3_H_INCLUDED #include <glfw3.h> #endif // Include GLM #ifndef __GLM_GLM_HPP_INCLUDED ...
<commit_before>#ifndef __MODEL_HPP_INCLUDED #define __MODEL_HPP_INCLUDED // Include GLEW #ifndef __GL_GLEW_H_INCLUDED #define __GL_GLEW_H_INCLUDED #include <GL/glew.h> #endif // Include GLFW #ifndef __GLFW3_H_INCLUDED #define __GLFW3_H_INCLUDED #include <glfw3.h> #endif // Include GLM #ifndef __GLM_GLM_HPP_INCLUDED ...
<commit_before>/******************************************************************************/ /* */ /* X r d S y s P t h r e a d . c c */ /* ...
<commit_before>#include <ctrcommon/app.hpp> #include <ctrcommon/fs.hpp> #include <ctrcommon/gpu.hpp> #include <ctrcommon/input.hpp> #include <ctrcommon/nor.hpp> #include <ctrcommon/platform.hpp> #include <ctrcommon/ui.hpp> #include "rop.h" #include <sys/errno.h> #include <stdio.h> #include <string.h> #...
<commit_before>#include <iostream> #include "game.hpp" #include <SDL2/SDL.h> #include <thread> #include <chrono> #include <atomic> #ifdef _OPENMP #include <omp.h> #endif // TODO: reorder header includes (std first) // TODO: fix formatting using namespace std::chrono; milliseconds last_frame_time; Scal last_frame_...
<commit_before>#include <vector> #include <stdexcept> #include <opencv2/core/core.hpp> #include "utils.h" namespace icpl { std::vector<std::vector<float>> build_histograms(const cv::Mat &src) { int channels = src.channels(); int rows = src.rows; int cols = src.cols; if (src.step[1] / channels != si...
<commit_before>// スプライン補間 #ifndef SPLINE_H #define SPLINE_H #include <vector> #include <map> #include <algorithm> /******** クラス一覧 ********/ template<class T> class spline; typedef spline<double> Spline; /******** クラスI/F ********/ template<class T> class spline{ public: spline (void); spline (const std::...
<commit_before>/** @file palettetoolbox.cpp * @brief Класс палитры элементов * */ #include <QtGui> #include "palettetoolbox.h" #include "realrepoinfo.h" PaletteToolbox::DraggableElement::DraggableElement(int classid, QWidget *parent/*0*/) : QWidget(parent) { RealRepoInfo info; m_id = classid; m_text = info.ob...
<commit_before>/*! \file * * \brief Various string helper functions (header) * \author Benjamin Pritchard (ben@bennyp.org) */ #ifndef BPMODULE_GUARD_UTIL__STRINGUTIL_HPP_ #define BPMODULE_GUARD_UTIL__STRINGUTIL_HPP_ #include <string> namespace bpmodule { namespace util { /*! \brief Joins each element of a co...
<commit_before>/*********************************************************************** filename: CEGUIFreeImageImageCodec.cpp created: Sun Jun 18th 2006 author: Andrzej Krzysztof Haczewski (aka guyver6) purpose: This codec provide FreeImage based image loading *******************************************************...
<commit_before>/** * This code is auto-generated; unless you know what you're doing, do not modify! **/ #include <v8.h> #include <node.h> #include <string> #include "../include/wrapper.h" #include "node_buffer.h" using namespace v8; using namespace node; Wrapper::Wrapper(void *raw) { this->raw = raw; } void Wra...
<commit_before>// Copyright (c) 2006-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 "chrome/browser/automation/automation_profile_impl.h" #include "chrome/browser/chrome_thread.h" #include "chrome/browser/...
<commit_before>// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/options/wimax_config_view.h" #include "base/string_util.h" #include "base/stringprintf.h" #include "...
<commit_before>/* * Copyright (C) 2015 deipi.com LLC and contributors. 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 limit...
<commit_before>// // TapeUEF.cpp // Clock Signal // // Created by Thomas Harte on 18/01/2016. // Copyright © 2016 Thomas Harte. All rights reserved. // #include "TapeUEF.hpp" #include <string.h> #include <math.h> static float gzgetfloat(gzFile file) { uint8_t bytes[4]; bytes[0] = (uint8_t)gzgetc(file); bytes[1...
<commit_before>#include <dlfcn.h> #include <cstdio> #include <cstring> #include <unistd.h> #include <cstdlib> #include <iostream> #include <fstream> #include <vector> #include <array> #include <string> #define cursor_forward(x) printf("\033[%dC", static_cast<int>(x)) #define cursor_backward(x) printf("\033[%dD", stat...
<commit_before>#include <Rcpp.h> #include <chrono> #include <string> #include <unordered_map> #include "zmq.hpp" typedef std::chrono::high_resolution_clock Time; typedef std::chrono::milliseconds ms; extern Rcpp::Function R_serialize; extern Rcpp::Function R_unserialize; int pending_interrupt(); class ZeroMQ { public...
<commit_before>/* This file is part of Ingen. Copyright 2007-2015 David Robillard <http://drobilla.net/> Ingen 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 ...
<commit_before>//-----------------------------------------------------------------------bl- //-------------------------------------------------------------------------- // // GRINS - General Reacting Incompressible Navier-Stokes // // Copyright (C) 2014-2015 Paul T. Bauman, Roy H. Stogner // Copyright (C) 2010-2013 The...
<commit_before>// Qt includes #include <QtGui> #include <QApplication> // Local includes #include "FluoroPredViz.h" // VTK includes #include <QVTKOpenGLWidget.h> int main(int argc, char** argv) { QSurfaceFormat::setDefaultFormat(QVTKOpenGLWidget::defaultFormat()); QApplication a(argc, argv); FluoroPredViz* w ...
<commit_before>/* * Copyright (c) 2003 The Regents of The University of Michigan * 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 copyri...
<commit_before><commit_msg>Rename rts to rendertargets<commit_after><|endoftext|>
<commit_before>// Copyright (c) 2006-2008 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. // Tests for Watchdog class. #include "base/platform_thread.h" #include "base/spin_wait.h" #include "base/time.h" #include "base/...
<commit_before><commit_msg>Emulate glNamedBufferSubData<commit_after><|endoftext|>
<commit_before>// Created on: 1998-03-11 // Created by: Jean-Louis Frenkel // Copyright (c) 1998-1999 Matra Datavision // Copyright (c) 1999-2012 OPEN CASCADE SAS // // The content of this file is subject to the Open CASCADE Technology Public // License Version 6.5 (the "License"). You may not use the content of this f...
<commit_before>/*** Copyright (C) 2013 Aniket Deole <aniket.deole@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 2.1, as published by the Free Software Foundation. This program is distributed in the hope that it will b...
<commit_before> #include "vtkActor.h" #include "vtkCamera.h" #include "vtkCompositeDataSet.h" #include "vtkCompositeDataDisplayAttributes.h" #include "vtkCompositePolyDataMapper2.h" #include "vtkCullerCollection.h" #include "vtkCylinderSource.h" #include "vtkInformation.h" #include "vtkMath.h" #include "vtkMultiBlockDa...
<commit_before>//------------------------------------------------------------------------ #include <stdio.h> #include <math.h> #include <sstream> #include <string> #include <fstream> #include <random> #include <particle_simulator.hpp> //------------------------------------------------------------------------ const PS::...
<commit_before>#include "musicnetworktestthread.h" #include "musicobject.h" #include <QProcess> #ifdef Q_OS_WIN # ifdef Q_CC_MINGW # include <winsock2.h> # endif # include <windows.h> # include <cstdio> # include <iphlpapi.h> #elif defined Q_OS_UNIX # include <ifaddrs.h> # include <arpa/inet.h> #endif MusicNetworkT...
<commit_before>#include "Channel.hpp" #include "Message.hpp" #include "Network.hpp" #include "PawnDispatcher.hpp" #include "CLog.hpp" #include "Guild.hpp" #include "utils.hpp" #include "fmt/format.h" #undef SendMessage // Windows at its finest Channel::Channel(ChannelId_t pawn_id, json &data, GuildId_t guild_id) :...
<commit_before>// This file is a part of the IncludeOS unikernel - www.includeos.org // // Copyright 2017 Oslo and Akershus University College of Applied Sciences // and Alfred Bratterud // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the Lice...
<commit_before><commit_msg>Add check that the first 2 Loop subgraph inputs have an shape (could be explicit or inferred) as we need to know the rank the subgraph expects. Other inputs to the subgraph are more opaque so we can just pass them through. (#6891)<commit_after><|endoftext|>
<commit_before>//============================================================================= // ■ map.cpp //----------------------------------------------------------------------------- // 地图类 //============================================================================= #include "tiled_map.hpp" #include "glm/gtc...
<commit_before>#include <boost/intrusive_ptr.hpp> #include <boost/program_options.hpp> #include <curl/curl.h> #include <iostream> #include <iomanip> #include "auth_plus.h" #include "ostree_object.h" #include "ostree_ref.h" #include "ostree_repo.h" #include "treehub_server.h" #include "request_pool.h" namespace po = b...
<commit_before>// -*- c-basic-offset: 2 -*- /* * This file is part of the KDE libraries * Copyright (C) 2003 Apple Computer, Inc. * * 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 Foundati...
<commit_before>#include "Context.h" #include <cmath> #include <iostream> using namespace std; using namespace canvas; void Context::resize(unsigned int _width, unsigned int _height) { width = _width; height = _height; getDefaultSurface().resize(_width, _height); } void Context::fillRect(double x, double y, do...
<commit_before>#include "Phase.h" #define LOG_OUT 1 #include <FHT.h> bool Phase::update(float linearAcceleration) { int newMillis = millis(); int elaspedMillis = newMillis - _lastUpdateMS; if (elaspedMillis > _intervalMS + 10) { Serial.print("E: phase time: "); Serial.println(elaspedMillis); }...
<commit_before>/* * Copyright (c) 2015, Cryptonomex, Inc. * All rights reserved. * * This source code is provided for evaluation in private test networks only, until September 8, 2015. After this date, this license expires and * the code may not be used, modified or distributed for any purpose. Redistribution and ...
<commit_before>#include <iostream> #include <string> #include <cassert> #include "CubeCmd.h" #include "HdfWriter.h" #include "TextWriter.h" #include "VtkWriter.h" #include "StringUtils.h" using namespace std; using namespace cigma; // --------------------------------------------------------------------------- cigma...
<commit_before>// Copyright 2014 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/ui/browser.h" #include "components/usb_service/usb_servic...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: abpservices.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: obo $ $Date: 2006-09-16 12:51:30 $ * * The Contents of this file are m...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: pcrcommon.hxx,v $ * * $Revision: 1.7 $ * * last change: $Author: kz $ $Date: 2008-03-05 17:13:20 $ * * The Contents of this file are made...
<commit_before>// Copyright (c) 2006-2008 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/message_loop.h" #include "chrome/browser/browser.h" #include "chrome/browser/renderer_host/render_view_host.h" #inc...
<commit_before>// Copyright (c) 2008-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 "chrome/browser/history/history_publisher.h" #include <atlsafe.h> #include <objbase.h> #include <oleauto.h> #include <wt...
<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/common/extensions/extension_constants.h" namespace extension_manifest_keys { const char* kAllFrames = "all_frames"; ...
<commit_before>// Copyright 2014 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/metrics/thread_watcher_report_hang.h" // We disable optimizations for the whole file so the compiler doesn't merg...
<commit_before>// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/sync/glue/generic_change_processor.h" #include "base/location.h" #include "base/string_number_conversions.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 "base/message_loop.h" #include "chrome/browser/ui/panels/base_panel_browser_test.h" #include "chrome/browser/ui/panels/docked_...
<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 "base/command_line.h" #include "base/string16.h" #include "base/test/test_timeouts.h" #include "base/utf_string_conversions.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 <string> #include "base/at_exit.h" #include "base/command_line.h" #include "base/file_path.h" #include "base/file_util.h" #in...
<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/keyboard_codes.h" #include "chrome/test/automation/browser_proxy.h" #include "chrome/test/automation/tab_proxy.h" #inclu...
<commit_before>// Copyright (c) 2010, Lawrence Livermore National Security, LLC. Produced at // the Lawrence Livermore National Laboratory. LLNL-CODE-443211. All Rights // reserved. See file COPYRIGHT for details. // // This file is part of the MFEM library. For more information and source code // availability see http...
<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/keyboard_codes.h" #include "chrome/test/automation/browser_proxy.h" #include "chrome/test/automation/tab_proxy.h" #inclu...