text
stringlengths
54
60.6k
<commit_before><commit_msg>Use valueChanged not sliderMoved<commit_after><|endoftext|>
<commit_before><commit_msg>fix: add missing include file<commit_after><|endoftext|>
<commit_before>#ifndef STAN_MATH_PRIM_ERR_IS_MAT_FINITE_HPP #define STAN_MATH_PRIM_ERR_IS_MAT_FINITE_HPP #include <stan/math/prim/fun/Eigen.hpp> #include <stan/math/prim/meta.hpp> namespace stan { namespace math { /** * Return <code>true</code> is the specified matrix is finite. * @tparam T Scalar type of the matr...
<commit_before><commit_msg>Keep Gups from sending unnecessary completions<commit_after><|endoftext|>
<commit_before>#ifndef STAN_MATH_PRIM_FUN_LUB_CONSTRAIN_HPP #define STAN_MATH_PRIM_FUN_LUB_CONSTRAIN_HPP #include <stan/math/prim/fun/Eigen.hpp> #include <stan/math/prim/meta.hpp> #include <stan/math/prim/err.hpp> #include <stan/math/prim/fun/add.hpp> #include <stan/math/prim/fun/exp.hpp> #include <stan/math/prim/fun/...
<commit_before>/** @file @brief Implementation @date 2015 @author Sensics, Inc. <http://sensics.com/osvr> */ // Copyright 2015 Sensics, 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 ...
<commit_before>#include <stdio.h> #include <stdlib.h> #include <memory.h> #include "6502.h" // For testing purposes #include "opcodes.h" static bool LoadProgram(ram_t *Ram, const char *Filename) { FILE *File = fopen(Filename, "rb"); bool Result = false; if (File) { Result = true; fseek(Fil...
<commit_before>/************************************************************************** * Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>#ifndef STAN_MATH_PRIM_SCAL_FUN_GRAD_2F1_HPP #define STAN_MATH_PRIM_SCAL_FUN_GRAD_2F1_HPP #include <stan/math/prim/scal/err/domain_error.hpp> #include <stan/math/prim/scal/fun/is_nan.hpp> #include <cmath> namespace stan { namespace math { // Gradient of the hypergeometric function 2F1(a, b | c |...
<commit_before>#ifndef STAN_MATH_REV_SCAL_FUNCTOR_REDUCE_SUM_HPP #define STAN_MATH_REV_SCAL_FUNCTOR_REDUCE_SUM_HPP #include <stan/math/prim/meta.hpp> #include <stan/math/rev/fun/typedefs.hpp> #include <tbb/task_arena.h> #include <tbb/parallel_reduce.h> #include <tbb/blocked_range.h> #include <iostream> #include <ite...
<commit_before>/** * @file * * @brief Tests for leaf plugin * * @copyright BSD License (see LICENSE.md or https://www.libelektra.org) * */ #include "leaf.hpp" #include <kdbmodule.h> #include <kdbprivate.h> #include <tests.hpp> using ckdb::keyNew; using CppKeySet = kdb::KeySet; using CppKey = kdb::Key; // -...
<commit_before>#include "Dial.h" //Constructor Dial::Dial(){ if(buf = (char *)malloc(BUF_SIZE+1)) memset(buf,0,BUF_SIZE+1); //Had to add one more, to avoid some bug } Dial::Dial(unsigned int radius, unsigned int minLimit, unsigned int setpoint, unsigned int maxLimit) { if(buf = (char *)malloc(BUF_SIZE+1)) memset(bu...
<commit_before><commit_msg>[generator] Fix build on OS X<commit_after><|endoftext|>
<commit_before>#include "Game.h" Game::Game() { //Set default variables width = 800; height = 600; vsync = false; fullscreen = false; fog = true; mazeSize = 40; //Try to load configuration loadConfig(); //If user set wrong size, correct it if(mazeSize > MAZE_MAXSIZ...
<commit_before>#include "evaluate_circuit.h" #include "gmock/gmock.h" #include "gtest/gtest.h" namespace qflex { namespace { class GetOutputStatesTest : public testing::Test { public: void TestOutputExpectations() { get_output_states(ordering_, &final_qubits_, &output_states_); EXPECT_EQ(final_qubits_, ex...
<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/views/frame/app_non_client_frame_view_aura.h" #include "base/debug/stack_trace.h" #include "chrome/browser...
<commit_before>#include <stdio.h> #include <iostream> #include <sstream> #include <vector> #include <set> #include <list> #include <map> #include <algorithm> #include <stdio.h> #include <math.h> typedef long long lld; using namespace std; int main(int argc, char* argv[]) { int n, m, x; cin >> n >> m; vect...
<commit_before>#include "util.h" uint8_t lastError = ERROR_NONE; // bringt den Chip in den Fehler-Modus und blockiert ihn void error(const char* tag, const char* message, boolean blinkFast) { writeEEPROM("fError"); writeEEPROM(message); serialPrintF("error(tag = "); serialPrint(tag); serialPrintF(", message = ...
<commit_before>#include <windows.h> #include <gl\gl.h> #include "Settings.h" #include "Main.h" #include "VideoBase.h" #include "Loader.h" #include "Window.h" #include "Text.h" #include "Info.h" #include "Error.h" #include "GamePlay.h" #define SPLASH_RESOURCE NULL #define SPLASH_FILE "SPLASH.JPG" ...
<commit_before><commit_msg>Correct out-of-order transform instances (#2025)<commit_after><|endoftext|>
<commit_before>/** * @file llnotificationsconsole.cpp * @brief Debugging console for unified notifications. * * $LicenseInfo:firstyear=2003&license=viewergpl$ * * Copyright (c) 2003-2009, Linden Research, Inc. * * Second Life Viewer Source Code * The source code in this file ("Source Code") is provided by L...
<commit_before> /************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: accpreview.cxx,v $ * * $Revision: 1.10 $ * * last change: $Author: hr $ $Date: 2007-09-27 08:23:51 $ * * The Contents of this file are m...
<commit_before>#include <iostream> #include <string> #include <kcpolydb.h> long estimate_a(long *pack) { return ( 4 + pack[0] * 8 + 4 + 1 + pack[1] * 8 * 5 + 4 + 1 + pack[2] * 8 * 5 + 3 * 11 * 1 + 4 + 1 + pack[3] * 8 * 5 + 3 * 11 * 2 + 4 + 1 + pack[4] * 8 * 5 + 3 * 11 * 4 + 4 + 1 + pack[5] *...
<commit_before>/* * Copyright 2016 Facebook, 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 l...
<commit_before>#include <algorithm> #include <fstream> #include <iomanip> #include <iostream> #include <limits> #include <numeric> #include <string> #include <sstream> #include <cmath> // TODO: Replace this as soon as possible with a more modern option // parser interface. #include <getopt.h> #include "filtrations/D...
<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 *"Licen...
<commit_before>/****************************************************************/ /* DO NOT MODIFY THIS HEADER */ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* (c) 2010 Battelle Energy...
<commit_before>//------------------------------------------------------------------------------ // CLING - the C++ LLVM-based InterpreterG :) // // This file is dual-licensed: you can choose to license it under the University // of Illinois Open Source License or the GNU Lesser General Public License. See // LICENSE.TX...
<commit_before>/* Copyright <SWGEmu> See file COPYING for copying conditions.*/ #include "server/zone/objects/resource/ResourceContainer.h" #include "server/zone/objects/resource/ResourceSpawn.h" #include "server/zone/packets/resource/ResourceContainerObjectDeltaMessage3.h" #include "server/zone/packets/resourc...
<commit_before>#include "fht.h" #include <vector> #include "gtest/gtest.h" #include "test_utils.h" using lsh::compare_vectors; using lsh::fht; using std::vector; const float eps = 0.0001; TEST(PolytopeHashTest, FHTTest1) { vector<float> data1 = {0.0, 1.0, 0.0, 0.0}; vector<float> expected_result1 = {1.0, -1.0...
<commit_before>#include <iostream> #include <cassert> #include <ctime> #include "chtable.hpp" #include "hash_mixer.hpp" namespace chtable{ template <> class Hash<unsigned> { HashMixer<unsigned> hashf_; public: Hash(unsigned k, unsigned seed) : hashf_(k, seed){} unsigned operator () (unsigned i, unsigned k) const ...
<commit_before>// RUN: %clang_cc1 %s -triple i686-pc-win32 -fsyntax-only -Wmicrosoft -verify -fms-extensions -fexceptions -fcxx-exceptions // ::type_info is predeclared with forward class declartion void f(const type_info &a); // Microsoft doesn't validate exception specification. void foo(); // expected-note {{pre...
<commit_before> /* * benchmark_bwtree_full.cpp - This file contains test suites for command * benchmark-bwtree-full */ #include "test_suite.h" /* * BenchmarkBwTreeRandInsert() - As name suggests * * Note that for this function we do not pass a bwtree instance for it and ...
<commit_before>/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor ...
<commit_before>// RUN: mkdir -p %T/read-file-config/ // RUN: cp %s %T/read-file-config/test.cpp // RUN: echo 'Checks: "-*,modernize-use-nullptr"' > %T/read-file-config/.clang-tidy // RUN: echo '[{"command": "cc -c -o test.o test.cpp", "directory": "%T/read-file-config", "file": "%T/read-file-config/test.cpp"}]' > %T/re...
<commit_before>// // pLSI (probabilistic latent semantic indexing) // // Copyright(C) 2009 Mizuki Fujisawa <[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; version 2 of...
<commit_before>#include <string> #include <gtest/gtest.h> #include "fly/config/config.h" #include "fly/config/config_manager.h" #include "fly/path/path.h" #include "fly/path/path_config.h" #include "fly/task/task_manager.h" #include "fly/types/string.h" #include "test/util/path_util.h" #include "test/util/waitable_t...
<commit_before>#include "interpreterTest.h" #include <QtCore/QCoreApplication> #include <qrtext/lua/luaToolbox.h> #include "src/interpreter/interpreter.h" #include "src/textLanguage/robotsBlockParser.h" using namespace qrTest::robotsTests::interpreterCoreTests; using namespace interpreterCore::interpreter; using na...
<commit_before>//**********************************************************************; // Copyright (c) 2015, Intel Corporation // 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. Redis...
<commit_before>// vim:ts=2:sw=2:expandtab:autoindent:filetype=cpp: /* Copyright (c) 2008 Ash Berlin, Aristid Breitkreuz 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, includi...
<commit_before>/*===================================================================== QGroundControl Open Source Ground Control Station (c) 2009, 2010 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> This file is part of the QGROUNDCONTROL project QGROUNDCONTROL is free software: you can redistribute it a...
<commit_before>/* * Copyright (C) 2013 Daniel Nicoletti <[email protected]> * * 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 * version 2 of the License, or (at your option...
<commit_before>/////////////////////////////////////////////////////////////////////////////////// /// OpenGL Mathematics (glm.g-truc.net) /// /// Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) /// Permission is hereby granted, free of charge, to any person obtaining a copy /// of this software and associat...
<commit_before>/* * Copyright 2013 Matthias Fuchs * * 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 l...
<commit_before>#include <functional> #include <initializer_list> #include <string> #include <vector> #include <unordered_map> #include <algorithm> #include <iostream> #include <memory> namespace parser{ class Sign_{ std::string name_; bool isTerm_; public: Sign_(std::string n, bool ...
<commit_before>#include <cstdlib> #include <cstring> #include "sass_context.h" #include "emscripten_wrapper.hpp" char *sass_compile_emscripten( char *source_string, int output_style, int precision, bool source_comments, bool is_indented_syntax_src, bool source_map_contents, bool source_map_embed, bool ...
<commit_before>// @(#)root/eve:$Id$ // Author: Matevz Tadel 2007 /************************************************************************* * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
<commit_before>#ifndef __Z2H_PARSER__ #define __Z2H_PARSER__ = 1 #include <cmath> #include <string> #include <vector> #include <fstream> #include <sstream> #include <iostream> #include <stddef.h> #include <sys/stat.h> #include <functional> #include "token.hpp" #include "symbol.hpp" #include "binder.hpp" using namesp...
<commit_before>#ifndef __Z2H_PARSER__ #define __Z2H_PARSER__ = 1 #include <cmath> #include <string> #include <vector> #include <fstream> #include <sstream> #include <iostream> #include <stddef.h> #include <sys/stat.h> #include <functional> #include "token.hpp" #include "symbol.hpp" #include "binder.hpp" using namesp...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkElevationFilter.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-2001 Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. Redis...
<commit_before>#include <iostream> #include "routing/osrm_routed_wrapper.h" #include "structures/vroom/input/input.h" #include "structures/vroom/job.h" #include "structures/vroom/vehicle.h" #include "utils/exception.h" void log_solution(const vroom::Solution& sol, bool geometry) { std::cout << "Total cost: " << sol...
<commit_before>/** * This file is part of Slideshow. * Copyright (C) 2008 David Sveningsson <[email protected]> * * Slideshow 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 ...
<commit_before>//===- unittests/AST/PostOrderASTVisitor.cpp - Declaration printer tests --===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>//===- llvm/unittest/VMCore/InstructionsTest.cpp - Instructions unit tests ===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#pragma once #include <lvtk/ui/main.hpp> #include <lvtk/ui/widget.hpp> #include <memory> namespace lvtk { namespace demo { class Box : public lvtk::Widget { public: Box() = default; virtual ~Box() = default; void paint (Graphics& g) override { g.set_color (color); g.fill_r...
<commit_before>/* This program tests class LinkedList */ #include<iostream> #include<vector> #include "linkedlist.h" // tests insertion void testInsert(){ std::cout<<"Test Insert\n"; // define vector of values std::vector<int> values = {6,5,4,3,2,1}; // create linked list LinkedList ll; // insert values i...
<commit_before>/* * Copyright 2014 Open Connectome Project (http://openconnecto.me) * Written by Da Zheng ([email protected]) * * This file is part of FlashMatrix. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may...
<commit_before>#ifndef UNITTEST11_UTILITY_TOSTRING_HPP #define UNITTEST11_UTILITY_TOSTRING_HPP #include "Meta/IsIterableContainer.hpp" #include "Meta/IfElseTypes.hpp" #include <memory> #include <string> #include <sstream> namespace ut11 { namespace utility { template<typename V> inline std::string ...
<commit_before>#include <cstdio> #include <cstdlib> #include <MultiRegions/ExpList.h> #include <MultiRegions/ExpList1D.h> #include <MultiRegions/ExpList2D.h> #include <MultiRegions/ExpList3D.h> using namespace Nektar; int main(int argc, char *argv[]) { if(argc != 2) { cerr << "Usage: XmlToVtk meshfi...
<commit_before>#include <SFML/Graphics.hpp> #include "grid.h" #include "cell.h" #include <math.h> #include <iostream> using namespace sf; int main() { //Calling grid here //this will be 1027 / 32 which is defend in grid.cpp int gridWidth = grid::windowWidth / grid::x; //this will be 720 / 32 which also defend i...
<commit_before>/** * @file nullable_attribute.cc * * @section LICENSE * * The MIT License * * @copyright Copyright (c) 2020-2021 TileDB, 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...
<commit_before> #include "UnionLowestLevelSimpleScanOperator.h" namespace srch2 { namespace instantsearch { //////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////// merge when lists are sorted by ID Only top K//////////////////////////// Union...
<commit_before>// Copyright 2016-2017 Jean-Francois Poilpret // // 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>/**************************************************************************** ** ** 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>#include <stack> #include "events-impl.h" #include "protocol/stress.pb.h" #include "protocol/vtrc-rpc-lowlevel.pb.h" #include "vtrc-client-base/vtrc-client.h" #include "vtrc-common/vtrc-closure-holder.h" #include "vtrc-common/vtrc-call-context.h" #include "vtrc-chrono.h" #include "vtrc-thread.h" ...
<commit_before>#include <unistd.h> #include <boost/filesystem.hpp> #include "zerocash/ZerocashParams.h" #include "coins.h" #include "util.h" #include "init.h" #include "primitives/transaction.h" #include "crypto/equihash.h" #include "chainparams.h" #include "pow.h" #include "zcbenchmarks.h" struct timeval tv_start; ...
<commit_before>// // ClockDeferrer.hpp // Clock Signal // // Created by Thomas Harte on 23/08/2018. // Copyright © 2018 Thomas Harte. All rights reserved. // #ifndef ClockDeferrer_h #define ClockDeferrer_h #include <vector> /*! A ClockDeferrer maintains a list of ordered actions and the times at which they sho...
<commit_before>// // ClockReceiver.hpp // Clock Signal // // Created by Thomas Harte on 22/07/2017. // Copyright 2017 Thomas Harte. All rights reserved. // #ifndef ClockReceiver_hpp #define ClockReceiver_hpp #include "ForceInline.hpp" #include <cstdint> /* Informal pattern for all classes that run from a clock ...
<commit_before>// // Copyright Copyright 2009-2021, AMT – The Association For Manufacturing Technology (“AMT”) // 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 Licens...
<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>#define BOOST_TEST_DYN_LINK #define BOOST_TEST_MODULE Main #include "test_common.h" #include <boost/test/unit_test.hpp> #include <libdariadb/dariadb.h> #include <libdariadb/storage/manifest.h> #include <libdariadb/timeutil.h> #include <libdariadb/utils/fs.h> #include <algorithm> #include <iostream> cla...
<commit_before>///////////////////////////////////////////////////////////////////////// // $Id$ ///////////////////////////////////////////////////////////////////////// // // I grabbed these CRC routines from the following source: // http://www.landfield.com/faqs/compression-faq/part1/section-25.html // // These...
<commit_before>#include "ItemUtils.h" #include <Items/ItemComponent.h> #include <Items/ItemContainerComponent.h> #include <Scene/SceneComponent.h> #include <Physics/RigidBodyComponent.h> namespace DEM::RPG { Game::HEntity AddItemsIntoContainer(Game::CGameWorld& World, Game::HEntity Container, Game::HEntity ItemStackE...
<commit_before><commit_msg>Libport.Hash: fixes.<commit_after><|endoftext|>
<commit_before>#include "views/SystemView.h" #include "SystemData.h" #include "Renderer.h" #include "Log.h" #include "Window.h" #include "views/ViewController.h" #include "animations/LambdaAnimation.h" #include "SystemData.h" #include "Settings.h" #include "Util.h" #define SELECTED_SCALE 1.5f #define LOGO_PADDING ((lo...
<commit_before>// @(#)root/gui:$Name: $:$Id: TRootEmbeddedCanvas.cxx,v 1.3 2001/02/14 15:39:35 rdm Exp $ // Author: Fons Rademakers 15/07/98 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. ...
<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 "build/build_config.h" #include "base/debug_util.h" #if defined(OS_LINUX) #include <unistd.h> #include <execinfo.h> #end...
<commit_before>// Copyright (c) 2006-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 "build/build_config.h" #include "base/debug_util.h" #include <errno.h> #include <fcntl.h> #include <stdio.h> #include <s...
<commit_before>/* * Copyright 2015 Facebook, 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 l...
<commit_before>#include <llvm/IR/IRBuilder.h> #include <llvm/IR/LLVMContext.h> #include <llvm/IR/Module.h> #include <llvm/IR/Verifier.h> #include <vector> #include <string> static llvm::LLVMContext &Context = llvm::getGlobalContext(); static llvm::Module *ModuleOb = new llvm::Module("my compiler", Context); llvm::Fun...
<commit_before>#pragma once #include <tuple> #include <functional> #include <exception> namespace multi_iter { #ifdef __cpp_concepts template <typename T> concept bool ForwardIterator = requires(T it) { {*it}; {++it}; {it == it} }; template <typename T> concept bool ForwardIterable = ForwardIterator<decl...
<commit_before>// stack solution by hxdone class Solution { public: int romanToInt(string s) { map<char, int> sym_table; sym_table['I'] = 1; sym_table['V'] = 5; sym_table['X'] = 10; sym_table['L'] = 50; sym_table['C'] = 100; sym_table['D'] = 500; sym_table['M'] = 1000; stack<int> v_stack; for (int...
<commit_before>/* * Copyright (c) 2015-2017 Alex Spataru <[email protected]> * * 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>#pragma once #include "eigen.hh" #include "numerics/optimization/error_function.hh" #include <vector> namespace numerics { template <int dim_in, int dim_out> struct MinimizationResult { VecNd<dim_in> solution = VecNd<dim_in>::Zero(); VecNd<dim_in> terminal_jti = VecNd<dim_in>::Zero(); VecNd<di...
<commit_before>/* Copyright 2020 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>#include "asylo/util/logging.h" #include "oak/server/oak_server.h" #include "src/binary-reader.h" #include "src/error-formatter.h" #include "src/error.h" #include "src/interp/binary-reader-interp.h" #include "src/interp/interp.h" namespace oak { namespace grpc_server { // From https://github.com/WebA...
<commit_before>// Copyright (c) 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. // Browser test for basic Chrome OS file manager functionality: // - The file list is updated when a file is added externally to the D...
<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 "base/run_loop.h" #include "base/strings/string_number_conversions.h" #include "chrome/browser/extensions/extension_test_messa...
<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/stringprintf.h" #include "chrome/browser/extensions/extension_apitest.h" #include "chrome/browser/extensions/extension_w...
<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/views/location_bar/action_box_button_view.h" #include "base/utf_string_conversions.h" #include "chrome/bro...
<commit_before>/* Copyright 2014 Adam Grandquist 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 wr...
<commit_before>#include <iostream> #include <fstream> #include <sys/wait.h> #include <boost/regex.hpp> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/ini_parser.hpp> #include <boost/iostreams/device/file_descriptor.hpp> #include <boost/iostreams/stream.hpp> using namespace boost; static void ...
<commit_before>/************************************************************************* * * $RCSfile: flyincnt.cxx,v $ * * $Revision: 1.8 $ * * last change: $Author: kz $ $Date: 2004-05-18 14:50:46 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>#ifndef STANDARD_TYPES_HPP #define STANDARD_TYPES_HPP #include <stdint.h> #if 0 #ifndef __AVR_LIBC_VERSION_STRING__ typedef char int8; typedef unsigned char uint8; typedef short int16; typedef unsigned short uint16; typedef int int32; typedef unsigned int uint32; #else typedef char in...
<commit_before>#include <gtest/gtest.h> #include <zmq.hpp> TEST(socket, create_destroy) { zmq::context_t context; zmq::socket_t socket(context, ZMQ_ROUTER); } #ifdef ZMQ_CPP11 TEST(socket, create_by_enum_destroy) { zmq::context_t context; zmq::socket_t socket(context, zmq::socket_type::router); } #end...
<commit_before><commit_msg>fix texImage2D call to use desc.internalFormat. Remove border from unresolved shaders to simplify shader code and look like normal texture arrays.<commit_after><|endoftext|>
<commit_before>// // Copyright (c) 2010 Advanced Micro Devices, Inc. All rights reserved. // #ifndef VERSIONS_HPP_ #define VERSIONS_HPP_ #include "utils/macros.hpp" #ifndef AMD_PLATFORM_NAME # define AMD_PLATFORM_NAME "AMD Accelerated Parallel Processing" #endif // AMD_PLATFORM_NAME #ifndef AMD_PLATFORM_BUILD_NUMBE...
<commit_before><commit_msg>P4 to Git Change 1447247 by johtaylo@johtaylo-jtincrementor-increment on 2017/08/15 03:00:04<commit_after><|endoftext|>
<commit_before><commit_msg>P4 to Git Change 1451630 by johtaylo@johtaylo-jtincrementor-increment on 2017/08/25 03:00:06<commit_after><|endoftext|>
<commit_before><commit_msg>P4 to Git Change 1584378 by chui@ocl-promo-incrementor on 2018/07/24 02:56:41<commit_after><|endoftext|>