text stringlengths 54 60.6k |
|---|
<commit_before>/*************************************************************************
*
* $RCSfile: brwview.cxx,v $
*
* $Revision: 1.16 $
*
* last change: $Author: oj $ $Date: 2002-05-02 07:10:09 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before>/*************************************************************************
*
* $RCSfile: sqledit.cxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: fs $ $Date: 2001-08-23 14:47:34 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licens... |
<commit_before>#include "app/view/layout_hierarchy.h"
#include "core/epi/disposed.h"
#include "core/epi/visibility.h"
#include "core/util/holder_util.h"
#include "graphics/base/size.h"
#include "graphics/inf/renderer.h"
#include "app/base/event.h"
#include "app/inf/layout.h"
#include "app/view/view.h"
namespace ark... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: WTypeSelect.hxx,v $
*
* $Revision: 1.15 $
*
* last change: $Author: ihi $ $Date: 2007-11-21 16:02:37 $
*
* The Contents of this file are ... |
<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 <list>
#include <map>
#include <python2.7/Python.h>
#include <set>
#include "AnalysisProcessor.h"
#include "pin.H"
#define CB_BEFORE 0
#define CB_AFTER 1
extern AnalysisProcessor ap;
/* NameSapce for all Python Bindings variables */
namespace PyTritonOptions {
/* Debug configurations *... |
<commit_before>// Copyright (c) 2021 by Apex.AI 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... |
<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>/*
* This file is part of the µOS++ distribution.
* (https://github.com/micro-os-plus)
* Copyright (c) 2016 Liviu Ionescu.
*
* µOS++ 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 Foundatio... |
<commit_before>#include <stdio.h>
#include <Halide.h>
using namespace Halide;
int main(int argc, char **argv) {
Var x, y;
Func pred("pred");
pred(x, y) = x < y;
Func selector("selector");
selector(x, y) = select(pred(x, y), 1, 0);
// Load a vector of 8 bools
pred.compute_root();
sel... |
<commit_before>/*
* Copyright (c) 2014, Oculus VR, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directo... |
<commit_before>/**
* Copyright (c) 2009, Asmodehn's Corp.
* 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 n... |
<commit_before>#include "vm/test/test.hpp"
/* Project */
#include "vm.hpp"
#include "message.hpp"
#include "builtin/array.hpp"
#include "builtin/module.hpp"
#include "builtin/fixnum.hpp"
#include "builtin/string.hpp"
#include "builtin/symbol.hpp"
/* Testee */
#include "builtin/nativemethod.hpp"
#include "subtend/rub... |
<commit_before>/*
* RustEditor: Plugin to add Rust language support to QtCreator IDE.
* Copyright (C) 2015 Davide Ghilardi
*
* This file is part of RustEditor.
*
* RustEditor 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>/*!
* \file int_path.hpp
* \brief file int_path.hpp
*
* Copyright 2017 by Intel.
*
* Contact: [email protected]
*
* 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
*... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2010-2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation ([email protected])
**
** This file is part of the test suite of the QtSparql module (not yet... |
<commit_before>/** @file
@brief Implementation
@date 2014
@author
Ryan Pavlik
<[email protected]>
<http://sensics.com>
*/
// Copyright 2014 Sensics, Inc.
//
// All rights reserved.
//
// (Final version intended to be licensed under
// the Apache License, Version 2.0)
// Internal Includes
#inc... |
<commit_before>/**
* \ file UniversalFixedDelayLineFilter.cpp
*/
#include <ATK/Delay/UniversalFixedDelayLineFilter.h>
#include <ATK/Core/InPointerFilter.h>
#include <ATK/Core/OutPointerFilter.h>
#define BOOST_TEST_DYN_LINK
#define BOOST_TEST_NO_MAIN
#include <boost/test/unit_test.hpp>
#include <boost/math/constan... |
<commit_before>/** @file
@brief Implementation
@date 2014
@author
Ryan Pavlik
<[email protected]>
<http://sensics.com>
*/
// Copyright 2014 Sensics, Inc.
//
// All rights reserved.
//
// (Final version intended to be licensed under
// the Apache License, Version 2.0)
// Internal Includes
#inc... |
<commit_before>// Arguments: Doubles, Doubles, Doubles, Doubles
#include <stan/math/prim.hpp>
using stan::math::var;
using std::numeric_limits;
using std::vector;
class AgradDistributionsStudentT : public AgradDistributionTest {
public:
void valid_values(vector<vector<double> >& parameters,
vec... |
<commit_before>// $Id$
// The libMesh Finite Element Library.
// Copyright (C) 2002-2007 Benjamin S. Kirk, John W. Peterson
// 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
... |
<commit_before>#ifndef ENTT_SIGNAL_SIGH_HPP
#define ENTT_SIGNAL_SIGH_HPP
#include <algorithm>
#include <utility>
#include <vector>
#include <functional>
#include <type_traits>
#include "../config/config.h"
#include "delegate.hpp"
#include "fwd.hpp"
namespace entt {
/**
* @brief Unmanaged signal handler declarati... |
<commit_before>/***************************Copyright-DO-NOT-REMOVE-THIS-LINE**
* CONDOR Copyright Notice
*
* See LICENSE.TXT for additional notices and disclaimers.
*
* Copyright (c)1990-1998 CONDOR Team, Computer Sciences Department,
* University of Wisconsin-Madison, Madison, WI. All Rights Reserved.
* No ... |
<commit_before>/*
* Copyright (c) 2015 The WebRTC 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>/*
* MRustC - Rust Compiler
* - By John Hodge (Mutabah/thePowersGang)
*
* synexts/lang_item.cpp
* - Binds language items to #[lang_item] tagged items
*/
#include <synext.hpp>
#include "../common.hpp"
#include "../ast/ast.hpp"
#include "../ast/crate.hpp"
void handle_lang_item(const Span& sp, AST::... |
<commit_before>#include "Sketch.h"
#include "chr/gl/draw/Sphere.h"
using namespace std;
using namespace chr;
using namespace gl;
using namespace draw;
using namespace path;
constexpr float R1 = 6;
constexpr float R2 = 300;
constexpr float TURNS = 20;
constexpr float DD1 = 1.0f;
constexpr float DD2 = 3.0f;
constexpr... |
<commit_before>/*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
... |
<commit_before>#pragma once
#include <cstdlib>
#include <vector>
#include <stdexcept>
#include <functional>
#include "math/vector3.hpp"
//#include "projection.hpp"
//#include "integrator.hpp"
// this needs to be improved to be able to have different precisions
// and perhaps different color systems (if applicable)... |
<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>/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation ([email protected])
**
** Commercial Usage
**
** Licensees holding valid Qt Commercial... |
<commit_before>#include "SkFontHost.h"
#include <math.h>
// define this to use pre-compiled tables for gamma. This is slightly faster,
// and doesn't create any RW global memory, but means we cannot change the
// gamma at runtime.
#define USE_PREDEFINED_GAMMA_TABLES
#ifndef USE_PREDEFINED_GAMMA_TABLES
// define t... |
<commit_before>/// Gets a shared vector for a row
SHAREDVECTORN row(unsigned i)
{
// get the starting offset
const unsigned OFFSET = data() - _data.get();
SHAREDVECTORN v;
v._data = _data;
v._start = OFFSET + i;
v._inc = leading_dim();
v._len = _columns;
return v;
}
/// Gets a constant shared vector f... |
<commit_before>/****************************************************************************
* Copyright (C) 2012-2015 by Savoir-Faire Linux *
* Author : Alexandre Lision <[email protected]> *
* ... |
<commit_before>#ifndef OSRM_CONTRACTOR_FILES_HPP
#define OSRM_CONTRACTOR_FILES_HPP
#include "contractor/query_graph.hpp"
#include "util/serialization.hpp"
#include "storage/io.hpp"
namespace osrm
{
namespace contractor
{
namespace files
{
// reads .osrm.hsgr file
template<storage::Ownership Ownership>
inline void ... |
<commit_before>/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2015 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 INCLUDED_U5E_UTF32_NATIVE_HPP
#define INCLUDED_U5E_UTF32_NATIVE_HPP
#include <type_traits>
#include <u5e/encoding_assertion.hpp>
#include <u5e/codepoint.hpp>
namespace u5e {
/**
* u5e::utf32_native
*
* The native utf32 encoding is built with the native 32 bit
* integer type. It is... |
<commit_before>//----------------------------------------------------------------------------
/// \file test_helper.hpp
//----------------------------------------------------------------------------
/// \brief Unit test helping routines.
//----------------------------------------------------------------------------
//... |
<commit_before>/**
* @file lldockcontrol.cpp
* @brief Creates a panel of a specific kind for a toast
*
* $LicenseInfo:firstyear=2000&license=viewergpl$
*
* Copyright (c) 2000-2009, Linden Research, Inc.
*
* Second Life Viewer Source Code
* The source code in this file ("Source Code") is provided by Linden L... |
<commit_before>#include "providers/LinkResolver.hpp"
#include "common/Common.hpp"
#include "common/NetworkRequest.hpp"
#include <QString>
namespace chatterino {
void LinkResolver::getLinkInfo(const QString url,
std::function<void(QString)> successCallback)
{
QString requestUrl("https:... |
<commit_before>/* test_junctions_creator.cc -- Unit-tests for the JunctionsCreator class
Copyright (c) 2015, The Griffith Lab
Author: Avinash Ramu <[email protected]>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "S... |
<commit_before>// Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "askpassphrasedialog.h"
#include "ui_askpassphrasedialog.h"
#include "guiconstants.h"
#include "walle... |
<commit_before>// Copyright (c) 2016-2018 The Syscoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <qt/test/rpcnestedtests.h>
#include <fs.h>
#include <interfaces/node.h>
#include <rpc/server.h>
#inc... |
<commit_before>/**
* @file
*/
#pragma once
#include "bi/data/Frame.hpp"
#include "bi/data/Iterator.hpp"
#include "bi/data/copy.hpp"
#include "bi/data/constant.hpp"
#include <cstring>
namespace bi {
/**
* Array. Combines underlying data and a frame describing the shape of that
* data. Allows the construction of v... |
<commit_before>/*** Copyright (c), The Regents of the University of California ***
*** For more information please refer to files in the COPYRIGHT directory ***/
/*
These routines are used to implement the OS level authentication scheme.
Returns codes of 0 indicate success, others are iRODS error code... |
<commit_before><commit_msg>chore(root): add stub for logger builder include<commit_after>#pragma once
namespace blackhole {
} // namespace blackhole
<|endoftext|> |
<commit_before>#pragma once
#include <boost/lexical_cast.hpp>
#include <boost/property_tree/ini_parser.hpp>
#include <boost/property_tree/ptree.hpp>
#include "common.hpp"
#include "components/logger.hpp"
#include "components/x11/xresources.hpp"
#include "utils/file.hpp"
#include "utils/string.hpp"
LEMONBUDDY_NS
#de... |
<commit_before>#pragma once
/*
* Covariant Script Version Info
*
* 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... |
<commit_before>/*
* Copyright (c) 2014 Eran Pe'er.
*
* This program is made available under the terms of the MIT License.
*
* Created on Mar 10, 2014
*/
#ifndef MethodMock_h__
#define MethodMock_h__
#include <vector>
#include <functional>
#include <atomic>
#include <tuple>
#include "mockutils/TupleDispatcher.h... |
<commit_before>/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2011 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>/******************************************************************************
nomlib - C++11 cross-platform game engine
Copyright (c) 2013, 2014 Jeffrey Carpenter <[email protected]>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitt... |
<commit_before>//----------------------------------------------------------------------------
/// \file variant_tree.hpp
//----------------------------------------------------------------------------
/// \brief This file contains a tree class that can hold variant values.
//--------------------------------------------... |
<commit_before>//----------------------------------------------------------------------------
/// \file signal_block.hpp
/// \author Serge ALeynikov <[email protected]>
/// \author Peter Simons <[email protected]> (signal_block/unblock)
//----------------------------------------------------------------------------
/// \b... |
<commit_before>//============================================================================
// vSMC/include/vsmc/core/monitor.hpp
//----------------------------------------------------------------------------
// vSMC: Scalable Monte Carlo
//-----------------------------------------------------... |
<commit_before>//=============================================================================================================
/**
* @file main.cpp
* @author Ruben Dörfel <[email protected]>;
* @since 0.1.0
* @date February, 2020
*
* @section LICENSE
*
* Copyright (C) 2020, Ruben Dörfel.... |
<commit_before>//===----------------------------------------------------------------------===//
//
// PelotonDB
//
// transaction_test.cpp
//
// Identification: tests/concurrency/transaction_test.cpp
//
// Copyright (c) 2015, Carnegie Mellon University Database Group
//
//===--------------------... |
<commit_before>/*
* Copyright (c) 2008-2018 the MRtrix3 contributors.
*
* 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/
*
* MRtrix3 is distributed in the hope that it wil... |
<commit_before>
#include <stddef.h> // Чтобы определить NULL
///////// Включения основного модуля module.h
#include "Module.h"
#include "Function_module.h"
#include <math.h>
#include <iostream>
#include <time.h> // для Рандомайзера
using namespace std;
// Опишу функцию вне класса чтобы можно было применять cout
... |
<commit_before>/*
* Copyright 2015 Open Connectome Project (http://openconnecto.me)
* Written by Da Zheng ([email protected])
*
* This file is part of FlashMatrix.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: shapetransitionfactory.cxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: obo $ $Date: 2006-09-17 08:41:10 $
*
* The Contents of this... |
<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>#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "highlevel_feature_extractor.h"
#include <rcsc/common/server_param.h>
using namespace rcsc;
HighLevelFeatureExtractor::HighLevelFeatureExtractor(int num_teammates,
int num_opponents,
... |
<commit_before>#include "../MDFILU_test.h"
int
main(int argc, char *argv[])
{
// #ifdef VERBOSE_OUTPUT
// debugStream.open("debug.out");
// #endif
Utilities::MPI::MPI_InitFinalize mpi_initialization(
argc, argv, ::numbers::invalid_unsigned_int);
const global_index_type degree(10);
const unsigned int... |
<commit_before>#include<iostream>
#include"opencv2/highgui/highgui.hpp"
#include"opencv2/imgproc/imgproc.hpp"
#include"opencv2/core/core.hpp"
#include <fstream>
using namespace cv;
using namespace std;
//Input Mat, and Scalar bounds for thresholding.
Mat src;
Scalar upperBound;
Scalar lowerBound;
//Mode variables. D... |
<commit_before>#ifndef ALGO_HPP
#define ALGO_HPP
#include "ptree.hpp"
#include "equivalence.hpp"
#include "ztree.hpp"
#include "khash.hh"
namespace tree {
////////////////////////////////////////////////////////////////////////////////
// Central algorithm and stuff
//////////////////////////////////////////////////... |
<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
// "Lic... |
<commit_before>#include <iostream>
#include <sstream>
#include "Myexception.h"
#include "chain.h"
using namespace std;
void chain :: readAndStoreFromFile(char* fileName)
{
//This function reads integers from the file given by fileName then store them in the chain
ifstream in;
in.open(filename.c_str());
if (!in... |
<commit_before>/* descriptor.cpp
Copyright (c) 2015, Nikolaj Schlej. All rights reserved.
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
http://opensource.or... |
<commit_before>#include <fstream>
#include <regex>
#include "logging/logger.h"
#include "sequence/io/ptb_parser.h"
namespace meta
{
namespace sequence
{
std::vector<sequence> extract_sequences(const std::string& filename)
{
std::regex regex{"=====+\\s*$"};
std::vector<sequence> results;
std::ifstream fi... |
<commit_before>//
// shared_statement.cc for saw
// Made by nicuveo <[email protected]>
//
//HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
// Includes
#include <iostream>
#include "shared/shared_statement.hh"
#include "error.hh"
//HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH... |
<commit_before>#include "ys_sockdata.h"
#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <poll.h>
#include <fcntl.h>
#include <string.h>
namespace ys {
sock_module::sock_module(char* host, int port) {
... |
<commit_before>#include "start_game_state.hpp"
#include "game_state.hpp"
#include "main_menu_state.hpp"
#include "logger.hpp"
#include "exception.hpp"
static boost::log::sources::severity_logger<boost::log::trivial::severity_level> lg;
namespace Quoridor {
std::string StartGameState::name_("Start Game");
StartGam... |
<commit_before>/*
===========================================================================
Daemon GPL Source Code
Copyright (C) 2012 Unvanquished Developers
This file is part of the Daemon GPL Source Code (Daemon Source Code).
Daemon Source Code is free software: you can redistribute it and/or modify
it under the... |
<commit_before>//
// Copyright Silvin Lubecki 2010
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef OPENCLAM_FOR_EACH_HPP_INCLUDED
#define OPENCLAM_FOR_EACH_HPP_INCLUDED
#include "ke... |
<commit_before>/**
* Copyright (c) 2016 DeepCortex GmbH <[email protected]>
* Authors:
* - Paul Asmuth <[email protected]>
* - Laura Schlimmer <[email protected]>
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License ("the license")... |
<commit_before>#include <unistd.h>
#include <cassert>
#include <boost/shared_ptr.hpp>
#include "gen-cpp/DataHub.h"
#include <thrift/transport/THttpClient.h>
#include <thrift/transport/TBufferTransports.h>
#include <thrift/protocol/TBinaryProtocol.h>
/**
* Sample DataHub C++ Client
*
* @author anantb
* @author ste... |
<commit_before>#include "MatrixSlicingTest.h"
#include <matrix/Matrix.h>
#include <matrix/MatrixHelper.h>
#include <matrix/MatrixSlice.h>
#include <algorithm>
#include <cstddef>
const size_t ROWS = 910;
const size_t COLS = 735;
const size_t NODE_COUNTS[] = { 3, 1, 2, 3, 5, 7, 12, 25, 80, 110 };
typedef Matrix<float> ... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation ([email protected])
**
** This file is part of the Qt Mobility Components.
**
** $QT_BEGIN_LICENSE:LG... |
<commit_before>#include <QApplication>
#include <QSet>
#include <QXmlStreamWriter>
#include <QXmlStreamReader>
#include <QMetaObject>
#include <QMetaProperty>
#include <QPushButton>
#include <QDebug>
#include <iostream>
#include <QtDeclarative>
#include <QtDeclarative/private/qdeclarativemetatype_p.h>
#include <QtDecl... |
<commit_before>/*
Copyright (c) 2003, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of condi... |
<commit_before>/*
* Copyright 2018 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "include/gpu/GrContext.h"
#include "include/gpu/GrContextThreadSafeProxy.h"
#include "src/gpu/GrContextPriv.h"
#include "src/gpu/GrContextThreadSafeP... |
<commit_before>/***************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation ([email protected])
**
** This file is part of libmeegotouch.
**
** If you have questions regarding t... |
<commit_before>/***************************************************************************
**
** Copyright (C) 2010, 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation ([email protected])
**
** This file is part of libmeegotouch.
**
** If you have questions regar... |
<commit_before>//sg: this is going to be the primary vision node for qubo (or future robots, whatever)
#include "vision_node.h"
using namespace std;
using namespace ros;
using namespace AVT::VmbAPI;
//you need to pass in a node handle, and a camera feed, which should be a file path either to a physical device or to a... |
<commit_before>
#include <functional>
#include <random>
#include <ncurses.h>
#include <string.h>
#include <vector>
#include "data.h"
#include "maze.h"
#include "menu.h"
#include "story.h"
#include "windows.h"
using namespace std;
// forward declarations
menu_state game_ui(WINDOW *menu_win, game_data *d, menu_state s... |
<commit_before>/* Copyright 2015 Peter Goodman ([email protected]), all rights reserved. */
#include <gflags/gflags.h>
#include <glog/logging.h>
#include <functional>
#include <set>
#include <string>
#include <sstream>
#include <llvm/ADT/SmallVector.h>
#include <llvm/IR/Constants.h>
#include <llvm/IR/Function.h... |
<commit_before>/*
*
* Copyright (c) 2020 Project CHIP 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
*
* ... |
<commit_before>/*
* File: Composite.cpp
* Author: Benedikt Vogler
*
* Created on 21. August 2014, 10:51
*/
#include "Composite.hpp"
#include "Intersection.hpp"
#include <algorithm>
void Composite::add_child(std::shared_ptr<RenderObject> const& child) {
children.push_back(child);
}
Intersection Composit... |
<commit_before>#include "sdfloader.hpp"
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <map>
#include <vector>
#include <memory>
#include <glm/vec3.hpp>
#include "color.hpp"
#include "material.hpp"
#include "box.hpp"
#include "sphere.hpp"
#include "light.hpp"
#include "camera.hpp... |
<commit_before>#include <Bull/Window/X11/WindowImplX11.hpp>
namespace Bull
{
namespace prv
{
/*! \brief Constructor
*
* \param mode The VideoMode to use to create the window
* \param title The title of the window
* \param style The style to use to create the window
... |
<commit_before>#include <iostream>
#include <math.h>
#include <cmath>
#include "CombFilterProject.h"
#include "FilterAudio.h"
//# define TEST_MODE
using namespace std;
//function
int testZeroInput();
float *sinOsc(float, float, float, unsigned);
int testFIRFeedforward();
int testIIRFeedforward();
// main function
... |
<commit_before>#include "PhysicsManager.hpp"
#include <btBulletDynamicsCommon.h>
#include <glm/gtx/quaternion.hpp>
#include "../Component/RigidBody.hpp"
#include "../Component/Shape.hpp"
#include "../Entity/Entity.hpp"
#include "../Physics/GlmConversion.hpp"
#include "../Physics/Shape.hpp"
#include "../Physics/Trigger... |
<commit_before>
using namespace std;
#include "GEOMImpl_ShapeDriver.hxx"
#include "GEOMImpl_IShapes.hxx"
#include "GEOMImpl_IShapesOperations.hxx"
#include "GEOMImpl_Types.hxx"
#include "GEOM_Function.hxx"
#include <BRep_Tool.hxx>
#include <BRep_Builder.hxx>
#include <BRepAlgo_FaceRestrictor.hxx>
#include <BRepAlgo_Se... |
<commit_before><commit_msg>Sketcher: Ellipse trim, handle multiple intersection<commit_after><|endoftext|> |
<commit_before>/*
* NotebookAlternateEngines.cpp
*
* Copyright (C) 2009-16 by RStudio, Inc.
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Aff... |
<commit_before>#include <ros/ros.h>
#include <cv_bridge/cv_bridge.h>
#include <dynamic_reconfigure/server.h>
#include <geometry_msgs/Point.h>
#include <geometry_msgs/PointStamped.h>
#include <geometry_msgs/Pose.h>
#include <geometry_msgs/PoseArray.h>
#include <image_transport/image_transport.h>
#include <kinect_tomato_... |
<commit_before>
/* ========================================
* File Name : 15.cpp
* Creation Date : 12-08-2020
* Last Modified : St 12. srpna 2020, 14:28:48
* Created By : Karel Ha <[email protected]>
* URL : https://www.facebook.com/codingcompetitions/hacker-cup/2018/round-1/problems/A
* Poin... |
<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>// Author: Junyang
#define DEBUG_TYPE "dyn-aa"
#include <cstdio>
#include <fstream>
#include "llvm/Pass.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/ADT/Statistic.h"
#include "rcs/IDAssigner.h"
#include "dyn-aa/LogCounter.h"
#include "dyn-aa/TraceSlic... |
<commit_before>//===-- OptimizeExts.cpp - Optimize sign / zero extension instrs -----===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===---------------------------------------------... |
<commit_before>/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 req... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.