text stringlengths 54 60.6k |
|---|
<commit_before>/*
* Copyright (c) 2010 by Cristian Maglie <c.maglie@bug.st>
* Copyright (c) 2014 by Paul Stoffregen <paul@pjrc.com> (Transaction API)
* Copyright (c) 2014 by Matthijs Kooijman <matthijs@stdin.nl> (SPISettings AVR)
* Copyright (c) 2014 by Andrew J. Kroll <xxxajk@gmail.com> (atomicity fixes)
* SPI Ma... |
<commit_before>
#include <list>
#ifndef _WIN32
#include <unistd.h>
#endif
#include <QPixmap>
#include <QWindow>
#include <QGuiApplication>
#include <QWidget>
#include <QColor>
#include <QDesktopServices>
#include <utils/ColorRgb.h>
#include <effectengine/EffectDefinition.h>
#include <webserver/WebServer.h>
#include "... |
<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/frame/caption_buttons/frame_caption_button.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/animation/slide... |
<commit_before>#include "SkImageRef.h"
#include "SkBitmap.h"
#include "SkFlattenable.h"
#include "SkImageDecoder.h"
#include "SkStream.h"
#include "SkTemplates.h"
#include "SkThread.h"
// can't be static, as SkImageRef_Pool needs to see it
SkMutex gImageRefMutex;
//////////////////////////////////////////////////////... |
<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) 2013 Joshua Beitler, Mirus contributors
// 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 ... |
<commit_before>//
// yas_audio_device_io.cpp
//
#include "yas_audio_engine_device_io.h"
#if (TARGET_OS_MAC && !TARGET_OS_IPHONE)
#include <iostream>
#include "yas_audio_device.h"
#include "yas_audio_device_io.h"
#include "yas_audio_engine_tap.h"
#include "yas_audio_graph.h"
#include "yas_audio_time.h"
#include "yas... |
<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>/******************************************************************************
* SOFA, Simulation Open-Framework Architecture, development version *
* (c) 2006-2015 INRIA, USTL, UJF, CNRS, MGH *
* ... |
<commit_before>#include "binary.h"
#include "arduino_gpio.hpp"
#include "arduino_clock.hpp"
#include "arduino_spi.hpp"
#include "arduino_serial.hpp"
#include "arduino_wire.hpp"
#include "Print.hpp"
using namespace ::arduino::gpio;
using namespace ::arduino::clock;
using namespace ::arduino::wire;
using namespace ::ard... |
<commit_before>/****************************************************************************
*
* Copyright (c) 2019-2020 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are me... |
<commit_before>// The "Square Detector" program.
// It loads several images sequentially and tries to find squares in
// each image
#include "opencv2/core/core.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp"
#include <iostream>
#include <math.h>
#include <string.h>
#include <stdio.h... |
<commit_before>#ifndef DLG_NEWPART_H
#define DLG_NEWPART_H
#include "../Partmod/disk.h"
//(*Headers(DlgNewPart)
#include <wx/stattext.h>
#include <wx/spinctrl.h>
#include <wx/choice.h>
#include <wx/button.h>
#include <wx/dialog.h>
//*)
class DlgNewPart: public wxDialog
{
public:
DlgNewPart(wxWindow* parent);
... |
<commit_before>enum TagType
{
TAG_UI_CONTAINER =0,
TAG_BUTTON,
TAG_LISTBOX,//No extra details
TAG_TEXTFIELD,
TAG_SCROLLBAR,
TAG_LABEL,
TAG_DYNAMIC_IMAGE,
TAG_LABEL_FONT,
TAG_IMAGE = 12//No extra details
};
#define TAUI_ATTRIBUTE_SCROLLBAR_HORIZONTAL 1
#define TAUI_ATTRIBUTE_SCROLLB... |
<commit_before>
// Qt includes
#include <QApplication>
#include <QTimer>
#include <QDebug>
// Visomics includes
#include <voDelimitedTextImportDialog.h>
// STD includes
#include <cstdlib>
//-----------------------------------------------------------------------------
int voDelimitedTextImportDialogTest(int argc, cha... |
<commit_before>#ifndef MAIN_HPP
#define MAIN_HPP
#include"bev_thrust.hpp"
#include"cuda_error_check.hpp"
#include"preprocess.hpp"
#include"rgb2gray.hpp"
#endif
<commit_msg>Updated Header<commit_after>#ifndef MAIN_HPP
#define MAIN_HPP
#include"bev_thrust.hpp"
#include"cuda_error_check.hpp"
#include"preprocess.hpp"... |
<commit_before>#include "Task.hpp"
#include <iostream>
std::string Task::getName() {
return name;
}
std::string Task::getDescription() {
return description;
}
std::string Task::getAssignee() {
return assignee;
}
int Task::getdueDate() {
return dueDate;
}<commit_msg>TaskyClassy<commit_after>#include "Task.hpp"
#... |
<commit_before>/*
* Copyright (c) 2007 The Hewlett-Packard Development Company
* All rights reserved.
*
* Redistribution and use of this software in source and binary forms,
* with or without modification, are permitted provided that the
* following conditions are met:
*
* The software must be used only for Non... |
<commit_before>#include "include/Node.hpp"
#include "include/Tree.hpp"
#include <cstddef>
#include <iostream>
int main() {
Node< std::string >* node = new Node< std::string >( 1, "Lorhan", nullptr, nullptr );
std::cout << node->getValue() << std::endl;
std::cout << node->left << std::endl;
std::cout <<... |
<commit_before>#include "behaviour_xsensfollowing.h"
#include <QtGui>
#include <Behaviour_XsensFollowing/xsensfollowingform.h>
#include <Framework/Angles.h>
Behaviour_XsensFollowing::Behaviour_XsensFollowing(QString id, Module_ThrusterControlLoop *tcl, Module_XsensMTi *xsens)
: RobotBehaviour(id)
{
this->xsens... |
<commit_before>/*
* yosys -- Yosys Open SYnthesis Suite
*
* Copyright (C) 2012 Clifford Wolf <clifford@clifford.at>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission ... |
<commit_before>/*
* yosys -- Yosys Open SYnthesis Suite
*
* Copyright (C) 2012 Clifford Wolf <clifford@clifford.at>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission no... |
<commit_before>/*
* Nouncer Implementation
*/
#include "nouncer.h"
/*
* Assembles the map<word,phoneme> dictionary by reading one line at a time,
* separating the word from the pronunciation, encoding the phoneme, and
* putting the pair in the map
*/
std::vector<char> Nouncer::cons = {
'9',':',';','<','I','J... |
<commit_before>/***************************************************************************
* ALMA - Atacama Large Millimiter Array
* (c) European Southern Observatory, 2002
* Copyright by ESO (in the framework of the ALMA collaboration)
* and Cosylab 2002, All rights reserved
*
* This library is free so... |
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2018. All rights reserved
*/
#include "../StroikaPreComp.h"
#include <algorithm>
#include <cstdlib>
#include "../../Foundation/Characters/FloatConversion.h"
#include "../../Foundation/Characters/Format.h"
#include "../../Foundation/Characters/String2Int... |
<commit_before>//
// Created by Kyle on 5/11/2016.
//
#include "GLWindow.h"
Peon::GLWindow::GLWindow(const GLVideoMode & videoMode,
const GLContextSettings & ctxSettings,
const GLWindowSettings & windowSettings)
: mIsFullscreen(false),
mIsVsyncEnabled(false),
mFullscreenMonitor(nullptr),
... |
<commit_before>#pragma once
#include "stdafx.h"
#include "TimeoutGuard.h"
namespace utility
{
TimeoutGuard::TimeoutGuard(
clock::duration timeout,
std::function<void( void )> alarm,
clock::duration naptime
)
: timeout( timeout )
, alarm( alarm )
, naptime( naptime )
{
idle.store( true );
live.store... |
<commit_before>/***************************************************************************
* Copyright (C) 2006 by FThauer FHammer *
* f.thauer@web.de *
* *
* This program is free software; you can redistribute it and/or modify *
*... |
<commit_before>#include "musicnetworktestwidget.h"
#include "ui_musicnetworktestwidget.h"
#include "musicbgthememanager.h"
#include "musicuiobject.h"
#include "musicnetworktestthread.h"
#include "musicutils.h"
#include "musicdatadownloadthread.h"
#include "musicmessagebox.h"
MusicNetworkTestWidget::MusicNetworkTestWid... |
<commit_before>/*
* Copyright (C) 2019 German Aerospace Center (DLR/SC)
*
* Created: 2019-05-14 Martin Siggel <Martin.Siggel@dlr.de> with Marko Alder <Marko.Alder@dlr.de>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obt... |
<commit_before>#include "Tutorial4ActorModule.h"
#include "NFComm/NFCore/NFTimer.h"
#include <thread>
bool HelloWorld4ActorModule::Init()
{
//ʼ
std::cout << "Hello, world4, Init ThreadID: " << std::this_thread::get_id() << std::endl;
return true;
}
int HelloWorld4ActorModule::OnASyncEvent(const NFIDENTID... |
<commit_before>/* Copyright (c) 2021 PaddlePaddle 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 ap... |
<commit_before>// Time: O(n)
// Space: O(1)
// DP with rolling window.
class Solution {
public:
/**
* @param values: a vector of integers
* @return: a boolean which equals to true if the first player will win
*/
bool firstWillWin(vector<int> &values) {
vector<int> P(5, 0);
int s... |
<commit_before>/*
This file is part of Magnum.
Original authors — credit is appreciated but not required:
2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 —
Vladimír Vondruš <mosra@centrum.cz>
2015 — Jonathan Hale <squareys@googlemail.com>
This is free and unencumbered sof... |
<commit_before>/*******************************************************
* Copyright (c) 2017, ArrayFire
* All rights reserved.
*
* This file is distributed under 3-clause BSD license.
* The complete license agreement can be obtained at:
* http://arrayfire.com/licenses/BSD-3-Clause
*******************************... |
<commit_before>/*-------------------------------------------------------------------------
*
* dll.cpp
* file description
*
* Copyright(c) 2015, CMU
*
* /n-store/src/bridge/ddl.cpp
*
*-------------------------------------------------------------------------
*/
#include "postgres.h"
#include "c.h"
#include "... |
<commit_before>// ParallelExecutionOfCommands.cpp :
// This aplication aims to provide functionality for parallel execution of Behat commands.
//
//#include "stdafx.h"
#include <iostream>
#include <string>
#include <cstring>
#include <stdlib.h>
//#include <unistd.h>
#include <thread>
using namespace std;
int main()... |
<commit_before>// BenchmarkRegex.cpp : Defines the entry point for the console application.
//
#include <vector>
#include <iostream>
#include <iomanip>
#include <string>
#include <cstring>
#include <cmath>
#include <cassert>
#include <sstream>
#include <cstdlib>
#include <chrono>
#include <regex>
#include <map>
#inc... |
<commit_before>// MolarMass.cpp
// This program should loop through the csv file Atomic Masses.csv and sum the masses of elements
#include <iostream>
#include <fstream>
#include <string>
#include <stdlib.h>
//#include <sstream>
int main()
{
string line; // Holds the line in the file
string element; //The variable ... |
<commit_before>#include "MoveDummy.h"
#include "ObjectDummy.h"
#include "BodyDummy.h"
#include "ShapeCapsule.h"
#include "Utils.h"
#include "Engine.h"
#include "Physics.h"
#include "Game.h"
#include "World.h"
#define MOVE_DUMMY_IFPS (1.0f/100.0f)
#define MOVE_DUMMY_CLAMP 89.9f
#define MOVE_DUMMY_COLLISI... |
<commit_before>/*
* Copyright (C) 2020 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>/*
* Copyright (C) 2019 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>/*
* This file is a part of Xpiks - cross platform application for
* keywording and uploading images for microstocks
* Copyright (C) 2014-2017 Taras Kushnir <kushnirTV@gmail.com>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not ... |
<commit_before>// Copyright (c) 2014-2016 SSPA Sweden AB
#pragma once
#include <vector>
#include <map>
#include <utility>
#include <string>
#include <memory>
#include "PysimTypes.hpp"
struct Dptr;
class StoreHandler{
public:
StoreHandler();
virtual ~StoreHandler();
void doStoreStep(double time);
... |
<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 distributed WIT... |
<commit_before>/*M///////////////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2015, Youssef Kashef
// Copyright (c) 2015, ELM Library Project
// 3-clause BSD License
//
//M*/
#include "elm/layers/imagegradient.h"
#include "gtest/gtest.h"
#include <memory>
#include "elm... |
<commit_before>
//
// This source file is part of appleseed.
// Visit http://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2012 Francois Beaune, Jupiter Jazz Limited
//
// Permission is hereby granted, free of charge, to any pe... |
<commit_before>/* Copyright 2016 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by appl... |
<commit_before>/* 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>#pragma once
#include <unistd.h>
#include "constants.hpp"
#include "local_datagram_client.hpp"
#include "userspace_defs.h"
class grabber_client final {
public:
grabber_client(void) : client_(constants::get_grabber_socket_file_path()) {}
void connect(void) {
krbn_operation_type_connect data;
... |
<commit_before>#include "stdafx.h"
#include "SnoopTest.h"
class UpBroadcastListener:
public virtual EventReceiver
{
public:
virtual void SimpleCall(void) {}
};
class SnoopTestBase:
public UpBroadcastListener
{
public:
SnoopTestBase(void):
m_simpleCall(false)
{}
bool m_simpleCall;
void SimpleCall(v... |
<commit_before>#include <stan/math/prim/mat.hpp>
#include <gtest/gtest.h>
#ifdef STAN_OPENCL
#include <stan/math/opencl/opencl_context.hpp>
#include <stan/math/opencl/multiply.hpp>
#include <stan/math/opencl/copy.hpp>
#include <stan/math/opencl/lower_tri_inverse.hpp>
#include <boost/random/mersenne_twister.hpp>
#endif... |
<commit_before>#include "stdafx.h"
#include "Game.h"
int Game::MainLoop()
{
HRESULT hRes = 0;
int res = 0;
RECT rect;
SetRect(&rect, 10, 10, 200, 50);
int fps = 0;
int frameCount = 0;
double dt = 0;
double dtAcc = 0;
LARGE_INTEGER accTimePrecStart;
LARGE_INTEGER accTimePrecEnd;
LARGE_INTEGER accTimePrec... |
<commit_before>#include "GameBoardLayer.h"
#include "GameManager.h"
#include "CMO_tile.h"
#include "CMO_dot.h"
#include "CMO_line.h"
#include "CMO_item.h"
USING_NS_CC;
bool CGameBoardLayer::init()
{
//////////////////////////////
// 1. super init first
if ( !CCLayer::init() )
{
return false;
}
//////////////... |
<commit_before>// $Id$
//
// Copyright (C) 2014 Greg Landrum and Rational Discovery LLC
//
// @@ All Rights Reserved @@
// This file is part of the RDKit.
// The contents are covered by the terms of the BSD license
// which is included in the file license.txt, found at the root
// of the RDKit source tree.
//
#... |
<commit_before>/**
* File : D.cpp
* Author : Kazune Takahashi
* Created : 2018-7-14 22:46:09
* Powered by Visual Studio Code
*/
#include <iostream>
#include <iomanip> // << fixed << setprecision(xxx)
#include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ;
#include <vector>
#include <string> //... |
<commit_before>#define DEBUG 1
/**
* File : F.cpp
* Author : Kazune Takahashi
* Created : 5/16/2020, 9:50:51 PM
* Powered by Visual Studio Code
*/
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cctype>
#include <chrono>
#include <cmath>
#include <complex>
#include <cstdint>
#include <cstdi... |
<commit_before>#define DEBUG 1
/**
* File : D.cpp
* Author : Kazune Takahashi
* Created : 6/9/2019, 9:09:02 PM
* Powered by Visual Studio Code
*/
#include <iostream>
#include <iomanip>
#include <algorithm>
#include <vector>
#include <string>
#include <complex>
#include <tuple>
#include <queue>
#include <stac... |
<commit_before>#define DEBUG 1
/**
* File : E.cpp
* Author : Kazune Takahashi
* Created : 7/7/2019, 9:44:50 PM
* Powered by Visual Studio Code
*/
#include <iostream>
#include <iomanip>
#include <algorithm>
#include <vector>
#include <string>
#include <complex>
#include <tuple>
#include <queue>
#include <stack>... |
<commit_before>#define DEBUG 1
/**
* File : E.cpp
* Author : Kazune Takahashi
* Created : 8/12/2019, 7:02:46 PM
* Powered by Visual Studio Code
*/
#include <iostream>
#include <iomanip>
#include <algorithm>
#include <vector>
#include <string>
#include <complex>
#include <tuple>
#include <queue>
#include <stack... |
<commit_before>#define DEBUG 1
/**
* File : E.cpp
* Author : Kazune Takahashi
* Created : 11/18/2019, 8:58:07 PM
* Powered by Visual Studio Code
*/
#include <iostream>
#include <iomanip>
#include <algorithm>
#include <vector>
#include <string>
#include <complex>
#include <tuple>
#include <queue>
#include <stac... |
<commit_before>#define DEBUG 1
/**
* File : E.cpp
* Author : Kazune Takahashi
* Created : 6/8/2020, 2:28:47 PM
* Powered by Visual Studio Code
*/
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cctype>
#include <chrono>
#include <climits>
#include <cmath>
#include <complex>
#include <cstdin... |
<commit_before>#define DEBUG 1
/**
* File : B.cpp
* Author : Kazune Takahashi
* Created : 3/21/2020, 10:21:50 PM
* Powered by Visual Studio Code
*/
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cctype>
#include <chrono>
#include <cmath>
#include <complex>
#include <cstdint>
#include <cstd... |
<commit_before>#include "ovassvep_defines.h"
#include <openvibe/ov_all.h>
#include <toolkit/ovtk_all.h>
#include <openvibe/ov_directories.h>
#include "ovassvepCApplication.h"
#include "GenericStimulator/ovassvepCGenericStimulatorApplication.h"
#include "Impact/ovassvepCImpactApplication.h"
using namespace OpenViBE;
... |
<commit_before>#include "profilerui.h"
#include "ui_profilerui.h"
#include <qpainter.h>
#include <qpixmap.h>
static const int MAX_FRAMES = 200;
ProfileModel::Block::Block()
{
m_frames.reserve(MAX_FRAMES);
for(int i = 0; i < MAX_FRAMES; ++i)
{
m_frames.push_back(0);
}
m_hit_counts.reserve(MAX_FRAMES);
for (int... |
<commit_before>/***************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (testabilitydriver@nokia.com)
**
** This file is part of Testability Driver Qt Agent
**
** If y... |
<commit_before>#include "Application.h"
#include "Module.h"
#include "ModuleScripting.h"
#include "ModuleAudio.h"
#include "ModuleCamera3D.h"
#include "ModuleFileSystem.h"
#include "ModuleGOManager.h"
#include "ModuleInput.h"
#include "ModuleSceneIntro.h"
#include "ModuleLighting.h"
#include "ModulePhysics3D.h"
#inclu... |
<commit_before>// Copyright (c) 2015, RangerUFO
// 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>// 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 "android_webview/native/aw_autofill_manager_delegate.h"
#include "android_webview/browser/aw_browser_context.h"
#include "android... |
<commit_before>#include <algorithm>
#include "application_manager/app_launch/apps_launcher.h"
#include "utils/make_shared.h"
#include "utils/timer_task_impl.h"
#include <iostream>
namespace app_launch {
struct LauncherGenerator {
LauncherGenerator(AppsLauncher& apps_laucnher,
connection_handler::... |
<commit_before>#include "buffer.h"
#include "../sockets/SocketW.h"
#include <iostream>
class user{
public:
user(SWBaseSocket * newConn);
void disconnect(std::string reason);
void Send(buffer ** ringbuf, int buffers);
bool is_connected;
SWUnixSocket * Conn;
int MyBuffer;
int MyBuffer_num;
... |
<commit_before>//===- Chunks.cpp ---------------------------------------------------------===//
//
// The LLVM Linker
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------... |
<commit_before>//
// AKSequencerDSPKernel.hpp
// AudioKit
//
// Created by Jeff Cooper on 1/25/19.
// Copyright © 2019 AudioKit. All rights reserved.
//
#include <stdio.h>
#pragma once
#include <vector>
using std::vector;
#define NOTEON 0x90
#define NOTEOFF 0x80
struct MIDIEvent {
uint8_t status;
uint8_t... |
<commit_before>// Copyright 2010-2014 The CefSharp Project. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
#pragma once
#include "Stdafx.h"
#include "JavascriptPropertyWrapper.h"
#include "JavascriptObjectWrapper.h"
#include "CefAppWrapper... |
<commit_before>//
// Urho3D Engine
// Copyright (c) 2008-2011 Lasse rni
//
// 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>// 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:
//
// * Redistributions of source code must retain the above copyright
// notice, this list ... |
<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 "app/l10n_util.h"
#include "base/file_util.h"
#include "base/string_util.h"
#include "base/utf_string_conversions.h"
#include ... |
<commit_before>/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "ViewShadowNode.h"
#include <react/renderer/components/view/primitives.h>
namespace facebook {
namespace r... |
<commit_before>// $Id$
//**************************************************************************
//* This file is property of and copyright by the ALICE HLT Project *
//* ALICE Experiment at CERN, All rights reserved. *
//* ... |
<commit_before>/*************************************************************************
*
* $RCSfile: MNSInclude.hxx,v $
*
* $Revision: 1.7 $
*
* last change: $Author: obo $ $Date: 2002-10-18 08:51:22 $
*
* The Contents of this file are made available subject to the terms of
* either of the following li... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: vtkGraphLayout.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
... |
<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/extensions/api/serial/serial_connection.h"
#include <windows.h>
#include <string>
namespace extensions {
n... |
<commit_before><commit_msg>Fix issue with selecting proper JNI libraries<commit_after><|endoftext|> |
<commit_before>/*******************************************************************************
Licensed to the OpenCOR team under one or more contributor license agreements.
See the NOTICE.txt file distributed with this work for additional information
regarding copyright ownership. The OpenCOR team licenses this file... |
<commit_before>/*
* Rooms Model - A model of chatrooms.
* Copyright (C) 2012 Dominik Cermak <d.cermak@arcor.de>
*
* 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 ... |
<commit_before>//=============================================================================================================
/**
* @file layoutloader.cpp
* @author Lorenz Esch <lorenz.esch@tu-ilmenau.de>;
* Christoph Dinh <chdinh@nmr.mgh.harvard.edu>;
* Matti Hamalainen <msh@nmr.mgh.harvard.... |
<commit_before><commit_msg>fixed warnings<commit_after><|endoftext|> |
<commit_before>#include "dreal/api/api.h"
#include <gtest/gtest.h>
#include "dreal/solver/formula_evaluator.h"
namespace dreal {
namespace {
class ApiTest : public ::testing::Test {
protected:
const Variable x_{"x", Variable::Type::CONTINUOUS};
const Variable y_{"y", Variable::Type::CONTINUOUS};
const Variab... |
<commit_before>// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/accessibility/browser_accessibility_manager.h"
#include "base/logging.h"
#include "content/browser/accessibi... |
<commit_before>#include "SchedulerTrack.h"
#include "Capture.h"
#include "EventTrack.h"
#include "GlCanvas.h"
#include "TimeGraph.h"
const Color kInactiveColor(100, 100, 100, 255);
const Color kSelectionColor(0, 128, 255, 255);
void SchedulerTrack::Draw(GlCanvas* canvas, bool picking) {
ThreadTrack::Draw(canvas, p... |
<commit_before>// Copyright (C) 2010, 2011 and 2012 Marcin Arkadiusz Skrobiranda.
// 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 ... |
<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/ui/views/frame/app_non_client_frame_view_aura.h"
#include "base/debug/stack_trace.h"
#include "chrome/browser... |
<commit_before>
#include <cmath>
#include <gtest/gtest.h>
#include "drake/systems/plants/constraint/dynamic_constraint.h"
#include "drake/util/eigen_matrix_compare.h"
using drake::util::MatrixCompareType;
namespace drake {
namespace systems {
namespace {
class PendulumTestDynamicConstraint : public DynamicConstrai... |
<commit_before>#ifndef DUNE_COMMON_COLOR_HH
#define DUNE_COMMON_COLOR_HH
#include <sstream>
#include <assert.h>
#include <iostream>
#ifdef __GNUC__
#include <cxxabi.h>
#endif
#include <string>
#include <dune/stuff/common/string.hh>
namespace Dune {
namespace Stuff {
namespace Common {
/**
* @brief namespace to d... |
<commit_before>#include "UpdaterWindow.h"
#include "../3RVX/3RVX.h"
#include "../3RVX/Logger.h"
#include "../3RVX/CommCtl.h"
#include "../3RVX/NotifyIcon.h"
#include "../3RVX/Settings.h"
#include "resource.h"
#include "Updater.h"
UpdaterWindow::UpdaterWindow() :
Window(L"3RVX-UpdateWindow") {
HRESULT hr;
hr =... |
<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 distr... |
<commit_before>/*
* Copyright 2009, 2010 Google 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 applica... |
<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/debugger/devtools_netlog_observer.h"
#include "base/string_tokenizer.h"
#include "base/string_util.h"
#includ... |
<commit_before><commit_msg>DevTools: temporarily disable completion test which fails on Linux<commit_after><|endoftext|> |
<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 "base/command_line.h"
#include "chrome/browser/browser.h"
#include "chrome/browser/debugger/devtools_client_host.h"
#include "... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.