text
stringlengths
54
60.6k
<commit_before>#include <vector> #include "../lib/hayai/hayai.hpp" #include "../lib/hayai/hayai_posix_main.cpp" #include "../src/vector.hpp" using namespace lsh; std::vector<bool> c(128); vector u = vector::random(128); vector v = vector::random(128); BENCHMARK(vector, vector, 10000, 200) { lsh::vector v(c); } B...
<commit_before>/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite * * This file is part of OpenOffice.o...
<commit_before>/*------------------------------------------------------------------------------ Copyright (c) 2004 Media Development Loan Fund This file is part of the Campcaster project. http://campcaster.campware.org/ To report bugs, send an e-mail to bugs@campware.org Campcaster is free soft...
<commit_before><commit_msg>tdf#89381 Revert "vcl: SalGraphics::mirror() - always use GetGraphicsWidth()"<commit_after><|endoftext|>
<commit_before><commit_msg>Signed-off-by: xsmart <xsmart@veyesys.com><commit_after><|endoftext|>
<commit_before>#ifndef VIENNAGRID_ALGORITHM_VOLUME_HPP #define VIENNAGRID_ALGORITHM_VOLUME_HPP /* ======================================================================= Copyright (c) 2011-2012, Institute for Microelectronics, Institute for Analysis and Scientific Computing, ...
<commit_before>/************************************************************************/ /* */ /* Copyright 2009 by Ullrich Koethe */ /* */ /* ...
<commit_before>#include <stdio.h> #include <stdlib.h> #include <osmesa.h> #include <conio.h> // For kbhit, getch, textmode (console access) #include <dpmi.h> // For __dpmi_int (mouse access) #include <go32.h> // For _dos_ds (VRAM access) #include <sys/movedata.h> // For movedata (VRAM access) #i...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: DanielssonDistanceMapImageFilter.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights res...
<commit_before>#ifndef ElastixFilter_hxx #define ElastixFilter_hxx namespace selx { template< typename TFixedImage, typename TMovingImage > ElastixFilter< TFixedImage, TMovingImage > ::ElastixFilter( void ) { this->AddRequiredInputName( "FixedImage" ); this->AddRequiredInputName( "MovingImage" ); this->AddRequi...
<commit_before>// // Copyright (C) 2003 Grzegorz Jaskiewicz <gj at pointblue.com.pl> // // gadupubdir.cpp // Gadu-Gadu Public directory contains people data, using it you can search friends // different criteria // // This program is free software; you can redistribute it and/or // modify it under the terms of the GN...
<commit_before>/* * Copyright (C) 2013 Aggregate * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, copy, * modify...
<commit_before>/* * Unix Command Execution * (C) 1999-2007 Jack Lloyd * * Distributed under the terms of the Botan license */ #include <botan/internal/unix_cmd.h> #include <botan/parsing.h> #include <botan/exceptn.h> #include <sys/time.h> #include <sys/types.h> #include <sys/wait.h> #include <stdlib.h> #include <unis...
<commit_before>/*************************************************************************** test_map_random.cpp - description ------------------- begin : Mon Feb 14 2005 copyright : (C) 2005 by Thomas Nowak email ...
<commit_before>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2006 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public...
<commit_before>/* * Copyright © 2011 Intel Corporation * * 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, mod...
<commit_before>// // Copyright (c) 2019, Wolfgang Merkt // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, // th...
<commit_before>/* Copyright 2013 Telefonica Investigacion y Desarrollo, S.A.U * * This file is part of Orion Context Broker. * * Orion Context Broker 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, eith...
<commit_before>#include "packettrain.h" #include <QDebug> PacketTrain::PacketTrain(QObject *parent) : isInitialized(false) , packetCounter(0) , running(false) { connect(&timer, SIGNAL(timeout()), this, SLOT(timeout())); connect(&timeouter, SIGNAL(timeout()), this, SLOT(stop())); timer.setInterval(10); ...
<commit_before>#include "Control.h" #include <sstream> Control::Control() { } Control::Control(int id, HWND parent) : _id(id), _parent(parent) { _hWnd = GetDlgItem(parent, id); } Control::~Control() { } RECT Control::ScreenDimensions() { RECT r; GetWindowRect(_hWnd, &r); return r; } RECT Control...
<commit_before>/* * nt loader * * Copyright 2006-2008 Mike McCormack * * 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 Foundation; either * version 2.1 of the License, or (at your option) any...
<commit_before> #include "pch.h" #include "D2DWindow.h" #include "Win32Defs.h" using namespace std; using namespace D2D1; #pragma comment (lib, "d2d1.lib") #pragma comment (lib, "dwrite.lib") #pragma comment (lib, "D3D11.lib") #pragma comment (lib, "Dxgi.lib") static ATOM WndClassAtom; static const wchar_t WndClassN...
<commit_before>#include <assert.h> #include <iostream> #include <memory> #include <vector> #include "common/simhubdeviceplugin.h" #include "main.h" // -- public C FFI extern "C" { int simplug_init(SPHANDLE *plugin_instance, LoggingFunctionCB logger) { *plugin_instance = new SimSourcePluginStateManager(logger); ...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses...
<commit_before>/* */ #include "lineFollowing.h" #include "line_utilities.h" #include "../control.h" #include "line_simplification.h" using namespace std; using namespace cv; void LineFollowing::detect_lines(Mat &original_frame) { Mat hsv; Mat mask; width = original_frame.cols; height = original_frame.rows...
<commit_before>/* */ #include "lineFollowing.h" using namespace std; using namespace cv; ControlMovements lineFollowingControl() { line_main(); return ControlMovements(); } void line_main() { // printf("Hello, this is Caleb\n"); VideoCapture cap("../../tests/videos/top_down_4.m4v"); if (!cap.isOpened()...
<commit_before>/* */ #include "lineFollowing.h" using namespace std; using namespace cv; void detect_lines(Mat &original_frame, double scale_factor); #pragma clang diagnostic push #pragma ide diagnostic ignored "OCUnusedGlobalDeclarationInspection" void line_main() { // printf("Hello, this is Caleb\n"); // no ...
<commit_before>/* --------------------------------------------------------------------- * Numenta Platform for Intelligent Computing (NuPIC) * Copyright (C) 2014, Numenta, Inc. Unless you have an agreement * with Numenta, Inc., for a separate license for this software code, the * following terms and conditions app...
<commit_before>/****************************************************************************** * Copyright 2018 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: LConnection.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: rt $ $Date: 2005-09-08 05:43:29 $ * * The Contents of this file are ma...
<commit_before>/************************************************************************* * * $RCSfile: ENoException.cxx,v $ * * $Revision: 1.6 $ * * last change: $Author: obo $ $Date: 2003-09-04 08:26:47 $ * * The Contents of this file are made available subject to the terms of * either of the following ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: MacabHeader.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: ihi $ $Date: 2007-09-13 17:52:42 $ * * The Contents of this file are m...
<commit_before>/* This file is part of the KDE project Copyright (C) 2008 Matthias Kretz <kretz@kde.org> This program 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 ...
<commit_before>/* dbRecordEditor.cc KPilot ** ** Copyright (C) 2003 by Dan Pilone ** Written 2003 by Reinhold Kainhofer ** **/ /* ** 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 Foundatio...
<commit_before>/************************************************************************** The MIT License (MIT) Copyright (c) 2015 Dmitry Sovetov https://github.com/dmsovetov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "...
<commit_before>/* This file is part of the Nepomuk KDE project. Copyright (C) 2011 Sebastian Trueg <trueg@kde.org> 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 Foundation; either vers...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit (ITK) Module: Language: C++ Date: Version: Copyright (c) 2000 National Library of Medicine All rights reserved. See COPYRIGHT.txt for copyright details. =====...
<commit_before>/* Copyright 2002-2013 CEA LIST This file is part of LIMA. LIMA is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) ...
<commit_before>#ifndef HASHEROBJ_PY #define HASHEROBJ_PY #include "hasher_obj.hpp" // Simpler HasherObject to be wrapped with SWIG class HasherObjectPy { public: HasherObjectPy() { hobj = new HasherObject(); }; ~HasherObjectPy() { delete hobj; }; ...
<commit_before>#include <tiramisu/tiramisu.h> #include "configuration.h" using namespace tiramisu; int main(int argc, char **argv) { // Double tiling with Register and Shared memory // Fused A_reg and non-square tiling tiramisu::init("matmul"); // ---------------------------------------------------...
<commit_before>#include <stdio.h> #include <ctype.h> #include <list> #include <iostream> #include <string> #include <algorithm> #include <functional> #include <RhIO.hpp> #include "Stream.h" #include "Shell.h" #include "utils.h" #include <stdio.h> #include <stdlib.h> #include <fcntl.h> namespace RhIO { Shell::She...
<commit_before>/* Copyright (c) 2012 Carsten Burstedde, Donna Calhoun 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 ...
<commit_before>/******************************************************************************* The MIT License (MIT) Copyright (c) 2013, 2014 JCube001 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 Soft...
<commit_before>// kate: indent-mode cstyle; indent-width 4; tab-width 4; space-indent false; // vim:ai ts=4 et #include <stdio.h> #include <stdlib.h> #include <string.h> #include <pthread.h> #include <assert.h> #include <map> #include <Network/Network.hpp> #include <Network/PacketReceiver.hpp> #include <Network/Send...
<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/autofill/autofill_popup_view.h" #include "base/memory/scoped_ptr.h" #include "chrome/browser/autofill/test_au...
<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/renderer_host/test/test_render_view_host.h" #include "chrome/browser/browser_url_handler.h" #include "chrome/...
<commit_before>#include "application.hpp" #include "widget.hpp" #include "paint_event.hpp" #include <SDL2/SDL.h> #include <stdexcept> #include <algorithm> Application *Application::instance_ = nullptr; Application::Application(int &argc, char **argv) { if (instance_ != nullptr) throw std::runtime_error("T...
<commit_before>/* * main.cpp * Program: kalarm * Copyright © 2001-2007 by David Jarvie <software@astrojar.org.uk> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2...
<commit_before>/* $Id$ KNotes - Notes for the KDE Project Copyright (C) 1997 Bernd Johannes Wuebben wuebben@math.cornell.edu wuebben@kde.org This class is a modified version of a class found in: qtremind - an X windows appoint reminder program. Copyright (C) 1997 Tom Daley This program is free software...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p10/procedures/hwp/nest/p10_htm_adu_ctrl.C $ ...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/perv/p9_mem_skewadjust.C $ ...
<commit_before>// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "document_runnable.h" #include <vespa/vespalib/util/exceptions.h> namespace document { Runnable::Runnable() : _stateLock(), _state(NOT_RUNNING) { // if (pool) s...
<commit_before>// This file is a part of the IncludeOS unikernel - www.includeos.org // // Copyright 2018 IncludeOS AS, Oslo, Norway // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
<commit_before>// Copyright (c) 2010 libmv authors. // // 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, mo...
<commit_before>////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2007-2016 musikcube team // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: //...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>/* Copyright (C) 2018 Alexandr Akulich <akulichalexander@gmail.com> This file is a part of TelegramQt library. 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 Foundation; ei...
<commit_before>/* * The MIT License (MIT) * * Copyright (c) Microsoft Corporation * * 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 rig...
<commit_before>#include "TiLDA_MKe.h" #include "Arduino.h" TiLDA_MKe::TiLDA_MKe() : glcd(LCD_CS, LCD_A0, LCD_RESET) { // GLCD setup pinMode(LCD_POWER, OUTPUT); digitalWrite(LCD_POWER, LOW); /* * I think the EMF board def. puts this on a PWM pin * but keeping it on digital makes it easier to toggle ...
<commit_before>// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "imported_search_context.h" #include "imported_attribute_vector.h" #include <vespa/searchlib/common/bitvectoriterator.h> #include <vespa/searchlib/queryeval/emptysearch.h> #inc...
<commit_before>#include "config.h" #include "vm.hpp" #include "state.hpp" #include "memory.hpp" #include "memory/collector.hpp" #include "memory/immix.hpp" #include "memory/third_region.hpp" #include "memory/tracer.hpp" #include "logger.hpp" namespace rubinius { namespace memory { void MemoryTracer::trace_hea...
<commit_before>/* * Copyright 2006-2008 The FLWOR Foundation. * * 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>/* * Copyright 2014 Open Connectome Project (http://openconnecto.me) * Written by Da Zheng (zhengda1936@gmail.com) * * 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>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/share...
<commit_before>class BlockArray { // double complex data[zblock=0..NB-1][yblock=0..NB-1] // [arr=0..1][zresidual=0..P-1][yresidual=0..P-1][x=0..PPD-1] unsigned long long size; Complx *arr; // But this array may never be allocated! public: int ppd, numblock, block; long long unsigned int n...
<commit_before>#include<malloc.h> #include<stdio.h> #define OK 1 #define ERROR 0 #define STACK_INIT_SIZE 100 // 存储空间初始分配量 #define STACKINCREMENT 10 // 存储空间分配增量 typedef int SElemType; // 定义栈元素类型 typedef int Status; // Status是函数的类型,其值是函数结果状态代码,如OK等 struct SqStack { SElemType *base; // 在栈构造之前和销毁之后,base的值为NULL ...
<commit_before>// Copyright 2021 The Cross-Media Measurement 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 req...
<commit_before> #include <cassert> #include <iostream> #include <scm/gl_core/buffer_objects.h> #include <scm/gl_core/render_device.h> namespace scm { namespace gl { template <class host_block_type> uniform_block<host_block_type>::uniform_block() { } template <class host_block_type> uniform_block<host_block_type>::u...
<commit_before>#include <QSound> #include "MoNv.h" enum CAUSE{ CANG_YAN_FA_DIAN=3001, TIAN_HUO_DUAN_KONG=3002, MO_NV_ZHI_NU=3003, MO_NV_ZHI_NU_ATTACK=30031, TI_SHEN_WAN_OU=3004, YONG_SHENG_YIN_SHI_JI=3005, TONG_KU_LIAN_JIE=3006, TONG_KU_LIAN_JIE_CARD=30061, MO_NENG_FAN_...
<commit_before>#include "ModernGL-Constants.hpp" #include "ModernGL-Types.hpp" #define STR_VERSION(ver) # ver void RegisterConstants(PyObject * module) { PyModule_AddObject(module, "ENABLE_NOTHING", CreateEnableFlagType(ENABLE_NOTHING)); PyModule_AddObject(module, "ENABLE_BLEND", CreateEnableFlagType(ENABLE_BLEND)...
<commit_before>/* * Copyright (c) 2007, Michael Feathers, James Grenning and Bas Vodde * 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 ...
<commit_before>/**************************************************************************** * * Copyright (c) 2015 Mark Charlebois. 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...
<commit_before>/* * Copyright 2021 The CFU-Playground Authors * Copyright 2019 The TensorFlow 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/lic...
<commit_before> #include "rootdir.h" RootDir::RootDir():m_dirs(0){ m_dirs = new Dir[32]; } RootDir::~RootDir(){ delete []m_dirs; } <commit_msg>again getting rid of that hardcoded number<commit_after> #include "rootdir.h" #define DIR_ENTRIES 32 RootDir::RootDir():m_dirs(0){ m_dirs = new Dir[DIR_ENTRIES]; } R...
<commit_before>//======================================================================= // Copyright Baptiste Wicht 2011-2013. // 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>/* The OpenTRV project licenses this file to you under the Apache Licence, Version 2.0 (the "Licence"); you may not use this file except in compliance with the Licence. You may obtain a copy of the Licence at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
<commit_before>// TODO(pbos): Remove this file when it's no longer built in Chromium. <commit_msg>Remove webrtcvideoengine.cc.<commit_after><|endoftext|>
<commit_before>// Copyright 2013 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 ...
<commit_before><commit_msg>Http Cache: Enable some checks to track a low volume crash.<commit_after><|endoftext|>
<commit_before> # include <Siv3D.hpp> // OpenSiv3D v0.4.3 struct AnimationTexture { Array<Texture> textures; Array<int32> delays; int32 duration = 0; explicit operator bool() const noexcept { return !textures.isEmpty(); } Size size() const noexcept { if (!textures) { return Size(0, 0); } re...
<commit_before>#ifndef CLFFT_HPP_ #define CLFFT_HPP_ #include "helper.h" #include "fft_abstract.hpp" #include "fixture_test_suite.hpp" #include "clfft_helper.hpp" #include <clFFT.h> namespace gearshifft { namespace ClFFT { namespace traits { template< typename T_Precision > struct Types; template<> ...
<commit_before>/* * Copyright (c) 2012 The Native Client 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 <errno.h> #include <stdlib.h> #include <string.h> #include <algorithm> #include <string> #include "native_client...
<commit_before>#ifndef RBX_VM_H #define RBX_VM_H #include "missing/time.h" #include "globals.hpp" #include "memory/object_mark.hpp" #include "memory/managed.hpp" #include "vm_thread_state.hpp" #include "thread_nexus.hpp" #include "metrics.hpp" #include "util/thread.hpp" #include "memory/variable_buffer.hpp" #includ...
<commit_before>#ifndef HEAPS_H #define HEAPS_H #include"objects.hpp" class Generic; class SharedVar; /*----------------------------------------------------------------------------- Semispaces -----------------------------------------------------------------------------*/ class Semispace { private: void* mem; void...
<commit_before>#include "persons.h" #include <iomanip> //Default Constructor. //Not actually used. Persons::Persons() { name = " "; gender = ' '; birthYear = 1980; deathYear = 0; alive = true; } //Constructor. //if deathyear == 0, the person will be alive. Persons::Persons(string n, char g, int b...
<commit_before>/************************************************************************* * * $RCSfile: docprev.cxx,v $ * * $Revision: 1.12 $ * * last change: $Author: rt $ $Date: 2004-07-12 14:59:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>/************************************************************************* * * $RCSfile: fuchar.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: ka $ $Date: 2000-09-21 16:11:55 $ * * The Contents of this file are made available subject to the terms of * either of the following license...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: fuvect.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: rt $ $Date: 2005-12-14 17:06:14 $ * * The Contents of this file are made av...
<commit_before>#include <stdio.h> #include <assert.h> #include <ctype.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <sys/time.h> #include <pthread.h> #include "slre.h" #include "../../utils/timer.h" #include "../../utils/memoryman.h" #define MAXCAPS 1000000 #define EXPRESSIONS 100 #define QU...
<commit_before>#include "cosine_tree.h" // L2 norm of a specific column in a matrix double columnNormL2(const Matrix& A, index_t i_col) { Vector col; A.MakeColumnVector(i_col, &col); return la::LengthEuclidean(col); } // Zero tolerance #define eps (1e-16) bool isZero(double d) { return (d<eps) && (d>-eps); } ...
<commit_before>#include "selfdrive/ui/replay/route.h" #include <QDir> #include <QEventLoop> #include <QJsonArray> #include <QJsonDocument> #include <QRegExp> #include <QtConcurrent> #include "selfdrive/hardware/hw.h" #include "selfdrive/ui/qt/api.h" #include "selfdrive/ui/replay/replay.h" #include "selfdrive/ui/repla...
<commit_before>//===-- ARMSubtarget.cpp - ARM Subtarget Information ------------*- C++ -*-===// // // 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 "motion/TrapezoidalMotion.hpp" #include "MotionConstraints.hpp" #include "MotionInstant.hpp" #include <Configuration.hpp> #include <Geometry2d/CompositeShape.hpp> #include <Geometry2d/Point.hpp> #include <Geometry2d/Segment.hpp> #include <Geometry2d/Segment.hpp> #include <planning/...
<commit_before> #pragma once namespace globjects { enum class UniformType : unsigned char { NONE, FLOAT, INT, UNSIGNED_INT, BOOL, FLOAT_VEC2, FLOAT_VEC3, FLOAT_VEC4, INT_VEC2, INT_VEC3, INT_VEC4, UNSIGNED_INT_VEC2, UNSIGNED_INT_VEC3, UNSIGNED_INT_VEC4, F...
<commit_before>/* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * * Razor - a lightweight, Qt based, desktop toolset * http://razor-qt.org * * Copyright: 2012 Christian Surlykke * * This program or library is free software; you can redistribute it * and/or modify it under the terms of the GNU Lesser General Public...
<commit_before> #include <QLineSeries> #include <QMenu> #include <QAction> #include <QFileDialog> #include <QFile> #include <QDateTime> #include <QMessageBox> #include <QDateTimeAxis> #include <QValueAxis> #include <QPrinter> #include <QPrintDialog> #include <QVBoxLayout> #include <QCheckBox> #include <QP...
<commit_before>//===-- asan_mem_test.cc --------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before> #include "glew.h" #include <GL/glew.h> #include <iostream> namespace { #include "gltest_data.inl" bool errors = false; } void glew_init() { glewInit(); glGetError(); } inline void glError() { GLenum error = glGetError(); if (error != GL_NO_ERROR) std::cout << "Er...
<commit_before>/* This file is part of Strigi Desktop Search * * Copyright (C) 2006 Jos van den Oever <jos@vandenoever.info> * 2007 Tobias Pfeiffer <tgpfeiffer@web.de> * 2009 Evgeny Egorochkin <phreedom.stdin@gmail.com> * * This library is free software; you can redistribute it and/or ...
<commit_before>#include <babylon/misc/highdynamicrange/hdr_tools.h> #include <babylon/babylon_stl_util.h> #include <babylon/misc/highdynamicrange/panorama_to_cube_map_tools.h> #include <babylon/misc/string_tools.h> namespace BABYLON { float HDRTools::Ldexp(float mantissa, float exponent) { if (exponent > 1023.f) {...