repo
stringlengths
1
152
file
stringlengths
14
221
code
stringlengths
501
25k
file_length
int64
501
25k
avg_line_length
float64
20
99.5
max_line_length
int64
21
134
extension_type
stringclasses
2 values
abess
abess-master/python/include/unsupported/Eigen/src/IterativeSolvers/IncompleteLU.h
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2011 Gael Guennebaud <gael.guennebaud@inria.fr> // // 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 ob...
2,520
26.703297
69
h
abess
abess-master/python/include/unsupported/Eigen/src/IterativeSolvers/IterationController.h
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2009 Gael Guennebaud <gael.guennebaud@inria.fr> /* NOTE The class IterationController has been adapted from the iteration * class of the GMM++ and ITL libraries. */ //==============================...
5,354
33.548387
84
h
abess
abess-master/python/include/unsupported/Eigen/src/IterativeSolvers/Scaling.h
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2012 Desire NUENTSA WAKAM <desire.nuentsa_wakam@inria.fr // // 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, Y...
5,739
29.531915
119
h
abess
abess-master/python/include/unsupported/Eigen/src/LevenbergMarquardt/LMcovar.h
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // This code initially comes from MINPACK whose original authors are: // Copyright Jorge More - Argonne National Laboratory // Copyright Burt Garbow - Argonne National Laboratory // Copyright Ken Hillstrom - Argonne National Lab...
2,443
27.752941
101
h
abess
abess-master/python/include/unsupported/Eigen/src/LevenbergMarquardt/LMpar.h
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // This code initially comes from MINPACK whose original authors are: // Copyright Jorge More - Argonne National Laboratory // Copyright Burt Garbow - Argonne National Laboratory // Copyright Ken Hillstrom - Argonne National Lab...
5,039
30.304348
103
h
abess
abess-master/python/include/unsupported/Eigen/src/LevenbergMarquardt/LMqrsolv.h
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009 Thomas Capricelli <orzel@freehackers.org> // Copyright (C) 2012 Desire Nuentsa <desire.nuentsa_wakam@inria.fr> // // This code initially comes from MINPACK whose original authors are: // Copyright Jorge Mor...
6,804
35.005291
116
h
abess
abess-master/python/include/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009, 2010, 2013 Jitse Niesen <jitse@maths.leeds.ac.uk> // Copyright (C) 2011, 2013 Chen-Pang He <jdh8@ms63.hinet.net> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0....
16,020
36
115
h
abess
abess-master/python/include/unsupported/Eigen/src/MatrixFunctions/MatrixLogarithm.h
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2011, 2013 Jitse Niesen <jitse@maths.leeds.ac.uk> // Copyright (C) 2011 Chen-Pang He <jdh8@ms63.hinet.net> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy o...
17,425
45.593583
122
h
abess
abess-master/python/include/unsupported/Eigen/src/MatrixFunctions/MatrixPower.h
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2012, 2013 Chen-Pang He <jdh8@ms63.hinet.net> // // 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 obta...
23,493
32.090141
122
h
abess
abess-master/python/include/unsupported/Eigen/src/MoreVectorization/MathFunctions.h
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009 Rohit Garg <rpg.314@gmail.com> // Copyright (C) 2009 Benoit Jacob <jacob.benoit.1@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL...
3,035
30.625
100
h
abess
abess-master/python/include/unsupported/Eigen/src/NonLinearOptimization/chkder.h
#define chkder_log10e 0.43429448190325182765 #define chkder_factor 100. namespace Eigen { namespace internal { template<typename Scalar> void chkder( const Matrix< Scalar, Dynamic, 1 > &x, const Matrix< Scalar, Dynamic, 1 > &fvec, const Matrix< Scalar, Dynamic, Dynamic > &fjac, Mat...
1,864
26.835821
103
h
abess
abess-master/python/include/unsupported/Eigen/src/NonLinearOptimization/covar.h
namespace Eigen { namespace internal { template <typename Scalar> void covar( Matrix< Scalar, Dynamic, Dynamic > &r, const VectorXi &ipvt, Scalar tol = std::sqrt(NumTraits<Scalar>::epsilon()) ) { using std::abs; typedef DenseIndex Index; /* Local variables */ Index i, j, k, l...
1,915
25.985915
101
h
abess
abess-master/python/include/unsupported/Eigen/src/NonLinearOptimization/fdjac1.h
namespace Eigen { namespace internal { template<typename FunctorType, typename Scalar> DenseIndex fdjac1( const FunctorType &Functor, Matrix< Scalar, Dynamic, 1 > &x, Matrix< Scalar, Dynamic, 1 > &fvec, Matrix< Scalar, Dynamic, Dynamic > &fjac, DenseIndex ml, DenseIndex mu, ...
2,225
26.825
113
h
abess
abess-master/python/include/unsupported/Eigen/src/NonLinearOptimization/lmpar.h
namespace Eigen { namespace internal { template <typename Scalar> void lmpar( Matrix< Scalar, Dynamic, Dynamic > &r, const VectorXi &ipvt, const Matrix< Scalar, Dynamic, 1 > &diag, const Matrix< Scalar, Dynamic, 1 > &qtb, Scalar delta, Scalar &par, Matrix< Sc...
9,111
29.474916
109
h
abess
abess-master/python/include/unsupported/Eigen/src/NonLinearOptimization/qrsolv.h
namespace Eigen { namespace internal { // TODO : once qrsolv2 is removed, use ColPivHouseholderQR or PermutationMatrix instead of ipvt template <typename Scalar> void qrsolv( Matrix< Scalar, Dynamic, Dynamic > &s, // TODO : use a PermutationMatrix once lmpar is no more: const VectorXi &ipvt, ...
3,263
34.478261
108
h
abess
abess-master/python/include/unsupported/Eigen/src/NonLinearOptimization/r1updt.h
namespace Eigen { namespace internal { template <typename Scalar> void r1updt( Matrix< Scalar, Dynamic, Dynamic > &s, const Matrix< Scalar, Dynamic, 1> &u, std::vector<JacobiRotation<Scalar> > &v_givens, std::vector<JacobiRotation<Scalar> > &w_givens, Matrix< Scalar, Dynamic, ...
3,082
29.83
80
h
abess
abess-master/python/include/unsupported/Eigen/src/NonLinearOptimization/rwupdt.h
namespace Eigen { namespace internal { template <typename Scalar> void rwupdt( Matrix< Scalar, Dynamic, Dynamic > &r, const Matrix< Scalar, Dynamic, 1> &w, Matrix< Scalar, Dynamic, 1> &b, Scalar alpha) { typedef DenseIndex Index; const Index n = r.cols(); eigen_assert(...
1,362
26.26
74
h
abess
abess-master/python/include/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h
// -*- coding: utf-8 // vim: set fileencoding=utf-8 // This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009 Thomas Capricelli <orzel@freehackers.org> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the M...
4,020
29.694656
99
h
abess
abess-master/python/include/unsupported/Eigen/src/Polynomials/Companion.h
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2010 Manuel Yguel <manuel.yguel@gmail.com> // // 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 ...
7,745
26.963899
102
h
abess
abess-master/python/include/unsupported/Eigen/src/Polynomials/PolynomialSolver.h
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2010 Manuel Yguel <manuel.yguel@gmail.com> // // 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 ...
14,376
34.324324
104
h
abess
abess-master/python/include/unsupported/Eigen/src/Polynomials/PolynomialUtils.h
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2010 Manuel Yguel <manuel.yguel@gmail.com> // // 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 ...
4,862
32.770833
96
h
abess
abess-master/python/include/unsupported/Eigen/src/Skyline/SkylineInplaceLU.h
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008 Guillaume Saupin <guillaume.saupin@cea.fr> // // 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 ob...
11,358
31.17847
126
h
abess
abess-master/python/include/unsupported/Eigen/src/Skyline/SkylineMatrixBase.h
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2009 Guillaume Saupin <guillaume.saupin@cea.fr> // // 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 c...
7,745
35.366197
107
h
abess
abess-master/python/include/unsupported/Eigen/src/Skyline/SkylineProduct.h
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2009 Guillaume Saupin <guillaume.saupin@cea.fr> // // 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 c...
10,853
35.668919
125
h
abess
abess-master/python/include/unsupported/Eigen/src/Skyline/SkylineUtil.h
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009 Guillaume Saupin <guillaume.saupin@cea.fr> // // 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 ob...
3,153
34.044444
125
h
abess
abess-master/python/include/unsupported/Eigen/src/SparseExtra/BlockOfDynamicSparseMatrix.h
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2009 Gael Guennebaud <gael.guennebaud@inria.fr> // // 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 c...
4,260
33.642276
120
h
abess
abess-master/python/include/unsupported/Eigen/src/SparseExtra/MarketIO.h
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2011 Gael Guennebaud <gael.guennebaud@inria.fr> // Copyright (C) 2012 Desire NUENTSA WAKAM <desire.nuentsa_wakam@inria.fr> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. ...
7,563
26.505455
122
h
abess
abess-master/python/include/unsupported/Eigen/src/SparseExtra/MatrixMarketIterator.h
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2012 Desire NUENTSA WAKAM <desire.nuentsa_wakam@inria.fr> // // 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,...
7,568
29.520161
127
h
abess
abess-master/python/include/unsupported/Eigen/src/SparseExtra/RandomSetter.h
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr> // // 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 ob...
11,788
34.942073
130
h
abess
abess-master/python/include/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2016 Eugene Brevdo <ebrevdo@gmail.com> // Copyright (C) 2016 Gael Guennebaud <gael.guennebaud@inria.fr> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of t...
7,907
32.367089
123
h
abess
abess-master/python/include/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsPacketMath.h
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2016 Gael Guennebaud <gael.guennebaud@inria.fr> // // 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 ob...
2,709
44.932203
117
h
abess
abess-master/python/include/unsupported/Eigen/src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2014 Benoit Steiner <benoit.steiner.goog@gmail.com> // // 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 ca...
4,528
26.283133
107
h
abess
abess-master/python/include/unsupported/test/matrix_functions.h
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009-2011 Jitse Niesen <jitse@maths.leeds.ac.uk> // // 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 o...
2,106
29.985294
115
h
abess
abess-master/python/src/List.h
#ifndef SRC_LIST_H #define SRC_LIST_H #include <Eigen/Eigen> #include <iostream> #include <vector> using namespace std; using namespace Eigen; class List { public: List(){}; ~List(){}; // void add(string name, int value); // void get_value_by_name(string name, int &value); void add(string name,...
1,775
36
93
h
abess
abess-master/src/AlgorithmPCA.h
#ifndef SRC_ALGORITHMPCA_H #define SRC_ALGORITHMPCA_H #include <Spectra/SymEigsSolver.h> #include "Algorithm.h" using namespace Spectra; template <class T4> class abessPCA : public Algorithm<Eigen::VectorXd, Eigen::VectorXd, double, T4> { public: int pca_n = -1; bool is_cv = false; MatrixXd sigma; ...
11,557
36.044872
120
h
abess
abess-master/src/Data.h
// // Created by Jin Zhu on 2020/2/18. // // #define R_BUILD #ifndef SRC_DATA_H #define SRC_DATA_H #ifdef R_BUILD #include <RcppEigen.h> // [[Rcpp::depends(RcppEigen)]] #else #include <Eigen/Eigen> #endif #include <iostream> #include <vector> #include "normalize.h" #include "utilities.h" using namespace std; using n...
2,313
21.686275
113
h
abess
abess-master/src/Metric.h
// // Created by Jin Zhu on 2020/2/18. // // #define R_BUILD #ifndef SRC_METRICS_H #define SRC_METRICS_H #ifdef R_BUILD #include <Rcpp.h> using namespace Rcpp; #endif #include <algorithm> #include <random> #include <vector> #include "Algorithm.h" #include "Data.h" #include "utilities.h" template <class T1, class T2...
19,691
39.68595
119
h
abess
abess-master/src/abessOpenMP.h
#ifndef SRC_ABESSOPENMP_H #define SRC_ABESSOPENMP_H #ifdef _OPENMP #include <omp.h> // [[Rcpp::plugins(openmp)]] #else #ifndef DISABLE_OPENMP #ifndef R_BUILD // use pragma message instead of warning #pragma message( \ "Warning: OpenMP is not available, " \ ...
725
28.04
69
h
abess
abess-master/src/api.h
/***************************************************************************** * OpenST Basic tool library * * Copyright (C) 2021 Kangkang Jiang jiangkk3@mail2.sysu.edu.cn * * ...
9,617
71.315789
120
h
abess
abess-master/src/normalize.h
// // Created by Jin Zhu on 2020/3/8. // // #define R_BUILD #ifndef SRC_NORMALIZE_H #define SRC_NORMALIZE_H #ifdef R_BUILD #include <RcppEigen.h> #else #include <Eigen/Eigen> #endif void constant_warning_ith_variable(int i); void Normalize(Eigen::MatrixXd &X, Eigen::VectorXd &y, Eigen::VectorXd &weights, Eigen::Vect...
1,375
42
119
h
abess
abess-master/src/path.h
// // Created by Jin Zhu on 2020/3/8. // #ifndef SRC_PATH_H #define SRC_PATH_H #ifdef R_BUILD #include <RcppEigen.h> // [[Rcpp::depends(RcppEigen)]s] using namespace Eigen; #else #include <Eigen/Eigen> #include "List.h" #endif #include <vector> #include "Algorithm.h" #include "Data.h" #include "Metric.h" #include...
12,293
38.277955
119
h
abess
abess-master/src/screening.h
#ifndef SRC_SCREENING_H #define SRC_SCREENING_H // #define R_BUILD #ifdef R_BUILD #include <Rcpp.h> #include <RcppEigen.h> using namespace Rcpp; // [[Rcpp::depends(RcppEigen)]] #else #include <Eigen/Eigen> #endif #include <algorithm> #include <cfloat> #include <iostream> #include "Data.h" #include "utilities.h" u...
3,639
30.37931
110
h
abess
abess-master/src/utilities.h
// // Created by jiangkangkang on 2020/3/9. // /** * @file utilities.h * @brief some utilities for abess package. */ #ifndef SRC_UTILITIES_H #define SRC_UTILITIES_H #ifndef R_BUILD #include <Eigen/Eigen> #include <unsupported/Eigen/MatrixFunctions> #else #include <Rcpp.h> #include <RcppEigen.h> #endif #include...
17,518
32.755299
119
h
abess
abess-master/src/workflow.h
/** * @file workflow.h * @brief The main workflow for abess. * @details It receives all inputs from API, runs the whole abess process * and then return the results as a list. */ #ifndef SRC_WORKFLOW_H #define SRC_WORKFLOW_H // #define R_BUILD #ifdef R_BUILD #include <Rcpp.h> #include <RcppEigen.h> // [[Rcpp::de...
12,239
39
120
h
null
DA-Transformer-main/fairseq/clib/libnat_cuda/edit_dist.h
/** * Copyright 2017-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <torch/extension.h> torch::Tensor LevenshteinDistanceCuda( torch::Tensor source, torch::...
627
23.153846
67
h
null
ParMETIS-main/libparmetis/initbalance.c
/* * Copyright 1997, Regents of the University of Minnesota * * initbalance.c * * This file contains code that computes an initial partitioning * * Started 3/4/96 * George * * $Id: initbalance.c 10592 2011-07-16 21:17:53Z karypis $ */ #include <parmetislib.h> /*********************************************...
17,514
33.890438
93
c
null
ParMETIS-main/libparmetis/ctrl.c
/*! * Copyright 1997, Regents of the University of Minnesota * * \file * \brief Functions dealing with manipulating the ctrl_t structure * * * \date Started 10/19/1996 * \author George Karypis * \version\verbatim $Id: ctrl.c 10592 2011-07-16 21:17:53Z karypis $ \endverbatime */ #include <parmetislib.h> /*...
4,919
28.638554
88
c
null
ParMETIS-main/libparmetis/defs.h
/* * Copyright 1997, Regents of the University of Minnesota * * defs.h * * This file contains constant definitions * * Started 8/27/94 * George * * $Id: defs.h 10543 2011-07-11 19:32:24Z karypis $ * */ #define GLOBAL_DBGLVL 0 #define GLOBAL_SEED 15 #define NUM_INIT_MSECTIONS 5 #define M...
2,253
24.044444
87
h
null
ParMETIS-main/libparmetis/ometis.c
/*! * Copyright 1997, Regents of the University of Minnesota * * \file * \brief This is the entry point of parallel ordering routines * * \date Started 8/1/2008 * \author George Karypis * \version\verbatim $Id: ometis.c 10666 2011-08-04 05:22:36Z karypis $ \endverbatime * */ #include <parmetislib.h> /*****...
21,503
32.032258
116
c
null
ParMETIS-main/libparmetis/macros.h
/* * Copyright 1997, Regents of the University of Minnesota * * macros.h * * This file contains macros used in multilevel * * Started 9/25/94 * George * * $Id: macros.h 10578 2011-07-14 18:10:15Z karypis $ * */ /* The following macro returns a random number in the specified range */ #define AND(a, b) ((a)...
2,645
29.767442
93
h
null
ParMETIS-main/libparmetis/gklib.c
/*! \file gklib.c \brief Various helper routines generated using GKlib's templates \date Started 4/12/2007 \author George \author Copyright 1997-2009, Regents of the University of Minnesota \version\verbatim $Id: gklib.c 10395 2011-06-23 23:28:06Z karypis $ \endverbatim */ #include "parmetislib.h" /*********...
3,276
26.082645
95
c
null
ParMETIS-main/libparmetis/msetup.c
/* * Copyright 1997, Regents of the University of Minnesota * * msetup.c * * This file contain various routines for setting up a mesh * * Started 10/19/96 * George * * $Id: msetup.c 10057 2011-06-02 13:44:44Z karypis $ * */ #include <parmetislib.h> /******************************************************...
2,449
24.520833
81
c
null
ParMETIS-main/libparmetis/kmetis.c
/* * Copyright 1997, Regents of the University of Minnesota * * kmetis.c * * This is the entry point of ParMETIS_PartKway * * Started 10/19/96 * George * * $Id: kmetis.c 10757 2011-09-15 22:07:47Z karypis $ * */ #include <parmetislib.h> /********************************************************************...
7,322
28.768293
133
c
null
ParMETIS-main/libparmetis/proto.h
/* * Copyright 1997, Regents of the University of Minnesota * * proto.h * * This file contains header files * * Started 10/19/95 * George * * $Id: proto.h 10592 2011-07-16 21:17:53Z karypis $ * */ /* ctrl.c */ ctrl_t *SetupCtrl(pmoptype_et optype, idx_t *options, idx_t ncon, idx_t nparts, real_...
14,305
40.109195
90
h
null
ParMETIS-main/libparmetis/mdiffusion.c
/* * Copyright 1997, Regents of the University of Minnesota * * mdiffusion.c * * This file contains code that performs mc-diffusion * * Started 9/16/99 * George * * $Id: mdiffusion.c 10542 2011-07-11 16:56:22Z karypis $ */ #include <parmetislib.h> #define PE -1 /********************************************...
12,256
28.045024
94
c
null
ParMETIS-main/libparmetis/util.c
/* * Copyright 1997, Regents of the University of Minnesota * * util.c * * This function contains various utility routines * * Started 9/28/95 * George * * $Id: util.c 10057 2011-06-02 13:44:44Z karypis $ */ #include <parmetislib.h> /************************************************************************...
9,302
22.027228
94
c
null
ParMETIS-main/libparmetis/gkmpi.c
/* * Copyright 1997, Regents of the University of Minnesota * * gkmpi.c * * This function contains wrappers around MPI calls to allow * future de-coupling of sizes from 'int' datatypes. * * Started 5/30/11 * George * * $Id: gkmpi.c 10022 2011-05-30 20:18:42Z karypis $ */ #include <parmetislib.h> int gkMPI...
11,037
26.254321
82
c
null
ParMETIS-main/libparmetis/pspases.c
/* * pspases.c * * This file contains ordering routines that are to be used with the * parallel Cholesky factorization code PSPASES * * Started 10/14/97 * George * * $Id: pspases.c 10535 2011-07-11 04:29:44Z karypis $ * */ #include <parmetislib.h> /*********************************************************...
4,467
27.458599
98
c
null
ParMETIS-main/libparmetis/rename.h
#ifndef _LIBPARMETIS_RENAME_H_ #define _LIBPARMETIS_RENAME_H_ #define KWayAdaptiveRefine libparmetis__KWayAdaptiveRefine #define Adaptive_Partition libparmetis__Adaptive_Partition #define BalanceMyLink libparmetis__BalanceMyLink #define CommChangedInterfaceData libparmetis__CommChangedInterfaceData #define CommInterfa...
9,650
51.737705
94
h
null
ParMETIS-main/libparmetis/gklib_defs.h
/*! \file \brief Data structures and prototypes for GKlib integration \date Started 12/23/2008 \author George \version\verbatim $Id: gklib_defs.h 10395 2011-06-23 23:28:06Z karypis $ \endverbatim */ #ifndef _LIBPARMETIS_GKLIB_H_ #define _LIBPARMETIS_GKLIB_H_ #include "gklib_rename.h" /*****************************...
1,637
29.333333
85
h
null
ParMETIS-main/libparmetis/comm.c
/* * Copyright 1997, Regents of the University of Minnesota * * comm.c * * This function provides various high level communication functions * * $Id: comm.c 10592 2011-07-16 21:17:53Z karypis $ */ #include <parmetislib.h> /*************************************************************************/ /*! This f...
15,306
29.860887
123
c
null
ParMETIS-main/libparmetis/diffutil.c
/* * Copyright 1997, Regents of the University of Minnesota * * wavefrontK.c * * This file contains code for the initial directed diffusion at the coarsest * graph * * Started 5/19/97, Kirk, George * * $Id: diffutil.c 13946 2013-03-30 15:51:45Z karypis $ * */ #include <parmetislib.h> /******************...
7,949
25.588629
119
c
null
ParMETIS-main/libparmetis/xyzpart.c
/* * Copyright 1997, Regents of the University of Minnesota * * xyzpart.c * * This file contains code that implements a coordinate based partitioning * * Started 7/11/97 * George * * $Id: xyzpart.c 10755 2011-09-15 12:28:34Z karypis $ * */ #include <parmetislib.h> /***************************************...
20,877
29.748159
109
c
null
ParMETIS-main/libparmetis/wspace.c
/* * Copyright 1997, Regents of the University of Minnesota * * memory.c * * This file contains routines that deal with memory allocation * * Started 2/24/96 * George * * $Id: wspace.c 10540 2011-07-11 15:42:13Z karypis $ * */ #include <parmetislib.h> /****************************************************...
4,315
30.05036
85
c
null
ParMETIS-main/libparmetis/timer.c
/* * Copyright 1997, Regents of the University of Minnesota * * timer.c * * This file contain various timing routines * * Started 10/19/96 * George * * $Id: timer.c 10052 2011-06-01 22:29:57Z karypis $ * */ #include <parmetislib.h> /**********************************************************************...
3,030
31.591398
83
c
null
ParMETIS-main/libparmetis/gklib_rename.h
/*! \file * Copyright 1997, Regents of the University of Minnesota * * This file contains header files * * Started 10/2/97 * George * * $Id: gklib_rename.h 10395 2011-06-23 23:28:06Z karypis $ * */ #ifndef _LIBPARMETIS_GKLIB_RENAME_H_ #define _LIBPARMETIS_GKLIB_RENAME_H_ /* gklib.c - generated from the .o...
4,321
34.138211
87
h
null
ParMETIS-main/libparmetis/renumber.c
/* * Copyright 1997, Regents of the University of Minnesota * * mgrsetup.c * * This file contain various graph setting up routines * * Started 10/19/96 * George * * $Id: renumber.c 10531 2011-07-09 21:58:13Z karypis $ * */ #include <parmetislib.h> /******************************************************...
2,130
21.431579
113
c
null
ParMETIS-main/libparmetis/mmetis.c
/* * Copyright 1997, Regents of the University of Minnesota * * mmetis.c * * This is the entry point of ParMETIS_V3_PartMeshKway * * Started 10/19/96 * George * * $Id: mmetis.c 10573 2011-07-14 13:31:54Z karypis $ * */ #include <parmetislib.h> /************************************************************...
2,725
29.629213
89
c
null
ParMETIS-main/libparmetis/akwayfm.c
/* * Copyright 1997, Regents of the University of Minnesota * * makwayfm.c * * This file contains code that performs the k-way refinement * * Started 3/1/96 * George * * $Id: akwayfm.c 10528 2011-07-09 19:47:30Z karypis $ */ #include <parmetislib.h> #define ProperSide(c, from, other) \ (((c) ...
20,868
31.916404
97
c
null
ParMETIS-main/libparmetis/gkmetis.c
/* * Copyright 1997, Regents of the University of Minnesota * * gkmetis.c * * This is the entry point of parallel geometry based partitioning * routines * * Started 10/19/96 * George * * $Id: gkmetis.c 10663 2011-08-04 03:54:49Z karypis $ * */ #include <parmetislib.h> /*********************************...
7,399
27.682171
94
c
null
ParMETIS-main/libparmetis/initpart.c
/* * Copyright 1997, Regents of the University of Minnesota * * initpart.c * * This file contains code that performs log(p) parallel multilevel * recursive bissection * * Started 3/4/96 * George * * $Id: initpart.c 10542 2011-07-11 16:56:22Z karypis $ */ #include <parmetislib.h> #define DEBUG_IPART_ /...
7,758
28.727969
91
c
null
ParMETIS-main/libparmetis/rmetis.c
/* * Copyright 1997, Regents of the University of Minnesota * * rmetis.c * * This is the entry point of the partitioning refinement routine * * Started 10/19/96 * George * * $Id: rmetis.c 10612 2011-07-21 20:09:05Z karypis $ * */ #include <parmetislib.h> /************************************************...
3,045
26.690909
87
c
null
ParMETIS-main/libparmetis/graph.c
/* * Copyright 1997, Regents of the University of Minnesota * * graph.c * * This file contains routines that deal with setting up and freeing the * graph structure. * * Started 2/24/96 * George * * $Id: memory.c 10412 2011-06-25 23:12:57Z karypis $ * */ #include <parmetislib.h> /***********************...
13,813
26.794769
104
c
null
ParMETIS-main/libparmetis/weird.c
/* * Copyright 1997, Regents of the University of Minnesota * * weird.c * * This file contain various graph setting up routines * * Started 10/19/96 * George * * $Id: weird.c 10592 2011-07-16 21:17:53Z karypis $ * */ #include <parmetislib.h> #define RIFN(x) \ if ((x) == NULL) {\ printf("PARMETIS ERR...
13,955
25.838462
120
c
null
ParMETIS-main/libparmetis/csrmatch.c
/* * Copyright 1997, Regents of the University of Minnesota * * csrmatch.c * * This file contains the code that computes matchings * * Started 7/23/97 * George * * $Id: csrmatch.c 10057 2011-06-02 13:44:44Z karypis $ * */ #include <parmetislib.h> /*********************************************************...
1,976
21.988372
75
c
null
ParMETIS-main/libparmetis/wave.c
/* * Copyright 1997, Regents of the University of Minnesota * * wave.c * * This file contains code for directed diffusion at the coarsest graph * * Started 5/19/97, Kirk, George * * $Id: wave.c 13946 2013-03-30 15:51:45Z karypis $ * */ #include <parmetislib.h> /********************************************...
7,851
29.316602
98
c
null
ParMETIS-main/libparmetis/redomylink.c
/* * Copyright 1997, Regents of the University of Minnesota * * redomylink.c * * This file contains code that implements the edge-based FM refinement * * Started 7/23/97 * George * * $Id: redomylink.c 10542 2011-07-11 16:56:22Z karypis $ */ #include <parmetislib.h> #define PE 0 /***************************...
4,522
24.410112
79
c
null
ParMETIS-main/libparmetis/frename.c
/* * frename.c * * This file contains some renaming routines to deal with different * Fortran compilers. * * Started 6/1/98 * George * * $Id: frename.c 13945 2013-03-30 14:38:24Z karypis $ * */ #include <parmetislib.h> /************************************************************************* * Renaming m...
4,633
36.674797
93
c
null
ParMETIS-main/libparmetis/selectq.c
/* * Copyright 1997, Regents of the University of Minnesota * * selectq.c * * This file contains the driving routines for multilevel k-way refinement * * Started 7/28/97 * George * * $Id: selectq.c 10542 2011-07-11 16:56:22Z karypis $ */ #include <parmetislib.h> /*******************************************...
13,136
35.491667
110
c
null
ParMETIS-main/libparmetis/struct.h
/* * Copyright 1997, Regents of the University of Minnesota * * struct.h * * This file contains data structures for ILU routines. * * Started 9/26/95 * George * * $Id: struct.h 10592 2011-07-16 21:17:53Z karypis $ */ /*************************************************************************/ /*! This data ...
10,131
37.378788
101
h
null
ParMETIS-main/libparmetis/stat.c
/* * Copyright 1997, Regents of the University of Minnesota * * stat.c * * This file computes various statistics * * Started 7/25/97 * George * * $Id: stat.c 10578 2011-07-14 18:10:15Z karypis $ * */ #include <parmetislib.h> /************************************************************************* * Th...
5,661
27.59596
112
c
null
ParMETIS-main/libparmetis/remap.c
/* * premap.c * * This file contains code that computes the assignment of processors to * partition numbers so that it will minimize the redistribution cost * * Started 4/16/98 * George * * $Id: remap.c 10361 2011-06-21 19:16:22Z karypis $ * */ #include <parmetislib.h> /************************************...
4,883
24.978723
92
c
null
ParMETIS-main/libparmetis/balancemylink.c
/* * Copyright 1997, Regents of the University of Minnesota * * balancemylink.c * * This file contains code that implements the edge-based FM refinement * * Started 7/23/97 * George * * $Id: balancemylink.c 10542 2011-07-11 16:56:22Z karypis $ */ #include <parmetislib.h> #define PE 0 /*********************...
8,895
24.489971
76
c
null
ParMETIS-main/libparmetis/move.c
/* * Copyright 1997, Regents of the University of Minnesota * * mmove.c * * This file contains functions that move the graph given a partition * * Started 11/22/96 * George * * $Id: move.c 10657 2011-08-03 14:34:35Z karypis $ * */ #include <parmetislib.h> /*************************************************...
10,661
30.175439
118
c
null
ParMETIS-main/libparmetis/node_refine.c
/* * Copyright 1997, Regents of the University of Minnesota * * node_refine.c * * This file contains code that performs the k-way refinement * * Started 3/1/96 * George * * $Id: node_refine.c 10391 2011-06-23 19:00:08Z karypis $ */ #include <parmetislib.h> /************************************************...
23,763
32.236364
117
c
null
ParMETIS-main/libparmetis/mesh.c
/* * Copyright 1997, Regents of the University of Minnesota * * mesh.c * * This file contains routines for constructing the dual graph of a mesh. * Assumes that each processor has at least one mesh element. * * Started 10/19/94 * George * * $Id: mesh.c 10575 2011-07-14 14:46:42Z karypis $ * */ #include <p...
10,199
27.333333
89
c
null
ParMETIS-main/libparmetis/initmsection.c
/* * Copyright 1997, Regents of the University of Minnesota * * initmsection.c * * This file contains code that performs the k-way multisection * * Started 6/3/97 * George * * $Id: initmsection.c 10361 2011-06-21 19:16:22Z karypis $ */ #include <parmetislib.h> #define DEBUG_IPART_ /*********************...
8,484
33.076305
103
c
null
ParMETIS-main/programs/ptest.c
/* * Copyright 1997, Regents of the University of Minnesota * * main.c * * This file contains code for testing teh adaptive partitioning routines * * Started 5/19/97 * George * * $Id: ptest.c,v 1.3 2003/07/22 21:47:20 karypis Exp $ * */ #include <parmetisbin.h> #define NCON 5 /***********************...
15,095
31.746204
122
c
null
ParMETIS-main/programs/proto.h
/* * Copyright 1997, Regents of the University of Minnesota * * proto.h * * This file contains header files * * Started 10/19/95 * George * * $Id: proto.h 10076 2011-06-03 15:36:39Z karypis $ * */ /* pio.c */ void ParallelReadGraph(graph_t *, char *, MPI_Comm); void Mc_ParallelWriteGraph(ctrl_t *, graph_t...
1,553
30.714286
122
h
null
ParMETIS-main/programs/pometis.c
/* * Copyright 1997, Regents of the University of Minnesota * * pometis.c * * This is the entry point of the ILUT * * Started 10/19/95 * George * * $Id: parmetis.c,v 1.5 2003/07/30 21:18:54 karypis Exp $ * */ #include <parmetisbin.h> /***********************************************************************...
3,225
26.338983
121
c
null
ParMETIS-main/programs/mtest.c
/* * Copyright 1997, Regents of the University of Minnesota * * main.c * * This file contains code for testing teh adaptive partitioning routines * * Started 5/19/97 * George * * $Id: mtest.c,v 1.3 2003/07/25 14:31:47 karypis Exp $ * */ #include <parmetisbin.h> /*****************************************...
2,701
25.752475
108
c
null
ParMETIS-main/include/parmetis.h
/* * Copyright 1997-2003, Regents of the University of Minnesota * * parmetis.h * * This file contains function prototypes and constrant definitions for * ParMETIS * * Started 7/21/03 * George * */ #ifndef __parmetis_h__ #define __parmetis_h__ #include <mpi.h> #include <metis.h> #ifndef _MSC_VER #define ...
6,414
36.95858
93
h
filebench
filebench-master/aslr.c
/* * mmap() call with MAP_FIXED flag does not guarantee that the allocated memory * region is not overlapped with the previously existant mappings. According to * POSIX, old mappings are silently discarded. There is no generic way to * detect overlap. If a silent overlap occurs, strange runtime errors might * happ...
1,777
33.862745
79
c
filebench
filebench-master/eventgen.c
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolar...
4,841
27.650888
79
c
filebench
filebench-master/eventgen.h
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolar...
1,115
30
70
h
filebench
filebench-master/fb_avl.h
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolar...
12,596
29.575243
80
h
filebench
filebench-master/fb_cvar.h
/* * fb_cvar.h * * Include file for code using custom variables. * * @Author Santhosh Kumar Koundinya (santhosh@fsl.cs.sunysb.edu) */ #ifndef _FB_CVAR_H #define _FB_CVAR_H #include <stdint.h> #include <sys/types.h> /* Function (symbol) names within custom variable libraries. */ #define FB_CVAR_MODULE_INIT "c...
3,054
34.114943
79
h
filebench
filebench-master/fb_localfs.c
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolar...
16,441
22.96793
79
c
filebench
filebench-master/fb_random.c
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolar...
9,001
23.198925
79
c
filebench
filebench-master/fb_random.h
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolar...
2,906
26.685714
73
h