text stringlengths 54 60.6k |
|---|
<commit_before>// This file is part of The New Aspell
// Copyright (C) 2002 by Christoph Hintermller under the GNU LGPL license
// version 2.0 or 2.1. You should have received a copy of the LGPL
// license along with this library if you did not you can find
// it at http://www.gnu.org/.
//
// Example for a filter impl... |
<commit_before>/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2014 Robert Osfield
*
* This library is open source and may be redistributed and/or modified under
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
* (at your option) any later version. The full license is in LICENSE file
* inc... |
<commit_before>#include <algorithm>
#include <stdexcept>
#include <chrono>
#include <vector>
#include <memory>
#include <cmath>
#include <thread>
#include <signal.h>
#include <sched.h>
#include <sys/mman.h>
#include <eeros/core/Executor.hpp>
#include <eeros/task/Async.hpp>
#include <eeros/task/Lambda.hpp>
#include <ee... |
<commit_before>#include "chunk.h"
#include "../utils/crc.h"
#include "bloom_filter.h"
#include <algorithm>
#include <cassert>
#include <cstring>
using namespace dariadb;
using namespace dariadb::utils;
using namespace dariadb::storage;
using namespace dariadb::compression::v2;
// std::unique_ptr<ChunkCache> ChunkCach... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: fmtextcontroldialogs.cxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: rt $ $Date: 2005-09-08 22:57:33 $
*
* The Contents of this fi... |
<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>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: FldRefTreeListBox.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: obo $ $Date: 2008-02-26 10:46:37 $
*
* The Contents of this file... |
<commit_before>/*
kopeteidentity.cpp - Kopete Identity
Copyright (c) 2007 by Gustavo Pichorim Boiko <gustavo.boiko@kemail.net>
Kopete (c) 2002-2007 by the Kopete developers <kopete-devel@kde.org>
*************************************************************************
* ... |
<commit_before>/* Copyright 2021 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>#include "gbgpu.h"
gbgpu::gbgpu(z80mmu *mmu) {
this->mmu = mmu;
reset();
}
void gbgpu::reset() {
mode = 2;
modeclock = 0;
line = 0;
for (int i = 0; i < 4; ++i) {
pallete_bg[i] = pallete_obj0[i] = pallete_obj1[i] = 255;
}
for (int y = 0; y < _GBGPU_H; ++y) {
for (int x = 0; x < _GBGPU_W; +... |
<commit_before>// RUN: %clang_analyze_cc1 -analyzer-checker=debug.DumpCFG %s > %t 2>&1
// RUN: FileCheck --input-file=%t %s
// RUN: %clang_analyze_cc1 -analyzer-checker=core,debug.ExprInspection -std=c++14 -verify %s
void clang_analyzer_eval(bool);
int global;
namespace variant_0 {
// This variant of the code works ... |
<commit_before>/* libs/graphics/sgl/SkShader.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.org/l... |
<commit_before>#ifndef TOML_PARSE_VALUE
#define TOML_PARSE_VALUE
#include "definitions.hpp"
#include "toml_values.hpp"
namespace toml
{
// to test
template<typename charT, typename traits, typename alloc>
std::shared_ptr<value_base>
parse_value(const std::basic_string<charT, traits, alloc>& str)
{
return std::mak... |
<commit_before>/* Copyright © 2001-2014, Canal TP and/or its affiliates. All rights reserved.
This file is part of Navitia,
the software to build cool stuff with public transport.
Hope you'll enjoy and contribute to this project,
powered by Canal TP (www.canaltp.fr).
Help us simplify mobility and open public ... |
<commit_before>#include <iostream>
#include <fstream>
#include <memory>
#include <boost/algorithm/string.hpp>
using namespace std;
/* Becasue I want to use OpenMP,
* So I must use vector as the container for paras, because openmp require random access iterator.
* And must use list as the container for results, beca... |
<commit_before>/*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distributed WIT... |
<commit_before>/*************************************************
* PBE Retrieval Source File *
* (C) 1999-2007 Jack Lloyd *
*************************************************/
#include <botan/get_pbe.h>
#include <botan/oids.h>
#include <botan/parsing.h>
#if defined(BOTAN_HAS... |
<commit_before>#include <iostream>
#include <fstream>
#include <sstream>
#include "phonemeDict.h"
/*
* Assembles the map<word,phoneme> dictionary by reading one line at a time,
* separating the word from the pronunciation, encoding the phoneme, and
* putting the pair in the map
*/
PhonemeDict::PhonemeDict() {
... |
<commit_before>/*
* MIT License
*
* Copyright (c) 2009-2018 Jingwood, unvell.com. All right reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without ... |
<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>/*
* Copyright (C) 2017 ScyllaDB
*/
/*
* This file is part of Scylla.
*
* Scylla is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your op... |
<commit_before>/*
* Copyright 2018 NXP.
*
* 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 conditions and the following disclaimer.
... |
<commit_before>#include <QMessageBox>
#include <QCloseEvent>
#include <QMenu>
#include <QTreeWidget>
#include "about.h"
#include "settings.h"
#include "messagedialog.h"
#include "qommunicate.h"
Qommunicate::Qommunicate(QWidget *parent)
: QMainWindow(parent)
{
ui.setupUi(this);
createTrayIcon();
}
vo... |
<commit_before>/*
* 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 program is distributed in the hope... |
<commit_before>/*
+----------------------------------------------------------------------+
| Swoole |
+----------------------------------------------------------------------+
| This source file is subject to version 2.0 of the Apache license, |
... |
<commit_before>/*
This file is part of the kblog library.
Copyright (c) 2007 Christian Weilbach <christian@whiletaker.homeip.net>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foun... |
<commit_before>//
// Copyright (c) 2009, Markus Rickert
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice,
// this... |
<commit_before>/*
* Copyright (c) 2014, webvariants GmbH, http://www.webvariants.de
*
* This file is released under the terms of the MIT license. You can find the
* complete text in the attached LICENSE file or online at:
*
* http://www.opensource.org/licenses/mit-license.php
*
* @author: Thomas Krause (thomas... |
<commit_before>#include "stft_client.h"
#include "app_globals.h"
#include "audio_nodes.h"
#include "recorder_node.h"
#include "stft_request.h"
#include "stft_client_storage.h"
#include <cinder/audio/dsp/Fft.h>
#include <cinder/audio/Buffer.h>
#include <mutex>
#include <thread>
#include <tuple>
namespace cieq {
names... |
<commit_before>#include <iostream>
#include <string>
#include <assert.h>
#include <cstdlib>
#include <log4cxx/logger.h>
#include <log4cxx/xml/domconfigurator.h>
using namespace log4cxx;
using namespace log4cxx::xml;
#include "hdf5.h"
#include "swmr-testdata.h"
#include "timestamp.h"
#include "progressbar.h"
#include... |
<commit_before>/* Copyright (c) 2011-2012, AOYAMA Kazuharu
* All rights reserved.
*
* This software may be used and distributed according to the terms of
* the New BSD License, which is incorporated herein by reference.
*/
#include <THttpHeader>
/*!
\class THttpHeader
\brief The THttpHeader class is the abst... |
<commit_before>/*
* Copyright 2007-2017 Content Management AG
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source... |
<commit_before>/*
Copyright (c) 2016 Xavier Leclercq
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, ... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: galmisc.hxx,v $
*
* $Revision: 1.9 $
*
* last change: $Author: rt $ $Date: 2005-09-08 17:49:41 $
*
* The Contents of this file are made a... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: svxpch.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2005-09-09 01:24:41 $
*
* The Contents of this file are made av... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: txatritr.hxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: kz $ $Date: 2005-10-05 13:19:21 $
*
* The Contents of this file are made ... |
<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/message_pump_glib_x.h"
#include <gdk/gdkx.h>
#if defined(HAVE_XINPUT2)
#include <X11/extensions/XInput2.h>
#else
#inclu... |
<commit_before>#include <PrecompiledHeader.h>
#include "Micro/Units/ProtossGround/ZealotUnit.h"
#include "Micro/UnitsGroup.h"
#include "Regions/MapManager.h"
using namespace std;
using namespace BWAPI;
ProbTables ZealotUnit::_sProbTables = ProbTables(UnitTypes::Protoss_Zealot.getID());
std::set<UnitType> Z... |
<commit_before>#pragma once
#include "But/Format/Parsed.hpp"
#include "argumentsCountWithChecks.hpp"
namespace But
{
namespace Format
{
namespace detail
{
template<size_t ArgumentsCount>
struct CompiletimeCheckedFormatProxy final
{
static auto make(char const* fmt) { return Parsed{fmt}; }
};
#define BUT_FORMAT_DET... |
<commit_before>#include "MUSI8903Config.h"
#ifdef WITH_TESTS
#include <cassert>
#include <cstdio>
#include <fstream>
#include "UnitTest++.h"
#include <vector>
#include "FastConv.h"
#include "Synthesis.h"
extern std::string cTestDataDir;
SUITE(FastConv)
{
struct FastConvData
{
FastConvData()
... |
<commit_before>// Copyright (c) 2010-2020, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
// This file is part of the MFEM library. For more information and source code
// availa... |
<commit_before>/*
The OpenTRV project licenses this file to you
under the Apache Licence, Version 2.0 (the "Licence");
you may not use this file except in compliance
with the Licence. You may obtain a copy of the Licence at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in w... |
<commit_before>/**
* @file dual_tree_kmeans_rules_impl.hpp
* @author Ryan Curtin
*
* A set of tree traversal rules for dual-tree k-means clustering.
*/
#ifndef __MLPACK_METHODS_KMEANS_DUAL_TREE_KMEANS_RULES_IMPL_HPP
#define __MLPACK_METHODS_KMEANS_DUAL_TREE_KMEANS_RULES_IMPL_HPP
// In case it hasn't been included... |
<commit_before>/****************************************************************************
**
** QtMEL is a Qt Media Encoding Library that allows to encode video and audio streams
** Copyright (C) 2013 Kirill Bukaev(aka KIBSOFT).
** Contact: Kirill Bukaev (support@kibsoft.ru)
**
** This library is free software; you ... |
<commit_before>/*=========================================================================
*
* Copyright UMC Utrecht and contributors
*
* 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>// License: Apache 2.0. See LICENSE file in root directory.
// Copyright(c) 2016 Intel Corporation. All Rights Reserved
#include "PersonTrackingServer.h"
#include "PersonTracking2RosHelper.h"
namespace realsense_ros_person
{
PersonTrackingServer::PersonTrackingServer()
{}
void PersonTrack... |
<commit_before>/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: itkTopHatImageFilterTest.cxx,v $
Language: C++
Date: $Date: 2005-09-01 13:41:14 $
Version: $Revision: 1.1 $
Copyright (c) Insight S... |
<commit_before>/* dtkPluginGeneratorCMakeLists.cpp ---
*
* Author: Julien Wintz
* Copyright (C) 2008 - Julien Wintz, Inria.
* Created: Tue Mar 10 10:18:39 2009 (+0100)
* Version: $Id$
* Last-Updated: Tue Sep 29 08:33:35 2009 (+0200)
* By: Julien Wintz
* Update #: 22
*/
/* Commentary:
*
*/
... |
<commit_before>/*************************************************************************/
/* native_extension_manager.cpp */
/*************************************************************************/
/* This file is part of: */
/... |
<commit_before>/// Class copied from the Urho3D project. Modified for Tundra use.
//
// Copyright (c) 2008-2014 the Urho3D project.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software with... |
<commit_before>// ======================================================================== //
// Copyright 2009-2017 Intel Corporation //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); ... |
<commit_before>//
// Test Suite for C-API GEOSMinimumWidth
#include <tut.hpp>
// geos
#include <geos_c.h>
// std
#include <cstdarg>
#include <cstdio>
#include <cstdlib>
namespace tut
{
//
// Test Group
//
// Common data used in test cases.
struct test_capigeosminimumwidth_data
{
GEOSGe... |
<commit_before>/*===========================================================================*\
* *
* OpenMesh *
* Copyright (C) 2001-2011 by Computer Graphics Group, RWTH Aa... |
<commit_before>#include "sendcoinsentry.h"
#include "ui_sendcoinsentry.h"
#include "guiutil.h"
#include "bitcoinunits.h"
#include "addressbookpage.h"
#include "walletmodel.h"
#include "optionsmodel.h"
#include "addresstablemodel.h"
#include <QApplication>
#include <QClipboard>
SendCoinsEntry::SendCoinsEntry(QWidget *... |
<commit_before>/* ========================================================================= *
* *
* OpenMesh *
* Copyright (c) 2001-2015, RWTH-Aachen University ... |
<commit_before>/*
Now playing... presence plugin
Copyright (C) 2011 Martin Klapetek <martin.klapetek@gmail.com>
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><commit_msg>clear redraw needed flag<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* $RCSfile: BResultSetMetaData.cxx,v $
*
* $Revision: 1.1.1.1 $
*
* last change: $Author: hr $ $Date: 2000-09-18 16:14:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the f... |
<commit_before>
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkImageRef_GlobalPool.h"
#include "SkImageRefPool.h"
#include "SkThread.h"
extern SkBaseMutex gImageRefMutex;
static SkImageRefPool gGlobalImageRefP... |
<commit_before>// For conditions of distribution and use, see copyright notice in license.txt
#include "StableHeaders.h"
#include "DebugOperatorNew.h"
#include "Provider.h"
#include "Session.h"
#include "MumbleVoipModule.h"
#include "ServerInfoProvider.h"
#include "MicrophoneAdjustmentWidget.h"
#include "EC_VoiceChan... |
<commit_before>// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "imported_search_context.h"
#include "imported_attribute_vector.h"
#include <vespa/searchlib/common/bitvectoriterator.h>
#include <vespa/searchlib/queryeval/emptysearch.h>
#inc... |
<commit_before>/**
* @file TaskManager.cpp
* @brief TaskManager class implementation.
* @author zer0
* @date 2019-12-19
*/
#include <libtbag/task/TaskManager.hpp>
#include <libtbag/signal/SignalHandler.hpp>
#include <libtbag/thread/ThreadKill.hpp>
#include <libtbag/thread/ThreadLocalStorage.hpp>
#include <li... |
<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... |
<commit_before><commit_msg>Calculate shadow far plane<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* $RCSfile: MABQueryHelper.hxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: dkenny $ $Date: 2001-05-28 22:02:59 $
*
* The Contents of this file are made available subject to the terms of
* either of the follo... |
<commit_before>/*************************************************************************
*
* $RCSfile: parser.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: obo $ $Date: 2004-03-17 13:34:18 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licens... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: sbxsng.cxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: obo $ $Date: 2006-10-12 14:33:50 $
*
* The Contents of this file are made a... |
<commit_before>// Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// ... |
<commit_before>
#include "LingHun.h"
enum CAUSE{
LING_HUN_ZHEN_BAO =2201,
LING_HUN_CI_YU =2202,
LING_HUN_ZENG_FU=2203,
LING_HUN_TUN_SHI=2204,
LING_HUN_ZHAO_HUAN=2205,
LING_HUN_ZHUAN_HUAN=2206,
LING_HUN_JING_XIANG=2207,
LING_HUN_LIAN_JIE=2208,
... |
<commit_before>////////////////////////////////////////////////////////////////////////////////
/// Reaper
///
/// Copyright (c) 2015-2019 Thibault Schueller
/// This file is distributed under the MIT License
////////////////////////////////////////////////////////////////////////////////
#include "Renderer.h"
#inclu... |
<commit_before>/*
* RandomSplitter.cpp
* Splits dataset into training and control datasets.
*
Copyright 2017 Grzegorz Mrukwa, Wojciech Wilgierz
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... |
<commit_before>/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** No Commercial Usage
**
** This file contains pre-release cod... |
<commit_before>/*
* Copyright (c) 2008-2016 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/
*
* MRtrix is distributed in the hope that... |
<commit_before>/************************************************************************
filename: CEGUIDragContainer.cpp
created: 14/2/2005
author: Paul D Turner
*************************************************************************/
/*************************************************************************
... |
<commit_before>/*
* Copyright © 2013 Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, mod... |
<commit_before>// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser Genera... |
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2013. All rights reserved
*/
#ifndef _Stroika_Foundation_Containers_Collection_inl_
#define _Stroika_Foundation_Containers_Collection_inl_
/*
********************************************************************************
*****************************... |
<commit_before>// Regression test for http://llvm.org/bugs/show_bug.cgi?id=21621
// This test relies on timing between threads, so any failures will be flaky.
// RUN: LSAN_BASE="use_stacks=0:use_registers=0"
// RUN: %clangxx_lsan %s -o %t
// RUN: %run %t
#include <assert.h>
#include <pthread.h>
#include <stdlib.h>
#inc... |
<commit_before>/*******************************************************************************
This file is part of FeCl.
Copyright (c) 2015, Etienne Pierre-Doray, INRS
Copyright (c) 2015, Leszek Szczecinski, INRS
All rights reserved.
FeCl is free software: you can redistribute it and/or modify
it under the ... |
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2022. All rights reserved
*/
#include "../StroikaPreComp.h"
#include "../Characters/SDKString.h"
#include "../Characters/StringBuilder.h"
#include "CommandLine.h"
using namespace Stroika::Foundation;
using namespace Stroika::Foundation::Execution;
/*
... |
<commit_before>// Copyright 2012 Cloudera 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 law or ... |
<commit_before>#include "display_buffer.hh"
#include "assert.hh"
#include "buffer.hh"
#include "buffer_utils.hh"
#include "face_registry.hh"
#include "utf8.hh"
#include "face_registry.hh"
namespace Kakoune
{
BufferIterator get_iterator(const Buffer& buffer, BufferCoord coord)
{
// Correct one past the end of li... |
<commit_before>#include "dlangindenter.h"
#include <texteditor/tabsettings.h>
#include <texteditor/textdocumentlayout.h>
#include <QTextDocument>
#include <QTextBlock>
#include <QTextCursor>
using namespace DlangEditor;
enum {
INDENTER_USER_FORMAT_ID = QTextFormat::UserFormat + 1
};
DlangIndenter::DlangIndente... |
<commit_before>/*
* Copyright (C) 2006-2013 Music Technology Group - Universitat Pompeu Fabra
*
* This file is part of Essentia
*
* Essentia 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 (FSF),... |
<commit_before>/*
* Copyright (C) 2015 Samsung Electronics Co., Ltd All Rights Reserved
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1 as published by the Free Software Foundation.
*
* This library is distr... |
<commit_before>/**
* @file TypeTable.hpp
* @brief TypeTable class prototype.
* @author zer0
* @date 2017-12-17
*/
#ifndef __INCLUDE_LIBTBAG__LIBTBAG_TYPE_TYPETABLE_HPP__
#define __INCLUDE_LIBTBAG__LIBTBAG_TYPE_TYPETABLE_HPP__
// MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER... |
<commit_before>// Copyright 2008, Google Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// this list o... |
<commit_before>//////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2007, Image Engine Design 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:... |
<commit_before>/**
* Copyright (c) 2011-2015 libbitcoin developers (see AUTHORS)
* Copyright (c) 2016-2018 metaverse core developers (see MVS-AUTHORS)
*
* This file is part of metaverse.
*
* metaverse is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public Li... |
<commit_before>#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <windows.h>
#include "refalrts-platform-specific.h"
bool refalrts::api::get_main_module_name(
char (&module_name)[refalrts::api::cModuleNameBufferLen]
) {
DWORD length = GetModuleFileName(NULL, module_name, cModul... |
<commit_before>/* SequenceBuilderWaveletTreeNoptrsS.cpp
* Copyright (C) 2012, Francisco Claude, all rights reserved.
*
* Francisco Claude <fclaude@cs.uwaterloo.ca>
*
* 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
* th... |
<commit_before>// DXGL
// Copyright (C) 2013 William Feely
// 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 ve... |
<commit_before>//---------------------------------------------------------------------------
// $Id$
// Version: $Name$
//
// Copyright (C) 1998, 2000, 2001, 2002, 2003, 2005 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information.... |
<commit_before>/*
* Copyright (C) 2008-2011, Gostai S.A.S.
*
* This software is provided "as is" without warranty of any kind,
* either expressed or implied, including but not limited to the
* implied warranties of fitness for a particular purpose.
*
* See the LICENSE file for more information.
*/
#include <io... |
<commit_before>#include "../include/rice.hpp"
namespace rice {
RiceDecoder::RiceDecoder(const data::RiceEncodedData& encodedData)
: input(encodedData.encodedData)
, dataCount(encodedData.dataCount)
, optimumRiceParam(encodedData.optimumRiceParam)
{
}
inline void RiceDecoder::generateEncodedBits()
{
bi... |
<commit_before><commit_msg>[TD]multiple faces in GeomHatch<commit_after><|endoftext|> |
<commit_before>/*
* Copyright 2014-present Facebook, 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 appl... |
<commit_before>/*
* Copyright (C) 2017 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>/* Luwra
* Minimal-overhead Lua wrapper for C++
*
* Copyright (C) 2015, Ole Krüger <ole@vprsm.de>
*/
#ifndef LUWRA_COMMON_H_
#define LUWRA_COMMON_H_
extern "C" {
#include <lua.h>
#include <lualib.h>
#include <lauxlib.h>
}
// Check for proper Lua version
#if !defined(LUA_VERSION_NUM) || LUA_VERS... |
<commit_before>// Copyright (c) 2014-2015 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/ColinH/PEGTL/
#ifndef PEGTL_INTERNAL_RULE_MATCH_TWO_HH
#define PEGTL_INTERNAL_RULE_MATCH_TWO_HH
#include <cstdlib>
#include "../apply_mode.hh"
#include "apply_here.hh"
#include "r... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.