text stringlengths 54 60.6k |
|---|
<commit_before>#include <QString>
#include <coreplugin/icore.h>
#include "Settings.h"
#include "Constants.h"
using namespace QtcCppcheck::Constants;
using namespace QtcCppcheck::Internal;
Settings::Settings(bool autoLoad) :
checkOnBuild_ (false), checkOnSave_ (false),
checkOnProjectChange_ (false), checkOnFileA... |
<commit_before>//
// This file contains the class InputDialog.
// An InputDialog object prompts for an input string using a simple
// dialog box. The InputDialog class is also a good example of how
// to use the ROOT GUI classes via the interpreter. Since interpreted
// classes can not call virtual functions via base c... |
<commit_before>/// @file
/// @copyright The code is licensed under the BSD License
/// <http://opensource.org/licenses/BSD-2-Clause>,
/// Copyright (c) 2013-2015 Alexandre Hamez.
/// @author Alexandre Hamez
#include <map>
#include <string>
#include <utility>
#include <boost/algorithm/string/join... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: charmap.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: vg $ $Date: 2007-04-11 15:40:07 $
*
* The Contents of this file are made a... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: svdxcgv.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: vg $ $Date: 2007-04-11 16:29:09 $
*
* The Contents of this file are made a... |
<commit_before>#include <boost/python.hpp>
#include <Magick++/Montage.h>
using namespace boost::python;
void __Montage()
{
class_< Magick::Montage >("Montage", init< >())
.def("backgroundColor",
(void (Magick::Montage::*)(const Magick::Color&))
&Magick::Montage::backgroundColo... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: SwAppletImpl.hxx,v $
*
* $Revision: 1.7 $
*
* last change: $Author: rt $ $Date: 2005-09-09 01:28:54 $
*
* The Contents of this file are m... |
<commit_before>
#include <gtest/gtest.h>
#include <aerial_autonomy/common/conversions.h>
#include <aerial_autonomy/controller_connectors/mpc_controller_quad_connector.h>
#include <aerial_autonomy/controller_connectors/visual_servoing_reference_connector.h>
#include <aerial_autonomy/controllers/ddp_quad_mpc_controller.... |
<commit_before>#include "iApp.h"
#include "bbcConfig.h"
#include "Poco/DateTimeParser.h"
string iApp::app_name = "iApp";
string iApp::app_version = "1.0.0";
// Archive (compress) logs that are 1MB
#define IAPP_DEF_LOG_SIZE_ARCH_KB_MAX 1024
using namespace bbc::utils;
iApp::iApp(string _app_name, string _app_versio... |
<commit_before>/* ===========================================================================
* The MIT License (MIT)
*
* Copyright (c) 2016 Jedidiah Buck McCready <[email protected]>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documenta... |
<commit_before>/*************************************************************************
*
* $RCSfile: bootstrap.hxx,v $
*
* $Revision: 1.12 $
*
* last change: $Author: jb $ $Date: 2001-04-05 14:31:45 $
*
* The Contents of this file are made available subject to the terms of
* either of the following lic... |
<commit_before>#include "bitstream.h"
#include <complex>
#include "wdsp/wdsp.h"
#include "filters.h"
#define FS 250000.0
#define FC_0 57000.0
#define IBUFLEN 4096
#define OBUFLEN 128
#define BITBUFLEN 1024
namespace redsea {
int sign(double a) {
return (a >= 0 ? 1 : 0);
}
BitStream::BitStream()... |
<commit_before>/*
В программе ввести и инициализировать массив структур, каждая из которых
описывает материальную точку. Элементы структурного типа: координаты и
массы частиц, а также расстояния от центра масс до всех точек набора.
Окончание ввода - ннулевое значение массы точки.
Общая масса систем... |
<commit_before>/*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2009-2012, Willow Garage, Inc.
* Copyright (c) 2012-, Open Perception, Inc.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* m... |
<commit_before>/******************************************************************************
* Copyright 2018 The Apollo 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 ... |
<commit_before>
// Qt includes
#include <QTextStream>
#include <QCoreApplication>
#include <QProcess>
// STD includes
#include <iostream>
#include <cstdlib>
/*
/pieper/ctk/latest/CTK-superbuild/CMakeExternals/Install/bin/dcmqrscp -c /pieper/ctk/latest/CTK-superbuild/CTK-build/Testing/Temporary/dcmqrscp.cfg -d -v
s... |
<commit_before>/**
* Copyright (C) 2018 3D Repo Ltd
*
* 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
* License, or (at your option) any later version.
*
* T... |
<commit_before>#include <iostream>
using namespace std;
enum CPU_Rank {P1=1,P2,P3,P4,P5,P6,P7};
class CPU{
private:
CPU_Rank rank;
int frequency;
float voltage;
public:
CPU(CPU_Rank r,int f, float v){
rank = r;
frequency = f;
voltage = v;
cout<<"构造了一个CPU!"<<endl;
}
~CPU() {cout<<"析构了一个CPU!"<<endl;}
CPU_... |
<commit_before>#include "btree/get.hpp"
#include "errors.hpp"
#include <boost/shared_ptr.hpp>
#include "btree/delete_expired.hpp"
#include "btree/btree_data_provider.hpp"
#include "btree/internal_node.hpp"
#include "btree/leaf_node.hpp"
#include "btree/operations.hpp"
#include "buffer_cache/buf_lock.hpp"
#include "st... |
<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>#include <turbo/memory/alignment.hpp>
#include <cstdint>
#include <gtest/gtest.h>
namespace tme = turbo::memory;
TEST(alignment_test, align_single_element)
{
std::uint8_t buffer[64];
std::uint8_t* pointer1 = &buffer[0];
if ((reinterpret_cast<std::uintptr_t>(pointer1) % 2U) == 0)
{
++po... |
<commit_before>// Test that a module constructor can not map memory over the MSan heap
// (without MAP_FIXED, of course). Current implementation ensures this by
// mapping the heap early, in __msan_init.
//
// RUN: %clangxx_msan -O0 %s -o %t_1
// RUN: %clangxx_msan -O0 -DHEAP_ADDRESS=$(%run %t_1) %s -o %t_2 && %run %t_... |
<commit_before>// Copyright 2011 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>/*=========================================================================
*
* 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>#define _CRT_RAND_S // For Windows, rand_s
#include <gtest/gtest.h>
#include <array>
#include <chrono>
#include <future>
#include <random>
#ifdef _WIN32
#include <stdlib.h>
#define rand_r rand_s
#define INC_SRT_WIN_WINTIME // exclude gettimeofday from srt headers
#else
typedef int SOCKET;
#define INVA... |
<commit_before>/*
Copyright (c) 2010, The Mineserver Project
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, th... |
<commit_before>#include "gtest/gtest.h"
#include "Models/StateSpace/Filters/SparseMatrix.hpp"
#include "test_utils/test_utils.hpp"
namespace {
using namespace BOOM;
using std::endl;
class SparseMatrixTest : public ::testing::Test {
protected:
SparseMatrixTest() {
GlobalRng::rng.seed(8675309);
... |
<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>/*===================================================================
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>/* -*- 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(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
... |
<commit_before> ///////////////////////////////////////////////////////////////////////////
///\file AddTaskEMCALPhotonIsolation.C
///\brief Configuration of AliAnalysisTaskEMCALPhotonIsolation
///
/// Version to be used in lego train for testing on pp@7TeV
///
/// \author Lucile Ronflette <lucile.ronflett... |
<commit_before>AliAnalysisTaskHFEFlow* ConfigHFE_FLOW_TOFTPC(Bool_t useMC, Int_t tpcCls, Double_t tpcClsr,Int_t tpcClspid, Double_t tpcsharedfraction, Int_t itsCls, Double_t chi2peritscl, Int_t pixellayer, Double_t dcaxy, Double_t dcaz, Double_t tofsig, Double_t tpcdedx0, Double_t tpcdedx1, Double_t tpcdedx2, Double_t... |
<commit_before>/*
* This source file is part of libRocket, the HTML/CSS Interface Middleware
*
* For the latest information, see http://www.librocket.com
*
* Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this sof... |
<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>// Copyright 2017 Global Phasing Ltd.
//
// This program analyses PDB or mmCIF files, printing similar things
// as CCP4 RWCONTENTS: weight, Matthews coefficient, etc.
#include <cassert>
#include <cstdio>
#include <gemmi/symmetry.hpp>
#include <gemmi/resinfo.hpp>
#include <gemmi/calculate.hpp>
#include ... |
<commit_before>#include "VertexShader.h"
using namespace Device;
using namespace Rendering::Shader;
VertexShader::VertexShader(ID3DBlob* blob, const std::string& key)
: ShaderForm(blob, key), _shader(nullptr), _layout(nullptr)
{
_type = Type::Vertex;
}
VertexShader::~VertexShader(void)
{
SAFE_RELEASE(_shader);
... |
<commit_before>#include "VertexRenderer.hpp"
#include "FAST/SceneGraph.hpp"
namespace fast {
void VertexRenderer::draw(Matrix4f perspectiveMatrix, Matrix4f viewingMatrix) {
std::lock_guard<std::mutex> lock(mMutex);
glEnable(GL_POINT_SPRITE); // Circles created in fragment shader will not work without this
... |
<commit_before>#include "xchainer/numerical_gradient.h"
#include <algorithm>
#include <functional>
#include <vector>
#ifdef XCHAINER_ENABLE_CUDA
#include <cuda_runtime.h>
#endif // XCHAINER_ENABLE_CUDA
#include "xchainer/array.h"
#include "xchainer/array_repr.h"
#include "xchainer/error.h"
#include "xchainer/indexa... |
<commit_before>/**
@file clientapitest.cpp
@brief Automatic tests for sensor client interfaces
<p>
Copyright (C) 2009-2010 Nokia Corporation
@author Timo Rongas <[email protected]>
@author Ustun Ergenoglu <[email protected]>
This file is part of Sensord.
Sensord is free... |
<commit_before>#include <map>
#include <unistd.h>
#include "database.hpp"
#include "cmap.hpp"
#define MAX_COLLECTIONS 100
#define WRITE_INTERVAL 30
using namespace std;
static int backup = -1;
struct Coll {
pthread_mutex_t mutex;
string name;
cmap<int,JSON> documents;
Coll() : mutex(PTHREAD_MUTEX_INITIA... |
<commit_before>#include "rubymotion.h"
#include "motion-game.h"
/// @class Director < Object
/// Director is a shared object that takes care of the scene graph.
VALUE rb_cDirector = Qnil;
static VALUE mc_director_instance = Qnil;
static std::vector<VALUE> director_using_scene(3);
/// @group Constructors
/// @method... |
<commit_before>//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#include <boost/test/unit_test.hpp>
#include <armnn/ArmNN.hpp>
#include <Graph.hpp>
#include <SubgraphView.hpp>
#include <SubgraphViewSelector.hpp>
#include <backendsCommon/OptimizationViews.hpp>
#include <Network.hp... |
<commit_before>#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <bitset>
#include <sstream>
#include <unistd.h>
#include <vector>
#include <algorithm>
#include <list>
#include <map>
#include "segment.h"
#include "message.h"
#include "loc_success_message.h"
#include "loc_failure_mess... |
<commit_before>#include <cstdio>
#include <cstring>
#include <iostream>
#include <sstream>
#include <netinet/in.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <vector>
#include <algorithm>
#include <list>
#include <map>
#include <netdb.h>
#include <cstdlib>
#inc... |
<commit_before>#include "server_functions.h"
#include <stdio.h>
#include <string.h>
#include <iostream>
#include <sstream>
#include <netinet/in.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <vector>
#include <algorithm>
#include <netdb.h>
#include <stdlib.h>
#i... |
<commit_before>#include "esmtools.hpp"
//----------------------------------------------------------
EsmTools::EsmTools(const std::string &path)
{
esm.readFile(path);
}
//----------------------------------------------------------
std::string EsmTools::dumpFile()
{
std::string dump;
if(esm.getStatus() == tr... |
<commit_before>/*
* Copyright (C) 2015-2018 dubalu.com LLC. 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 the Software without restriction, including without limitation the
... |
<commit_before>//=======================================================================
// Copyright (c) 2013-2020 Baptiste Wicht.
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//==================================================... |
<commit_before>/**
* Fass.cc
*
* Author: Sara Vallero
* Author: Valentina Zaccolo
*/
#include "Fass.h"
#include "FassLog.h"
#include "Configurator.h"
#include "InitShares.h"
#include "FassDb.h"
//#include "Log.h"
//#include "RPCManager.h"
//#include "PriorityManager.h"
#include <fstream>
#include <sig... |
<commit_before>/*
* Copyright 2007-2018 Content Management AG
* All rights reserved.
*
* author: Max Kellermann <[email protected]>
*
* 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>/* $Id$
*
* Copyright 2010 Anders Wallin (anders.e.e.wallin "at" gmail.com)
*
* This file is part of OpenCAMlib.
*
* OpenCAMlib 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, eith... |
<commit_before>/*
This file is part of Akregator.
Copyright (C) 2005 Frank Osterfeld <[email protected]>
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 L... |
<commit_before>#include <config.h>
#include "coarse_scale_operator.hh"
#include <dune/stuff/common/exceptions.hh>
#include <dune/stuff/common/configuration.hh>
#include <dune/stuff/fem/functions/integrals.hh>
#include <dune/stuff/common/profiler.hh>
#include <dune/stuff/grid/walker.hh>
#include <dune/gdt/operators/pr... |
<commit_before>/*
* easyeye_segment.cc
*
* Created on: Jul 11, 2013
* Author: mchaberski
*/
#include "../common/easyeye_imaging.h"
#include "easyeye_segment.h"
#include "FindPupilCircleNew.h"
#include "FindIrisCircle.h"
#include "FindEyelidMix.h"
#include "easyeye_extrema_noise.h"
#include <Masek.h>
#incl... |
<commit_before>#include "allocore/sound/al_Vbap.hpp"
namespace al{
void SpeakerTriple::loadVectors(const std::vector<Speaker>& spkrs){
s1Vec = spkrs[s1].vec();
s2Vec = spkrs[s2].vec();
if(s3!=-1){
s3Vec = spkrs[s3].vec();
}
vec[0]=s1Vec;
vec[1]=s2Vec;
vec[2]=s3Vec;
mat.set(s1Vec[0],s1Vec[1],s1Vec[2],
s2... |
<commit_before>#ifndef __STOUT_OS_READ_HPP__
#define __STOUT_OS_READ_HPP__
#include <stdio.h>
#include <unistd.h>
#include <stout/error.hpp>
#include <stout/try.hpp>
namespace os {
// Reads 'size' bytes from a file from its current offset.
// If EOF is encountered before reading size bytes, then the offset
// is re... |
<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 "base/platform_thread.h"
#include <errno.h>
#include <sched.h>
#if defined(OS_MACOSX)
#include <mach/mach.h>
#elif defi... |
<commit_before><commit_msg>Basic: scanner should'nt use 0xFF mask on characters<commit_after><|endoftext|> |
<commit_before>#include "StdInc.h"
#include <ServerInstanceBase.h>
#include <HttpServerManager.h>
#include <GameServer.h>
#include <ResourceManager.h>
#include <VFSManager.h>
#include <botan/base64.h>
#include <json.hpp>
#include <fs_utils.h>
using json = nlohmann::json;
static InitFunction initFunction([]()
{
fx::... |
<commit_before>/*
* %CopyrightBegin%
*
* Copyright Ericsson AB 2020-2021. 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/... |
<commit_before>#include "configure.hpp"
#include <silicium/file_operations.hpp>
#include <silicium/cmake.hpp>
#include <fstream>
namespace
{
Si::absolute_path build_configure(
Si::absolute_path const &application_source,
Si::absolute_path const &temporary,
Si::optional<Si::absolute_path> const &boost_root,
Si... |
<commit_before><commit_msg>Add flag to ignore unknown disk id warnings<commit_after><|endoftext|> |
<commit_before>#ifndef __STRESS_CLIENT_DISTR_HPP__
#define __STRESS_CLIENT_DISTR_HPP__
#include <stdio.h>
#include <string>
#include <string.h>
#include <stdint.h>
#include "utils.hpp"
/* payload_t represents just a string of characters. It's designed so that its internal
buffer can be reused over and over. */
struc... |
<commit_before>#include "xs_mesh_homogenized.hpp"
#include <iomanip>
#include <iostream>
#include <sstream>
using std::cout;
using std::cin;
using std::endl;
namespace mocc {
XSMeshHomogenized::XSMeshHomogenized( const CoreMesh& mesh ):
mesh_( mesh )
{
// Set up the non-xs part of the xs mesh... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2009 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>/*****************************************************************************
Copyright 2004-2008 Steve Menard
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>#include "audiocapturefilter.h"
#include "audiocapturedevice.h"
#include "statisticsinterface.h"
#include "common.h"
#include <QAudioInput>
#include <QDebug>
#include <QTime>
#include <QSettings>
#include <QRegularExpression>
const int AUDIO_BUFFER_SIZE = 65536;
AudioCaptureFilter::AudioCaptureFilt... |
<commit_before>// Copyright (c) 2017 Sony Corporation. 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
//
// Unle... |
<commit_before>/**
* Copyright 2016-2017 MICRORISC s.r.o.
*
* 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 ap... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: fieldmappingpage.hxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: kz $ $Date: 2008-03-06 18:38:33 $
*
* The Contents of this file a... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: propertyeditor.hxx,v $
*
* $Revision: 1.11 $
*
* last change: $Author: rt $ $Date: 2005-09-08 20:24:37 $
*
* The Contents of this file ar... |
<commit_before>//////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2007-2016 musikcube team
//
// 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>#include <iostream>
#include <queue>
#include <stdio.h>
using namespace std;
#include "Binary-tree.hpp"
#include "pretty-print.hpp"
// Функция создает сбалансированное дерево и возращает корневой узел дерева
Node* createBalancedBTree(Node** node, int *&value, int cnt)
{
if (cnt <= 0)
return NULL;
... |
<commit_before>/******************************************************************************
* Copyright 2017 The Apollo 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 cop... |
<commit_before>/*****************************************************************************
* util.cpp : matroska demuxer
*****************************************************************************
* Copyright (C) 2003-2004 VLC authors and VideoLAN
* $Id$
*
* Authors: Laurent Aimar <[email protected]>
* ... |
<commit_before>/* Copyright 2013-present Barefoot Networks, 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 b... |
<commit_before>/**
* Appcelerator Kroll - licensed under the Apache Public License 2
* see LICENSE in the root folder for details on the license.
* Copyright (c) 2009 Appcelerator, Inc. All Rights Reserved.
*/
#include <signal.h>
#include "php_module.h"
#include <Poco/Path.h>
#ifdef ZTS
void ***tsrm_ls;
#endif
na... |
<commit_before>/*************************************************************************
*
* $RCSfile: brwview.hxx,v $
*
* $Revision: 1.1 $
*
* last change: $Author: oj $ $Date: 2000-10-26 14:45:26 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licens... |
<commit_before>/// @file Merge.cpp
///
/// The merging unit.
///
/// @par Full Description
/// The class defines the merging entity.
///
/// @ingroup Merge
///
/// @par Copyright (c) 2016 vcdMaker team
///
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software and associat... |
<commit_before>/*
* Copyright (C) 2015 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 (c) 2016 tildearrow
*
* 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, ... |
<commit_before><commit_msg>Bugfix: add missing `#include` line.<commit_after><|endoftext|> |
<commit_before><commit_msg>Remove unnecessary `#include` line.<commit_after><|endoftext|> |
<commit_before>#ifndef _internal_hpp_INCLUDED
#define _internal_hpp_INCLUDED
#include <cassert>
#include <climits>
#include <cstdio>
#include <vector>
/*------------------------------------------------------------------------*/
using namespace std;
/*-----------------------------------------------------------------... |
<commit_before><commit_msg>TEXT2BMP.C updated<commit_after><|endoftext|> |
<commit_before>/*
* Copyright (c) 2007-2009 Digital Bazaar, Inc. All rights reserved.
*/
#include "db/util/Date.h"
#include "db/rt/System.h"
#include "db/util/StringTools.h"
#include <cstring>
using namespace std;
using namespace db::util;
Date::Date()
{
// get the current time
setSeconds(time(NULL));
}
Da... |
<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>/*
* Copyright 2015-2019 Arm Limited
*
* 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>//===-- PlatformAndroidRemoteGDBServer.cpp ----------------------*- 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: framelistanalyzer.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: kz $ $Date: 2004-02-25 17:44:02 $
*
* The Contents of this file are made available subject to the terms of
* either of the follow... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: propertysethelper.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: kz $ $Date: 2005-11-04 15:42:05 $
*
* The Contents of this file ... |
<commit_before>// Copyright 2010-2012 RethinkDB, all rights reserved.
#include <string.h>
#include <algorithm>
#include "rdb_protocol/exceptions.hpp"
#include "rdb_protocol/rdb_protocol_json.hpp"
#include "utils.hpp"
write_message_t &operator<<(write_message_t &msg, const boost::shared_ptr<scoped_cJSON_t> &cjson) {
... |
<commit_before>#include "MaterialEditorScene.hh"
#include <imgui/imgui.h>
#include <Utils/OpenGL.hh>
#include <Convertor/MaterialConvertor.hpp>
#include <Utils/Directory.hpp>
#include <Utils/Path.hpp>
#include <Utils/FileSystemHelpers.hpp>
#include <EditorConfiguration.hpp>
#include <glm/glm.hpp>
#include <glm/gtc/type... |
<commit_before>#include "AsyncLogger.h"
#include "thread/Thread.h"
#include "thread/Mutex.h"
#include "thread/Condition.h"
#include "thread/CountDownLatch.h"
#include "base/Logger.h"
#include "base/LogFile.h"
NAMESPACE_ZL_BASE_START
AsyncLogger::AsyncLogger(int flushInterval/* = 3*/)
: isRunning_(false)... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
**... |
<commit_before>/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation ([email protected])
**
** Commercial Usage
**
** Licensees holding valid Qt Commercial... |
<commit_before>/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation ([email protected])
**
**
** GNU Lesser General Public License Usage
**
** This file m... |
<commit_before>/*
* File: AlarmClockTest.cpp
* Author: Craig Cogdill
* Created: October 15, 2015 10:45am
* Modifier: Amanda Carbonari
* Modified Date: January 5, 2015 3:45pm
*/
#include "AlarmClockTest.h"
#include "AlarmClock.h"
#include "StopWatch.h"
#include <chrono>
#include <iostream>
#include <thread>
s... |
<commit_before>/* * This file is part of meego-im-framework *
*
* Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* Contact: Nokia Corporation ([email protected])
*
* If you have questions regarding the use of this file, please contact
* Nokia at [email protected].
*
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.