text stringlengths 54 60.6k |
|---|
<commit_before>#include <fftw3.h>
#include "common.h"
#include "metrix.h"
// Very simple. Only for even sizes.
// And for even sizes fftshift and ifftshift coinside.
template<int N> void fftshift_even(complexd data[N][N]){
complexd tmp;
for (int i = 0; i < N/2; i++) {
for (int j = 0; j < N/2; j++) {
tmp... |
<commit_before>/*************************************************************************
*
* $RCSfile: VCartesianCoordinateSystem.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: fa $ $Date: 2004-03-08 16:03:51 $
*
* The Contents of this file are made available subject to the terms of
* either of t... |
<commit_before>/*
* @(#)$Id$
*
* Copyright (c) 2004 Intel Corporation. All rights reserved.
*
* This file is distributed under the terms in the attached INTEL-LICENSE file.
* If you do not find these files, copies can be found by writing to:
* Intel Research Berkeley, 2150 Shattuck Avenue, Suite 1300,
* Berkele... |
<commit_before>// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
#include "base/command_line.h"
#include "base/lazy_instance.h"
#inclu... |
<commit_before>// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/login/signed_settings_cache.h"
#include <string>
#include "base/base64.h"
#include "base/bind.h"
#i... |
<commit_before>// Copyright 2021 The XLS Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... |
<commit_before>#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "dialogopen.h"
#include "dialognew.h"
#include <QDirModel>
#include <QFileDialog>
#include <QProgressDialog>
#include <QDebug>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
// Setup the UI... |
<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/command_line.h"
#include "chrome/browser/extensions/extension_apitest.h"
#include "chrome/common/chrome_switches.h"
#inc... |
<commit_before>/*************************************************************************/
/* video_stream_gdnative.cpp */
/*************************************************************************/
/* This file is part of: */
/... |
<commit_before>// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/extension_message_service.h"
#include "base/atomic_sequence_num.h"
#include "base/json/json_writer... |
<commit_before>// Copyright (c) 2011 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/format_macros.h"
#include "base/string_util.h"
#include "base/stringprintf.h"
#include "base/utf_string_conversions.h"
#... |
<commit_before>#include "script_loader.h"
using namespace LuaScript;
ScriptLoader::File::File(std::string const& path) : path_(path) {
//TODO: find filename
//prob split on '/' and take latest, then split on '.' and take everything but the last one if there's more than one
}
ScriptLoader::ScriptLoader(std::s... |
<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/file_path.h"
#include "chrome/browser/browser.h"
#include "chrome/browser/browser_window.h"
#include "chrome/browse... |
<commit_before>//===--- DeprecatedIosBaseAliasesCheck.cpp - clang-tidy--------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>#include <pcl/kdtree/kdtree_flann.h>
#include "CompetitionController.h"
using namespace IGVC::Sensors;
using namespace std;
namespace IGVC
{
namespace Control
{
CompetitionController::CompetitionController(IGVC::Sensors::GPS* gps,
Event<pcl::PointCloud<pcl... |
<commit_before>#include "mjolnir/graphoptimizer.h"
#include "config.h"
#include <ostream>
#include <set>
using namespace valhalla::midgard;
using namespace valhalla::baldr;
namespace valhalla {
namespace mjolnir {
GraphOptimizer::GraphOptimizer(const boost::property_tree::ptree& pt)
: tile_hierarchy_(pt),
... |
<commit_before>#include "mjolnir/transitbuilder.h"
#include "mjolnir/idtable.h"
#include "mjolnir/graphtilebuilder.h"
#include <list>
#include <future>
#include <thread>
#include <mutex>
#include <sqlite3.h>
#include <spatialite.h>
#include <boost/filesystem/operations.hpp>
#include <valhalla/baldr/graphtile.h>
#incl... |
<commit_before>#include "C3DFileAdapter.h"
#include "btkAcquisitionFileReader.h"
#include "btkAcquisition.h"
#include "btkForcePlatformsExtractor.h"
#include "btkGroundReactionWrenchFilter.h"
namespace OpenSim {
const std::string C3DFileAdapter::_markers{"markers"};
const std::string C3DFileAdapter::_forces{"forces"... |
<commit_before>#include "TRCFileAdapter.h"
#include <fstream>
#include <iomanip>
namespace OpenSim {
const std::string TRCFileAdapter::_markers{"markers"};
const std::string TRCFileAdapter::_delimiterWrite{"\t"};
// Get rid of the extra \r if parsing a file with CRLF line endings.
const std::string TRCFileAdapter::_d... |
<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>/**
* @file pca_test.cpp
* @author Ajinkya Kale
*
* Test file for PCA class.
*/
#include <mlpack/core.hpp>
#include <mlpack/methods/pca/pca.hpp>
#include <boost/test/unit_test.hpp>
BOOST_AUTO_TEST_SUITE(PCATest);
using namespace std;
using namespace arma;
using namespace mlpack;
using namespace m... |
<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... |
<commit_before>#include <vector>
#include <boost/math/constants/constants.hpp>
#include <boost/python.hpp>
#include <boost/python/suite/indexing/vector_indexing_suite.hpp>
#include <cal3d/buffersource.h>
#include <cal3d/coreanimation.h>
#include <cal3d/coremorphanimation.h>
#include <cal3d/corebone.h>
#include <cal3d... |
<commit_before>#include "base/all.h"
#include "rpc/client.h"
#include "rpc/server.h"
#include "benchmark_service.h"
using namespace base;
using namespace std;
using namespace rpc;
using namespace benchmark;
TEST(future, wait_timeout) {
PollMgr* poll = new PollMgr;
ThreadPool* thrpool = new ThreadPool;
//... |
<commit_before>/*
* test_ariane.cpp
*
* Test the ariane module.
*
* author: Cyril Robin <cyril.robin@laas.fr>
* created: 2013-10-03
* license: BSD
*/
#define BOOST_TEST_MODULE const_string test
#include <boost/test/included/unit_test.hpp>
#include <sstream>
#include "ariane/ariane.hpp"
BOOST_AUTO_TEST_SUITE... |
<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>/*
kmsc - Kurento Media Server C/C++ implementation
Copyright (C) 2012 Tikal Technologies
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3
as published by the Free Software Foundation.
This program is distributed in the ... |
<commit_before>/***************************************************************************
* Copyright (c) 2016, Johan Mabille, Sylvain Corlay and Wolf Vollprecht *
* *
* Distributed under the terms of the BSD 3-Clause License. ... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: SlsViewOverlay.cxx,v $
*
* $Revision: 1.10 $
*
* last change: $Author: obo $ $Date: 2006-09-16 19:11:43 $
*
* The Contents of this file a... |
<commit_before>/*
* Copyright (c) 2014 Zubax, zubax.com
* Distributed under the MIT License, available in the file LICENSE.
* Author: Pavel Kirienko <pavel.kirienko@zubax.com>
*/
#pragma once
#if !defined(DEBUG_BUILD) && !defined(RELEASE_BUILD)
# error Either DEBUG_BUILD or RELEASE_BUILD must be defined
#endif
... |
<commit_before>// ******************************************************************************************
// * This project is licensed under the GNU Affero GPL v3. Copyright © 2014 A3Wasteland.com *
// ******************************************************************************************
#define vehicleManagem... |
<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 2013 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 "cc/trees/layer_tree_host_common.h"
#include <sstream>
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#incl... |
<commit_before>#ifndef __COMMAND_AND_CALLBACK_STRUCT_HPP_INCLUDED
#define __COMMAND_AND_CALLBACK_STRUCT_HPP_INCLUDED
#include "code/ylikuutio/callback_system/callback_engine.hpp"
// Include standard headers
#include <string> // std::string
typedef struct
{
std::string command;
yli::callback_system::Callbac... |
<commit_before>// This file is a part of the IncludeOS unikernel - www.includeos.org
//
// Copyright 2015-2016 Oslo and Akershus University College of Applied Sciences
// and Alfred Bratterud
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the... |
<commit_before>/*
*
* Copyright 2016, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, thi... |
<commit_before>#include <QCoreApplication>
#include <QObject>
#include <QTcpServer>
#include <QTcpSocket>
#include <QHostAddress>
#include <QStringBuilder>
#include <QVector>
#include <functional>
#include "request.hpp"
#include "response.hpp"
#include "context.hpp"
//!
//! \brief The HttpServer class
//! Http (unsec... |
<commit_before>//
// Copyright 2014, 2015 Razer 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... |
<commit_before>/*
* Wintermute 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
* version 3 of the License, or (at your option) any later version.
*
* Wintermute is distributed in the hope ... |
<commit_before>/*************************************************************************
*
* REALM CONFIDENTIAL
* __________________
*
* [2011] - [2012] Realm Inc
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Realm Incorporated and its suppliers,
* i... |
<commit_before>/***********************************************************************
filename: OpenGL3Shader.cpp
created: Wed, 8th Feb 2012
author: Lukas E Meindl
*************************************************************************/
/*********************************************************... |
<commit_before>/* Copyright 2015 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>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: ImplChartModel.hxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: rt $ $Date: 2005-09-08 01:01:02 $
*
* The Contents of this file are... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: LabeledDataSequence.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: ihi $ $Date: 2008-01-14 14:03:56 $
*
* The Contents of this fi... |
<commit_before>// -*- C++ -*-
// The MIT License (MIT)
//
// Copyright (c) 2021 Alexander Samoilov
//
// 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 withou... |
<commit_before>// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/autofill/autofill_manager.h"
#include <string>
#include "base/command_line.h"
#include "chrome/browser/autof... |
<commit_before>// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/process_info_snapshot.h"
#include <iostream>
#include <sstream>
#include "base/string_util.h"
#include "base... |
<commit_before>// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/views/keyword_editor_view.h"
#include <vector>
#include "app/l10n_util.h"
#include "base/stl_util-inl.h"
#in... |
<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/file_util.h"
#include "base/path_service.h"
#include "base/perftimer.h"
#include "base/string_util.h"
#include "bas... |
<commit_before>/*
* OTV0P2BASE_SoftSerial2.cpp
*
* Created on: 15 Apr 2016
* Author: denzo
*/
#include "OTV0P2BASE_SoftSerial2.h"
namespace OTV0P2BASE
{
OTSoftSerial2::OTSoftSerial2(uint8_t _rxPin, uint8_t _txPin): rxPin(_rxPin), txPin(_txPin)
{
}
void OTV0P2BASE::OTSoftSerial2::begin(long speed) {
}
b... |
<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.
*/
#include "Fuzz.h"
#include "FuzzCommon.h"
#include "SkPath.h"
#include "SkPathOps.h"
const int kLastOp = SkPathOp::kReverseDifference_SkPathOp;
DEF_FUZZ(Patho... |
<commit_before>/*
* Copyright 2013 Puck Meerburg, puck@puckipedia.nl
* All rights reserved. Distributed under the terms of the MIT License.
*/
#include "BlogPositivePlugin.h"
#include <TextControl.h>
#include <Message.h>
#include <GroupLayout.h>
#include <LayoutBuilder.h>
#include <Window.h>
#include <List.h>
#i... |
<commit_before>/*
* APSRack.cpp
*
* Created on: Jun 13, 2012
* Author: cryan
*/
#include "APSRack.h"
APSRack::APSRack() : numDevices_{0} {
}
APSRack::~APSRack() {
//Close the logging file so we don't leave it dangling
fclose(Output2FILE::Stream());
}
//Initialize the rack by polling for devices and se... |
<commit_before>/*
Copyright 2011 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writ... |
<commit_before>#include "unicode.h"
#include "strings.h"
#include "macros.h"
U32String DecodeUTF8(const char* _start, int byteCount){
// You know, you'd think static_cast would work. But apparently not.
const unsigned char* start = reinterpret_cast<const unsigned char*>(_start);
U32String decoded = {};
decoded.le... |
<commit_before>/*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016
Vladimír Vondruš <mosra@centrum.cz>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
t... |
<commit_before>#include <MainApplication/Viewer/Gizmo/RotateGizmo.hpp>
#include <Core/Math/RayCast.hpp>
#include <Core/Math/ColorPresets.hpp>
#include <Core/Containers/VectorArray.hpp>
#include <Core/Mesh/MeshUtils.hpp>
#include <Engine/RadiumEngine.hpp>
#include <Engine/Renderer/Camera/Camera.hpp>
#include <Engine/R... |
<commit_before>/*
License
Menge
Copyright and trademark 2012-14 University of North Carolina at Chapel Hill.
All rights reserved.
Permission to use, copy, modify, and distribute this software and its documentation
for educational, research, and non-profit purposes, without fee, and without a
written agreement i... |
<commit_before>#ifndef ITER_PERMUTATIONS_HPP_
#define ITER_PERMUTATIONS_HPP_
#include "iterbase.hpp"
#include "iteratoriterator.hpp"
#include <algorithm>
#include <initializer_list>
#include <vector>
#include <utility>
#include <iterator>
namespace iter {
template <typename Container>
class Permuter {
... |
<commit_before>// RUN: %clang_analyze_cc1 -Wno-unused-value -std=c++14 -analyzer-checker=core,debug.ExprInspection,alpha.core.PointerArithm -verify %s
struct X {
int *p;
int zero;
void foo () {
reset(p - 1);
}
void reset(int *in) {
while (in != p) // Loop must be entered.
zero = 1;
}
};
int t... |
<commit_before>// Copyright (c) 2018 Roberto Raggi <roberto.raggi@gmail.com>
//
// 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... |
<commit_before>// Copyright (c) 2020 by Robert Bosch GmbH. 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 "colibri_ca.h"
#include "colibri_local_nav.h"
#include "colibri_action.h"
#include "PID_controller.h"
#include "global_planner.h"
#include "task_mgr.h"
#include <boost/bind.hpp>
#include "geometry_msgs/PoseStamped.h"
void PlannerCallback(planner *plannerObj, float* start_pos, flo... |
<commit_before>/*************************************************************************
*
* $RCSfile: composedprops.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: hr $ $Date: 2003-03-19 15:58:30 $
*
* The Contents of this file are made available subject to the terms of
* either of the following ... |
<commit_before>// RUN: cat %s | %cling -Xclang -verify | FileCheck %s
//This file checks a call instruction. The called function has arguments with nonnull attribute.
#include <string.h>
//XFAIL: darwin
char *p = 0;
strcmp("a", p); // expected-warning {{you are about to dereference null ptr, which probably will lead t... |
<commit_before>#include <ngraph.h>
#include <engpar_support.h>
#include <iostream>
#include <PCU.h>
#include <vector>
#include "buildGraphs.h"
#include "gatherGraphs.h"
#include "TestingSuite.h"
#include <engpar.h>
int testVtxBalancer(agi::Ngraph*);
int testBalancer(agi::Ngraph*);
int testMultipleBalances(agi::Ngraph*... |
<commit_before>#ifndef _MSC_VER
#include <catch.hpp>
#include <vector>
#include <mockturtle/algorithms/cleanup.hpp>
#include <mockturtle/algorithms/collapse_mapped.hpp>
#include <mockturtle/algorithms/cut_enumeration.hpp>
#include <mockturtle/algorithms/cut_rewriting.hpp>
#include <mockturtle/algorithms/lut_mapping.... |
<commit_before>// Example command line to build on Android ARM64:
/*
~/android/toolchains/r15c-aarch64/bin/aarch64-linux-android-clang++ \
test/benchmark_all_sizes.cc -o /tmp/b -O3 --std=c++11 -fPIE -static \
-DBENCHMARK_QUICK -DBENCHMARK_8bit
*/
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <ctime... |
<commit_before>/*************************************************************************
*
* $RCSfile: AGroups.cxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: oj $ $Date: 2001-11-09 07:05:38 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licens... |
<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: wrap_sqlbison.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: hr $ $Date: 2006-06-20 02:09:15 $
*
* The Contents of this file are ... |
<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 "content/browser/speech/speech_recognizer.h"
#include "base/time.h"
#include "chrome/browser/profiles/profile.h"
#include "ch... |
<commit_before>#include "musicsongsearchonlinewidget.h"
#include "musictextdownloadthread.h"
#include "musicdatadownloadthread.h"
#include "musicdata2downloadthread.h"
#include "musicsongdownloadthread.h"
#include "musicbgthemedownload.h"
#include "musicnetworkthread.h"
#include "musicmydownloadrecordobject.h"
#include... |
<commit_before>#include <QString>
#include <QFileInfo>
#include <QVector>
#include <QUrl>
#include <QRegExp>
#include "ilwis.h"
#include "catalog.h"
#include "ilwiscontext.h"
#include "symboltable.h"
using namespace Ilwis;
quint64 SymbolTable::_symbolid = 0;
SymbolTable::SymbolTable() //:
//QHash<QString, Symbol... |
<commit_before>/*************************************************************************
*
* $RCSfile: basegfxfactory.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2004-11-26 20:58:35 $
*
* The Contents of this file are made available subject to the terms of
* either of the following... |
<commit_before>// Copyright (c) 2012-2013 Plenluno All rights reserved.
#include <gtest/gtest.h>
#include <float.h>
#include <libj/array_list.h>
#include <libj/error.h>
#include <libj/json.h>
#include <libj/js_array.h>
#include <libj/js_object.h>
#include <libj/map.h>
#include <libj/string_builder.h>
namespace libj {... |
<commit_before>#include "HttpStream.hpp"
BEGIN_INANITY_NET
http_parser_settings HttpStream::settings = {
HttpStream::OnMessageBegin,
HttpStream::OnUrl,
HttpStream::OnStatus,
HttpStream::OnHeaderField,
HttpStream::OnHeaderValue,
HttpStream::OnHeadersComplete,
HttpStream::OnBody,
HttpStream::OnMessageComplete
}... |
<commit_before>#include "search.hpp"
#include "idastar.hpp"
#include "astar.hpp"
#include "astar-dump.hpp"
#include "wastar.hpp"
#include "greedy.hpp"
#include "bugsy.hpp"
#include "bugsy-slim.hpp"
#include "arastar.hpp"
#include "rtastar.hpp"
#include "speediest.hpp"
#include "flrtastar.hpp"
#include "lrtastar.hpp"
#i... |
<commit_before>/*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2012 The PHP Group |
... |
<commit_before>/*
* Copyright 2019-2022 Diligent Graphics LLC
*
* 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 requ... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: TestHyperOctreeContourFilter.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for d... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: TestRandomPOrderStatisticsMPI.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
... |
<commit_before>//===-- PPCAsmBackend.cpp - PPC Assembler Backend -------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>/* main-test.cc KPilot
**
** Copyright (C) 2001 by Dan Pilone
**
** This is the main program for kpilotTest, which shows a SyncLog and
** exercises the KPilotDeviceLink class. It's intended to test if the
** Palm hardware and the KPilot software are functioning correctly to
** som... |
<commit_before>// Copyright 2009 Google Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of... |
<commit_before>
#define TRACE_SYMPLECTIC_PARTITIONED_RUNGE_KUTTA_INTEGRATOR
#include "integrators/symplectic_partitioned_runge_kutta_integrator.hpp"
#include <algorithm>
#include <vector>
#include "geometry/sign.hpp"
#include "glog/logging.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "testing_utili... |
<commit_before>/*
This file is part of KitchenSync.
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
... |
<commit_before>/*******************************************************************************
* ALMA - Atacama Large Millimiter Array
* (c) European Southern Observatory, 2005
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as ... |
<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>#include <DataFrame/FixedSizeString.h>
#include <DataFrame/MMap/ObjectVector.h>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <vector>
#include <time.h>
#include <strings.h>
using namespace std;
using namespace hmdf;
// -----------------------------------------------... |
<commit_before>#include <gtest/gtest.h>
// PUBLIC API
#include <disir/disir.h>
#include "test_helper.h"
// Test mold API with empty mold.
class ContextSectionTest : public testing::DisirTestWrapper
{
void SetUp()
{
DisirLogCurrentTestEnter ();
context = NULL;
context_mold = NULL;
... |
<commit_before>// runV0ChCorrelations.C
//
// AddTask for AliAnalysisTaskV0ChCorrelations task
//
AliAnalysisTaskV0ChCorrelations *AddTaskV0ChCorrelations(const char * outfilename,
const Bool_t bMCtruth=kFALSE,
Float_t DcaDToPV = 0.5,
Float_t DcaV0D = 0.1
)
{
... |
<commit_before>/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: itkGDCMImageIO.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCo... |
<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>// RUN: llvm-profdata merge %S/Inputs/regionMarkers.proftext -o %t.profdata
int main() { // CHECK-NOT: Marker at [[@LINE]]:12
int x = 0;
if (x) { // CHECK-NOT: Marker at [[@LINE]]:10
x = 0;
} else { // CHECK-NOT: Marker at [[@... |
<commit_before>#include "evpp/inner_pre.h"
#include "evpp/libevent_headers.h"
#include "evpp/sockets.h"
namespace evpp {
EVPP_EXPORT std::string strerror(int e) {
#ifdef H_OS_WINDOWS
LPVOID lpMsgBuf = NULL;
::FormatMessageA(
FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM |... |
<commit_before>// Copyright 2015 Open Source Robotics Foundation, 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 re... |
<commit_before>//-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2021 Ryo Suzuki
// Copyright (c) 2016-2021 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# include <Siv3D/Dialog.hpp>
n... |
<commit_before>/*
ESP8266WiFiMesh.cpp - Mesh network node
Sets up a Mesh Node which acts as a router, creating a Mesh Network with other nodes. All information
is passed in both directions, but it is up to the user what the data sent is and how it is dealt with.
Copyright (c) 2015 Julian Fell. All rights rese... |
<commit_before>#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <iomanip>
#include <algorithm>
#include <cmath>
#include <limits>
using namespace std;
#include <LibUtilities/Foundations/NodalUtil.h>
#include "LibUtilities/Foundations/Foundations.hpp"
#include <LibUtilities/BasicUtils/NekManager.hpp... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.