sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
8e7c27e70a1dfd948b74dc7bd80511d9f6e3791d97198ee09016f143828df272 | C++ | 5,343 | 114 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include <PythonAPI.h>
#include <boost/python/suite/indexing/vector_indexing_suite.hpp>
void ... |
a44772b5629c9de06902c9bfa3803afb9db10a1733aee14e706667bd60a8a52c | C++ | 5,351 | 141 | /***************************************************************************
nm_cut_ext.cpp
-------------------
Functions for LAMMPS access to nm/cut acceleration routines.
__________________________________________________________________________
T... |
0e68f903a493c0e7ab6362c5cc33e7e0af31b542cedc17197a8d797e76459baa | C++ | 5,359 | 122 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma de Barcelona (UAB).
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#ifndef CARLA_ROS2_MIDDLEWARE_TESTING
#include "carla/ros2/middleware/fastdds/FastDDSSharedParticipa... |
7d69fa9d842bb50272d6dd5d890c0ab4222ab36ee1092c89daa307ecb28a01bc | C++ | 5,359 | 172 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "GraphParser.h"
#include "Carla.h"
#include "DoublyConnectedEdgeList.h"
#include <ty... |
569999fe49c186e4f2baddbeb31bf18dfa8567361764075e57aafeb4aca6fdfc | C++ | 5,370 | 237 | /***************************************************************************************************
* Copyright (c) 2015 - 2022
* Blue Brain Project (BBP) / Ecole Polytechnique Federale de Lausanne (EPFL)
*
* All rights reserved. Do not distribute without permission.
* Author(s):
* Nadir Roman Guerrero <nad... |
856fa45aba097875e6af64df1ee25ea47a9fe61d5696f99b676b0659a1170436 | C++ | 5,372 | 156 | /***************************************************************************
coul_slater_cut.cpp
-------------------
Class for acceleration of the coul/slater/cut pair style.
__________________________________________________________________________
... |
e2e8fef36133262c563ffa174920671c19826a8c6704dd02c172fc5dd8cca21b | C++ | 5,373 | 132 | /***************************************************************************
born_coul_dsf_ext.cpp
-------------------
Functions for LAMMPS access to born/coul/dsf acceleration routines.
__________________________________________________________________... |
4ad4272054b7810603ae0ff4802330c1813a25ed28e7c5766859b058b6a9ab64 | C++ | 5,377 | 139 | /***************************************************************************
lj_class2_soft_ext.cpp
-------------------
Functions for LAMMPS access to lj/class2/soft acceleration routines.
________________________________________________________________... |
235142c6bddbfce9226777fe73dc82e49e2c7c4d58fc072f06b9cbe7df0414ec | C++ | 5,378 | 147 | /***************************************************************************
coul_cut_soft_gapsys.cpp
-------------------
Class for acceleration of the coul/cut/soft/gapsys pair style.
____________________________________________________________________... |
8d477690ff4993a86ac9143503fbc31efcfc9583909ce52a8552a5ea79aba78f | C++ | 5,384 | 137 | /**
* Copyright 2021 Huawei Technologies Co., Ltd
*
* 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... |
19d3bc5ddf9a5865ebff249f9640a382b5ec3b6dc3b50bc98549ddb6565a774a | C++ | 5,389 | 128 | // Adopted from the UWOT R package
#include <ACTIONet.h>
#include <vector>
#include "gradient.h"
#include "optimize.h"
#include "perpendicular.h"
#include "sampler.h"
template <typename T, bool DoMove = true>
auto optimize_layout(const T &gradient, std::vector<float> &head_embedding,
std::vector<... |
c4fbc72e348ac87601ce1d131d5802d75e87015a124c22be86aaba7cc75dbab5 | C++ | 5,391 | 131 | /***************************************************************************
charmmfsw_fsh_ext.cpp
-------------------
Functions for LAMMPS access to lj/charmmfsw/coul/charmmfsh acceleration routines.
____________________________________________________... |
de653fb3a954ddbad08aacfe5035c91c6f53c7a73e9f7c08606257f1c290615c | C++ | 5,393 | 162 | #include "ModularityVertexPartition.h"
#ifdef DEBUG
#include <iostream>
using std::cerr;
using std::endl;
#endif
ModularityVertexPartition::ModularityVertexPartition(Graph* graph,
vector<size_t> const& membership) :
MutableVertexPartition(graph,
membership)
{ }
ModularityVertexPartition::Modula... |
0749bc24db00e57700866f92bcf39dcac6d4d15e2f946c358fdb4230d1cd085c | C++ | 5,401 | 163 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "carla/trafficmanager/CachedSimpleWaypoint.h"
namespace carla {
namespace traffic_man... |
8421e9eb67e006c02517c6adadce9f65696055519d82bd32e5d2fbf579e06279 | C++ | 5,401 | 191 | #include "VolumeMesh.h"
namespace Ultraliser
{
VolumeMesh::VolumeMesh(const size_t numberVertices, const size_t numberTriangles)
{
vertices.resize(numberVertices);
triangles.resize(numberTriangles);
}
void VolumeMesh::append(const VolumeMesh* inputMesh)
{
// Vertex offset is the number of vertices in the... |
6ac3db8c77e396d1f683e83557eeea082e675764296b51d0e1219ab0d19ec0bf | C++ | 5,419 | 132 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "CarlaRecorderPhysicsControl.h"
#include "CarlaRecorder.h"
#include "CarlaRecorderHelp... |
491b3633a636f49a28a5c5e3b1fbd15f52ce88b5ce748af60a293e66d4e0a7a2 | C++ | 5,422 | 147 | #include "TwoPoolSignals.h"
// #define QI_DEBUG_BUILD
#include "Macro.h"
#include <Eigen/Dense>
#include <unsupported/Eigen/MatrixFunctions>
#include "Helpers.h"
namespace QI {
Eigen::ArrayXcd SPGR2(double const PD,
double const T1_a,
double const ... |
d0f4eb2ec3d8a2217d9dbecb7ca7df8d59aea3116fbb38a4ff3d2073fb20060b | C++ | 5,425 | 151 | /***************************************************************************
nm_cut.cpp
-------------------
Class for acceleration of the nm/cut pair style.
__________________________________________________________________________
This file is part... |
fb032794a215e6fd131822dee12ac6f4eaa3052b4db0d4c63cbfe343ab03e464 | C++ | 5,440 | 132 | /***************************************************************************
born_coul_dsf_cs_ext.cpp
-------------------
Functions for LAMMPS access to born/coul/dsf/cs acceleration routines.
____________________________________________________________... |
b7584c519e3f54fd41a971ab69a97dec48a243e924df4107ee63463295a23a57 | C++ | 5,464 | 276 | #include <math.h>
#include <string.h>
#include <cassert>
#include "str.hh"
namespace str {
bool
read_line(std::string *str, FILE *file, bool do_chomp)
{
char *ptr;
char buf[4096];
str->erase();
while (1) {
ptr = fgets(buf, 4096, file);
if (!ptr)
break;
str->append(buf);
... |
03739aed1886d6188fb71011afa76484b609f401b066c9926eaa12012a635ab9 | C++ | 5,493 | 190 | #include "float_node_spin.hpp"
#include "basic_types.hpp"
#include "exception.hpp"
#include <algorithm>
#include <iostream>
#include <sstream>
namespace bias
{
unsigned int FloatNode_spin::NumberOfIntValues = 100;
spinNodeType FloatNode_spin::ExpectedType()
{
return FloatNode;
... |
890aa33bd2370673ab149b136b05388dfc6d071b1dd48b5238faa254115726b8 | C++ | 5,494 | 143 | /***************************************************************************
morse_soft_ext.cpp
-------------------
Functions for LAMMPS access to morse/soft acceleration routines.
________________________________________________________________________... |
9dcb3c86a5d686f048e410f751668cc986e2d95fb38f9bba93b13e1d5a38174a | C++ | 5,494 | 224 | #include "PhoneProbsToolbox.hh"
// Use io.h in Visual Studio varjokal 24.3.2010
#ifdef _MSC_VER
#include <io.h>
#include <errno.h>
#include <stdlib.h>
#else
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
#endif
#include <fcntl.h>
#include "endian.hh"
#include "io.hh"
#include "str.hh"
#define BYTE unsign... |
899b1fc96eaa635c4388c8f0594b463a47cc487c3ee0d36891623cd049dbfbea | C++ | 5,495 | 157 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "BlueprintLibary/PostProcessJsonUtils.h"
#include "Components/PostProcessComponent.h"... |
c018f6660b19e193875e350ba0e5da07b0ebd5f18526bb198f9416b2462ce798 | C++ | 5,500 | 146 | /*
* qipolyimg.cpp
*
* Copyright (c) 2016 Tobias Wood.
*
* 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 at http://mozilla.org/MPL/2.0/.
*
*/
#include "Eigen/Core"
#include "Args.h"
#in... |
ad1b8ef938931fedd7c546b4d66b5abfa93087b65e290b2411c409a46261e23e | C++ | 5,518 | 170 | /*
Copyright (C) 2016 Diego Darriba
This program 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) any later version.
This program is distrib... |
48d3c60df26494267c943072c67176193dab5326dba0e8f8643b85f092d7aa38 | C++ | 5,540 | 168 | #include <fstream>
#include <iostream>
#include <sstream>
#include <cmath>
#include <algorithm>
#include <cstdio>
#include <vector>
#include <set>
#include "json/json.h"
#include "commandline.h"
#include "contour.h"
#include "spectrum_prediction.h"
#include "DeepConfig.h"
#include "dosy.h"
#include "peak_manipulation... |
6509e6f90a98dbc563de45a7f4470f1292e2bf974a29a0af3a4f50a8320b161b | C++ | 5,568 | 169 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "Carla/Sensor/ObstacleDetectionSensor.h"
#include "Carla.h"
#include "Carla/Actor/Acto... |
073a1dd499fea324b7a9c5f4a9e1fb0905e9710e626b48bb4485cf42a14c087a | C++ | 5,585 | 157 | /***************************************************************************
lj_cut_coul_wolf.cpp
-------------------
Class for acceleration of the lj/cut/coul/wolf pair style.
__________________________________________________________________________
... |
e0b75010ccbeab12d248980298e236e1bf2ab6024d18d3bcb09a5033823ebb40 | C++ | 5,597 | 140 | /***************************************************************************
coul_cut_soft_gapsys_ext.cpp
-------------------
Functions for LAMMPS access to coul/cut/soft/gapsys acceleration routines.
____________________________________________________... |
2023bbd939885b367c8076f1df792dc44fcf3aa08671e3cd2470d27387932ff5 | C++ | 5,609 | 263 | /***************************************************************************************************
* Copyright (c) 2016 - 2021
* Blue Brain Project (BBP) / Ecole Polytechnique Federale de Lausanne (EPFL)
*
* Author(s)
* Marwan Abdellah < marwan.abdellah@epfl.ch >
*
* This file is part of Ultraliser < http... |
f5784d12a69b4008c9e5e777f09a2c62625e9dd1c13c4bba3f91e7671abb8899 | C++ | 5,614 | 158 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "carla/multigpu/primaryCommands.h"
// #include "carla/Logging.h"
#include "carla/mult... |
f5786fa9dd302acda0b686f55815061da9bb90940e66cca6c199c019e4247962 | C++ | 5,617 | 159 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "carla/client/Junction.h"
#include "carla/client/Lane.h"
#include "carla/client/Map.h"... |
c52ec91e3d58c854443c78a6b2ad9118c40b4275f7aa79b599445023f58ebd91 | C++ | 5,620 | 155 | /***************************************************************************
lj_class2_coul_cut.cpp
-------------------
Class for acceleration of the lj/class2/coul/cut pair style.
________________________________________________________________________... |
3a73e4dfe9be0ccc4caf953befdf493f291081eba4edec020375a0d971db3d9d | C++ | 5,622 | 179 | #include "BasicSubscriber.h"
#include "carla/ros2/types/msg/String.h"
#include "carla/ros2/middleware/fastdds/GenericCdrPubSubType.h"
#include "carla/ros2/listeners/BasicListener.h"
#include <fastdds/dds/domain/DomainParticipant.hpp>
#include <fastdds/dds/subscriber/Subscriber.hpp>
#include <fastdds/dds/topic/Topic.h... |
b5fee9369fab2ff2813696af341307e4cd31d8c4c9679937eb855960296f8904 | C++ | 5,626 | 164 | /*
File Name: mdwt_r.cpp
Last Modification Date: 06/14/95 13:15:44
Current Version: mdwt_r.cpp 2.4
File Creation Date: Wed Oct 19 10:51:58 1994
Author: Markus Lang <lang@jazz.rice.edu>
Copyright (c) 2000 RICE UNIVERSITY. All rights reserved.
Created by Markus Lang, Department of ECE, Rice University.
This... |
8549183b7b942022c0c1b75142700c1e973c8db773f1a367f06b840e060c2adc | C++ | 5,630 | 155 | /***************************************************************************
lj_class2_coul_long_cs.cpp
-------------------
Class for acceleration of the lj/class2/coul/long/cs pair style.
________________________________________________________________... |
22d618ac05b9d38ee8806cf44fee54e87d01b1a780cc6e84130417b2919e132b | C++ | 5,635 | 142 | /**
* Copyright 2022 Huawei Technologies Co., Ltd
*
* 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... |
2d75a7dd301db6da6151a1bab68297ff71555a3a988b5fca3a9a4025a1b1a2b6 | C++ | 5,639 | 136 | /***************************************************************************
lal_dpd_coul_slater_long_ext.cpp
-------------------
Eddy BARRAUD (IFPEN/Sorbonne)
Functions for LAMMPS access to dpd/coul/slater/long acceleration ro... |
ae6bb6db3c9e48476ff8d32e531592515ed8412ffc1cb55867173036a23a7175 | C++ | 5,641 | 113 | /*
* ImageWrite.cpp
*
* Copyright (c) 2018 Tobias Wood.
*
* 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 at http://mozilla.org/MPL/2.0/.
*
*/
#include <string>
#include "itkComplexToMo... |
308ced641be84cbc3d6406e4dfeefffc5c76f0c54c00d4ec729401f6fd0a0478 | C++ | 5,642 | 154 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "carla/ros2/publishers/CarlaLidarPublisher.h"
#include <cmath>
#include <cstring>
na... |
2559fa9553243a9500581d44fab6f2b03bf055d35cebe1ff05a4f2004cf9bbf0 | C++ | 5,652 | 176 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "Carla/ContentPacks/ContentPackManifest.h"
#include "Carla.h"
#include <util/ue-heade... |
ce86a421605e011ae9f891c83146632d376f686ba0ba8e70999621a0ca78276f | C++ | 5,655 | 171 | // Copyright (c) 2018-2020 CVC.
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "carla/agents/navigation/ConstantVelocityAgent.h"
#include "carla/agents/navigation/LocalPlanner.h"
#include "carla/client/Actor.h"
#include "carla/client... |
343492059c974eea3f984ceb10699a9ab162f3e69a2f6c160ae141ca32c3bb92 | C++ | 5,657 | 145 | /***************************************************************************
lj_tip4p_long_ext.cpp
-------------------
V. Nikolskiy (HSE)
Functions for LAMMPS access to lj/tip4p/long acceleration functions
______________________... |
703348f4b40a258b665bbd13fda9678a802bdf1f12a5e42e373616d948302dad | C++ | 5,674 | 168 | /**
* Copyright 2022 Huawei Technologies Co., Ltd
*
* 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... |
18947e7817afe5ed3b66f18355f7f6f8dc240721628e6bae5107fb383f09aa23 | C++ | 5,679 | 160 | /**
* Copyright 2021 Huawei Technologies Co., Ltd
*
* 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 ... |
c57fefab94773eb7264821d7e0a96bbdbf7a6ca07cee8f235d37cb67b05c4ca5 | C++ | 5,692 | 167 | /**
* Copyright 2022 Huawei Technologies Co., Ltd
*
* 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 appli... |
ec17ee85081a8465db9c9a39a3eb8e0171090b2484b5b81a17527c637a3ee5c7 | C++ | 5,696 | 155 | /***************************************************************************************************
* Copyright (c) 2016 - 2022
* Blue Brain Project (BBP) / Ecole Polytechnique Federale de Lausanne (EPFL)
*
* Author(s)
* Marwan Abdellah < marwan.abdellah@epfl.ch >
*
* This file is part of Ultraliser < http... |
5e7f378952a5c2c47bd1f7c4e8b07230ab4a25e63a7a41c24120e3285733b178 | C++ | 5,708 | 159 | #include "SignificanceVertexPartition.h"
#ifdef DEBUG
#include <iostream>
using std::cerr;
using std::endl;
#endif
SignificanceVertexPartition::SignificanceVertexPartition(Graph* graph,
vector<size_t> const& membership) :
MutableVertexPartition(graph,
membership)
{ }
SignificanceVertexPartition... |
b908b588d5e5462b03d968827f2c4f0bbbea0cb16dfe6f02e2a8b7aa72fcc83e | C++ | 5,712 | 160 | /***************************************************************************
lj_cut_soft.cpp
-------------------
Class for acceleration of the lj/cut/soft pair style.
__________________________________________________________________________
This fi... |
b8fd280312304e081ff3df596121066e81c952863b9418b535107be21aa3e45d | C++ | 5,734 | 228 | #include <ACTIONet.h>
namespace ACTIONet {
double *l1, *l2, *w;
int *match1, *match2, *v1, *v2;
int *s, *tt, *deg, *offset, *list;
/**
* n the number of nodes
* m the number of nodes
* nedges the number of edges
* vv1 is the source for each of the nedges
* vv2 is the target for each of the nedges
* weight is th... |
0a31e9258537b86503a3272870e6483aa5937c1e3798cc068d0cb3633f27c167 | C++ | 5,736 | 157 | /***************************************************************************
buck_coul_long_cs.cpp
-------------------
Class for acceleration of the buck/coul/long/cs pair style.
__________________________________________________________________________... |
7312a4f7b096d765c72f90c35dc25d60b3c3ed7f28fa3187e81999167e701298 | C++ | 5,739 | 291 | #include <limits.h>
#include <math.h>
#include <string.h>
#include <cassert>
#include <stdlib.h>
#include "str.hh"
namespace str {
bool
read_line(std::string *str, FILE *file, bool do_chomp)
{
char *ptr;
char buf[4096];
str->erase();
while (1) {
ptr = fgets(buf, 4096, file);
if (!pt... |
4bea82ea57040144a3b6a03c6a56871c20dd84ebb0a10845afd3d6ebe5297ef5 | C++ | 5,741 | 221 | /***************************************************************************************************
* Copyright (c) 2013
* Consiglio Nazionale delle Ricerche, Istituto di Matematica Applicata e Tecnologie Informatiche
* Sezione di Genova, IMATI-GE / CNR
*
* Copyright (c) 2016 - 2021
* Blue Brain Project (BBP) / ... |
6879b2ec3693ea14eed5ca9bf82d1d8e73cddcd68305a4566e1ea67234fcbcc7 | C++ | 5,751 | 160 | /***************************************************************************
morse_soft.cpp
-------------------
Class for acceleration of the morse/soft pair style.
__________________________________________________________________________
This file... |
16943fcfff15b7bab3b94bb76b07a020c5332362bc0b1428b127a16786b2c3a5 | C++ | 5,752 | 144 | /***************************************************************************
nm_cut_split_ext.cpp
-------------------
Functions for LAMMPS access to nm/cut/split acceleration routines.
____________________________________________________________________... |
00f18c44065065745efb289bfab622f8f72dfd8f5b8ee21e81bfe2ed4550146b | C++ | 5,755 | 174 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "TrafficSignHeightUtils.h"
#include "Carla.h"
#include "TrafficSignBase.h"
#include "... |
f4f241863269ad9648f9d66ade6fff105b1ad4c7fb2ec8ab4bed40f7880f6622 | C++ | 5,764 | 133 | /*
* qi_planet.cpp - Part of QUantitative Imaging Tools
*
* Copyright (c) 2019 Tobias Wood.
*
* 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 at http://mozilla.org/MPL/2.0/.
*
*/
#includ... |
652a9321b7c727efba554209b711aad25a89948218e900697bcffff007fb20da | C++ | 5,768 | 161 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "Profiles.h"
#include <algorithm>
#include <cctype>
#include <cstdlib>
#include <map>... |
7720fd006ccedcbf8053410ff33b7de4217f5c9e58d4acc0a005d837dbe77c7a | C++ | 5,772 | 293 | #include <limits.h>
#include <math.h>
#include <string.h>
#include <stdarg.h>
#include <stdlib.h>
#include <assert.h>
#include "str.hh"
namespace str {
std::string
fmt(size_t size, const char *fmt, ...)
{
va_list ap;
va_start(ap, fmt);
char *buf = new char[size];
vsnprintf(buf, size, fmt, ap);
... |
627e5cecc878c1eaa8a0f655ab94ac130ef93093e357b034348abbb18433dd58 | C++ | 5,778 | 160 | /***************************************************************************
lj_class2_soft.cpp
-------------------
Class for acceleration of the lj/class2/soft pair style.
__________________________________________________________________________
T... |
a13dea501d38907de730c0cf799a5ec2b34a4f9dd9c519b802f48ab8047b67f8 | C++ | 5,790 | 134 | #include "cubic_spline.h"
/**
* @brief Construct a new cublic spline::cublic spline object
*/
cublic_spline::cublic_spline(){
};
/**
* @brief Destroy the cublic spline::cublic spline object
*/
cublic_spline::~cublic_spline(){
};
/**
* @brief calculate coefficients of cubic spline.
* For simplicity, we requir... |
1a3f7620f5d32f26774230d0cedcd9391fdd5eff34e1ce21cd750ce1f1cc256c | C++ | 5,810 | 298 | #include <climits>
#include <cstdlib>
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <assert.h>
#include "str.hh"
namespace aku {
namespace str {
std::string
fmt(size_t size, const char *fmt, ...)
{
va_list ap;
va_start(ap, fmt);
char *buf = new char[size];
... |
5c3030bbe127144d5711d3ed600511d315bb7550648b3c03da8c6e08cd50f5cd | C++ | 5,811 | 161 | // Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma de Barcelona (UAB). This work is licensed under the terms of the MIT license. For a copy, see <https://opensource.org/licenses/MIT>.
#undef CreateDirectory
#include "Online/CustomFileDownloader.h"
#include "OpenDriveToMap.h"
#include "Gene... |
3071cec6117f78519385a4ff7d196b49437e8c9ded3f2c1e2640b78560b7ec8c | C++ | 5,813 | 290 | #include <limits.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <cassert>
#include "str.hh"
namespace str {
bool
read_line(std::string *str, FILE *file, bool do_chomp)
{
char *ptr;
char buf[4096];
str->erase();
while (1) {
ptr = fgets(buf, 4096, file);
if (!pt... |
7e03347b37f44fa234b0fe1b8729c5fdd040301473e9fe1d453115c85bd6b5d2 | C++ | 5,840 | 144 | /***************************************************************************
tersoff_zbl_ext.cpp
-------------------
Trung Dac Nguyen
Functions for LAMMPS access to tersoff/zbl acceleration routines.
___________________________... |
b57371bb84e864be4e8ac37b6de1e5441fffaf26b565f73d968a6d3282e8a11f | C++ | 5,848 | 213 | /*
Copyright (C) 2016 Diego Darriba
This program 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) any later version.
This program is distributed i... |
9aeb26b2959133b59c9a1890b4cb5e058385f0bc8ed7597174716197f22340d5 | C++ | 5,868 | 263 | #include <limits.h>
#include <string>
#include <iostream>
#include <fcntl.h>
#include <sndfile.h>
#include "AudioReader.hh"
namespace aku {
AudioReader::AudioReader()
: sf_info(new SF_INFO),
m_sndfile(NULL),
m_little_endian(true),
m_raw(false),
m_eof_sample(INT_MAX),
m_buffer_size(0),
m_sta... |
1c051ded6fc7d501193b1ecc947c035e9adbd0e8ca59de1748350511a6d7eb1b | C++ | 5,876 | 183 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "carla/client/LaneInvasionSensor.h"
#include "carla/Logging.h"
#include "carla/client... |
777a12d59404254660aef2d8f715e91c42d5d74ec93163a225cf1a922d1358d0 | C++ | 5,890 | 208 | /***************************************************************************************************
* Copyright (c) 2013
* Consiglio Nazionale delle Ricerche, Istituto di Matematica Applicata e Tecnologie Informatiche
* Sezione di Genova, IMATI-GE / CNR
*
* Copyright (c) 2016 - 2021
* Blue Brain Project (BBP) / ... |
414eb9d0d62cd0e4157ff363957358fba7225c1d1aa8dec8af70666c4e52950a | C++ | 5,893 | 196 | /**
* Copyright 2021 Huawei Technologies Co., Ltd
*
* 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 ... |
fa4a00d93ea7308272b6664c44a1d01304c7707985135e04a6a38b9e7c809429 | C++ | 5,897 | 172 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "Carla/Vehicle/CarlaVehicleAnimationInstance.h"
#include "Carla.h"
#include "Carla/Veh... |
c9f3ecf5eca40d47f8015b843c254e2d8775c25a96b3d5cc26b3c62c59cc5116 | C++ | 5,907 | 198 | /***************************************************************************************************
* Copyright (c) 2013
* Consiglio Nazionale delle Ricerche, Istituto di Matematica Applicata e Tecnologie Informatiche
* Sezione di Genova, IMATI-GE / CNR
*
* Copyright (c) 2016 - 2021
* Blue Brain Project (BBP) / ... |
2550490961d9801a3595f2a36b27187a6b9792e20fcdccc1567a0984edd0e5b4 | C++ | 5,935 | 191 | /***************************************************************************************************
* Copyright (c) 2016 - 2021
* Blue Brain Project (BBP) / Ecole Polytechnique Federale de Lausanne (EPFL)
*
* Author(s)
* Marwan Abdellah < marwan.abdellah@epfl.ch >
*
* This file is part of Ultraliser < http... |
9442364ab4232a47321b9acd24feb44832b5a094da12c038ee6ba0bdf5071a2f | C++ | 5,936 | 157 | /***************************************************************************
nm_cut_split.cpp
-------------------
Class for acceleration of the nm/cut/split pair style.
__________________________________________________________________________
This ... |
62717b1e1ee0ca82b60b96bf2024746ab31d552c2d74a3bd69eb71a6986bb52c | C++ | 5,941 | 247 | /* ===================================================
* file: odrSpiral.c
* ---------------------------------------------------
* purpose: free method for computing spirals
* in OpenDRIVE applications
* ---------------------------------------------------
* using methods of CEPHES library
*... |
a1b272f6a20d9e2e3eba843e5e0b2c8d9698cff61ed0c016598d737231ad96aa | C++ | 5,959 | 236 | #include <stdlib.h>
#include <assert.h>
#include "GramSorter.hh"
#include "TreeGramArpaReader.hh"
#include "tools.hh"
TreeGramArpaReader::TreeGramArpaReader()
: m_lineno(0)
{
}
void
TreeGramArpaReader::read_error()
{
fprintf(stderr, "TreeGramArpaReader::read(): error on line %d\n", m_lineno);
exit(1);
}
void
... |
29ac1c31229466382d603a6f4298b4d07cc320e4952ad17062d8aea9b95b0340 | C++ | 5,960 | 161 | #include "RBConfigurationVertexPartition.h"
RBConfigurationVertexPartition::RBConfigurationVertexPartition(Graph* graph,
vector<size_t> const& membership, double resolution_parameter) :
LinearResolutionParameterVertexPartition(graph,
membership, resolution_parameter)
{ }
RBConfigurationVertexPar... |
a78c22a7872229c2e4bbbb5e3e4b94e69db4b7d1ff5a1f902d8a0ccab61b3ae9 | C++ | 5,970 | 149 | /***************************************************************************
lj_coul_long_cs_ext.cpp
-------------------
Functions for LAMMPS access to lj/cut/coul/long/cs acceleration routines.
__________________________________________________________... |
1941914efb286a82b4d3f1c8c433a84875fb9e2425c7d576d74004e6ede06dc4 | C++ | 5,971 | 149 | /*
* qiirtse.cpp
*
* Created by Tobias Wood on 27/01/2015.
* Copyright (c) 2015 Tobias Wood.
*
* 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 at http://mozilla.org/MPL/2.0/.
*
*/
#inc... |
e72d792a953b27afa4de9e926bc0fd29ba09e847b55275d9963263238727403b | C++ | 5,974 | 187 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "test.h"
#include <carla/image/ImageConverter.h>
#include <carla/image/ImageIO.h>
#in... |
60ea605932a84fe5cd07d7a00ba6539ffb78a02b65c69e61fc5cff1a1be2a528 | C++ | 5,993 | 181 | // Copyright (c) 2018, SenseTime.
#include "parrots_cpp_helper.hpp"
void DeformConvForwardCUDAKernelLauncher(
const DArrayLite input, const DArrayLite weight, const DArrayLite offset,
DArrayLite output, DArrayLite columns, DArrayLite ones, int kW, int kH,
int dW, int dH, int padW, int padH, int dilationW, ... |
19b23d3dbf606848effce17a5f763adefa3e41288471a98c2ce10a2223a1a2ad | C++ | 5,999 | 180 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "carla/client/Vehicle.h"
#include "carla/client/ActorList.h"
#include "carla/client/d... |
86d472f2fac199db1a161c93393f83491bce07b49d2395dcf410870f01214fd9 | C++ | 6,000 | 193 | #include "phase_dnn.h"
#include "phase_data.h"
phase_dnn::phase_dnn()
{
/**
* @brief initialize validation_dnn here
* First one always have 1 input channel (from 1D spectrum)
*/
int n = 0;
validation_dnn_c1.set_size(21, 1, 10); // nkernel, ninput, nfilter
n += validation_d... |
76ed3c7793b8adb6d52f19e329eb31a4e657cd7742a58cd9c85969faf926dd22 | C++ | 6,021 | 178 | /*
File Name: MIDWT.c
Last Modification Date: 06/14/95 13:01:15
Current Version: MIDWT.c 2.4
File Creation Date: Wed Oct 12 08:44:43 1994
Author: Markus Lang <lang@jazz.rice.edu>
Copyright (c) 2000 RICE UNIVERSITY. All rights reserved.
Created by Markus Lang, Department of ECE, Rice University.
This softw... |
6f63943426bd1210755b2e8eee9c3ca904c9d8cd1fa21ddfd8ab30bb336dbdb7 | C++ | 6,023 | 199 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma de Barcelona (UAB). This work is licensed under the terms of the MIT license. For a copy, see <https://opensource.org/licenses/MIT>.
#include "MapPreviewUserWidget.h"
#include <util/ue-header-guard-begin.h>
#include "GenericPlatform/Gener... |
cf223956b9bdd6b907989e7b7855ea127800bc53144897c0ed11c639727029f8 | C++ | 6,024 | 147 | /*
* qimp2rage.cpp
*
* Created by Tobias Wood on 2015/08/24.
* Copyright (c) 2015 Tobias Wood.
*
* 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 at http://mozilla.org/MPL/2.0/.
*
*/
#i... |
9b0e4144e6af86269171b4161e059febba08bf14cd347b96440f6733a308d5ec | C++ | 6,056 | 155 | #include "FstConfidence.hh"
#include "levenshtein.hh"
FstConfidence::FstConfidence(const char *grammar_fst_name, const char *hmm_fname, const char *dur_fname): FstSearch_base<FstConfidenceToken>(grammar_fst_name), m_logprob_conf_weight(2.0f), m_logprob_conf_hysteresis(100.0f), m_fst_acoustics(hmm_fname, dur_fname) {
... |
9e1e3046db2f484ed40ce884b88cb61ed8ba72becc34bd623db4db22d9917364 | C++ | 6,056 | 129 | #include "pytorch_cpp_helper.hpp"
#ifdef MMCV_WITH_CUDA
void ROIAlignForwardCUDAKernelLauncher(Tensor input, Tensor rois, Tensor output,
Tensor argmax_y, Tensor argmax_x,
int aligned_height, int aligned_width,
... |
fab29c61bde165fcb793498b58a09ca0c7acb8392ff9dbda8d79e4dc5b3931e9 | C++ | 6,061 | 165 | /***************************************************************************
born_coul_dsf.cpp
-------------------
Class for acceleration of the born/coul/dsf pair style.
__________________________________________________________________________
Thi... |
5770815f41792c7c9377310c52286ddfc01febe8ecd17edd573ef7dad502a231 | C++ | 6,074 | 187 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "carla/client/Road.h"
#include "carla/geom/Math.h"
#include "carla/client/Junction.h... |
9d805792b0985533c92d3d5b70f14cfac76e50f6dab64afb87923382778bb726 | C++ | 6,078 | 191 | // Copyright (c) 2018-2020 CVC.
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "carla/agents/navigation/Misc.h"
#include "carla/client/Actor.h"
#include "carla/client/DebugHelper.h"
#include "carla/client/TrafficLight.h"
#include "car... |
c54baf4e135e3e4708f18a56eaec71a022125e0e756f332914837a3ae5ae3f8e | C++ | 6,081 | 201 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "carla/multigpu/router.h"
#include "carla/multigpu/listener.h"
#include "carla/stream... |
759042d7791029c9f4d18c3f272a5d76e4dea6c2bff49e6c662259ab08c97baa | C++ | 6,096 | 213 | #include "SSPeripheral.h"
#include <Arduino.h>
#include <CircularBuffer.h>
#include <SPI.h>
#include "SSSystem.h"
#define SSP_INT_PIN 32
#define SSP_NSS_PIN 16
#define SAMPLE_BUF_SIZE 64
#define MOD(a, b) ((a % b) < 0 ? (a % b) + b : (a % b))
// Structure for Storing Individual Samples
struct Sample {
uint64_t ... |
5bc7cf4baee4e0a5bb840a3fe57610aeefaadbf88f462c74dc8b71337a5d23cf | C++ | 6,111 | 165 | /***************************************************************************
born_coul_dsf_cs.cpp
-------------------
Class for acceleration of the born/coul/dsf/cs pair style.
__________________________________________________________________________
... |
a7ca6d61caf78efa935c21fdcbbc28f26efee76c8abd2ecf7e889feddd6c8430 | C++ | 6,122 | 168 | /*
* qinewimage.cpp
*
* Created by Tobias Wood on 02/06/2015.
* Copyright (c) 2015 Tobias Wood.
*
* 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 at http://mozilla.org/MPL/2.0/.
*
*/
#... |
15b56fe257ce75211f6e2c5d8d10a9fe00af670968df44ef25744b889f3b5ecb | C++ | 6,125 | 199 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "CityMapMeshHolder.h"
#include "Carla.h"
#include "Settings/CarlaSettings.h"
#include ... |
a47d26fa7b0f19a49e3551ab3c1e34759ca36354f5df82e2b81b087e97572231 | C++ | 6,125 | 189 |
#include <vector>
#include <valarray>
#include <fstream>
#include <iostream>
#include "commandline.h"
#include "dnn_picker.h"
#include "spectrum_pick.h"
#include "DeepConfig.h"
int main(int argc, char **argv)
{
std::cout<<"DEEP Picker package Version "<<deep_picker_VERSION_MAJOR<<"."<<deep_picker_VERSION_MINOR... |
013665f43f42de6799288b3949c0e9c47a8c63289e92ff90cf933beb439f535a | C++ | 6,128 | 153 | /*
* qi_cestasym.cpp
*
* Copyright (c) 2019 Tobias Wood.
*
* 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 at http://mozilla.org/MPL/2.0/.
*
*/
#include <Eigen/Core>
#include <algorithm>... |
4d48853638f761a1fad545fd5fbdd8c2b903cf3d5cf5ca4a6c2e1ec1380cdbe1 | C++ | 6,130 | 159 | // Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "Carla/Sensor/SensorFactory.h"
#include "Carla.h"
#include "Carla/Game/CarlaGameInstan... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.