text
stringlengths
54
60.6k
<commit_before>#include "pmesh.h" using namespace std; using namespace glm; PMesh::PMesh() { } //Load a default mesh void PMesh::loadObject() { loadObject("cube.obj"); } void PMesh::loadObject(string filename) { cout << "Loading " << filename << endl; ifstream inFile ("models/" + filename); string line...
<commit_before>#define BOOST_TEST_MODULE json test #include <boost/test/unit_test.hpp> #include "ten/json.hh" using namespace ten; const char json_text[] = "{ \"store\": {" " \"book\": [" " { \"category\": \"reference\"," " \"author\": \"Nigel Rees\"," " \"title\": \"Sayings of the Century\"," "...
<commit_before>//===- Signals.cpp - Signal Handling support --------------------*- 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><commit_msg>Suppress more media timeupdate events when seeking<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * $RCSfile: certificatechooser.hxx,v $ * * $Revision: 1.1.1.1 $ * * last change: $Author: mt $ $Date: 2004-07-12 13:15:20 $ * * The Contents of this file are made available subject to the terms of * either of the f...
<commit_before><commit_msg>loplugin:deletedspecial<commit_after><|endoftext|>
<commit_before>//------------------------------------------------------------------------------ // CLING - the C++ LLVM-based InterpreterG :) // version: $Id$ // author: Axel Naumann <axel@cern.ch> //------------------------------------------------------------------------------ #include "cling/MetaProcessor/MetaProce...
<commit_before>//===-- sanitizer_suppressions.cc -----------------------------------------===// // // 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>#include "MacauPrior.h" #include <SmurffCpp/IO/MatrixIO.h> #include <SmurffCpp/IO/GenericIO.h> #include <SmurffCpp/Utils/Distribution.h> #include <SmurffCpp/Utils/Error.h> #include <SmurffCpp/Utils/counters.h> #include <SmurffCpp/Utils/linop.h> #include <ios> using namespace smurff; MacauPrior::Mac...
<commit_before>#pragma once #include <memory> #include <Eigen/Dense> #include <Eigen/Sparse> #include <SmurffCpp/IO/MatrixIO.h> #include <SmurffCpp/IO/GenericIO.h> #include <SmurffCpp/Utils/linop.h> #include <SmurffCpp/Utils/Distribution.h> #include <SmurffCpp/Utils/Error.h> #include <SmurffCpp/Priors/NormalPrior....
<commit_before>// // Created by manuel on 08.06.15. // #include "AssemblyParser.h" #include <fstream> #include <sstream> #include <algorithm> #include <bitset> #include <cstdint> using namespace std; const string AssemblyParser::ROUTINE_DIRECTIVE = ".FUNCT"; const string AssemblyParser::GVAR_DIRECTIVE = ".GVAR"; co...
<commit_before>/* kmain.cpp Copyright (c) 23 Yann BOUCHER (yann) 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>// 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 "media/audio/audio_input_controller.h" namespace { const int kMaxSampleRate = 192000; const int kMaxBitsPerSample = 64; cons...
<commit_before>#include <filter.hpp> #include "helpers.hpp" #include <vector> #include <string> #include <iterator> #include "catch.hpp" using iter::filter; using Vec = const std::vector<int>; namespace { bool less_than_five(int i) { return i < 5; } class LessThanValue { private: ...
<commit_before>#include <sorted.hpp> #include <set> #include <unordered_set> #include <vector> #include <array> #include <string> #include <utility> #include "helpers.hpp" #include "catch.hpp" using iter::sorted; using Vec = const std::vector<int>; TEST_CASE("sorted: iterates through a vector in sorted order", "[s...
<commit_before>/* * Copyright (C) 2014 Andrew Duggan * Copyright (C) 2014 Synaptics 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...
<commit_before>/******************************************************************************* * thrill/net/flow_control_manager.hpp * * Part of Project Thrill. * * Copyright (C) 2015 Emanuel Jöbstl <emanuel.joebstl@gmail.com> * * This file has no license. Only Chuck Norris can compile it. ********************...
<commit_before>/** Logging subsystem for OpenPnP Capture library. Copyright (c) 2017 Jason von Nieda, Niels Moseley. 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 r...
<commit_before>#pragma once //=====================================================================// /*! @file @brief ルネサス RX 選択 @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2016, 2017 Kunihito Hiramatsu @n Released under the MIT license @n https://github.com/hirakuni45/RX/blob/master...
<commit_before>/* * Copyright 1999-2004 The Apache Software 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 ...
<commit_before>/* * This file is a part of Xpiks - cross platform application for * keywording and uploading images for microstocks * Copyright (C) 2014-2015 Taras Kushnir <kushnirTV@gmail.com> * * Xpiks is distributed under the GNU General Public License, version 3.0 * * This program is free software: you can r...
<commit_before>//===- CodeGeneratorBug.cpp - Debug code generation bugs ------------------===// // // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. //...
<commit_before>#include "fieldsToMemberAccesses.h" #include "chplalloc.h" #include "expr.h" #include "replace.h" #include "stmt.h" #include "stringutil.h" #include "symbol.h" #include "symtab.h" #include "type.h" /*** *** Change fields and methods within class methods to this.field *** Adds this to formal argumen...
<commit_before><commit_msg>Add missing SAL_OVERRIDE..<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * $RCSfile: Timestamp.cxx,v $ * * $Revision: 1.8 $ * * last change: $Author: oj $ $Date: 2002-03-21 15:06:10 $ * * The Contents of this file are made available subject to the terms of * either of the following lice...
<commit_before>#ifdef _MSC_VER #define _CRT_SECURE_NO_WARNINGS #endif #include <stdio.h> #include <string> #include "cell.h" #include "number.h" namespace rtl { void io$close(Cell **pf) { FILE *f = (FILE *)(*pf); fclose(f); *pf = NULL; } void io$fprint(void *pf, const std::string &s) { FILE *f = (FI...
<commit_before>/* This file is part of kdepim. Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org> Copyright (c) 2004 Daniel Molkentin <molkentin@kde.org> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License ...
<commit_before>#include "boost/test/unit_test.hpp" #include "tuple.h" #include "marshal.h" #include "unmarshal.h" #include "marshalField.h" #include "unmarshalField.h" #include "val_str.h" #include "val_tuple.h" #include "val_uint64.h" class testMarshal { private: Marshal m; Unmarshal u; MarshalField mF; Unm...
<commit_before>//==- DeadStoresChecker.cpp - Check for stores to dead variables -*- C++ -*-==// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before><commit_msg>Try to fix compile errors on gcc8<commit_after><|endoftext|>
<commit_before>// @(#)root/base:$Name: $:$Id: TObject.cxx,v 1.61 2004/06/04 16:28:30 brun Exp $ // Author: Maarten Ballintijn 21/06/2004 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. ...
<commit_before>// @(#)root/cont:$Name: $:$Id: TProcessID.cxx,v 1.16 2002/07/13 16:19:26 brun Exp $ // Author: Rene Brun 28/09/2001 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. ...
<commit_before>// Copyright Toru Niina 2017. // Distributed under the MIT License. #ifndef TOML11_EXCEPTION_HPP #define TOML11_EXCEPTION_HPP #include <stdexcept> #include <string> #include "source_location.hpp" namespace toml { struct file_io_error : public std::runtime_error { public: file_io_error(int er...
<commit_before>/* Copyright (c) 2015, Project OSRM, Dennis Luxen, others 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>/************************************************************************** * Copyright 2014 Marcelo Sardelich * * 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 * * ht...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: accessibilityclient.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: vg $ $Date: 2007-10-15 11:51:33 $ * * The Contents of this fil...
<commit_before>// Begin CVS Header // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/UI/CopasiFileDialog.cpp,v $ // $Revision: 1.13 $ // $Name: $ // $Author: shoops $ // $Date: 2007/03/16 19:55:37 $ // End CVS Header // Copyright (C) 2007 by Pedro Mendes, Virginia Tech Intellectual // Properties,...
<commit_before>#line 2 "togo/window/window/impl/opengl.ipp" /** @copyright MIT license; see @ref index or the accompanying LICENSE file. */ #pragma once #include <togo/window/config.hpp> #include <togo/core/error/assert.hpp> #include <togo/core/log/log.hpp> #include <togo/core/string/string.hpp> #include <togo/window...
<commit_before>/** * StreamSwitch is an extensible and scalable media stream server for * multi-protocol environment. * * Copyright (C) 2014 OpenSight (www.opensight.cn) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as p...
<commit_before>#include <QDebug> #include <QDateTime> #include <QMap> #include <QString> #include <QStringList> #include <QDesktopServices> #include "o2gft.h" static const char *GftScope = "https://www.googleapis.com/auth/fusiontables"; static const char *GftEndpoint = "https://accounts.google.com/o/oauth2/auth"; sta...
<commit_before>#ifndef TATUM_COMMON_ANALYSIS_VISITOR_HPP #define TATUM_COMMON_ANALYSIS_VISITOR_HPP #include "tatum_error.hpp" #include "TimingGraph.hpp" #include "TimingConstraints.hpp" #include "TimingTags.hpp" namespace tatum { namespace detail { /** \file * * Common analysis functionality for both setup and hold...
<commit_before>/***************************************************************************************** * * * OpenSpace * * ...
<commit_before>/*========================================================================= * * Copyright NumFOCUS * * 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:...
<commit_before>#include "./JPetSinogram.h" #include <boost/numeric/ublas/matrix.hpp> #include <vector> #include <utility> #include <cmath> using namespace boost::numeric::ublas; #define sang std::sqrt(2)/2 JPetSinogram::JPetSinogram() { } JPetSinogram::~JPetSinogram() { } /*! \brief Function returning vector of vec...
<commit_before>/***************************************************************************** * x11_window.cpp ***************************************************************************** * Copyright (C) 2003 the VideoLAN team * $Id$ * * Authors: Cyril Deguet <asmax@via.ecp.fr> * Olivier Teulière <...
<commit_before>//===-- MSP430AsmPrinter.cpp - MSP430 LLVM assembly writer ------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===--------------------------------------...
<commit_before>// Copyright 2014 Alessio Sclocco <a.sclocco@vu.nl> // // 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 requir...
<commit_before>/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab: * * Data Differential YATL (i.e. libtest) library * * Copyright (C) 2012-2013 Data Differential, http://datadifferential.com/ * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that t...
<commit_before>#include "aligner.h" #include "array2d.h" #include "hg.h" #include "sentence_metadata.h" #include "inside_outside.h" #include "viterbi.h" #include "alignment_pharaoh.h" #include <set> using namespace std; // used with lexical models since they may not fully generate the // source string void SourceEdg...
<commit_before>#pragma once #include <agency/detail/config.hpp> #include <agency/cuda/detail/feature_test.hpp> #include <agency/cuda/detail/terminate.hpp> #include <agency/cuda/device.hpp> #include <memory> namespace agency { namespace cuda { namespace detail { class stream { public: // creates a new stream ...
<commit_before>/* Copyright (C) 2020 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>// 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 <windows.h> #include <shlwapi.h> #include "base/base_paths.h" #include "base/command_line.h" #include "base/compiler_specific...
<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 "Lice...
<commit_before>//===- llvm-extract.cpp - LLVM function extraction utility ----------------===// // // 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) 2019 ASMlover. 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 o...
<commit_before>#include <gmock/gmock.h> #include <string> #include <vector> #include "mutant/OsPath.h" TEST(OsPathTest, joinEmpty) { std::vector<std::string> names; std::string expected; std::string actual = OsPath::join(names); ASSERT_EQ(expected, actual); } TEST(OsPathTest, joinOne) { std::vector<st...
<commit_before>#pragma once #include "../util.hpp" template <typename T> class SegmentTree { using func_t = function<T(T, T)>; const int n; const T id; func_t merge; vector<T> data; T sub(int l, int r, int node, int lb, int ub) { if (ub <= l || r <= lb) return id; if (l <= lb && ub <= r) return da...
<commit_before>#include <cstdlib> #include "game/lane_length_model.h" #include "gflags/gflags.h" #include "jsoncons_ext/csv/csv_reader.hpp" #include "jsoncons_ext/csv/csv_serializer.hpp" DECLARE_string(race_id); DECLARE_bool(print_models); DECLARE_bool(read_switch_models); DECLARE_bool(write_switch_models); using js...
<commit_before>/***************************************************************************** * Project: RooFit * * Package: RooFitCore * * File: $Id$ * Authors: ...
<commit_before>/* Copyright 2005-2007 Adobe Systems Incorporated Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt or a copy at http://stlab.adobe.com/licenses.html) */ /****************************************************************************************************/ #include ...
<commit_before><commit_msg>planning: minor coding style change (#10964)<commit_after><|endoftext|>
<commit_before>#pragma once #include "weighted.cpp" // #include "../util.hpp" /// @param g: 負辺のない重み付きグラフ /// @param s: 始点の頂点番号 /// @param zero: 型 Cost のゼロ値 /// @typereq edge_t /// @return 始点から各頂点までの距離が入った型 Cost の列 /// @note 入力グラフに不辺があってはならない /// @complexity $O(E \\log V)$ /// @brief /// 負辺のない重み付きグラフの単一始点全点間最短距離を求める. ...
<commit_before><commit_msg>planning: set right_of_way_status to PROTECTED when passing junction with YELLOW light which caused STOP decision at the beginning but ADC passed stop line and proceed through junction<commit_after><|endoftext|>
<commit_before> // // This source file is part of appleseed. // Visit http://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2016 Esteban Tovagliari, The appleseedhq Organization // // Permission is hereby granted, free of charge, to ...
<commit_before>#include "stdafx.h" #include "../Triangle.h" #include <math.h> using namespace std; template <typename Ex, typename Fn> void ExpectException(Fn && fn, const string & expectedDescription) { // Проверяем, что вызов fn() выбросит исключение типа Ex // с описанием, равным expectedDescription BOOST_CHE...
<commit_before>#include <stdio.h> #include <stdlib.h> #include <time.h> #include <opencv2/opencv.hpp> #include <opencv2/highgui/highgui.hpp> #include "camera.hpp" #pragma comment(lib,"opencv_world320.lib") static const int N = 256;//文字列の長さ static const int AOV = 62.2;//ANGLE OF VIEW //明度について static const int MAX_VALU...
<commit_before><commit_msg>Prediction: minor parameters tunning<commit_after><|endoftext|>
<commit_before>/*------------------------------------------------------------------------- * * stdoutbackendlogger.cpp * file description * * Copyright(c) 2015, CMU * * /peloton/src/backend/logging/stdoutbackendlogger.cpp * *------------------------------------------------------------------------- */ #includ...
<commit_before>#include "lock_guard.h" #include "util.h" namespace mevent { LockGuard::LockGuard(pthread_mutex_t &mutex) : mtx(mutex) { if (pthread_mutex_lock(&mtx) != 0) { LOG_DEBUG(-1, NULL); } } LockGuard::~LockGuard() { if (pthread_mutex_unlock(&mtx) != 0) { LOG_DEBUG(-1, NULL); ...
<commit_before>// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. #include "vm/flags.h" #include "vm/assert.h" #include "vm/os.h" namespace dart { DEFI...
<commit_before>// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. #include "vm/pages.h" #include "platform/assert.h" #include "vm/gc_marker.h" #include "...
<commit_before>/// PROJECT #include <csapex/model/node.h> #include <csapex/utility/register_apex_plugin.h> #include <csapex/model/node_modifier.h> #include <csapex/msg/dynamic_input.h> #include <csapex/msg/io.h> #include <csapex/param/parameter_factory.h> #include <csapex/msg/generic_vector_message.hpp> namespace csap...
<commit_before>/* * This file is part of accounts-ui * * Copyright (C) 2009-2010 Nokia Corporation. * * Contact: Alberto Mardegan <alberto.mardegan@nokia.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version 2.1 as ...
<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 "notendaui.h" #include <iostream> #include <string> #include <utility> #include <algorithm> using namespace std; NotendaUI::NotendaUI() { } bool check = true; void NotendaUI::keyra() { //TEMP vector<tolvufolk> data = _service.getTolvufolk(); string nName; string gGender; ...
<commit_before>//===--- UsePrespecialized.cpp - use pre-specialized functions ------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<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>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one ...
<commit_before>#include <iostream> #include <string> #include <iterator> #include <chrono> #include "Address.h" #include "DimAddress.h" #include "MediatedCube.h" #include "Mercator.h" #include "MemoryUtil.h" /* * Cat the contents of the brightkite data into this (skip the header please). */ using namespace std; v...
<commit_before>// Copyright 2010 Google // 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>/* * Copyright (C) 2004-2012 See the AUTHORS file for details. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published * by the Free Software Foundation. */ #include <znc/Buffer.h> #include <znc/znc.h> ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: conditio.hxx,v $ * * $Revision: 1.11 $ * * last change: $Author: obo $ $Date: 2008-01-10 13:08:13 $ * * The Contents of this file are mad...
<commit_before>#line 2 "quanta/core/object/object.cpp" /** @copyright MIT license; see @ref index or the accompanying LICENSE file. */ #include <quanta/core/config.hpp> #include <togo/core/log/log.hpp> #include <togo/core/error/assert.hpp> #include <togo/core/utility/utility.hpp> #include <togo/core/memory/memory.hpp>...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LG...
<commit_before>/* * MacFileMonitor.cpp * * Copyright (C) 2009-11 by RStudio, Inc. * * This program is licensed to you under the terms of version 3 of the * GNU Affero General Public License. This program is distributed WITHOUT * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT, * MERCHANTABI...
<commit_before>#include <iostream> #include <seqan/index.h> using namespace std; using namespace seqan; int main () { ///We begin with a @Class.StringSet@ that stores multiple strings. StringSet< String<char> > mySet; resize(mySet, 3); mySet[0] = "SeqAn is a library for sequence analysis."; mySet[1] =...
<commit_before>/* This file is part of libkdepim. Copyright (c) 2002 Cornelius Schumacher <schumacher@kde.org> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either ...
<commit_before>/* * Author Joshua Flank * September 2017 * OpenGL view of 8x8x8 LED cube. */ #include "GLcube.h" #include <GL/gl.h> #include <GL/glut.h> #include "GL/freeglut.h" #include <unistd.h> #define WINDOWX 640 #define WINDOWY 640 int a[3]={10,10,10}, b[3]={10,-10,10}, c[3]={-10,-10,10}, d[3]={-10,10,1...
<commit_before>//===-- R600KernelParameters.cpp - Lower kernel function arguments --------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/*========================================================================= Program: Visualization Library Module: Glyph3D.cc Language: C++ Date: $Date$ Version: $Revision$ This file is part of the Visualization Library. No part of this file or its contents may be copied, reprodu...
<commit_before>#include <set> #include "Inline.h" #include "CSE.h" #include "IRPrinter.h" #include "IRMutator.h" #include "Qualify.h" #include "Debug.h" namespace Halide { namespace Internal { using std::set; using std::string; using std::vector; class Inliner : public IRMutator { using IRMutator::visit; F...
<commit_before>// // Created by qife on 16/1/27. // #include "JToken.h" using namespace JsonCpp; NodePtrList JToken::ParseJPath(const char *str) const { NodePtrList list; if (*str == '$') { ++str; } else { if (*str == '.' || *str == '[') { goto ret; ...
<commit_before>#include <v8.h> #include <node.h> #include <node_buffer.h> #include "leveldb/db.h" //using namespace node; using namespace v8; class LevelDB : node::ObjectWrap { private: leveldb::DB* db; // Helper to convert a vanilla JS object into a leveldb::Options instance static leveldb::Options p...
<commit_before>// Scintilla source code edit control /** @file LexLua.cxx ** Lexer for Lua language. ** ** Written by Paul Winwood. ** Folder by Alexey Yutkin. ** Modified by Marcos E. Wurzius & Philippe Lhoste **/ #include <stdlib.h> #include <string.h> #include <ctype.h> #include <stdarg.h> #include <stdio.h> ...
<commit_before>/* Copyright (c) 2010-present Advanced Micro Devices, 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 without limitation the rights to use, c...
<commit_before>/*************************************************************************/ /* renderer_scene_render.cpp */ /*************************************************************************/ /* This file is part of: */ /...
<commit_before>/* Copyright (c) 2010 - 2021 Advanced Micro Devices, 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 without limitation the rights to use, co...
<commit_before>// // Copyright (C) 2006 SIPez LLC. // Licensed to SIPfoundry under a Contributor Agreement. // // Copyright (C) 2004-2006 SIPfoundry Inc. // Licensed by SIPfoundry under the LGPL license. // // Copyright (C) 2004-2006 Pingtel Corp. All rights reserved. // Licensed to SIPfoundry under a Contributor ...
<commit_before>/* RawSpeed - RAW file decoder. Copyright (C) 2017 Axel Waggershauser Copyright (C) 2017 Roman Lebedev 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; e...
<commit_before>/* 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 Foundation; either version 2 of the License, or (...