text
stringlengths
54
60.6k
<commit_before>#include <Common.hpp> #include <Engine.hpp> #include <Dispatch.hpp> #include <MessageProcessor.hpp> #include <functional> #include <iostream> #include <sstream> #include <boost/regex.hpp> namespace K3 { using std::cout; using std::endl; using std::bind; // "Trigger" Declarations void start(shared_...
<commit_before>// -*-c++-*- /* * $Id$ * * Loader for DirectX .x files. * Copyright (c)2002-2006 Ulrich Hertlein <u.hertlein@sandbox.de> * * 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 Foun...
<commit_before>/** @file @brief Implementation @date 2014 @author Ryan Pavlik <ryan@sensics.com> <http://sensics.com> */ // Copyright 2014 Sensics, Inc. // // All rights reserved. // // (Final version intended to be licensed under // the Apache License, Version 2.0) // Internal Includes #inc...
<commit_before>/* * Debug.cpp * OpenLieroX * * Created by Albert Zeyer on 01.01.09. * code under LGPL * */ #include "Debug.h" #if (defined(__GLIBCXX__) || defined(__GLIBC__) || !defined(WIN32)) && !defined(__MINGW32_VERSION) #include <execinfo.h> #include <stdio.h> #include <stdlib.h> void DumpCallstackP...
<commit_before>#include "catch.hpp" #include "nlohmann/json.hpp" #include "inja.hpp" using json = nlohmann::json; TEST_CASE("types") { inja::Environment env = inja::Environment(); json data; data["name"] = "Peter"; data["city"] = "Brunswick"; data["age"] = 29; data["names"] = {"Jeff", "Seb"}; data["brother"...
<commit_before>// // Copyright (c) 2002-2010 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. // // debug.cpp: Debugging utilities. #include "common/debug.h" #include <stdarg.h> #include <array> #include <cstdio> ...
<commit_before>/** * \file PancakeInstance.cpp * * * * \author eaburns * \date 18-01-2010 */ #include <boost/array.hpp> #include "pancake/PancakeInstance.hpp" #include "pancake/PancakeState.hpp" #include <vector> PancakeInstance14::PancakeInstance14 *PancakeInstance14::read(std::istream &in) { unsigned int ...
<commit_before>// Copyright (c) 2017 Emilian Cioca #include "Jewel3D/Precompiled.h" #include "FileSystem.h" #include "Logging.h" #include <Dirent/dirent.h> #include <direct.h> #include <sstream> #include <stack> #define SUCCESS 0 // Resolve name conflict with our functions. #undef GetCurrentDirectory #undef SetCurre...
<commit_before><commit_msg>fix name<commit_after><|endoftext|>
<commit_before><commit_msg>Don't run attack count test if prior tests fail<commit_after><|endoftext|>
<commit_before><commit_msg>Fixed service referencing bug<commit_after><|endoftext|>
<commit_before>#include "libtorrent/session.hpp" #include "libtorrent/session_settings.hpp" #include "libtorrent/hasher.hpp" #include "libtorrent/alert_types.hpp" #include <boost/thread.hpp> #include <boost/tuple/tuple.hpp> #include <boost/filesystem/operations.hpp> #include "test.hpp" #include "setup_transfer.hpp" u...
<commit_before>/* * ModSecurity, http://www.modsecurity.org/ * Copyright (c) 2015 - 2021 Trustwave Holdings, Inc. (http://www.trustwave.com/) * * 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 * * If...
<commit_before>/* * Copyright (C) 2006-2016 Music Technology Group - Universitat Pompeu Fabra * * This file is part of Essentia * * Essentia is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation (FSF),...
<commit_before>/**************************************************************************** * Copyright (c) 2012-2018 by the DataTransferKit authors * * All rights reserved. * * ...
<commit_before>#ifndef MYVECTOR_HPP #define MYVECTOR_HPP 1 #include <algorithm> #include <cstddef> #include <iostream> #include <memory> namespace sandsnip3r { template<typename Type> class MyVectorIterator { private: }; template<typename Type> class MyVector { public: typedef Type value_type; typedef std...
<commit_before>/* -*- mode: c++; c-basic-offset:4 -*- uiserver/signcommand.cpp This file is part of Kleopatra, the KDE keymanager Copyright (c) 2007 Klarälvdalens Datakonsult AB Kleopatra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License a...
<commit_before><commit_msg>Get current endpoint from interleaved docid<commit_after><|endoftext|>
<commit_before><commit_msg>long option for output file<commit_after><|endoftext|>
<commit_before>/* Copyright (c) 2011 Yahoo! Inc. All rights reserved. The copyrights embodied in the content of this file are licensed under the BSD (revised) open source license This creates a binary tree topology over a set of n nodes that connect. */ #ifdef _WIN32 #include <WinSock2.h> #include <Windows.h> #in...
<commit_before>/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: mediadescriptor.hxx,v $ * $Revis...
<commit_before>// Copyright 2018 Alexander Gallego // #include <cstring> #include <memory> #include <benchmark/benchmark.h> #include <fmt/format.h> #include "hashing/hashing_utils.h" using namespace smf; // NOLINT static uint64_t fixed_hash(const std::string &topic, uint32_t partition) { const std::size_t kBuf...
<commit_before>/*ckwg +5 * Copyright 2011 by Kitware, Inc. All Rights Reserved. Please refer to * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel, * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065. */ #include <vistk/scoring/scoring_result.h> #include <vistk/python/any_conversi...
<commit_before>#pragma once #include <memory> #include <mutex> #include <tuple> #include "balancer.hpp" #include "connection.hpp" #include "log.hpp" #include "pool.hpp" #include "result.hpp" #include "request/info.hpp" #include "settings.hpp" namespace elasticsearch { class http_transport_t { public: typedef bl...
<commit_before>#include <limits> #include <vector> #include <set> #include <iostream> #include <typeinfo> #include <stdint.h> #include <tightdb/util/type_list.hpp> #include <tightdb/util/safe_int_ops.hpp> #include "util/demangle.hpp" #include "util/super_int.hpp" #include "test.hpp" using namespace std; using name...
<commit_before>#include "physics/barycentric_rotating_dynamic_frame.hpp" #include <memory> #include "astronomy/frames.hpp" #include "geometry/frame.hpp" #include "geometry/grassmann.hpp" #include "geometry/named_quantities.hpp" #include "geometry/rotation.hpp" #include "gmock/gmock.h" #include "gtest/gtest.h" #inclu...
<commit_before>/* ports.cpp * * Copyright (c) 2011, 2012 Chantilly Robotics <chantilly612@gmail.com> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all cop...
<commit_before>/* * Copyright 2015 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SampleCode.h" #include "SkCanvas.h" #include "SkInterpolator.h" #include "SkTime.h" // This slide tests out the match up between BW clipping and rend...
<commit_before>#include <fstream.h> #include "ppm.h" void PPM::load_from_file(char *filename) { ifstream in; in.open(filename, (ios::in | ios::binary)); if (in.is_open()) { load_from_stream(&in); in.close(); } else cout << "Error loading file: " << *filename << "\n"; } void PPM::load_from_stream(istream *...
<commit_before>#include "crab_llvm/config.h" #include "path_analyzer.hpp" #include "boost/unordered_set.hpp" // flat_killgen_domain #include <crab/iterators/killgen_fixpoint_iterator.hpp> namespace crab { namespace analyzer { template<typename CFG, typename AbsDom> path_analyzer<CFG,AbsDom>::path_analyzer(CFG cfg, ...
<commit_before>#include <iostream> #include "math/mathematics.h" using namespace std ; int main() { cout << "\t\t***svector Test section***" << endl ; svector myvec( 5.0, 15.0, 3.0, true ) ; svector otrvec( 3.0, 22.0, -20.0, true ) ; cout << myvec << endl ; cout << "The two vectors...." << "\nmyvec" << myvec...
<commit_before>#include <iostream> #include <unistd.h> #include <errno.h> #include <stdio.h> #include <stdlib.h> #include <GPIOClass.h> using namespace std; int main (void) { string inputstate; GPIOClass* gpio4 = new GPIOClass("4"); //create new GPIO object to be attached to GPIO4 GPIOClass* gpio17 = ...
<commit_before>// Copyright 2014 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 "device/hid/hid_service.h" #include "base/at_exit.h" #include "base/bind.h" #include "base/logging.h" #include "base/message_loop...
<commit_before>// Copyright 2018 Google 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law o...
<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 "Window_win.h" #include <tchar.h> #include <windows.h> #include <windowsx.h> #include "SkUtils.h" #include "../WindowContext.h" #include "WindowContextFac...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: tdate.cxx,v $ * * $Revision: 1.6 $ * * last change: $Author: hr $ $Date: 2007-06-27 22:09:17 $ * * The Contents of this file are made ava...
<commit_before>/* * Software License Agreement (BSD License) * * Copyright (c) 2011, Willow Garage, 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...
<commit_before>#include "catch.hpp" #include <mapnik/text/icu_shaper.hpp> #include <mapnik/text/harfbuzz_shaper.hpp> #include <mapnik/text/font_library.hpp> #include <mapnik/unicode.hpp> namespace { void test_shaping( mapnik::font_set const& fontset, mapnik::face_manager& fm, std::vector<std::tuple...
<commit_before>/* Copyright (c) by respective owners including Yahoo!, Microsoft, and individual contributors. All rights reserved. Released under a BSD (revised) license as described in the file LICENSE. */ #include <sstream> #include <float.h> #include "reductions.h" #include "v_array.h" struct interact { unsigned...
<commit_before>/****************************************** Author: Tiago Britto Lobão tiago.blobao@gmail.com Year: 2017 Version: 0.1 */ /* Purpose: Control an integrated circuit Cirrus Logic - CS5490 Used to measure electrical quantities This is a FREE SOFTWARE. You can change it or distribute. If you no...
<commit_before>#include "compiler/build_tables/build_parse_table.h" #include <algorithm> #include <map> #include <set> #include <string> #include <unordered_map> #include <utility> #include "compiler/parse_table.h" #include "compiler/build_tables/parse_conflict_manager.h" #include "compiler/build_tables/remove_duplicat...
<commit_before>#ifndef ETCDV3_CLIENT #define ETCDV3_CLIENT #include "rpc.grpc.pb.h" #include <grpc++/grpc++.h> #include <map> using grpc::Channel; using grpc::ClientContext; using etcdserverpb::KV; using etcdserverpb::Watch; using etcdserverpb::Lease; using etcdserverpb::PutRequest; using etcdserverpb::PutResponse; ...
<commit_before>/* * Copyright (C) 2010 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>#include "googletest/googletest/include/gtest/gtest.h" #include <boost/algorithm/string.hpp> #include <fstream> #include <unordered_map> #include <unordered_set> const std::string TempNTP1File("ntp1txout.bin"); std::string RandomString(const int len) { static const char alphanum[] = "0123456789" ...
<commit_before>/****************************************************************************** Coords.h Coordinate values (x, y, z, width, height ) wrapper Copyright (c) 2013 Jeffrey Carpenter All rights reserved. ******************************************************************************/ #ifndef NOMLI...
<commit_before>/************************************************************************* * * $RCSfile: YTables.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: oj $ $Date: 2002-11-28 10:27:19 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>/************************************* ** Tsunagari Tile Engine ** ** measure.cpp ** ** Copyright 2016-2019 Paul Merrill ** *************************************/ // ********** // Permission is hereby granted, free of charge, to any person obtaining a copy // of this soft...
<commit_before>//---------------------------------*-C++-*-----------------------------------// /*! * \file MC/mc/Fission_Tally.t.hh * \author Thomas M. Evans * \date Fri Aug 21 15:29:14 2015 * \brief Fission_Tally class definitions. * \note Copyright (c) 2015 Oak Ridge National Laboratory, UT-Battelle, LLC....
<commit_before>/* * Licensed under the MIT License (MIT) * * Copyright (c) 2013 AudioScience Inc. * * 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 witho...
<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 "Licens...
<commit_before>#include "Arduino.h" #include "Denbit.h" #include "config.h" Denbit::Denbit() { // Single LEDs pinMode(DENBIT_GREEN, OUTPUT); pinMode(DENBIT_RED, OUTPUT); // RGB led pinMode(DENBIT_RGB_RED, OUTPUT); pinMode(DENBIT_RGB_GREEN, OUTPUT); pinMode(DENBIT_RGB_BLUE, OUTPUT); // Switches pinM...
<commit_before>#include <string> #include <sstream> #include <iostream> #include <utility> #include <glad/glad.h> #include "vfs.hpp" #include "texture.hpp" #if USE_LIB_PNGCPP #include "png.hpp" #endif #define STB_IMAGE_IMPLEMENTATION #define STBI_NO_STDIO //exclude image formats #define STBI_NO_PIC #define STBI_NO_PN...
<commit_before>#include <iostream> #include <string> #include "../stack/stack.h" using namespace std; int calculatePostfix(const string& expression); bool isDigit(char symbol); int calculateBinary(int leftOperand, int rightOperand, char operation); void inputExpression(string& expression); int main() { cout << "E...
<commit_before>/* * The Apache Software License, Version 1.1 * * * Copyright (c) 2000 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistri...
<commit_before>/* Copyright (c) 2015 Anon authors, see AUTHORS file. 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...
<commit_before>//===-RTLs/generic-64bit/src/rtl.cpp - Target RTLs Implementation - C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===------------...
<commit_before>/* * Copyright (c) 2012-2014 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware impleme...
<commit_before>/* * IdentConn.cpp * * Created on: Nov 17, 2010 * Author: pschultz */ #include "IdentConn.hpp" namespace PV { PVConnParams defaultConnParamsIdent = { /*delay*/ 0, /*fixDelay*/ 0, /*varDelayMin*/ 0, /*varDelayMax*/ 0, /*numDelay*/ 1, /*isGraded*/ 0, /*vel*/ 45.248, /*rmin*/ 0.0, /*rmax...
<commit_before> // // This source file is part of appleseed. // Visit https://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2018 Francois Beaune, The appleseedhq Organization // // Permission is hereby granted, free of charge, to an...
<commit_before>#pragma once #include <array> #include <algorithm> #include "gsl/span.hpp" #include "gsl/assert.hpp" #include "cryptic/base64.hpp" namespace cryptic { using namespace std; using namespace gsl; class sha1 { public: sha1() : message_digest{0x67452301u, 0xEFCDAB89u, ...
<commit_before>// This file is part of MorphoDiTa <http://github.com/ufal/morphodita/>. // // Copyright 2016 Institute of Formal and Applied Linguistics, Faculty of // Mathematics and Physics, Charles University in Prague, Czech Republic. // // This Source Code Form is subject to the terms of the Mozilla Public // Lice...
<commit_before>#include <cmath> #include <cstdio> #include "json.hpp" #include <cstring> #include <climits> using namespace std; using json::JSON; class Node { public: int split_feature; float split_value; float leaf_value; int is_leaf; int child_left, child_right; Node...
<commit_before>// Time: O(n) // Space: O(1) class Solution { public: vector<int> singleNumber(vector<int>& nums) { // Xor all the elements to get x ^ y. int x_xor_y = accumulate(nums.cbegin(), nums.cend(), 0, bit_xor<int>()); // Get the last bit where 1 occurs. x_xor_y &= -x_xor_y...
<commit_before>#include "Nil.h" #include "Runtime.h" namespace snow { static Handle<Object> NilPrototype = NULL; Handle<Object>& nil_prototype() { if (NilPrototype) return NilPrototype; NilPrototype = new Object; NilPrototype->set("to_string", create_string("nil")); NilPrototype->set("name", create_stri...
<commit_before> #include <cstdio> #include <cstdlib> using namespace std; /* * LL(1) Grammar * expr : sub expr_rest * * expr_rest : | sub expr_rest * | ε * * sub : term sub_rest * * sub_rest : & term sub_rest * | ε * * term : ! term * | atom * * atom : (expr) * | V ...
<commit_before>#include <iostream> #include <string> #include <vector> #include <typeinfo> #include "Usuario.h" #include "Cliente.h" #include "Personal.h" #include "Administrador.h" #include "Chef.h" #include "Lavaplatos.h" #include "Mesero.h" using namespace std; int menu(); int main() { vector<Usuario*> usuarios;...
<commit_before>#if USE_PARQUET #include <iostream> #include <stdio.h> #include "parquet/parquet.h" #include "rdd.h" #include "hdfs.h" using namespace parquet; using namespace parquet_cpp; using namespace std; // 4 byte constant + 4 byte metadata len const uint32_t FOOTER_SIZE = 8; const uint8_t PARQUET_MAGIC[4] =...
<commit_before>// Here's a wirish include: #include <wirish/wirish.h> #include "fpga-comm/FPGAComm.h" FPGAComm* comm; void setup(void) { // init the FPGA comm comm = FPGAComm::getInstance(); FPGAPinInLayout inLayout; inLayout.leftWall = D0; inLayout.frontWall = D1; inLayout.rightWall = D2; inLayout.interru...
<commit_before>/*------------------------------------------------------------------------- * * mapper_utils.cpp * file description * * Copyright(c) 2015, CMU * * /peloton/src/backend/bridge/dml/mapper/mapper_utils.cpp * *------------------------------------------------------------------------- */ #include "b...
<commit_before>//////////////////////////////////////////////////////////////////////////////// // // Copyright 2006 - 2015, Paul Beckingham, Federico Hernandez. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to...
<commit_before>#pragma once /* * Copyright (c) 2012 Aldebaran Robotics. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the COPYING file. */ /** @file qi/log.hpp * @brief Convenient log macro */ #ifndef _QI_LOG_HPP_ #define _QI_LOG_HPP_ # include <stri...
<commit_before>#include "proxyparser.h" #define WIN32_LEAN_AND_MEAN #include <windows.h> #include <Winhttp.h> #include <Ws2tcpip.h> #include <Winsock2.h> #include <iostream> #include <sstream> ProxyParser::ProxyParser(string url) { } ProxyParser::~ProxyParser(void) { } void ProxyParser::getProxySettingForUrl(strin...
<commit_before>#include "condor_common.h" #include <stdlib.h> #include <sys/types.h> #include <netinet/in.h> #include "condor_classad.h" #include "proc_obj.h" #include "dgram_io_handle.h" #include "condor_attributes.h" #include "condor_expressions.h" #include "condor_collector.h" int send_classad_to_machine(DGRAM_IO_...
<commit_before> #include <vector> #include <iostream> // euclidean distance double distance(std::pair<double, double>, std::pair<double, double>); double distance(std::pair<int, int>, std::pair<int, int>); int shortest_path_dist(vector< vector<int> >); int main(int argc, char** argv) { if (argc < 2) { std::cerr ...
<commit_before>#include "dwi/tractography/tracking/tractography.h" #define MAX_TRIALS 1000 namespace MR { namespace DWI { namespace Tractography { namespace Tracking { using namespace App; const OptionGroup TrackOption = OptionGroup ("Streamlines tractography options") + O...
<commit_before>#include "DateTime.h" #include "ArraySort.h" #include <iostream> #include <string> #include <list> using namespace std; using namespace NP_DATETIME; using namespace NP_ARRAYSORT; // .h int main(); void showSortFunction(); // .cpp void showSortFunction() { cout << "For our first act, we're going to s...
<commit_before><commit_msg>optimizations<commit_after><|endoftext|>
<commit_before>#include "editor_native/property_frame/script_ui.h" #include <cstdio> #include <Windows.h> #include "core/crc32.h" #include "editor/editor_client.h" #include "editor/server_message_types.h" #include "editor_native/main_frame.h" #include "editor_native/property_frame/property_frame.h" #include "gui/contro...
<commit_before>/**************************************************************************** Copyright (c) 2014 Chukong Technologies Inc. http://github.com/chukong/EarthWarrior3D Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkObject.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 2001 Insight Consortium All rights reserved. Redistribution and use...
<commit_before><commit_msg>Fix time calculation error....<commit_after><|endoftext|>
<commit_before>/*-------------------------------------------------------------------------- File : device_intrf.cpp Author : Hoang Nguyen Hoan Dec. 25, 2011 Desc : Generic device interface class This class is used to implement serial communication interfaces such as I2C, UART, etc... No...
<commit_before><commit_msg>Use the re-entrant variants of the time functions.<commit_after><|endoftext|>
<commit_before>#ifndef ALEPH_PERSISTENCE_DIAGRAMS_EXTRACTION_HH__ #define ALEPH_PERSISTENCE_DIAGRAMS_EXTRACTION_HH__ #include "persistenceDiagrams/PersistenceDiagram.hh" #include <algorithm> #include <vector> #include <cmath> namespace aleph { /** Stores all (signed) persistence values in an output iterator. Thi...
<commit_before>#include <pybind11/embed.h> #include "plugin.h" #include "plugin_manager.h" #include "term_gl_ui.h" #include "term_window.h" #include "task.h" #include "term_context.h" #include "term_network.h" #include "term_buffer.h" #include "term_data_handler.h" #include "app_config_impl.h" #include "plugin_base.h"...
<commit_before><commit_msg>[core] Removed logging in cleanup<commit_after><|endoftext|>
<commit_before>#include "similarity_opencl_worker.h" #include "similarity_resultblock.h" #include "similarity_workblock.h" #include <ace/core/elog.h> using namespace std; /*! * Construct a new OpenCL worker with the given parent analytic, OpenCL object, * OpenCL context, and OpenCL program. * * @param base...
<commit_before>#include "core/EnvironmentOperations.h" extern "C" { #include "clips.h" #include <stdio.h> } #define werror (char*)"werror" #define wdisplay (char*)"wdisplay" #define wwarning (char*)"wwarning" #define PrintError(e, msg) EnvPrintRouter(e, werror, (char*) msg) #define CharBuffer(sz) (char*)calloc(sz, siz...
<commit_before>#include "MooseInit.h" #include "MooseTestApp.h" #include "Moose.h" #include "AppFactory.h" // Create a performance log PerfLog Moose::perf_log("Moose Test"); int main(int argc, char *argv[]) { // Initialize MPI, solvers and MOOSE MooseInit init(argc, argv); std::cout << "Thanks for running moos...
<commit_before><commit_msg>fixed lambda arguments<commit_after><|endoftext|>
<commit_before><commit_msg>Update BestO.cpp<commit_after><|endoftext|>
<commit_before>#include <iostream> #include <string> #include <utility> #include "Bool.hh" #include "Number.hh" #include "String.hh" #include "Table.hh" using namespace py; using std::unique_ptr; //------------------------------------------------------------------------------ namespace { int tp_init(Table* self, T...
<commit_before>#include "EventOutputQueue.hpp" #include "ConsumerToConsumer.hpp" #include "KeyboardRepeat.hpp" #include "ListHookedKeyboard.hpp" namespace org_pqrs_KeyRemap4MacBook { namespace RemapFunc { void ConsumerToConsumer::initialize(void) { toKeys_ = new Vector_PairConsumerKeyFlags(); }...
<commit_before><commit_msg>Add a comment.<commit_after><|endoftext|>
<commit_before>// Scintilla source code edit control /** @file LexCPP.cxx ** Lexer for C++, C, Java, and Javascript. **/ // Copyright 1998-2002 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. #include <stdlib.h> #include <string.h> ...
<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 re...
<commit_before>// LexLua.cxx - lexer for Lua language // Written by Paul Winwood #include <stdlib.h> #include <string.h> #include <ctype.h> #include <stdarg.h> #include <stdio.h> #include <fcntl.h> #include "Platform.h" #include "PropSet.h" #include "Accessor.h" #include "KeyWords.h" #include "Scintilla.h" #include ...
<commit_before>// Scintilla source code edit control /** @file LexSQL.cxx ** Lexer for SQL, including PL/SQL and SQL*Plus. **/ // Copyright 1998-2005 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. #include <stdlib.h> #include <stri...
<commit_before>#ifndef AX_MATRIX_H #define AX_MATRIX_H #include <array> #include <iostream> #include "MatrixExp.hpp" namespace ax { template<std::size_t R, std::size_t C> class RealMatrix { public: using value_trait = Matrix; constexpr static std::size_t row = R;//number o...
<commit_before>/* @(#)dtkComposerNodeDistributed.cpp --- * * Author: Nicolas Niclausse * Copyright (C) 2012 - Nicolas Niclausse, Inria. * Created: 2012/03/26 09:03:42 */ /* Commentary: * */ /* Change log: * */ #include "dtkComposerNodeDistributed.h" #include "dtkComposerTransmitterEmitter.h" #include "dtkCo...