text stringlengths 54 60.6k |
|---|
<commit_before>cee08702-2e4d-11e5-9284-b827eb9e62be<commit_msg>cee57f5a-2e4d-11e5-9284-b827eb9e62be<commit_after>cee57f5a-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>4679e34e-2e4e-11e5-9284-b827eb9e62be<commit_msg>467ef12c-2e4e-11e5-9284-b827eb9e62be<commit_after>467ef12c-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>b0f0b9c4-2e4d-11e5-9284-b827eb9e62be<commit_msg>b0f5b032-2e4d-11e5-9284-b827eb9e62be<commit_after>b0f5b032-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>/*
* Copyright 2008-2009 NVIDIA Corporation
*
* 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>8fe6263c-2e4e-11e5-9284-b827eb9e62be<commit_msg>8feb1e30-2e4e-11e5-9284-b827eb9e62be<commit_after>8feb1e30-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>ed6b5e04-2e4d-11e5-9284-b827eb9e62be<commit_msg>ed765822-2e4d-11e5-9284-b827eb9e62be<commit_after>ed765822-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>71d41f2e-2e4d-11e5-9284-b827eb9e62be<commit_msg>71d929d8-2e4d-11e5-9284-b827eb9e62be<commit_after>71d929d8-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>85580ba4-2e4e-11e5-9284-b827eb9e62be<commit_msg>855d3e1c-2e4e-11e5-9284-b827eb9e62be<commit_after>855d3e1c-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>ab94485a-2e4e-11e5-9284-b827eb9e62be<commit_msg>ab993e64-2e4e-11e5-9284-b827eb9e62be<commit_after>ab993e64-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>770ca678-2e4d-11e5-9284-b827eb9e62be<commit_msg>77119eee-2e4d-11e5-9284-b827eb9e62be<commit_after>77119eee-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>ea28dd76-2e4c-11e5-9284-b827eb9e62be<commit_msg>ea2dce58-2e4c-11e5-9284-b827eb9e62be<commit_after>ea2dce58-2e4c-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>ead1573e-2e4d-11e5-9284-b827eb9e62be<commit_msg>ead64988-2e4d-11e5-9284-b827eb9e62be<commit_after>ead64988-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>af84c5d0-2e4d-11e5-9284-b827eb9e62be<commit_msg>af89bfd6-2e4d-11e5-9284-b827eb9e62be<commit_after>af89bfd6-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>270a0340-2e4e-11e5-9284-b827eb9e62be<commit_msg>270f1dbc-2e4e-11e5-9284-b827eb9e62be<commit_after>270f1dbc-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>908b4496-2e4e-11e5-9284-b827eb9e62be<commit_msg>90904432-2e4e-11e5-9284-b827eb9e62be<commit_after>90904432-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>29a706ce-2e4f-11e5-9284-b827eb9e62be<commit_msg>29abfe68-2e4f-11e5-9284-b827eb9e62be<commit_after>29abfe68-2e4f-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>f22a53a4-2e4e-11e5-9284-b827eb9e62be<commit_msg>f22f521e-2e4e-11e5-9284-b827eb9e62be<commit_after>f22f521e-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>935ceb16-2e4e-11e5-9284-b827eb9e62be<commit_msg>9361e9fe-2e4e-11e5-9284-b827eb9e62be<commit_after>9361e9fe-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>5fc6fa0e-2e4d-11e5-9284-b827eb9e62be<commit_msg>5fcc49be-2e4d-11e5-9284-b827eb9e62be<commit_after>5fcc49be-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>4e6a9b70-2e4e-11e5-9284-b827eb9e62be<commit_msg>4e6fad0e-2e4e-11e5-9284-b827eb9e62be<commit_after>4e6fad0e-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>2ec8c540-2e4d-11e5-9284-b827eb9e62be<commit_msg>2ecdbdca-2e4d-11e5-9284-b827eb9e62be<commit_after>2ecdbdca-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>71225c44-2e4d-11e5-9284-b827eb9e62be<commit_msg>71276fea-2e4d-11e5-9284-b827eb9e62be<commit_after>71276fea-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>c717fcb2-2e4d-11e5-9284-b827eb9e62be<commit_msg>c71cfa5a-2e4d-11e5-9284-b827eb9e62be<commit_after>c71cfa5a-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>c50a41ea-2e4e-11e5-9284-b827eb9e62be<commit_msg>c50f3da8-2e4e-11e5-9284-b827eb9e62be<commit_after>c50f3da8-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
/**
* Copyright (C) 2013 Regents of the University of California.
* @author: Jeff Thompson <[email protected]>
* See COPYING for copyright and distribution information.
*/
#include <stdexcept>
#include <ndn-cpp/common.hpp>
#include... |
<commit_before>#include <cstring>
/*
* Member function definitions of IQHandler template class.
* See iqhandler.h for template class declaration.
*/
template <typename T, size_t M, size_t N>
IQHandler<T, M, N>::IQHandler(iqcond_t cond_func) :
m_cond(cond_func) {
static_assert(M < N, "Input queue must be smaller... |
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- vim:set ts=4 sw=4 sts=4 noet: */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "job.hh"
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <fstream>
#include <iostream>
#include <map>
#include <string>
... |
<commit_before>/*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2011-2012, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the follo... |
<commit_before>// Jubatus: Online machine learning framework for distributed environment
// Copyright (C) 2013 Preferred Infrastructure and Nippon Telegraph and Telephone Corporation.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// Lic... |
<commit_before>/*
* This is part of the FL library, a C++ Bayesian filtering library
* (https://github.com/filtering-library)
*
* Copyright (c) 2014 Jan Issac ([email protected])
* Copyright (c) 2014 Manuel Wuthrich ([email protected])
*
* Max-Planck Institute for Intelligent Systems, AMD Lab
* Univer... |
<commit_before>/*
* Copyright (c) 2019 Tuukka Norri
* This code is licensed under MIT license (see LICENSE for details).
*/
#ifndef VCF2MULTIALIGN_VARIANT_GRAPH_VARIANT_GRAPH_GENERATOR_HH
#define VCF2MULTIALIGN_VARIANT_GRAPH_VARIANT_GRAPH_GENERATOR_HH
#include <libbio/copyable_atomic.hh>
#include <libbio/int_matri... |
<commit_before>// ======================================================================== //
// Copyright 2009-2015 Intel Corporation //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); ... |
<commit_before>/*
Copyright 2007 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... |
<commit_before>#ifndef GLHPP_OPENGL_HPP
#define GLHPP_OPENGL_HPP
#include "Exception.hpp"
#include "Formats.hpp"
#include "Object.hpp"
#include "Sync.hpp"
#include "Query.hpp"
#include "Buffer.hpp"
#include "Shader.hpp"
#include "Program.hpp"
#include "ProgramPipeline.hpp"
#include "Texture.hpp"
#include "Sampler.hpp... |
<commit_before>/* Max Flow Problem, by Abreto<[email protected]> */
#define MAXV (100000)
#define MAXE (1000000)
struct edge
{
static int N;
int v, w;
edge *n;
edge(void):v(0),w(0),n(NULL){}
edge(int vv, int ww, edge *nn):v(vv),w(ww),n(nn){}
};
int nE;
edge E[MAXE];
edge *front[MAXV];
void add_edg... |
<commit_before>// Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/vespalib/testkit/test_kit.h>
#include <vespa/vespalib/util/stringfmt.h>
#include <vespa/eval/tensor/default_tensor_engine.h>
#include <vespa/eval/tensor/dense/dense_tensor.h>... |
<commit_before><commit_msg>fix mem leak; fixes #3<commit_after><|endoftext|> |
<commit_before>
#include <iostream>
#ifdef __cplusplus
extern "C"
{
#endif
int xerbla_(const char * msg, int *info, int)
{
std::cerr << "Eigen BLAS ERROR #" << *info << ": " << msg << "\n";
return 0;
}
#ifdef __cplusplus
}
#endif
<commit_msg>enforce weak linking of xerbla<commit_after>
#include <iostream>
#if (... |
<commit_before>#include "StdAfx.h"
#include "CameraMetaData.h"
/*
RawSpeed - RAW file decoder.
Copyright (C) 2009-2014 Klaus Post
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 Found... |
<commit_before>//=======================================================================
// Copyright Baptiste Wicht 2013-2014.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//=================================... |
<commit_before>// <insert copyright>
/*! \mainpage CAMP C++ library documentation
*
* \image html logo_camp.png
*
* \section overview Overview
*
* CAMP is a C++ library which provides runtime reflection for types.
* It provides an abstraction for most of the high-level concepts of C++:
*
* \li Cla... |
<commit_before>/* Copyright 2016 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>// Copyright eeGeo Ltd (2012-2015), All Rights Reserved
#include "InteriorEntityHighlightController.h"
#include "ISearchService.h"
#include "ISearchQueryPerformer.h"
#include "ISearchResultRepository.h"
#include "InteriorInteractionModel.h"
#include "InteriorsModel.h"
#include "InteriorsFloorModel.h"
#i... |
<commit_before>/***************************************************************************
knnntpaccount.cpp - description
-------------------
copyright : (C) 2000 by Christian Thurner
email : [email protected]
************... |
<commit_before><commit_msg>Update BinaryTree.cpp<commit_after><|endoftext|> |
<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 "media/audio/mac/audio_low_latency_output_mac.h"
#include <CoreServices/CoreServices.h>
#include "base/basictypes.h"
#includ... |
<commit_before>/***********************************************************************************************************************
**
** Copyright (c) 2011, 2015 ETH Zurich
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without modification, are permitted provided tha... |
<commit_before>/*
kimifaceimpl.cpp - Kopete DCOP Interface
Copyright (c) 2004 by Will Stephenson <[email protected]>
Kopete (c) 2002-2004 by the Kopete developers <[email protected]>
*************************************************************************
* ... |
<commit_before>//
// File: GraphicsAPI.cpp
// Author: Hongtae Kim ([email protected])
//
// Copyright (c) 2004-2017 Hongtae Kim. All rights reserved.
//
#include <initializer_list>
#include "../DKPropertySet.h"
#include "../Interface/DKGraphicsDeviceInterface.h"
#include "GraphicsAPI.h"
namespace DKFramework
{
n... |
<commit_before>// RUN: clang-cc -fsyntax-only -faccess-control -verify %s
namespace T1 {
class A {
virtual int f(); // expected-note{{overridden virtual function is here}}
};
class B : A {
virtual void f(); // expected-error{{virtual function 'f' has a different return type ('void') than the function it override... |
<commit_before><commit_msg>Use new startsWith() method of OString<commit_after><|endoftext|> |
<commit_before>#include "raiden.h"
#include "reflection.h"
//#include "transform.h"
#include "gtest.h"
#include "sampling.h"
TEST(FrConductor,Au){
Float air_ior[3]={1,1,1};
// float au_ior[3]={0.15557,0.42415,1.3831};
// float au_k[3] = {3.5024,2.4721,1.9155};
Float au_ior[3]={0.18299,0.42108,1.3734};
... |
<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 "ui/views/bubble/bubble_frame_view.h"
#include <algorithm>
#include "grit/ui_resources.h"
#include "ui/base/hit_test.h"
#inc... |
<commit_before>//===- llvm/unittest/Support/MathExtrasTest.cpp - math utils tests --------===//
//
// 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) 2012-2018 by the DataTransferKit authors *
* All rights reserved. *
* ... |
<commit_before>/***********************************************************************************************************************
* *
* SPLASH build system v0.2 ... |
<commit_before>/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
... |
<commit_before>#pragma once
#include <optional>
#include "Runtime/Collision/CCollidableAABox.hpp"
#include "Runtime/World/CActor.hpp"
#include <zeus/CAxisAngle.hpp>
#include <zeus/CQuaternion.hpp>
#include <zeus/CTransform.hpp>
#include <zeus/CVector3f.hpp>
namespace urde {
class CCollisionInfoList;
struct SMoverDa... |
<commit_before><commit_msg>Add compact option<commit_after><|endoftext|> |
<commit_before>#include <rtt/os/main.h>
#include <rtt/typekit/RealTimeTypekit.hpp>
<% deployer.rtt_transports.each do |transport_name| %>
#include <rtt/transports/<%= transport_name %>/TransportPlugin.hpp>
<% end %>
<% if component.typekit || !component.used_typekits.empty? %>#include <rtt/types/TypekitPlugin.hpp><% ... |
<commit_before><commit_msg>update to new lircd socket location for lircd >= 0.8.6 BUG: 209100<commit_after><|endoftext|> |
<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 "content/browser/renderer_host/pepper/pepper_flash_file_message_filter.h"
#include "base/bind.h"
#include "base/file_util.h"
... |
<commit_before>#include "ConsoleReporter.h"
#include <chrono>
#include <cstdio>
#include <iostream>
#include <memory>
#include <mutex>
#include "xUnit++/LineInfo.h"
#include "xUnit++/TestDetails.h"
#include "xUnit++/TestEvent.h"
namespace
{
std::string FileAndLine(const xUnitpp::TestDetails &td, cons... |
<commit_before>#include <string>
#include <stdexcept>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <sauce/sauce.h>
using ::testing::Sequence;
using ::testing::Return;
using ::sauce::Binder;
using ::sauce::Named;
namespace sauce {
namespace test {
struct CustomBuilt {};
struct CustomBuiltProvider: P... |
<commit_before>/**
** \file scheduler/scheduler.cc
** \brief Implementation of scheduler::Scheduler.
*/
//#define ENABLE_DEBUG_TRACES
#include <cassert>
#include <cstdlib>
#include <libport/compiler.hh>
#include <libport/containers.hh>
#include <libport/contract.hh>
#include <libport/foreach.hh>
#include <object... |
<commit_before>#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <sauce/sauce.h>
using ::testing::Sequence;
using ::testing::Return;
namespace sauce {
namespace test {
class Store {};
class DBStore: public Store {};
class Session {};
class CookieSession: public Session {};
class Request {};
class HttpReq... |
<commit_before>#include <cstdlib>
#include <cassert>
#include "zs.hh"
#include "test_util.hh"
static bool result = true;
void check(const char* input, const char* expect){
result = read_eval_print_test(input, expect,
[expect](const char* s){
printf(... |
<commit_before>//===-- ValueSymbolTable.cpp - Implement the ValueSymbolTable class -------===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by the LLVM research group. It is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
/... |
<commit_before>/*
* imageresizer.cpp
*
* Created on: Jul 8, 2016
* Author: Jason
*/
#include "common/base.h"
#include "imageresizer.h"
#include <stdexcept>
ImageResizer::ImageResizer()
:m_handle(NULL), m_result(NULL)
{
}
ImageResizer::~ImageResizer()
{
}
void ImageResizer::Create(int target_width, int ... |
<commit_before>/******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor ... |
<commit_before>/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
*
* Gearmand client and server library.
*
* Copyright (C) 2011-2012 Data Differential, http://datadifferential.com/
* Copyright (C) 2008 Brian Aker, Eric Day
* All rights reserved.
*
* Redistribution and use in source and binary forms, with... |
<commit_before>#include "inc/cxx/json.hpp"
#include "test/catch.hpp"
#include <type_traits>
TEST_CASE("can create cxx::json from std::initializer_list<cxx::json>")
{
static_assert(std::is_assignable_v<cxx::json, std::initializer_list<cxx::json>>);
cxx::json json;
REQUIRE(cxx::holds_alternative<cxx::document>(jso... |
<commit_before>#include <iostream>
#include <functional>
#include <neu/activate_func/rectifier.hpp>
#include <neu/activate_func/sigmoid.hpp>
#include <neu/layer.hpp>
#include <neu/full_connected_layer.hpp>
#include <neu/activate_layer.hpp>
#include <neu/learning_rate_gen/fixed_learning_rate_gen.hpp>
int main() {
std:... |
<commit_before>// $Id$
// The libMesh Finite Element Library.
// Copyright (C) 2002-2008 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner
// This library is free software; you can redistribute and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundat... |
<commit_before>#include <iostream>
#include <iomanip>
#include <fstream>
#include <sstream>
#include <array>
#include <vector>
#include <set>
#include <map>
#include <random>
#include <chrono>
#include <functional>
#include <algorithm>
#include <cmath>
#define NF 16
#define SPLIT 20
using Entry = std::array<double, ... |
<commit_before>/*
Copyright 2015, Jernej Kovacic
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 wri... |
<commit_before>/*
Copyright (C) 1998,2000 by Jorrit Tyberghein
This is the entry point for console executables
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>/* ****************************************************************************
*
* FILE workerStatus.cpp
*
* DESCRIPTION extraction of machine information
*
*/
#include <stdio.h> // FILE, fopen, ...
#include <errno.h> // errno
#include <string... |
<commit_before><commit_msg>Use the proper variable name to enhance the redability (#5602)<commit_after><|endoftext|> |
<commit_before>/******************************************************************************
* _ _____ __________ *
* | | / / _ | / __/_ __/ Visibility *
* | |/ / __ |_\ \ / / Across ... |
<commit_before>/* -*- mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
// vim:sts=8:sw=8:ts=8:noet:sr:cino=>s,f0,{0,g0,(0,\:0,t0,+0,=s
/* Copyright (C) 2010 LinBox
*
* Time-stamp: <16 Dec 10 17:48:13 [email protected]>
*
* This library is free software; you can redistribute it and/... |
<commit_before>// https://www.facebook.com/hackercup/problem/1424196571244550/
// Facebook Hacker Cup 2016 Round 1
// Boomerang Tournament
#include <iostream>
#include <cstdio>
#include <cstring>
#include <vector>
using namespace std;
int n;
int in[16][16];
int memo[16][1<<16];
void input() {
cin >> n;
for (... |
<commit_before>/**
* \file
* Copyright 2014-2015 Benjamin Worpitz
*
* This file is part of alpaka.
*
* alpaka 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 3 of the License, or
* (at yo... |
<commit_before>#include "SoundManager.hpp"
#include "ResourceManager.hpp"
#include <svc/Timer.hpp>
#include <svc/ServiceLocator.hpp>
#include <boost/bind.hpp>
SoundManager::SoundManager()
{
ServiceLocator::timer().callEvery(
sf::seconds(10), boost::bind(&SoundManager::tidy, this));
}
SoundManager::~Sound... |
<commit_before>#include <stack>
#include <string>
#include <string.h>
using namespace std;
bool IsOp(const char ch)
{
return ch == '+' || ch == '-' || ch == '*' || ch == '/';
}
bool IsEqualOrGreat(char ch1, char ch2)
{
if(ch1 == '+' || ch1 == '-')
{
if(ch2 == '+' || ch2 == '-')
{
return true;
}
return f... |
<commit_before>/*
* writer.cpp
*
*/
#include "writer.h"
#include "logger_factory.h"
#include "plugin_factory.h"
#include "timer_factory.h"
#include "util.h"
#include <boost/filesystem.hpp>
#include <boost/lexical_cast.hpp>
#include <fstream>
#include "cache.h"
#include "csv.h"
#include "grib.h"
#include "neons.h"
... |
<commit_before>#include "svgInterpolation.h"
//--------------------------------------------------------------
void svgInterpolation::setup(){
selectedId = -1;
ofDirectory dir;
shapeSize = 500;
ofLogNotice("svgInterpolation") << "load SVG from formes_interpol";
dir.listDir("formes_interpol/");
dir.sort(... |
<commit_before><commit_msg>error C2061: syntax error : identifier 'uint64_t'<commit_after><|endoftext|> |
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* Version: MPL 1.1 / GPLv3+ / LGPLv3+
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may o... |
<commit_before>#include <iostream>
#include <string>
#include <cstring>
#include "OpenCLHelper.h"
#include "stringhelper.h"
#include "Timer.h"
using namespace std;
int main( int argc, char *argv[] ) {
int its = atoi(argv[1] );
int workgroupSize = atoi( argv[2] );
cout << "its: " << its << " workgroupsiz... |
<commit_before>#include "Conformance.h"
#include "vector/Reference.h"
#include "vector/Intrinsic.h"
#include "vector/Aliased.h"
#include "Platform.h"
#include <cstdio>
#include <cmath>
////////////////////////////////////////////////////////////////////////////////
//! Macro for defining a conformance test.
#define... |
<commit_before>// Copyright (c) 2019 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <chainparams.h>
#include <compressor.h>
#include <core_io.h>
#include <core_memusage.h>
#include <policy/p... |
<commit_before>/*******************************************************
* Copyright (c) 2014, ArrayFire
* All rights reserved.
*
* This file is distributed under 3-clause BSD license.
* The complete license agreement can be obtained at:
* http://arrayfire.com/licenses/BSD-3-Clause
*******************************... |
<commit_before>/*
* The MIT License (MIT)
*
* Copyright (c) <2015> <Stephan Gatzka>
*
* 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 limitati... |
<commit_before>#include <boost/test/unit_test.hpp>
#include "../src/MLGrid.hpp"
#include "../src/GridStorageAccessInterface.hpp"
#include "../src/GridStorageAccess.hpp"
#include "../src/GridStorageFacade.hpp"
using namespace envire::maps;
class PatchBase
{
public:
PatchBase(double m, double ma) : min(m), m... |
<commit_before>/*
Copyright (c) 2003 - 2005, Arvid Norberg, Daniel Wallin
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
... |
<commit_before>// Copyright (c)2008-2012, Preferred Infrastructure 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 c... |
<commit_before>/*
Copyright (c) 2003 - 2005, Arvid Norberg, Daniel Wallin
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
... |
<commit_before><commit_msg>astyle - switch cases should not be indented<commit_after><|endoftext|> |
<commit_before>/**
* Copyright (c) 2007-2012, Timothy Stack
*
* 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, t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.