text stringlengths 54 60.6k |
|---|
<commit_before>/*
(c) Gabriel L. Dunne, 2014
*/
#include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
// of stuff
ofSetVerticalSync(true);
ofSetFrameRate(60);
ofEnableDepthTest();
// settings
showHelp = true;
editMode = true;
camMouse = false;
... |
<commit_before>#include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
showHelp = true;
editMode = false;
camMouse = false;
mouseDragging = false;
nearestIndex = 0;
isShaderDirty = true;
// load camera settings
ofxLoadCamera(cam, "cameraSettings");... |
<commit_before>/*
* The Apache Software License, Version 1.1
*
* Copyright (c) 1999 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>/*************************************************************************/
/* editor_plugin_settings.cpp */
/*************************************************************************/
/* This file is part of: */
/... |
<commit_before>/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2017 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
... |
<commit_before>#ifndef DEDICATED_ONLY
#include "animators.h"
#include "base_animator.h"
#include "sprite_set.h"
#include "gusanos/allegro.h"
AnimPingPong::AnimPingPong( SpriteSet* sprite, int duration )
: BaseAnimator(0), m_totalFrames(sprite->getFramesWidth())
, m_duration(duration), m_animPos(duration)
{
if(m_to... |
<commit_before>#include "test.h"
#include "TestUtils.h"
#include <fstream>
#include <sstream>
#include "CmakeRegen.h"
#include "Component.h"
#include "Configuration.h"
#include "FstreamInclude.h"
TEST(MakeCmakeComment_Oneline) {
const std::string contents("A oneline comment");
const std::string expectedComment("... |
<commit_before>/*
* Copyright (c) 2014 The WebM 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>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/memory/lib/workarounds/seq_... |
<commit_before>#pragma once
#include "../../support/index/Logics.hpp"
#include "../../frontend/Logic.hpp"
#include "../../tags/Cardinality.hpp"
#include "../../support/cardinality.hpp"
#include <boost/tuple/tuple.hpp>
namespace metaSMT {
namespace support {
namespace idx {
namespace cardtags = metaSMT::log... |
<commit_before>#include <mantella_bits/optimisationAlgorithm/samplingBasedOptimisationAlgorithm/gridSearch.hpp>
// Mantella
#include <mantella_bits/helper/assert.hpp>
namespace mant {
GridSearch::GridSearch(
const std::shared_ptr<OptimisationProblem> optimisationProblem)
: SamplingBasedOptimisationAlgorit... |
<commit_before>#include "./rgtag.h"
#include <id3v2tag.h>
#include <textidentificationframe.h>
#include <relativevolumeframe.h>
#include <xiphcomment.h>
#include <apetag.h>
#include <mpegfile.h>
#include <flacfile.h>
#include <oggfile.h>
#include <vorbisfile.h>
#include <mpcfile.h>
#include <wavpackfile.h>
#include ... |
<commit_before>#include <cassert>
#include <string>
#include <vector>
#include <map>
#include "variable.h"
#include "formula.h"
#include "registry.h"
using namespace std;
extern bool CaselessStrCmp(const string& lhs, const string& rhs);
#ifndef NSBML
#include "sbmlx.h"
// SBase objects no longer have IDs :( //update... |
<commit_before>#include "./shadow_constraint_drawer.h"
#include <Eigen/Core>
#include <Eigen/Geometry>
#include <vector>
#include "../utils/memory.h"
#include "../graphics/vertex_array.h"
#include "./constraint_drawer.h"
ShadowConstraintDrawer::ShadowConstraintDrawer(
int width, int height)
: width(width), heigh... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses... |
<commit_before>/**
* The Seeks proxy and plugin framework are part of the SEEKS project.
* Copyright (C) 2010 Laurent Peuch <cortex@worlddomination.be>
*
* 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... |
<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>
#include "sync.h"
#include "net.h"
#include "key.h"
#include "util.h"
#include "base58.h"
#include "protocol.h"
#include "spork.h"
#include "main.h"
#include "masternode-budget.h"
#include <boost/lexical_cast.hpp>
using namespace std;
using namespace boost;
class CSporkMessage;
class CSporkManager;
... |
<commit_before>#include "gason2.h"
#include "gason2dump.h"
#include <stdio.h>
#include <stdlib.h>
struct Stat {
size_t objectCount;
size_t arrayCount;
size_t numberCount;
size_t stringCount;
size_t trueCount;
size_t falseCount;
size_t nullCount;
size_t memberCount; // Number of member... |
<commit_before>
#if !defined(MAX_TIMERS)
#define MAX_TIMERS MAX_WORKER_THREADS
#endif
typedef int (*taction)(void *arg);
struct timer {
double time;
double period;
taction action;
void * arg;
};
struct timers {
pthread_t threadid; /* Timer thread ID */
pthread_mut... |
<commit_before>#include <cstdio>
#include <iostream>
#include <QtUiTools>
#include <QtDebug>
#include "med/MedException.hpp"
#include "med/MedCommon.hpp"
#include "ui/Ui.hpp"
#include "ui/ProcessEventListener.hpp"
#include "ui/ScanTreeEventListener.hpp"
#include "ui/StoreTreeEventListener.hpp"
#include "ui/ComboBoxDe... |
<commit_before>/*
This file is part of the PhantomJS project from Ofi Labs.
Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@gmail.com>
Copyright (C) 2011 Ivan De Marino <ivan.de.marino@gmail.com>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the... |
<commit_before>#ifndef window_hh_INCLUDED
#define window_hh_INCLUDED
#include "editor.hh"
#include "display_buffer.hh"
#include "completion.hh"
#include "highlighter.hh"
#include "highlighter.hh"
#include "hook_manager.hh"
#include "option_manager.hh"
namespace Kakoune
{
// A Window is an editing view onto a Buffer
... |
<commit_before>/**********************************
** Tsunagari Tile Engine **
** world.cpp **
** Copyright 2014 PariahSoft LLC **
**********************************/
// **********
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associ... |
<commit_before>/*
* Jamoma DSP Soundfile Recorder
* Copyright © 2010, Tim Place
*
* License: This code is licensed under the terms of the "New BSD License"
* http://creativecommons.org/licenses/BSD/
*/
#include "TTSoundfileRecorder.h"
#define thisTTClass TTSoundfileRecorder
#define thisTTClassName "soundfi... |
<commit_before>/*
************************************************************************
* HardwareSerial.cpp
*
* Arduino core files for MSP430
* Copyright (c) 2012 Robert Wessels. All right reserved.
*
*
***********************************************************************
Derived from:
Hardwa... |
<commit_before>// Copyright (c) 2020 by Robert Bosch GmbH. 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
//
// ... |
<commit_before>/*
* Copyright (c) 2012, The University of Oxford
* 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,
... |
<commit_before>#pragma once
#ifndef OPENGM_GRIDSEARCH_LEARNER_HXX
#define OPENGM_GRIDSEARCH_LEARNER_HXX
#include <vector>
#include <opengm/functions/learnablefunction.hxx>
namespace opengm {
namespace learning {
template<class DATASET>
class GridSearchLearner
{
public:
typedef ty... |
<commit_before>#ifndef TWISTEDCPP_BYTE_RECEIVER_PARSER
#define TWISTEDCPP_BYTE_RECEIVER_PARSER
#include "../byte_receiver.hpp"
#include <vector>
#include <cstddef>
#include <boost/range/iterator_range.hpp>
#include <boost/container/vector.hpp>
#include <boost/container/container_fwd.hpp>
namespace twisted {
namesp... |
<commit_before><commit_msg>implementado y aplicado método CLAHE a las texturas del iris segmentadas #closed 21<commit_after><|endoftext|> |
<commit_before>/*
* This file is part of TelepathyQt4
*
* Copyright (C) 2008 Collabora Ltd. <http://www.collabora.co.uk/>
* Copyright (C) 2008 Nokia Corporation
*
* 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 b... |
<commit_before>/*
* This file is part of TelepathyQt4
*
* Copyright (C) 2010 Collabora Ltd. <http://www.collabora.co.uk/>
* Copyright (C) 2010 Nokia Corporation
*
* 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 b... |
<commit_before>/*
* Radio device interface with sample rate conversion
* Written by Thomas Tsou <tom@tsou.cc>
*
* Copyright 2011, 2012, 2013 Free Software Foundation, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as pub... |
<commit_before>#include "CodeGen_PTX_Dev.h"
#include "IROperator.h"
#include "IRPrinter.h"
#include "Debug.h"
#include "Target.h"
#include "LLVM_Headers.h"
// This is declared in NVPTX.h, which is not exported. Ugly, but seems better than
// hardcoding a path to the .h file.
#if WITH_PTX
namespace llvm { ModulePass *c... |
<commit_before>#include "DactApplication.hh"
#include <QFileOpenEvent>
DactApplication::DactApplication(int &argc, char** argv)
:
QApplication(argc, argv),
d_mainWindow(0)
{
//d_mainWindow = new DactMainWindow();
}
void DactApplication::init()
{
d_mainWindow.reset(new MainWindow());
d_mainWindow->show();... |
<commit_before>//
// This file is a part of pomerol - a scientific ED code for obtaining
// properties of a Hubbard model on a finite-size lattice
//
// Copyright (C) 2010-2012 Andrey Antipov <Andrey.E.Antipov@gmail.com>
// Copyright (C) 2010-2012 Igor Krivenko <Igor.S.Krivenko@gmail.com>
//
// pomerol is free softwa... |
<commit_before>#include "Moves/Pawn_Move.h"
#include "Moves/Move.h"
#include "Game/Board.h"
Pawn_Move::Pawn_Move(Color color_in) : Move(0, (color_in == WHITE ? 1 : -1))
{
}
Pawn_Move::~Pawn_Move()
{
}
bool Pawn_Move::move_specific_legal(const Board& board, char file_start, int rank_start) const
{
return rank_sta... |
<commit_before>/*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2020-2022 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permit... |
<commit_before>/*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2013-2016 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permit... |
<commit_before>/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2012 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (qt-info@nokia.com)
**
**
** GNU Lesser General Public License Usage
**
** This file m... |
<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/android/new_tab_page_prefs.h"
#include <jni.h>
#include "base/android/jni_string.h"
#include "base/prefs/pref_se... |
<commit_before>// IFC SDK : IFC2X3 C++ Early Classes
// Copyright (C) 2009 CSTB
//
// 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 o... |
<commit_before>/** Copyright (C) 2017 Ultimaker - Released under terms of the AGPLv3 License */
#include <iterator>
#include <algorithm>
#include <math.h>
#include "AdaptiveLayerHeights.h"
namespace cura
{
AdaptiveLayer::AdaptiveLayer(int layer_height)
{
this->layer_height = layer_height;
}
Adapt... |
<commit_before>/*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 1999 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>#ifndef STAN_SERVICES_UTIL_INITIALIZE_HPP
#define STAN_SERVICES_UTIL_INITIALIZE_HPP
#include <stan/io/var_context.hpp>
#include <stan/io/random_var_context.hpp>
#include <stan/io/chained_var_context.hpp>
#include <stan/model/util.hpp>
#include <sstream>
#include <vector>
namespace stan {
namespace se... |
<commit_before>
#include "Ext.h"
#include <llvm/IR/Function.h>
#include <llvm/IR/TypeBuilder.h>
#include <llvm/IR/IntrinsicInst.h>
//#include <libdevcrypto/SHA3.h>
//#include <libevm/FeeStructure.h>
#include "RuntimeManager.h"
#include "Memory.h"
#include "Type.h"
#include "Endianness.h"
namespace dev
{
namespace e... |
<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/app/chrome_breakpad_client.h"
#include "base/atomicops.h"
#include "base/command_line.h"
#include "base/environment.h"
#i... |
<commit_before>#include "lux.hpp"
#include "cblas.h"
// Convert from strings to CBLAS enumerations
template <>
enum CBLAS_ORDER lux_to<enum CBLAS_ORDER>(lua_State *state, int stack)
{
auto arg = lua_tostring(state, stack);
switch (*arg)
{
case 'r':
case 'R':
return CblasRowMajor;
case 'c':
case 'C':
return... |
<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 "chrome/common/common_param_traits.h"
#include "base/gfx/rect.h"
#include "googleurl/src/gurl.h"
#ifndef EXCLUDE_SKIA_DE... |
<commit_before>#pragma once
#include <optional>
#include <tuple>
#include <vector>
#include <utility>
#pragma GCC diagnostic push
#ifdef __clang__
// 8.0.1
#pragma GCC diagnostic ignored "-Wdocumentation-unknown-command"
#pragma GCC diagnostic ignored "-Wsigned-enum-bitfield" // fmt/format.h
#pragma GCC diagnostic ig... |
<commit_before>// Rel native launcher for Linux.
#include <iostream>
#include <cstdlib>
#include <unistd.h>
#include <libgen.h>
#include <string>
#include <fstream>
#include <streambuf>
int main(int argc, char **argv)
{
// Convert first argument of argv[0] (full pathspec to this executable) to path wher... |
<commit_before>/***********************************************************************************************************************
**
** Copyright (c) 2011, ETH Zurich
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
** f... |
<commit_before>#include <iostream>
#include <fstream>
#include <vector>
#include <memory>
#include <algorithm>
#include <functional>
#include <complex>
#include <sndfile.hh>
#define kiss_fft_scalar float
#include "kiss_fft.h"
// https://stackoverflow.com/a/2284805/496459
template <typename Stream>
void reopen(Stream... |
<commit_before>#include <memory>
#include <poll.h>
#include <string>
#include <vector>
#include "../../helper/linux/helper.h"
#include "../../log.h"
#include "../../message.h"
#include "../../result.h"
#include "../worker_platform.h"
#include "../worker_thread.h"
#include "cookie_jar.h"
#include "pipe.h"
#include "sid... |
<commit_before>#include "rapid_pbd/landmarks.h"
#include "rapid_pbd_msgs/Landmark.h"
#include "ros/ros.h"
namespace msgs = rapid_pbd_msgs;
namespace rapid {
namespace pbd {
void ProcessSurfaceBox(const rapid_pbd_msgs::Landmark& landmark_in,
rapid_pbd_msgs::Landmark* landmark_out) {
*landmark... |
<commit_before>#ifndef __STDAIR_BOM_BOMCHILDRENHOLDERIMP_HPP
#define __STDAIR_BOM_BOMCHILDRENHOLDERIMP_HPP
// //////////////////////////////////////////////////////////////////////
// Import section
// //////////////////////////////////////////////////////////////////////
// C
#include <assert.h>
// STL
#include <vect... |
<commit_before>// Copyright 2007 The RE2 Authors. All Rights Reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Test prog.cc, compile.cc
#include <string>
#include <vector>
#include "util/test.h"
#include "re2/regexp.h"
#include "re2/prog.h"
DEFINE_s... |
<commit_before>AliAnalysisTaskJetSpectrum2 *AddTaskJetSpectrum2(const char* bRec = "jets",const char* bGen = "jetsAODMC_UA104",const char* bBkg="",UInt_t filterMask = 32, Int_t iPhysicsSelection = 1,UInt_t iEventSelectionMask = 0,Bool_t kBackground=kTRUE,Int_t iFillCorrBkg = 0);
AliAnalysisTaskJetSpectrum2 *AddTas... |
<commit_before>/*
* Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ob... |
<commit_before>//==============================================================================
#include <cloud.hpp>
#include <bullet.hpp>
#include <engine.hpp>
#include <entity_manager.hpp>
#include <game.hpp>
#include <hgesprite.h>
#include <sqlite3.h>
#include <Database.h>
#include <Query.h>
#include <hgeparticle.... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: DropDownFieldDialog.cxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: obo $ $Date: 2006-09-16 22:56:40 $
*
* The Contents of this fi... |
<commit_before>#include <iostream>
#include <algorithm>
#include <iterator>
#include <tuple>
#include <set>
#include <vector>
#include <utility>
#include <iomanip>
using ull = unsigned long long;
class LogEntry {
public:
LogEntry ()
: endtime(0), starttime(0), bitrate(0), duration(0), streamed(0), prev_strea... |
<commit_before>// Copyright (c) 2014 Intel Corporation. All rights reserved.
// Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "xwalk/application/browser/application_security_policy.h"
... |
<commit_before>/* Copyright 2017 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>/*
*
* Filename: test2.cc
*
* Author: Haibo Hao
* Email : haohaibo@ncic.ac.cn
* Description: ---
* Create: 2017-08-14 19:47:42
* Last Modified: 2017-08-14 19:47:42
**/
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
// compile : g++ test2.cc -std=c++11
// ... |
<commit_before>/*
*
* Copyright 2015, 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, thi... |
<commit_before>/*
RawSpeed - RAW file decoder.
Copyright (C) 2022 Roman Lebedev
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... |
<commit_before>/*
* Copyright 2017 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 applicable l... |
<commit_before>
/*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "GLTestContext_angle.h"
#include <EGL/egl.h>
#include <EGL/eglext.h>
#include "gl/GrGLDefines.h"
#include "gl/GrGLUtil.h"
#include "gl/GrGLInterfac... |
<commit_before>// The libMesh Finite Element Library.
// Copyright (C) 2002-2012 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner
// 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; eit... |
<commit_before>/// \file http_parser.cpp
/// Holds all code for the HTTP namespace.
#include "http_parser.h"
/// This constructor creates an empty HTTP::Parser, ready for use for either reading or writing.
/// All this constructor does is call HTTP::Parser::Clean().
HTTP::Parser::Parser(){Clean();}
/// Completely re... |
<commit_before>#include <chord_types.h>
#include <location.h>
#include <id_utils.h>
#include <configurator.h>
#include "block_status.h"
#include "misc_utils.h"
#include "dhash.h"
u_long
num_efrags ()
{
static bool initialized = false;
static int v = 0;
if (!initialized) {
initialized = Configurator::only ().... |
<commit_before>//* This file is part of the MOOSE framework
//* https://www.mooseframework.org
//*
//* All rights reserved, see COPYRIGHT for full restrictions
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
//*
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgp... |
<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 "chrome/plugin/plugin_channel_base.h"
#include "base/hash_tables.h"
#include "chrome/common/child_process.h"
#include "i... |
<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 "chrome/renderer/user_script_slave.h"
#include "app/resource_bundle.h"
#include "base/histogram.h"
#include "base/logging.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 "base/command_line.h"
#include "base/file_path.h"
#include "base/file_util.h"
#include "base/scoped_ptr.h"
#include "base/stri... |
<commit_before>/**
* Copyright (C) 2004, 2006 Brad Hards <bradh@frogmouth.net>
*
* 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... |
<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 <windows.h>
#include "chrome_frame/chrome_launcher.h"
// We want to keep this EXE tiny, so we avoid all dependencies... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: MetaExportComponent.cxx,v $
*
* $Revision: 1.14 $
*
* last change: $Author: obo $ $Date: 2006-09-17 10:38:57 $
*
* The Contents of this f... |
<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.
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can... |
<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 "chrome/browser/importer/nss_decryptor_win.h"
#include "base/file_util.h"
#include "base/sys_string_conversions.h"
namespace ... |
<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/views/options/cookies_view.h"
#include <algorithm>
#include "app/gfx/canvas.h"
#include "app/gfx/color_utils... |
<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 "chrome/renderer/media/video_renderer_impl.h"
#include "media/base/yuv_convert.h"
VideoRendererImpl::VideoRendererImpl(WebMe... |
<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/command_line.h"
#include "base/path_service.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/api/inf... |
<commit_before>//
// (C) CharLS Team 2014, all rights reserved. See the accompanying "License.txt" for licensed use.
//
#include "jpegmarkersegment.h"
#include "jpegmarkercode.h"
#include "util.h"
#include <vector>
#include <cstdint>
using namespace std;
using namespace charls;
unique_ptr<JpegMarkerSegment> JpegM... |
<commit_before>// -*-Mode: C++;-*-
// $Id$
// * BeginRiceCopyright *****************************************************
//
// Copyright ((c)) 2002-2007, Rice University
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the ... |
<commit_before>#include <string>
#include <cctype>
#include <fstream>
#include <unistd.h>
#include <string.h>
#include "lib/driver/Driver.hpp"
CSSP::Driver::~Driver() {
for(const auto pair : this->fileToTreeMap) {
while(!pair.second->empty()) {
delete pair.second->front();
pair.se... |
<commit_before>#ifndef GLM_FORCE_RADIANS
#define GLM_FORCE_RADIANS
#define DEGREES_TO_RADIANS(x) (x * PI / 180.0f)
#endif
#include "heightmap_loader.hpp"
#include "code/ylikuutio/geometry/quad_triangulation.hpp"
#include "code/ylikuutio/common/globals.hpp"
// Include GLEW
#ifndef __GL_GLEW_H_INCLUDED
#define __GL_GLE... |
<commit_before>/*************************************************************************
*
* $RCSfile: TypeGeneration.hxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: hr $ $Date: 2003-03-19 15:58:28 $
*
* The Contents of this file are made available subject to the terms of
* either of the following... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: AIndexes.cxx,v $
*
* $Revision: 1.13 $
*
* last change: $Author: rt $ $Date: 2005-09-08 05:29:12 $
*
* The Contents of this file are made... |
<commit_before>/*************************************************************************
*
* $RCSfile: ETables.cxx,v $
*
* $Revision: 1.11 $
*
* last change: $Author: oj $ $Date: 2002-10-08 08:25:30 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before>/*
Copyright (c) 2014-15, Richard Eakin - 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 of condit... |
<commit_before>/*
* Licensed under the MIT License (MIT)
*
* Copyright (c) 2013 AudioScience Inc.
*
* 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 witho... |
<commit_before>/*
* Licensed under the MIT License (MIT)
*
* Copyright (c) 2013 AudioScience Inc.
*
* 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 witho... |
<commit_before>#include "multihtmlreporter.h"
#include "htmlreporter.h"
#include "common.h"
#include <chrono>
#include "globalsettings.h"
#include <sys/stat.h>
MultiHtmlReporter::MultiHtmlReporter(string filename, vector<Mutation>& mutationList, vector<Match*> *mutationMatches){
mMutationList = mutationList;
m... |
<commit_before>// Copyright NVIDIA Corporation 2007 -- Ignacio Castano <icastano@nvidia.com>
//
// 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 with... |
<commit_before>/*******************************************************************************
Copyright (c) 2018, Jan Koester jan.koester@gmx.net
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* R... |
<commit_before>// This is free and unencumbered software released into the public domain.
// For more information, please refer to <http://unlicense.org/>
#include "preferences_dialog.h"
#include "wx/filepicker.h"
#include "wx/stdpaths.h"
#include "wx/xrc/xmlres.h"
BEGIN_EVENT_TABLE(PreferencesDialog, wxDialog)
EV... |
<commit_before>// Copyright (c) 2011-2015 The Bitcoin Core developers
// Copyright (c) 2014-2019 The Dash Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <qt/sendcoinsentry.h>
#include <qt/forms/ui_sendc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.