text stringlengths 54 60.6k |
|---|
<commit_before>/*************************************************************************
*
* $RCSfile: fldmgr.hxx,v $
*
* $Revision: 1.12 $
*
* last change: $Author: rt $ $Date: 2004-08-23 10:51:41 $
*
* 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: labimg.hxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: rt $ $Date: 2005-09-09 09:24:28 $
*
* The Contents of this file are made av... |
<commit_before><commit_msg>test with pairs (K, V1), (K, V2) where V1 != V2<commit_after><|endoftext|> |
<commit_before>/****************************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the V4VM module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage... |
<commit_before>// Copyright (c) 2011-2015 The Bitcoin Core developers
// Copyright (c) 2015-2018 The Bitcoin Unlimited developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "signverifymessagedialog.h"
#include "ui_... |
<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>//! @Alan
//!
//! Exercise 11.3:
//! Write your own version of the word-counting program.
//!
//! Exercise 11.4:
//! Extend your program to ignore case and punctuation.
//! For example, “example.” “example,” and “Example” should
//! all increment the same counter.
//!
#include <iostream>
#include <map>
... |
<commit_before>#include <boost/filesystem.hpp>
#include <boost/filesystem/fstream.hpp>
#include <boost/algorithm/string.hpp>
#include <iostream>
#include <stdexcept>
std::vector<boost::filesystem::path>
read_file_list(const boost::filesystem::path &filename)
{
auto file_size(boost::filesystem::file_size(filename));... |
<commit_before>/** Copyright (C) 2017 Ultimaker - Released under terms of the AGPLv3 License */
#include "PathConfigStorage.h"
#include "settings.h" // MAX_INFILL_COMBINE
#include "../sliceDataStorage.h" // SliceDataStorage
namespace cura
{
GCodePathConfig getPerimeterGapConfig(const SliceMeshStorage& mesh, int lay... |
<commit_before>/*
* substitutionMap.cpp
*
*/
#include "SubstitutionMap.h"
#include "simplifier.h"
#include "../AST/ArrayTransformer.h"
namespace BEEV
{
SubstitutionMap::~SubstitutionMap()
{
delete SolverMap;
}
// if false. Don't simplify while creating the substitution map.
// This makes it easier to spot how l... |
<commit_before>/**
* Created by Jian Chen
* @since 2016.01.09
* @author Jian Chen <admin@chensoft.com>
* @link http://chensoft.com
*/
#include "cmd.hpp"
#include "log.hpp"
#include "path.hpp"
#include <string.h>
#include <iostream>
using namespace chen;
using namespace chen::cmd;
// --------------------------... |
<commit_before>/*******************************************************************************
Copyright (c) The Taichi Authors (2016- ). All Rights Reserved.
The use of this software is governed by the LICENSE file.
*******************************************************************************/
#include <co... |
<commit_before>/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2013, Silvio Traversaro, CoDyCo project
* Copyright (c) 2008, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or... |
<commit_before>/*
* File: parserutils.cpp
* Copyright (C) 2004 The Institute for System Programming of the Russian Academy of Sciences (ISP RAS)
*/
#include "sedna.h"
#include <string>
#include <stdlib.h>
#include <string.h>
#include "utf8.h"
using namespace std;
bool check_char_wellformedness(int c)
{
if (c =... |
<commit_before>class Solution {
public:
/**
* @param s input string
* @return the longest palindromic substring
*/
string longestPalindrome(string& s) {
// Write your code here
int i,j,k,lenS = s.size();
int tmp_len;
string rtLongPalin;
int last_len = -1 , ... |
<commit_before>#include <cstdio>
#define VERTEX_COUNT 100000
#define EDGE_COUNT 100000
using namespace std;
struct vertex
{
int first_edge;
bool vis;
}V[VERTEX_COUNT];
struct edge
{
int endp, next;
}E[EDGE_COUNT];
int ec = 1;
int Q[VERTEX_COUNT];
int hp = 0, tp = 0;
void enqueue(int x)
{
Q[tp++] = x;
}
int ... |
<commit_before><commit_msg>implemented consistency check in dumptree_RD - it is checked if "Tag" contains the "prodName"<commit_after><|endoftext|> |
<commit_before>void GLWidget::mouseMoveEvent(QMouseEvent *event)
{
if (event->buttons() & Qt::LeftButton) {
switch (activeViewport) { // Move cameras in viewports accordingly
case ISO: isoCamera->setDeltaTheta(toRadians(xClick - event->x() + (width / 2)));
isoCamera->setDeltaPhi(toRadian... |
<commit_before>/******************************************************************
DHT Temperature & Humidity Sensor library for Arduino.
Features:
- Support for DHT11 and DHT22/AM2302/RHT03
- Auto detect sensor model
- Very low memory footprint
- Very small code
http://www.github.com/markruys/arduino-D... |
<commit_before>/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: VectorCurvatureAnisotropicDiffusionImageFilter.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2002 Insight Consortium. All ... |
<commit_before>// Time: O(n)
// Space: O(1)
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
/**
* @param head a ListNode
* @param k an integer
* @return a ListNode... |
<commit_before><commit_msg>Add to spirit test<commit_after><|endoftext|> |
<commit_before><commit_msg>Buildfix<commit_after><|endoftext|> |
<commit_before>#include "simpleplayer.h"
#include "randomplayer.h"
void SimplePlayer::newGame(int /*player*/, const Game * game)
{
SimplePlayer::game = game;
board = game->getBoard();
}
void SimplePlayer::playerMoved(int /*player*/, const Tile * /*tile*/, const MoveHistoryEntry & /*move*/)
{
}
#define SIMPLE_PLAYE... |
<commit_before>
/***************************************************************************/
/**
** @file
** @brief definition of ParamMMFS_t
*/
/***************************************************************************/
#include <math.h>
#include "../tListInputData/tListInputData.h"
#include "ParamMesh_t.h"
Par... |
<commit_before>#include "ocu.h"
#include <cuda.h>
#include <nvrtc.h>
#ifdef __USE_CUDA__
ocu_args_d_t& getOcu(void)
{
static bool bInit = false;
static ocu_args_d_t ocu;
if (bInit == true) return ocu;
bInit = true;
CUresult err = cuInit(0);
LOG_CU_RESULT(err);
CUdevice dev = 0;
CUco... |
<commit_before>/*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distr... |
<commit_before>/*
* Copyright (c) 2016 The ZLToolKit project authors. All Rights Reserved.
*
* This file is part of ZLToolKit(https://github.com/xiongziliang/ZLToolKit).
*
* Use of this source code is governed by MIT license that can be found in the
* LICENSE file in the root of the source tree. All contributing... |
<commit_before>/*
* PrimeNumberFinder.cpp -- This file is part of primesieve
*
* Copyright (C) 2010 Kim Walisch, <kim.walisch@gmail.com>
*
* 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, ... |
<commit_before><commit_msg>Vulkan/Device: Make Device a handled object<commit_after><|endoftext|> |
<commit_before><commit_msg>Cleanup<commit_after><|endoftext|> |
<commit_before><commit_msg>Code-review: [FIX] type promotion, overflow preventing<commit_after><|endoftext|> |
<commit_before><commit_msg>Add missing include<commit_after><|endoftext|> |
<commit_before><commit_msg>refactor parser combinator for Ulfberht<commit_after><|endoftext|> |
<commit_before><commit_msg>Fix layout<commit_after><|endoftext|> |
<commit_before>/*
* (C) Copyright 2015 ETH Zurich Systems Group (http://www.systems.ethz.ch/) and others.
*
* 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/... |
<commit_before>#include "includes/SWidgets/SWebView.hpp"
#include "includes/SWidgets/STabWidget.hpp"
#include "includes/SMainWindow.hpp"
#include <QMessageBox>
#include <QVBoxLayout>
SWebView::SWebView(QWidget * parent, STabWidget *parentTab, QUrl url) :
QWebEngineView(parent),
m_parent(parent),
m_parentTab(parent... |
<commit_before>#include "SequenceRowEditor.h"
#include "SequenceRow.h"
#include "Sequence.h"
#include "Song.h"
#include "EditorState.h"
#include "Renderer.h"
#include "Color.h"
SequenceRowEditor::SequenceRowEditor(EditorState& editorState, Song& song)
: ColumnEditor(editorState, editorState.sequenceEditor, SequenceRo... |
<commit_before>#include "clock.h"
#include <iomanip>
#include <sstream>
using namespace std;
namespace date_independent
{
clock& clock::plus(int minutes)
{
minute_ += minutes;
if (minute_ > 60) {
hour_ += (minute_/60);
hour_ %= 24;
minute_ %= 60;
}
return *this;
}
clock& cloc... |
<commit_before>// -*- C++ -*-
//----------------------------------------------------------------------
//
// William S. Klug
// Luigi Perotti
// University of California Los Angeles
// (C) 2004 All Rights Reserved
//
//-----------------... |
<commit_before>#include "BMP085.h"
namespace touch_develop {
namespace bmp085 {
using namespace ::touch_develop::i2c;
I2CSimple i2c(0x77);
uint8_t _bmp085Mode;
bmp085_calib_data _bmp085_coeffs;
void readCoefficients() {
#if BMP085_USE_DATASHEET_VALS
_bmp085_coeffs.ac1 = 408;
_bmp085_coeffs.a... |
<commit_before>#ifndef DISSENT_TEST_H_GUARD
#define DISSENT_TEST_H_GUARD
#define TEST_RANGE_MIN 15
#define TEST_RANGE_MAX 20
#include <qcoreapplication.h>
#include <gtest/gtest.h>
#include "Dissent.hpp"
#include "Mock.hpp"
#include "RpcTest.hpp"
#endif
<commit_msg>[Tests] bumped up the range for nodes<commit_after... |
<commit_before>/*
* Copyright (C) 2016 Matthew D. Scholefield
*
* 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 3 of the License, or
* (at your option) any later version.
*... |
<commit_before>
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
#include "Piston.h"
#include "ChunkDef.h"
#include "Pickup.h"
#include "Item.h"
#include "Root.h"
#include "ClientHandle.h"
#include "World.h"
#include "BlockID.h"
#include "Server.h"
#include "Blocks/BlockHa... |
<commit_before>#include <Utils/GL+/Texture.h>
namespace GL {
Texture::Texture() {
create();
}
Texture::Texture(const Util::Image& image, Target target, Format format, InternalFormat internalFormat) {
create();
load(image, target, format, internalFormat);
}
Texture::T... |
<commit_before>/* Copyright (c) 2008-2017 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 it... |
<commit_before>#include<iostream>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<algorithm>
#include<set>
using namespace std;
#define ll long long
#define ull unsigned long long
#define mem(Arr,x) memset(Arr,x,sizeof(Arr))
const int maxN=1010;
const int maxL=110;
const ull base=13;
const int inf=21474... |
<commit_before>#ifndef MJOLNIR_BOUNDARY_CONDITION
#define MJOLNIR_BOUNDARY_CONDITION
#include <cassert>
namespace mjolnir
{
template<typename traitsT>
struct UnlimitedBoundary
{
typedef traitsT traits_type;
typedef typename traits_type::real_type real_type;
typedef typename traits_type::coordinate_type co... |
<commit_before>//////////////////////////////////////////////////////////////////////////
//
// SneezyMUD - All rights reserved, SneezyMUD Coding Team
//
// cmd_zones.cc : The "zones" command
//
//////////////////////////////////////////////////////////////////////////
#include <algorithm>
#include "stdsneezy.h"
#i... |
<commit_before>//////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 1996, SneezyMUD Coding Team
// All rights reserved.
//
// "materials.cc" - Various functions related to materials.
//
// $Log: materials.cc,v $
// Revision 1.2 1999/09/13 13:52:13 batopr
// *** empty log mess... |
<commit_before>//////////////////////////////////////////////////////////////////////////
//
// SneezyMUD - All rights reserved, SneezyMUD Coding Team
//
//////////////////////////////////////////////////////////////////////////
#include "stdsneezy.h"
#include "obj_plant.h"
TPlant::TPlant() :
TExpandableContainer()... |
<commit_before>/******************************************************************************\
* EventHandler.cpp *
* An event handler providing GUI-like events *
* ... |
<commit_before>// RUN: clang-cc -fsyntax-only -verify %s
#include <stddef.h>
struct S // expected-note {{candidate}}
{
S(int, int, double); // expected-note {{candidate}}
S(double, int); // expected-note 2 {{candidate}}
S(float, int); // expected-note 2 {{candidate}}
};
struct T; // expected-note{{forward decla... |
<commit_before>/*
This file is part of KDE.
Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
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 Foundation; either
versio... |
<commit_before>//===- InstructionSimplify.cpp - Fold instruction operands ----------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>//===-- llvm/CodeGen/DwarfFile.cpp - Dwarf Debug Framework ----------------===//
//
// 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) 2003-2005 The Regents of The University of Michigan
* 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 c... |
<commit_before>//===- lib/Runtimes/Tracer/WrapCstdio_h.cpp -------------------------------===//
//
// SeeC
//
// This file is distributed under The MIT License (MIT). See LICENSE.TXT for
// details.
//
//===----------------------------------------------------------------------===//
//... |
<commit_before>//===- ConstantMerge.cpp - Merge duplicate global constants -----------------=//
//
// This file defines the interface to a pass that merges duplicate global
// constants together into a single constant that is shared. This is useful
// because some passes (ie TraceValues) insert a lot of string constan... |
<commit_before>// Copyright 2014 the V8 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.
#include "src/base/bits.h"
#include "src/base/macros.h"
#include "testing/gtest-support.h"
#ifdef DEBUG
#define DISABLE_IN_RELEASE(Name)... |
<commit_before>/* vim: set sw=4 sts=4 et foldmethod=syntax : */
#include <max_clique/tbmcsa_max_clique.hh>
#include <max_clique/colourise.hh>
#include <max_clique/print_incumbent.hh>
#include <threads/atomic_incumbent.hh>
#include <threads/queue.hh>
#include <graph/degree_sort.hh>
#include <algorithm>
#include <list>... |
<commit_before>//
// Copyright (c) 2018 The ANGLE 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.
//
// EGLDebugTest.cpp:
// Tests of EGL_KHR_debug extension
#include <gtest/gtest.h>
#include <EGL/egl.h>
#include <EGL/egle... |
<commit_before>// Floating Temple
// Copyright 2015 Derek S. Snyder
//
// 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 requi... |
<commit_before>// -*- coding: utf-8 -*-
// Copyright (C) 2012-2014 MUJIN Inc. <rosen.diankov@mujin.co.jp>
//
// 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/lice... |
<commit_before>/*
* Copyright (C) 2018 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>/* cbr
* CSFQODPFlowScheduler.cpp
*
* Copyright (c) 2010, Ewen Cheslack-Postava
* 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... |
<commit_before>/*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the imp... |
<commit_before>/*=========================================================================
Program: Medical Imaging & Interaction Toolkit
Language: C++
Date: $Date$
Version: $Revision: 1.12 $
Copyright (c) German Cancer Research Center, Division of Medical and
Biological Informatics. All rights reserved.
... |
<commit_before>#include <iostream>
#include <fstream>
#include <ctime>
#include <cstdio>
#include <getopt.h>
#include <sys/stat.h>
#include "gcsa.h"
#include "subcommand.hpp"
// From gcsa2
#include "files.h"
#include "json2pb.h"
#include "vg.hpp"
#include "vg.pb.h"
#include "index.hpp"
#include "mapper.hpp"
#include "V... |
<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><commit_msg>#99549# check used columns<commit_after><|endoftext|> |
<commit_before><commit_msg>css.sdbc.XResultSet.getRow return type is long<commit_after><|endoftext|> |
<commit_before>#include "gtest/gtest.h"
#include "gpac/module.h"
#include "gpac/modules/codec.h"
#include "gpac/modules/service.h"
#include "gpac/internal/terminal_dev.h"
using namespace std;
string signals_fld;
string modules_fld;
string preserved_fld;
string accessors_fld;
GF_ModuleManager *modules;
GF_Config *co... |
<commit_before>#include "trainmonitor.h"
#include <QFile>
#include <QDir>
#include <QTextStream>
#include <QThread>
TrainMonitor::TrainMonitor()
{
#pragma message("[MKJ] Clean up when everything is done")
#pragma message("[MKJ] Look for things that would be useful in a log")
}
TrainMonitor::~TrainMonitor()
{
}
vo... |
<commit_before>#include <eeros/control/Constant.hpp>
#include <eeros/math/Matrix.hpp>
#include <eeros/core/Fault.hpp>
#include <eeros/control/Transition.hpp>
#include <gtest/gtest.h>
#include <Utils.hpp>
using namespace eeros;
using namespace eeros::control;
using namespace eeros::math;
TEST(controlTransitionNameTes... |
<commit_before>//
// ulib - a collection of useful classes
// Copyright (C) 2006,2007,2008,2014,2017 Michael Fink
//
/// \file TextStreamFilter.cpp text stream filter
//
#include "stdafx.h"
#include <ulib/stream/TextStreamFilter.hpp>
#include <ulib/Exception.hpp>
#include <ulib/UTF8.hpp>
#include <vector>
/// characte... |
<commit_before>
//
// This source file is part of appleseed.
// Visit http://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited
//
// Permission is hereby granted, free of charge, to any pe... |
<commit_before>//
// calcPWP.cpp
//
//
// Created by Evan McCartney-Melstad on 1/10/15.
//
//
#include "calcPWP.h"
#include <iostream>
#include <vector>
#include <fstream>
#include <thread>
#include <string>
int calcPWPfromBinaryFile (std::string binaryFile, unsigned long long int numLoci, const int numIndividua... |
<commit_before>#include <node.h>
#include <v8.h>
#include <boost/numeric/ublas/vector.hpp>
#include <fstream>
//include the schema that was sent
#include "cpx.hh"
#include <avro/ValidSchema.hh>
#include <avro/Compiler.hh>
#include <avro/Encoder.hh>
#include <avro/Decoder.hh>
#include "avro/Specific.hh"
#include "... |
<commit_before>/**
* Copyright (c) 2015 - The CM Authors <legal@clickmatcher.com>
* All Rights Reserved.
*
* This file is CONFIDENTIAL -- Distribution or duplication of this material or
* the information contained herein is strictly forbidden unless prior written
* permission is obtained.
*/
#include "Document... |
<commit_before>
/****************************************************************************
** Copyright (c) 2006 - 2011, the LibQxt project.
** See the Qxt AUTHORS file for a list of authors and copyright holders.
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without
** mod... |
<commit_before>//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//------------------------------------------... |
<commit_before>struct Date{
int d,m,y;
static int month[], monthsum[];
Date() : d(1), m(1), y(1) {}
Date(int d, int m, int y) : d(d), m(m), y(y) {}
Date(int days) : d(1), m(1), y(1) {
advance(days);
}
int mdays() {
if(m!=2)
return month[m];
return 28+bisse... |
<commit_before>//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===-------------------------... |
<commit_before>#ifndef UTILITY_HPP
# define UTILITY_HPP
#include <cstddef>
#include <type_traits>
namespace generic
{
template <::std::size_t...> struct indices { };
namespace detail
{
// indices
template<class A, class B> struct catenate_indices;
template <::std::size_t ...Is, ::std::size_t ...Js>
struct catena... |
<commit_before>/* Copyright 2018 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>//===- IndexingContext.cpp - Indexing context data ------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>///////////////////////////////////////////////////////////////////////
// File: fontinfo.cpp
// Description: Font information classes abstracted from intproto.h/cpp.
// Author: rays@google.com (Ray Smith)
// Created: Wed May 18 10:39:01 PDT 2011
//
// (C) Copyright 2011, Google Inc.
// L... |
<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 discl... |
<commit_before>//===-- StringTableBuilder.cpp - String table building utility ------------===//
//
// 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) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//------------------------------------------... |
<commit_before>#ifndef UTIL_VARIANT_HPP
#define UTIL_VARIANT_HPP
#include <utility>
#include <typeinfo>
#include <type_traits>
#include <algorithm> // std::move/swap
#include <stdexcept> // runtime_error
#include <new> // operator new
#include <cstddef> // size_t
#ifdef NDEBUG
#define VARIANT_INLINE inline __attribu... |
<commit_before>/**************************************************************************
*
* Copyright 2011 Jose Fonseca
* All Rights 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 t... |
<commit_before>/*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/*
* This GM exercises stroking of paths with large stroke lengths, which is
* referred to as "overstroke" for brevity. In Skia as of 8/2016 we offset
* eac... |
<commit_before>// (c) Ivan Gagis
// e-mail: igagis@gmail.com
#include <ting/debug.hpp>
#include <ting/Thread.hpp>
#include "Connection.hpp"
#include "ConnectionsThread.hpp"
using namespace cliser;
void Connection::Send_ts(ting::Array<ting::u8> data){
ting::Mutex::Guard mutexGuard(this->parentThreadMutex);//mak... |
<commit_before>/*************************************************************************
*
* $RCSfile: finteraction.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: hr $ $Date: 2004-08-02 15:48:50 $
*
* The Contents of this file are made available subject to the terms of
* either of the following l... |
<commit_before>/*************************************************************************
*
* $RCSfile: ScrollHelper.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: vg $ $Date: 2004-01-06 16:46:28 $
*
* The Contents of this file are made available subject to the terms of
* either of the following l... |
<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 LICENSE that should have accompanied this file.
*
* THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
... |
<commit_before>#pragma once
#include <mutex>
#include <deque>
#include <functional>
#include <memory>
#include <boost/signals2.hpp>
#include <boost/asio.hpp>
#include "linebuffer.hpp"
namespace util
{
//! Specifies that util::connection should use a single read handler
struct connection_single_handler_tag {};
/... |
<commit_before>/* description.cc
Mathieu Stefani, 24 février 2016
Implementation of the description system
*/
#include <sstream>
#include <algorithm>
#include <pistache/description.h>
#include <pistache/http_header.h>
namespace Pistache {
namespace Rest {
const char* schemeString(Scheme scheme) {
swit... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.