text stringlengths 54 60.6k |
|---|
<commit_before>/****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (directui@nokia.com)
**
** This file is part of meegotouch-controlpanelapplets.
**
** If you have que... |
<commit_before>// Module: Log4CPLUS
// File: threads.cxx
// Created: 6/2001
// Author: Tad E. Smith
//
//
// Copyright (C) Tad E. Smith All rights reserved.
//
// This software is published under the terms of the Apache Software
// License version 1.1, a copy of which has been included with this
// distribution i... |
<commit_before>/*
* This file is part of Poedit (http://www.poedit.net)
*
* Copyright (C) 2001-2008 Vaclav Slavik
*
* 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 restric... |
<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/app/google_update_client.h"
#include <shlobj.h>
#include <strsafe.h>
#include "chrome/app/client_util.h"
#inclu... |
<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/webui/nacl_ui.h"
#include <string>
#include <vector>
#include "base/bind.h"
#include "base/bind_helpers.h... |
<commit_before>/*************************************************************************
*
* $RCSfile: osl_Socket_tests.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: pjunck $ $Date: 2004-11-02 14:56:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the fol... |
<commit_before>// This file is part of the dune-gdt project:
// https://github.com/dune-community/dune-gdt
// Copyright 2010-2018 dune-gdt developers and contributors. All rights reserved.
// License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
// or GPL-2.0+ (http://open... |
<commit_before>// This file is part of the dune-stuff project:
// http://users.dune-project.org/projects/dune-stuff/
// Copyright Holders: Felix Albrecht
// License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
#ifdef HAVE_CMAKE_CONFIG
# include "cmake_config.h"
#elif defined (HAVE_CONFIG_H)
# ... |
<commit_before>// This file is part of the dune-stuff project:
// https://users.dune-project.org/projects/dune-stuff
// Copyright holders: Rene Milk, Felix Schindler
// License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
//
// Contributors: Kirsten Weber
#ifndef DUNE_STUFF_FUNCTIONS_CONSTANT_... |
<commit_before>#include "test_common.hh"
#include <memory>
#include <dune/common/exceptions.hh>
#include <dune/common/typetraits.hh>
#include <dune/common/static_assert.hh>
#if HAVE_DUNE_GRID
#include <dune/grid/sgrid.hh>
#include <dune/stuff/functions/constant.hh>
#include <dune/stuff/grid/provider.hh>
using name... |
<commit_before>//
// Copyright (C) 2011-15 DyND Developers
// BSD 2-Clause License, see LICENSE.txt
//
#include <Python.h>
#include <dynd/type_registry.hpp>
#include "types/pyobject_type.hpp"
using namespace dynd;
const type_id_t pyobject_id = ndt::type_registry.insert(
any_kind_id, ndt::type(new pyobject_type... |
<commit_before>/*
* OpenCMISS-Zinc Library Unit Tests
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <gtest/gtest.h>
#include <zinc/field.hpp>
#in... |
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one ... |
<commit_before>//---------------------------------------------------------------------------
// $Id$
// Version: $Name$
//
// Copyright (C) 2004, 2005 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
// to t... |
<commit_before><commit_msg>half-written test<commit_after>#include "geometry/grassmann.hpp"
#include "geometry/orthogonal_map.hpp"
#include "geometry/permutation.hpp"
#include "geometry/point.hpp"
#include "geometry/rotation.hpp"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "quantities/si.hpp"
#include "t... |
<commit_before>/*
* Copyright (c) 2003-2013 Rony Shapiro <ronys@users.sourceforge.net>.
* All rights reserved. Use of the code is allowed under the
* Artistic License 2.0 terms, as specified in the LICENSE file
* distributed with this code, or available from
* http://www.opensource.org/licenses/artistic-license-2.0.php... |
<commit_before>// Copyright 2020-2021 The Ray Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... |
<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/test/chrome_process_util.h"
#include <vector>
#include <set>
#include "base/process_util.h"
#include "base/time.h"
#... |
<commit_before>#include "fenetre.h"
#include "ui_fenetre.h"
#include "fileManagement.h"
//#include <QMessageBox>
Fenetre::Fenetre(QWidget *parent) : QMainWindow(parent), ui(new Ui::Fenetre)
{
ui->setupUi(this);
//on connecte les Qapplication
connect(ui->actionNouveau,SIGNAL(triggered()),this,SLOT(nouveauF... |
<commit_before>/** @file
@brief Implementation
@date 2015
@author
Sensics, Inc.
<http://sensics.com/osvr>
*/
// Copyright 2015 Sensics, 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 ... |
<commit_before>/* Siconos is a program dedicated to modeling, simulation and control
* of non smooth dynamical systems.
*
* Copyright 2016 INRIA.
*
* 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 L... |
<commit_before>/*
#include <iostream>
#include <stdlib.h>
#include <stdio.h>
#include <boost/numeric/ublas/io.hpp>
*/
#if defined(VIENNACL_WITH_OPENCL) || defined(VIENNACL_WITH_OPENMP) || defined(VIENNACL_WITH_CUDA)
#define VIENNACL
#include "viennacl/ocl/device.hpp"
#include "viennacl/ocl/platform.hpp"
#include "vie... |
<commit_before>/**
* Copyright (c) 2011-2015 libbitcoin developers (see AUTHORS)
*
* This file is part of libbitcoin.
*
* libbitcoin is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License with
* additional permissions to the one published by the Free... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Copyright (C) 2015 Ruslan Baratov
** Contact: http://www.qt.io/licensing/
**
** This file is part of the examples of the Qt Multimedia module.
**
** $QT_BEGIN_LICENSE:LGPL21$
** C... |
<commit_before>#include "gtest/gtest.h"
#ifdef EXECUTOR
#define AUTOMATIC_CONVERSIONS
#include <QuickDraw.h>
#include <CQuickDraw.h>
#include <MemoryMgr.h>
using namespace Executor;
extern QDGlobals qd;
#define PTR(x) (&inout(x))
// FIXME: Executor still defines Pattern as an array, rather than an array wrapped... |
<commit_before>#include <iostream>
#include "equations.hpp"
int main() {
using namespace std;
const vector<double> NUMBERS = {69, 420};
RandomEquationBuilder randomEquationBuilder(NUMBERS);
const int GOAL_NUMBER_COUNT = 3;
int TRY_COUNT = 25;
for (int i=0; i<TRY_COUNT; ++i) {
Equation equation = randomEqua... |
<commit_before>#include "SkGraphics.h"
#include "Test.h"
using namespace skiatest;
// need to explicitly declare this, or we get some weird infinite loop llist
template TestRegistry* TestRegistry::gHead;
class Iter {
public:
Iter(Reporter* r) : fReporter(r) {
r->ref();
fReg = TestRegistry::Head()... |
<commit_before>#include <boost/array.hpp>
#include <boost/bind.hpp>
#include <iostream>
#include <string>
// This solve a bug with clang and libc++
template class std::basic_string<char>;
int main(int argc, char** argv) {
boost::array<int, 12> values = {1,2,3,4,5,6,7,100,99,98,97,96};
std::size_t count0 = std::co... |
<commit_before>/*
* Copyright (C) 2003 Tommi Maekitalo
*
* 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 option) any later version.... |
<commit_before>/*
* image.cpp
*
* Created on: Aug 1, 2011
* Author: sanda
*/
#ifndef IMAGE_CPP_
#define IMAGE_CPP_
//
// *** System
//
#include <iostream>
//
// *** Boost
//
#include <boost/numeric/ublas/io.hpp>
#include <boost/numeric/ublas/triangular.hpp>
#include <boost/numeric/ublas/matrix_sparse.hpp>... |
<commit_before>
/* bzflag
* Copyright (c) 1993 - 2004 Tim Riker
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the license found in the file
* named COPYING that should have accompanied this file.
*
* THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR... |
<commit_before>/* bzflag
* Copyright (c) 1993 - 2005 Tim Riker
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the license found in the file
* named COPYING that should have accompanied this file.
*
* THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
... |
<commit_before>/* ************************************************************************
* Copyright 2020 Advanced Micro Devices, Inc.
* ************************************************************************ */
#ifndef _ARGUMENT_MODEL_HPP_
#define _ARGUMENT_MODEL_HPP_
#include "hipblas_arguments.hpp"
#include <... |
<commit_before>/* -*- mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
// vim:sts=4:sw=4:ts=4:noet:sr:cino=>s,f0,{0,g0,(0,\:0,t0,+0,=s
/*
* Copyright (C) FFLAS-FFPACK
* Written by Clément Pernet <clement.pernet@imag.fr>
* Philippe LEDENT <philippe.ledent@etu.univ-grenoble-alpes
* This file is... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: TTableHelper.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: hr $ $Date: 2006-06-20 01:05:01 $
*
* The Contents of this file are m... |
<commit_before>/*
* Sponge: hash sha-3 (keccak)
*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "keccak.H"
#include "action_sponge.H"
#define HASH_SIZE 64
#define RESULT_SIZE 8
#undef TEST /* get faster turn-around time */
#ifdef NO_SYNTH /* TEST */
# define NB_SLICES (4)
# define NB_RO... |
<commit_before>/*
* Copyright (c) 2013 - 2016, Roland Bock
* 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,
* ... |
<commit_before>//===--- RequirementMachineRequests.cpp -----------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http... |
<commit_before>/**
* This file is part of the "libfnord" project
* Copyright (c) 2015 Paul Asmuth
*
* FnordMetric is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License v3.0. You should have received a
* copy of the GNU General Public License along with th... |
<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>#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <sys/time.h>
#include <math.h>
#include <tuple>
#include <vector>
//#include <map>
#include <unordered_map>
#include <unordered_set>
#include <set>
#include <iostream>
#include <string>
#include <string.h>
#include <iomanip>
#include <lo... |
<commit_before>
#undef NDEBUG /* ensure tests always assert. */
#include "upb_table.h"
#include "upb_string.h"
#include "test_util.h"
#include <assert.h>
#include <map>
#include <string>
#include <vector>
#include <set>
#include <ext/hash_map>
#include <sys/resource.h>
#include <iostream>
bool benchmark = false;
usi... |
<commit_before>#include <Python.h>
#include <structmember.h>
#include <rank_unrank.h>
/*
* This is a wrapper around rank_unrank.cc, to create the fte.cDFA
* python module.
*/
// Our custom DFAObject for holding and transporting a DFA*.
typedef struct {
PyObject_HEAD
DFA *obj;
} DFAObject;
// Our deallo... |
<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/browser_prefs.h"
#include "chrome/browser/autofill/autofill_manager.h"
#include "chrome/browser/bookmarks/boo... |
<commit_before><commit_msg>Marking the CrossSiteInfiniteBeforeUnloadAsync test as flaky as it fails randomly on the valgrind Linux builder.<commit_after><|endoftext|> |
<commit_before>// Copyright 2015 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless require... |
<commit_before>//===---- ClangQuery.cpp - clang-query tool -------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>// Copyright Toru Niina 2019.
// Distributed under the MIT License.
#ifndef TOML11_SERIALIZER_HPP
#define TOML11_SERIALIZER_HPP
#include "value.hpp"
#include "lexer.hpp"
#include <limits>
namespace toml
{
struct serializer
{
serializer(const std::size_t w = 80,
const... |
<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.
// This webpage shows layout of YV12 and other YUV formats
// http://www.fourcc.org/yuv.php
// The actual conversion is best described ... |
<commit_before>/*
* Animated GIFs Display Code for SmartMatrix and 32x32 RGB LED Panels
*
* This file contains code to decompress the LZW encoded animated GIF data
*
* Written by: Craig A. Lindley, Fabrice Bellard and Steven A. Bennett
* See my book, "Practical Image Processing in C", John Wiley & Sons, Inc.
*
... |
<commit_before>/*****************************************************************************
* Copyright (C) 2011-2013 Michael Krufky
*
* Author: Michael Krufky <mkrufky@linuxtv.org>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
*... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: statementcomposer.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: hr $ $Date: 2007-07-31 13:38:39 $
*
* The Contents of this file ... |
<commit_before>/*-------------------------------------------------------------------------
* drawElements Quality Program Tester Core
* ----------------------------------------
*
* Copyright 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use... |
<commit_before>/*
* Copyright 2008-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 applicab... |
<commit_before>// This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
//
// Copyright (C) 2018 Intel Corporation
#ifndef OPENCV_GAPI_UTIL_OPTIONAL_HPP
#define OPENCV_GAPI_UTIL_OPT... |
<commit_before>/*************************************************************************
*
* $RCSfile: mainthreadexecutor.hxx,v $
*
* $Revision: 1.1 $
*
* last change: $Author: mav $ $Date: 2003-12-17 11:26:52 $
*
* The Contents of this file are made available subject to the terms of
* either of the foll... |
<commit_before>/* libs/graphics/ports/SkTime_Unix.cpp
**
** Copyright 2006, 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.... |
<commit_before>#include "Test.h"
TEST_CASE("Finding top level", "[binding:decls]") {
auto file1 = SyntaxTree::fromText("module A; endmodule\nmodule B; A a(); endmodule\nmodule C; endmodule");
auto file2 = SyntaxTree::fromText("module D; B b(); E e(); endmodule\nmodule E; module C; endmodule C c(); endmodule");... |
<commit_before>/**
* EasyButton.cpp
* @author Evert Arias
* @version 1.0.0
* @license MIT
*/
#include "EasyButton.h"
void EasyButton::begin() {
pinMode(_pin, _pu_enabled ? INPUT_PULLUP : INPUT);
_current_state = digitalRead(_pin);
if (_invert) _current_state = !_current_state;
_time = millis();
_last_state = _cu... |
<commit_before>/*
icqeditaccountwidget.cpp - ICQ Account Widget
Copyright (c) 2003 by Chris TenHarmsel <tenharmsel@staticmethod.net>
Kopete (c) 2003 by the Kopete developers <kopete-devel@kde.org>
*************************************************************************
* ... |
<commit_before>/**
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "... |
<commit_before>/*
icqeditaccountwidget.cpp - ICQ Account Widget
Copyright (c) 2003 by Chris TenHarmsel <tenharmsel@staticmethod.net>
Kopete (c) 2003 by the Kopete developers <kopete-devel@kde.org>
*************************************************************************
* ... |
<commit_before>#include <string>
#include <list>
#include <iostream>
#include <locale>
using namespace std;
/*
#pragma templet ~message
#pragma templet ~message =
#pragma templet ~message@(submessage1?,submessage2!,submessage3!,-submessage4?)
#pragma templet *actor
#pragma templet *actor +
#pragma templet *actor@(?... |
<commit_before>/*************************************************************************
*
* $RCSfile: systemshell.hxx,v $
*
* $Revision: 1.1 $
*
* last change: $Author: tra $ $Date: 2002-07-05 07:20:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following l... |
<commit_before>// NOLINT(namespace-envoy)
#include <string>
#include <string_view>
#include <unordered_map>
#include "proxy_wasm_intrinsics.h"
class ExampleRootContext : public RootContext {
public:
explicit ExampleRootContext(uint32_t id, std::string_view root_id) : RootContext(id, root_id) {}
bool onStart(size... |
<commit_before>#include "Comms.h"
#include "Video_Decoder.h"
//#include "Menu_System.h"
//#include "Splash_Menu_Page.h"
//#include "Main_Menu_Page.h"
#include "utils/Clock.h"
#include "IHAL.h"
#ifdef RASPBERRY_PI
# include "PI_HAL.h"
#else
# include "GLFW_HAL.h"
#endif
#include "imgui.h"
#inc... |
<commit_before>#include "stdafx.h"
#include "Simulation.h"
#include <thread>
#include <chrono>
namespace sim
{
Simulation *Simulation::singleton = nullptr;
void Simulation::reset()
{
assert(Simulation::singleton == nullptr);
Simulation::singleton = this;
numberOfThreads = 1;
tournamentID = 0;
randomSeed = (un... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: toolbarsmenucontroller.hxx,v $
*
* $Revision: 1.8 $
*
* last change: $Author: vg $ $Date: 2006-04-07 10:18:22 $
*
* The Contents of this ... |
<commit_before>/*
* main.cpp
* MOX_AE
*
* Created by Brendan Bolles on 8/26/15.
* Copyright 2015 fnord. All rights reserved.
*
*/
#include <MoxFiles/FrameBuffer.h>
#include <iostream>
#include <math.h>
using namespace MoxFiles;
static FrameBufferPtr
MakeRGBRamp()
{
const int width = 256;
const int hei... |
<commit_before>// $Id: property.C,v 1.25 2001/05/17 01:30:49 oliver Exp $
#include <BALL/CONCEPT/property.h>
#include <BALL/CONCEPT/persistenceManager.h>
#include <BALL/CONCEPT/textPersistenceManager.h>
using namespace std;
namespace BALL
{
NamedProperty::NamedProperty()
throw()
: PersistentObject(),
type... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: bridge_provider.cxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: rt $ $Date: 2005-09-09 05:21:56 $
*
* The Contents of this file ar... |
<commit_before>/******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2015-2018 Baldur Karlsson
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software")... |
<commit_before>#include <boost/test/unit_test.hpp>
#include "functions/all_simplifications.hh"
#include "functions/complex.hh"
#include "functions/operators.hh"
#include "functions/streaming.hh"
BOOST_AUTO_TEST_CASE(complex_test) {
using namespace manifolds;
static_assert(ComplexOutputType<decltype(x)>::value == N... |
<commit_before><commit_msg>updated testing for utilities<commit_after><|endoftext|> |
<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 "content/renderer/scheduler/renderer_scheduler.h"
#include "base/command_line.h"
#include "base/message_loop/message_loop_proxy.h... |
<commit_before>// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/vespalib/testkit/test_kit.h>
#include <vespa/eval/eval/function.h>
#include <vespa/eval/eval/llvm/compiled_function.h>
#include <vespa/vespalib/util/benchmark_timer.h>
#i... |
<commit_before>/*
* Copyright (c) 1998 Stephen Williams (steve@icarus.com)
*
* This source code is free software; you can redistribute it
* and/or modify it in source code form under the terms of the GNU
* General Public License as published by the Free Software
* Foundation; either version 2 of the L... |
<commit_before>//
// Copyright (c) 2019, University of Edinburgh
// 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,... |
<commit_before>/*******************************************************
* Copyright (c) 2014, 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>// 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/ref_counted.h"
#include "media/base/data_buffer.h"
#include "remoting/jingle_glue/jingle_channel.h"
#include "remoting/j... |
<commit_before>#include <iostream>
#include <stdexcept>
#include <ccpp_dds_dcps.h>
#include "rosidl_generator_cpp/MessageTypeSupport.h"
#include "ros_middleware_interface/handles.h"
#include "ros_middleware_opensplice_cpp/MessageTypeSupport.h"
namespace ros_middleware_interface
{
const char * _prismtech_opensplice_... |
<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>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a ... |
<commit_before>// Copyright 2014 Vinzenz Feenstra
//
// 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 la... |
<commit_before>/*
Imports blocks from bootstrap.dat
bootstrap.dat is the raw blocks in the format
[magic bytes] [block length] [serialized block]
*/
#include <future>
#include <bitcoin/bitcoin.hpp>
using namespace bc;
using std::placeholders::_1;
using std::placeholders::_2;
bool stopped = false;
void signal_h... |
<commit_before>/*************************************************************************
*
* $RCSfile: adtabdlg.cxx,v $
*
* $Revision: 1.19 $
*
* last change: $Author: rt $ $Date: 2004-09-08 16:29:30 $
*
* The Contents of this file are made available subject to the terms of
* either of the following lice... |
<commit_before>/*
* fIcy - HTTP/1.0-ICY stream extractor/separator
* Copyright(c) 2003-2007 of wave++ (Yuri D'Elia)
* Distributed under GNU LGPL without ANY warranty.
*/
#ifndef fIcy_hh
#define fIcy_hh
// system headers (for size_t)
#include <cstddef>
// some defines
#define FICY_VERSION "1.0.16"
// some const... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: charsets.hxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: rt $ $Date: 2005-09-08 15:45:14 $
*
* The Contents of this file are made ... |
<commit_before>/**
* Copyright (C) 2003-2006 Funambol
*
* 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... |
<commit_before>// Ylikuutio - A 3D game and simulation engine.
//
// Copyright (C) 2015-2019 Antti Nuortimo.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
... |
<commit_before>//===- AnalysisOrderChecker - Print callbacks called ------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>/*************************************************************************
*
* $RCSfile: interfacecontainer.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: dbo $ $Date: 2001-06-07 11:11:28 $
*
* The Contents of this file are made available subject to the terms of
* either of the foll... |
<commit_before>/// \file ROOT/TPad.hxx
/// \ingroup Gpad ROOT7
/// \author Axel Naumann <axel@cern.ch>
/// \date 2017-07-06
/// \warning This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback
/// is welcome!
/*********************************************************... |
<commit_before>/******************************************************************************
This source file is part of the Avogadro project.
Copyright 2013 Kitware, Inc.
This source code is released under the New BSD License, (the "License").
Unless required by applicable law or agreed to in writing, so... |
<commit_before>/* -------------------------------------------------------------------------- */
/* Copyright 2002-2020, OpenNebula Project, OpenNebula Systems */
/* */
/* Licensed under the Apache License, Version 2.0 (the "Licens... |
<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/scoped_ptr.h"
#include "media/base/data_buffer.h"
#include "media/base/mock_ffmpeg.h"
#include "media/base/mock_task.h"
... |
<commit_before>#include "scheduler.h"
#include <pthread.h> //for pthread_setschedparam
#include <time.h> //for clock_nanosleep
#include <signal.h> //for sigaction signal handlers
#include "logging.h"
#include "timeutil.h"
void onExit() {
LOG("Exiting\n");
}
void signalHandler(int s){
printf("Caught signal %d\n",... |
<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/message_pump_libevent.h"
#include <errno.h>
#include <fcntl.h>
#include "eintr_wrapper.h"
#include "base/auto_reset.h"... |
<commit_before>/****************************************************************************
** irsimsend.c *************************************************************
****************************************************************************
*
* irsimsend - send all codes defined in a given config file.
*
*/
#inc... |
<commit_before>//////////////////////////////////////////////////////////////////////
//
// Pixie
//
// Copyright 1999 - 2003, Okan Arikan
//
// Contact: okan@cs.utexas.edu
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser Gen... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.