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 |
|---|---|---|---|---|---|---|
KaMIS | KaMIS-master/wmis/extern/KaHIP/lib/partition/uncoarsening/refinement/quotient_graph_refinement/quotient_graph_scheduling/active_block_quotient_graph_scheduler.h | /******************************************************************************
* active_block_quotient_graph_scheduler.h
* *
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* Christian Schulz <christian.schulz.phone@gmail.com>
****************************************************************************... | 3,555 | 37.652174 | 123 | h |
KaMIS | KaMIS-master/wmis/extern/KaHIP/lib/partition/uncoarsening/refinement/quotient_graph_refinement/quotient_graph_scheduling/quotient_graph_scheduling.h | /******************************************************************************
* quotient_graph_scheduling.h
* *
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* Christian Schulz <christian.schulz.phone@gmail.com>
*****************************************************************************/
#ifndef ... | 1,279 | 31.820513 | 109 | h |
KaMIS | KaMIS-master/wmis/extern/KaHIP/lib/partition/uncoarsening/refinement/cycle_improvements/augmented_Qgraph_fabric.h | /******************************************************************************
* augmented_Qgraph_fabric.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* Christian Schulz <christian.schulz.phone@gmail.com>
*****************************************************************************/
#ifndef AUGM... | 18,964 | 44.809179 | 119 | h |
KaMIS | KaMIS-master/wmis/extern/KaHIP/lib/partition/uncoarsening/refinement/cycle_improvements/greedy_neg_cycle.h | /******************************************************************************
* greedy_neg_cycle.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* Christian Schulz <christian.schulz.phone@gmail.com>
*****************************************************************************/
#ifndef GREEDY_NEG_... | 12,325 | 41.947735 | 119 | h |
KaMIS | KaMIS-master/wmis/extern/KaHIP/lib/partition/uncoarsening/refinement/cycle_improvements/problem_factory.h | /******************************************************************************
* problem_factory.h
* *
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* Christian Schulz <christian.schulz.phone@gmail.com>
*****************************************************************************/
#ifndef PROBLEM_FA... | 6,612 | 44.923611 | 129 | h |
KaMIS | KaMIS-master/wmis/extern/KaHIP/lib/partition/uncoarsening/refinement/cycle_improvements/cycle_refinement.h | /******************************************************************************
* cycle_refinement.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* Christian Schulz <christian.schulz.phone@gmail.com>
*****************************************************************************/
#ifndef CYCLE_REFIN... | 1,846 | 37.479167 | 88 | h |
KaMIS | KaMIS-master/wmis/extern/KaHIP/lib/partition/uncoarsening/refinement/label_propagation_refinement/label_propagation_refinement.h | /******************************************************************************
* label_propagation_refinement.h
* *
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* Christian Schulz <christian.schulz.phone@gmail.com>
*****************************************************************************/
#if... | 912 | 32.814815 | 79 | h |
KaMIS | KaMIS-master/wmis/extern/KaHIP/lib/partition/uncoarsening/refinement/node_separators/greedy_ns_local_search.h | //
// Author: Christian Schulz <christian.schulz.phone@gmail.com>
//
#ifndef GREEDY_NS_LOCAL_SEARCH_P9KLE4NH
#define GREEDY_NS_LOCAL_SEARCH_P9KLE4NH
#include "definitions.h"
#include "partition_config.h"
#include "data_structure/graph_access.h"
#include "data_structure/priority_queues/maxNodeHeap.h"
class greedy_ns... | 3,779 | 37.181818 | 124 | h |
KaMIS | KaMIS-master/wmis/extern/KaHIP/lib/partition/uncoarsening/refinement/node_separators/fm_ns_local_search.h | //
// Author: Christian Schulz <christian.schulz.phone@gmail.com>
//
#ifndef FM_NS_LOCAL_SEARCH_P621XWW8
#define FM_NS_LOCAL_SEARCH_P621XWW8
#include "uncoarsening/refinement/quotient_graph_refinement/partial_boundary.h"
#include "data_structure/priority_queues/maxNodeHeap.h"
#include "definitions.h"
#include "parti... | 8,299 | 40.089109 | 130 | h |
KaMIS | KaMIS-master/wmis/extern/KaHIP/lib/partition/uncoarsening/refinement/node_separators/localized_fm_ns_local_search.h | //
// Author: Christian Schulz <christian.schulz.phone@gmail.com>
//
#ifndef LOCALIZED_FM_NS_LOCAL_SEARCH_PY14MVLH
#define LOCALIZED_FM_NS_LOCAL_SEARCH_PY14MVLH
#include "data_structure/priority_queues/maxNodeHeap.h"
#include "definitions.h"
#include "partition_config.h"
#include "data_structure/graph_access.h"
#inc... | 9,130 | 42.688995 | 130 | h |
KaMIS | KaMIS-master/wmis/extern/KaHIP/lib/partition/uncoarsening/refinement/kway_graph_refinement/kway_graph_refinement_core.h | /******************************************************************************
* kway_graph_refinement_core.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* Christian Schulz <christian.schulz.phone@gmail.com>
*****************************************************************************/
#ifndef K... | 7,225 | 47.496644 | 129 | h |
KaMIS | KaMIS-master/wmis/extern/KaHIP/lib/partition/uncoarsening/refinement/kway_graph_refinement/kway_graph_refinement_commons.h | /******************************************************************************
* kway_graph_refinement_commons.h
* *
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* Christian Schulz <christian.schulz.phone@gmail.com>
*****************************************************************************/
#ifn... | 7,233 | 39.870056 | 122 | h |
KaMIS | KaMIS-master/wmis/extern/KaHIP/lib/partition/uncoarsening/refinement/kway_graph_refinement/kway_graph_refinement.h | /******************************************************************************
* kway_graph_refinement.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* Christian Schulz <christian.schulz.phone@gmail.com>
*****************************************************************************/
#ifndef KWAY_G... | 1,445 | 38.081081 | 104 | h |
KaMIS | KaMIS-master/wmis/extern/KaHIP/lib/partition/uncoarsening/refinement/kway_graph_refinement/multitry_kway_fm.h | /******************************************************************************
* multitry_kway_fm.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* Christian Schulz <christian.schulz.phone@gmail.com>
*****************************************************************************/
#ifndef MULTITRY_KW... | 2,015 | 41.893617 | 115 | h |
KaMIS | KaMIS-master/wmis/extern/KaHIP/lib/partition/uncoarsening/refinement/kway_graph_refinement/kway_stop_rule.h | /******************************************************************************
* kway_stop_rule.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* Christian Schulz <christian.schulz.phone@gmail.com>
*****************************************************************************/
#ifndef KWAY_STOP_RUL... | 3,780 | 37.979381 | 130 | h |
KaMIS | KaMIS-master/wmis/extern/KaHIP/lib/spac/spac.h | /******************************************************************************
* spac.h
* *
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* Author: Seemaier, Daniel Max Manfred <daniel.seemaier@student.kit.edu>
*****************************************************************************/
#ifndef KAH... | 933 | 23.578947 | 82 | h |
KaMIS | KaMIS-master/wmis/extern/KaHIP/lib/data_structure/flow_graph.h | /******************************************************************************
* flow_graph.h
* *
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* Christian Schulz <christian.schulz.phone@gmail.com>
*****************************************************************************/
#ifndef FLOW_GRAPH_636S... | 3,744 | 28.96 | 121 | h |
KaMIS | KaMIS-master/wmis/extern/KaHIP/lib/data_structure/union_find.h | /******************************************************************************
* union_find.h
* *
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* Christian Schulz <christian.schulz.phone@gmail.com>
*****************************************************************************/
#ifndef UNION_FIND_H
#d... | 2,326 | 34.257576 | 99 | h |
KaMIS | KaMIS-master/wmis/extern/KaHIP/lib/data_structure/graph_hierarchy.h | /******************************************************************************
* graph_hierarchy.h
* *
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* Christian Schulz <christian.schulz.phone@gmail.com>
*****************************************************************************/
#ifndef GRAPH_HIER... | 1,478 | 31.866667 | 80 | h |
KaMIS | KaMIS-master/wmis/extern/KaHIP/lib/data_structure/matrix/matrix.h | /******************************************************************************
* matrix.h
* *
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* Christian Schulz <christian.schulz.phone@gmail.com>
*****************************************************************************/
#ifndef MATRIX_BHHZ9T7P
#de... | 777 | 28.923077 | 79 | h |
KaMIS | KaMIS-master/wmis/extern/KaHIP/lib/data_structure/matrix/online_distance_matrix.h | /******************************************************************************
* online_distance_matrix.h
* *
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* Christian Schulz <christian.schulz.phone@gmail.com>
*****************************************************************************/
#ifndef ONL... | 2,513 | 33.438356 | 90 | h |
KaMIS | KaMIS-master/wmis/extern/KaHIP/lib/data_structure/matrix/normal_matrix.h | /******************************************************************************
* normal_matrix.h
* *
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* Christian Schulz <christian.schulz.phone@gmail.com>
*****************************************************************************/
#ifndef NORMAL_MATRI... | 2,312 | 36.306452 | 122 | h |
KaMIS | KaMIS-master/wmis/extern/KaHIP/lib/data_structure/priority_queues/maxNodeHeap.h | /******************************************************************************
* maxNodeHeap.h
* *
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* Christian Schulz <christian.schulz.phone@gmail.com>
*****************************************************************************/
#ifndef MAX_NODE_HEAP_3... | 9,902 | 32.683673 | 118 | h |
KaMIS | KaMIS-master/wmis/extern/KaHIP/lib/data_structure/priority_queues/bucket_pq.h | /******************************************************************************
* bucket_pq.h
* *
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* Christian Schulz <christian.schulz.phone@gmail.com>
*****************************************************************************/
#ifndef BUCKET_PQ_EM8YJPA... | 4,807 | 29.43038 | 106 | h |
KaMIS | KaMIS-master/wmis/extern/KaHIP/lib/data_structure/priority_queues/priority_queue_interface.h | /******************************************************************************
* priority_queue_interface.h
* *
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* Christian Schulz <christian.schulz.phone@gmail.com>
*****************************************************************************/
#ifndef PR... | 1,467 | 34.804878 | 79 | h |
KaMIS | KaMIS-master/wmis/extern/KaHIP/lib/mapping/communication_graph_search_space.h | /******************************************************************************
* communication_graph_search_space.h
* *
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* Christian Schulz <christian.schulz.phone@gmail.com>
*****************************************************************************/
#i... | 5,698 | 42.174242 | 113 | h |
KaMIS | KaMIS-master/wmis/extern/KaHIP/lib/mapping/full_search_space.h | /******************************************************************************
* full_search_space.h
* *
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* Christian Schulz <christian.schulz.phone@gmail.com>
*****************************************************************************/
#ifndef FULL_SEAR... | 1,754 | 29.789474 | 79 | h |
KaMIS | KaMIS-master/wmis/extern/KaHIP/lib/mapping/full_search_space_pruned.h | /******************************************************************************
* full_search_space_pruned.h
* *
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* Christian Schulz <christian.schulz.phone@gmail.com>
*****************************************************************************/
#ifndef FU... | 2,781 | 37.638889 | 120 | h |
KaMIS | KaMIS-master/wmis/extern/KaHIP/lib/mapping/construct_distance_matrix.h | /******************************************************************************
* construct_distance_matrix.h
* *
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* Christian Schulz <christian.schulz.phone@gmail.com>
*****************************************************************************/
#ifndef C... | 4,161 | 42.354167 | 113 | h |
KaMIS | KaMIS-master/wmis/extern/KaHIP/lib/mapping/mapping_algorithms.h | /******************************************************************************
* mapping_algorithms.h
* *
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
* Christian Schulz <christian.schulz.phone@gmail.com>
*****************************************************************************/
#ifndef MAPPING_... | 978 | 29.59375 | 125 | h |
KaMIS | KaMIS-master/wmis/app/configuration_mis.h | /**
* configuration.h
* Purpose: Contains preset configurations for the evolutionary algorithms.
*
*****************************************************************************/
#ifndef _CONFIGURATION_MIS_H_
#define _CONFIGURATION_MIS_H_
#include "definitions.h"
#include "mis_config.h"
class configuration_mis {
... | 1,536 | 28 | 92 | h |
KaMIS | KaMIS-master/wmis/lib/tools/mis_log.h | /******************************************************************************
* mis_log.h
*
*****************************************************************************/
#ifndef _MIS_LOG_H_
#define _MIS_LOG_H_
#include <sstream>
#include "timer.h"
#include "mis_config.h"
#include "data_structure/graph_access.h... | 3,254 | 22.586957 | 109 | h |
KaMIS | KaMIS-master/wmis/lib/mis/initial_mis/greedy_mis.h | /**
* greedy_mis.h
* Purpose: Compute an initial solution (maximum independent set)
* by using a greedy algorithm, that always picks the node
* with the smallest residual degree.
*
* The original code from Andrade et al. was kindly provided by Renato Werneck.
*
*******************************... | 1,407 | 25.566038 | 79 | h |
KaMIS | KaMIS-master/wmis/lib/mis/initial_mis/greedy_vertex.h | /**
* greedy_vertex.h
* Purpose: Compute an initial solution (maximum independent set) by
* building a minimal vertex cover.
*
*****************************************************************************/
#ifndef _GREEDY_VERTEX_H_
#define _GREEDY_VERTEX_H_
#include "initial_mis.h"
#include "data_struc... | 1,293 | 24.88 | 79 | h |
KaMIS | KaMIS-master/wmis/lib/mis/initial_mis/initial_mis.h | /**
* initial_mis.h
* Purpose: Interface for different initial solution algorithms.
*
*****************************************************************************/
#ifndef _INITIAL_MIS_H_
#define _INITIAL_MIS_H_
#include "data_structure/graph_access.h"
class initial_mis {
public:
/**
* Defa... | 782 | 20.75 | 79 | h |
KaMIS | KaMIS-master/wmis/lib/mis/initial_mis/random_mis.h | /**
* random_mis.h
* Purpose: Compute an initial solution (maximum independent set)
* by using a simple random selection of vertices.
*
*****************************************************************************/
#ifndef _RANDOM_MIS_H_
#define _RANDOM_MIS_H_
#include "initial_mis.h"
#include "data_st... | 1,204 | 23.591837 | 79 | h |
KaMIS | KaMIS-master/wmis/lib/mis/ils/ils.h | /**
* ils.h
* Purpose: Perform the iterated local search (ILS) as described by Andrade et al.
*
* The original code from Andrade et al. was kindly provided by Renato Werneck.
*
*****************************************************************************/
#ifndef _ILS_H_
#define _ILS_H_
#include <vector>
#incl... | 2,813 | 27.424242 | 100 | h |
KaMIS | KaMIS-master/wmis/lib/mis/ils/local_search.h | /*
* local_search.h
* Purpose: Apply the local search algorithm to a maximum independent set.
*
* The original code from Andrade et. al. was kindly provided by Renato Werneck.
*
*****************************************************************************/
#ifndef _DIRECT_LOCAL_H_
#define _DIRECT_LOCAL_H_
#incl... | 7,109 | 29.913043 | 118 | h |
KaMIS | KaMIS-master/wmis/lib/data_structure/mis_permutation.h | /**
* mis_permutation.h
* Purpose: Data structure used for the local search algorithm.
* The structure itself is a permutation of all nodes divided into three blocks.
* The first block contains the solution nodes.
* The second block contains free nodes.
* The third block contai... | 8,101 | 28.786765 | 89 | h |
KaMIS | KaMIS-master/wmis/lib/data_structure/candidate_list.h | /**
* candidate_list.h
* Purpose: Represents the list used to store the candidates for the local search.
*
* The original code from Andrade et al. was kindly provided by Renato Werneck.
*
*****************************************************************************/
#ifndef _CANDIDATE_LIST_H_
#define _CANDIDATE_... | 3,099 | 22.308271 | 82 | h |
KaMIS | KaMIS-master/wmis/lib/data_structure/array_set.h | /**
* array_set.h
* Purpose: Dynamic array representation for sets with a given range of elements.
* Lookups can be performed in constant time using a dedicated array.
*
* The original code was kindly provided by Darren Strash.
*
**************************************************************************... | 6,859 | 27.702929 | 99 | h |
KaMIS | KaMIS-master/wmis/lib/data_structure/sparse_array_set.h | /**
* sparse_array_set.h
* Purpose: Dynamic array representation for sparse sets.
* Lookups may need linear time.
*
* The original code was kindly provided by Darren Strash.
*****************************************************************************/
#ifndef _SPARSE_ARRAY_SET_H
#define _SPARSE_ARRAY_S... | 5,608 | 26.228155 | 92 | h |
KaMIS | KaMIS-master/wmis/lib/data_structure/sized_vector.h | /**
* sized_vector.h
* Purpose: Presized vector which allows fast clearing
*
*****************************************************************************/
#ifndef _SIZED_VECTOR_H
#define _SIZED_VECTOR_H
#include <vector>
template<class T>
class sized_vector {
private:
std::vector<T> data;
size_t counter = 0;
... | 2,359 | 23.842105 | 82 | h |
KaMIS | KaMIS-master/wmis/lib/data_structure/dynamic_graph.h | /**
* dynamic_graph.h
* Purpose: Dynamic graph datastructure which allows hiding nodes and restoring
* them in reverse order.
*
*****************************************************************************/
#ifndef _DYNAMIC_GRAPH_H
#define _DYNAMIC_GRAPH_H
#include <vector>
#include <algorithm>
#include "gra... | 3,827 | 26.73913 | 118 | h |
KaMIS | KaMIS-master/wmis/lib/data_structure/priority_queues/bucket_array.h | /**
* bucket_array.h
* Purpose: A bucket priority queue used for building initial maximum independent sets.
*
* The original code from Andrade et al. was kindly provided by Renato Werneck.
*
*****************************************************************************/
#ifndef _BUCKET_ARRAY_H_
#define _BUCKET_AR... | 3,033 | 26.089286 | 87 | h |
KaMIS | KaMIS-master/extern/argtable3-3.0.3/argtable3.h | /*******************************************************************************
* This file is part of the argtable3 library.
*
* Copyright (C) 1998-2001,2003-2011,2013 Stewart Heitmann
* <sheitmann@users.sourceforge.net>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or with... | 11,087 | 35.235294 | 119 | h |
KaMIS | KaMIS-master/extern/argtable3-3.0.3/examples/testargtable3.c | #include "argtable3.h"
/* global arg_xxx structs */
struct arg_lit *a, *b, *c, *verb, *help, *version;
struct arg_int *scal;
struct arg_file *o, *file;
struct arg_end *end;
int main(int argc, char *argv[])
{
/* the global arg_xxx structs are initialised within the argtable */
void *argtable[] = {
help... | 1,969 | 32.389831 | 77 | c |
KaMIS | KaMIS-master/extern/argtable3-3.0.3/examples/ls.c | /*******************************************************************************
* Example source code for using the argtable3 library to implement:
*
* ls [-aAbBcCdDfFgGhHiklLmnNopqQrRsStuUvxX1] [--author]
* [--block-size=SIZE] [--color=[WHEN]] [--format=WORD] [--full-time]
* [--si] [--dereference-command-... | 16,761 | 50.259939 | 118 | c |
KaMIS | KaMIS-master/extern/argtable3-3.0.3/examples/uname.c | /*******************************************************************************
* Example source code for using the argtable3 library to implement:
*
* uname [-asnrvmpio] [--help] [--version]
*
* This file is part of the argtable3 library.
*
* Copyright (C) 1998-2001,2003-2011,2013 Stewart Heitmann
* <sh... | 5,974 | 42.297101 | 129 | c |
KaMIS | KaMIS-master/extern/argtable3-3.0.3/examples/multisyntax.c | /*******************************************************************************
* Example source code for using the argtable3 library to implement
* a multi-syntax command line argument program
*
* usage 1: multisyntax [-nvR] insert <file> [<file>]... [-o <output>]
* usage 2: multisyntax [-nv] remove <fi... | 10,404 | 42.354167 | 101 | c |
KaMIS | KaMIS-master/extern/argtable3-3.0.3/examples/myprog_C89.c | /*******************************************************************************
* This example source code is an alternate version of myprog.c
* that adheres to ansi C89 standards rather than ansi C99.
* The only difference being that C89 does not permit the argtable array
* to be statically initialized with the c... | 6,858 | 40.319277 | 112 | c |
KaMIS | KaMIS-master/extern/argtable3-3.0.3/examples/echo.c | /*******************************************************************************
* Example source code for using the argtable3 library to implement:
*
* echo [-neE] [--help] [--version] [STRING]...
*
* This file is part of the argtable3 library.
*
* Copyright (C) 1998-2001,2003-2011,2013 Stewart Heitmann
... | 5,558 | 42.093023 | 130 | c |
KaMIS | KaMIS-master/extern/argtable3-3.0.3/examples/myprog.c | /*******************************************************************************
* Example source code for using the argtable3 library to implement:
*
* myprog [-lRv] [-k <int>] [-D MACRO]... [-o <output>] [--help]
* [--version] <file> [<file>]...
*
* This file is part of the argtable3 library.
*
*... | 6,311 | 41.648649 | 112 | c |
KaMIS | KaMIS-master/extern/argtable3-3.0.3/tests/testargrex.c | /*******************************************************************************
* This file is part of the argtable3 library.
*
* Copyright (C) 2013-2014 Tom G. Huang
* <tomghuang@gmail.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permit... | 13,187 | 41.134185 | 112 | c |
KaMIS | KaMIS-master/extern/argtable3-3.0.3/tests/testargstr.c | /*******************************************************************************
* This file is part of the argtable3 library.
*
* Copyright (C) 2013-2014 Tom G. Huang
* <tomghuang@gmail.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permit... | 22,381 | 39.183124 | 114 | c |
KaMIS | KaMIS-master/extern/argtable3-3.0.3/tests/testargdate.c | /*******************************************************************************
* This file is part of the argtable3 library.
*
* Copyright (C) 2013-2014 Tom G. Huang
* <tomghuang@gmail.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permit... | 15,949 | 39.792839 | 110 | c |
KaMIS | KaMIS-master/extern/argtable3-3.0.3/tests/testall.c | #include <stdio.h>
#include "CuTest.h"
CuSuite* get_arglit_testsuite();
CuSuite* get_argstr_testsuite();
CuSuite* get_argint_testsuite();
CuSuite* get_argdate_testsuite();
CuSuite* get_argdbl_testsuite();
CuSuite* get_argfile_testsuite();
CuSuite* get_argrex_testsuite();
void RunAllTests(void)
{
CuString *output = ... | 883 | 22.891892 | 49 | c |
KaMIS | KaMIS-master/extern/argtable3-3.0.3/tests/testarglit.c | /*******************************************************************************
* This file is part of the argtable3 library.
*
* Copyright (C) 2013-2014 Tom G. Huang
* <tomghuang@gmail.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permit... | 21,822 | 37.556537 | 94 | c |
KaMIS | KaMIS-master/extern/argtable3-3.0.3/tests/CuTest.c | #include <assert.h>
#include <setjmp.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include "CuTest.h"
/*-------------------------------------------------------------------------*
* CuStr
*-------------------------------------------------------------------------*/
char* CuStrAlloc... | 8,103 | 22.835294 | 99 | c |
KaMIS | KaMIS-master/extern/argtable3-3.0.3/tests/testargdbl.c | /*******************************************************************************
* This file is part of the argtable3 library.
*
* Copyright (C) 2013-2014 Tom G. Huang
* <tomghuang@gmail.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permit... | 18,636 | 38.235789 | 97 | c |
KaMIS | KaMIS-master/extern/argtable3-3.0.3/tests/CuTest.h | #ifndef CU_TEST_H
#define CU_TEST_H
#include <setjmp.h>
#include <stdarg.h>
#define CUTEST_VERSION "CuTest 1.5"
/* CuString */
char* CuStrAlloc(int size);
char* CuStrCopy(const char* old);
#define CU_ALLOC(TYPE) ((TYPE*) malloc(sizeof(TYPE)))
#define HUGE_STRING_LEN 8192
#define STRING_MAX 256
#define STRING_I... | 4,097 | 34.025641 | 115 | h |
KaMIS | KaMIS-master/extern/KaHIP/interface/kaHIP_interface.h | /******************************************************************************
* kaffpa_interface.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef KAFFPA_INTERFACE_RYEEZ6WJ
#define KAFFPA_INTERFACE_RYEEZ6WJ
#... | 1,525 | 30.142857 | 81 | h |
KaMIS | KaMIS-master/extern/KaHIP/app/configuration.h | /******************************************************************************
* configuration.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef CONFIGURATION_3APG5V7Z
#define CONFIGURATION_3APG5V7Z
#include "... | 18,484 | 54.014881 | 111 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/definitions.h | /******************************************************************************
* definitions.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef DEFINITIONS_H_CHR
#define DEFINITIONS_H_CHR
#include <limits>
#incl... | 3,918 | 23.647799 | 95 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/tools/timer.h | /******************************************************************************
* timer.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef TIMER_9KPDEP
#define TIMER_9KPDEP
#include <sys/time.h>
#include <sys/res... | 1,106 | 25.357143 | 88 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/tools/macros_assertions.h | /******************************************************************************
* macros_assertions.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef ASSERT_H
#define ASSERT_H
#include <cassert>
#include <cmath>... | 6,270 | 33.456044 | 93 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/tools/graph_extractor.h | /******************************************************************************
* graph_extractor.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef GRAPH_EXTRACTOR_PDUTVIEF
#define GRAPH_EXTRACTOR_PDUTVIEF
#incl... | 1,844 | 40 | 81 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/tools/misc.h | /******************************************************************************
* misc.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef MISC_C6QUUWLI
#define MISC_C6QUUWLI
#include "data_structure/graph_access.... | 554 | 22.125 | 82 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/tools/random_functions.h | /******************************************************************************
* random_functions.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef RANDOM_FUNCTIONS_RMEPKWYT
#define RANDOM_FUNCTIONS_RMEPKWYT
#i... | 7,687 | 45.313253 | 112 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/tools/quality_metrics.h | /******************************************************************************
* quality_metrics.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef QUALITY_METRICS_10HC2I5M
#define QUALITY_METRICS_10HC2I5M
#inc... | 1,160 | 35.28125 | 100 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/tools/graph_communication.h | /******************************************************************************
* graph_communication.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef GRAPH_COMMUNICATION_J5Q2P80G
#define GRAPH_COMMUNICATION_J5Q... | 611 | 24.5 | 79 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/tools/partition_snapshooter.h | /******************************************************************************
* partition_snapshooter.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef PARTITION_SNAPSHOOTER_LGCUMS2I
#define PARTITION_SNAPSHOOT... | 1,313 | 32.692308 | 94 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/tools/graph_partition_assertions.h | /******************************************************************************
* graph_partition_assertions.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef GRAPH_PARTITION_ASSERTIONS_609QZZDM
#define GRAPH_PAR... | 1,410 | 33.414634 | 111 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/tools/macros_common.h | /******************************************************************************
* macros_common.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef MACROS_COMMON_H
#define MACROS_COMMON_H
// If DEBU... | 1,067 | 22.217391 | 79 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/io/graph_io.h | /******************************************************************************
* graph_io.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef GRAPHIO_H_
#define GRAPHIO_H_
#include <fstream>
#include <iostream>
#... | 2,591 | 26.284211 | 93 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/parallel_mh/parallel_mh_async.h | /******************************************************************************
* parallel_mh_async.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef PARALLEL_MH_ASYNC_HF106Y0G
#define PARALLEL_MH_ASYNC_HF106Y0G
... | 1,505 | 30.375 | 108 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/parallel_mh/population.h | /******************************************************************************
* population.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef POPULATION_AEFH46G6
#define POPULATION_AEFH46G6
#include <sstream>
... | 3,066 | 29.67 | 93 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/parallel_mh/diversifyer.h | /******************************************************************************
* diversifyer.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef DIVERSIFYER_AZQIF42R
#define DIVERSIFYER_AZQIF42R
#include "random_... | 1,280 | 35.6 | 129 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/parallel_mh/exchange/exchanger.h | /******************************************************************************
* exchanger.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef EXCHANGER_YPB6QKNL
#define EXCHANGER_YPB6QKNL
#include "data_structur... | 1,607 | 32.5 | 115 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/parallel_mh/galinier_combine/gal_combine.h | /******************************************************************************
* gal_combine.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef GAL_COMBINE_XDMU5YB7
#define GAL_COMBINE_XDMU5YB7
#include "partiti... | 599 | 24 | 79 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/parallel_mh/galinier_combine/construct_partition.h | /******************************************************************************
* construct_partition.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef CONSTRUCT_PARTITION_E86DQF5S
#define CONSTRUCT_PARTITION_E86... | 845 | 30.333333 | 92 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/algorithms/topological_sort.h | /******************************************************************************
* topological_sort.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef TOPOLOGICAL_SORT_GB9FC2CZ
#define TOPOLOGICAL_SORT_GB9FC2CZ
#i... | 888 | 26.78125 | 79 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/algorithms/cycle_search.h | /******************************************************************************
* cycle_search.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef CYCLE_SEARCH_IO23844C
#define CYCLE_SEARCH_IO23844C
#include "data... | 1,776 | 38.488889 | 111 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/algorithms/push_relabel.h | /******************************************************************************
* push_relabel.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning
*
*****************************************************************************/
#ifndef MAX_FLOW_MIN_CUT_Q5EJKHNS
#define MAX_FLOW_MIN_CUT_Q5EJKHNS
#incl... | 9,555 | 38.325103 | 114 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/algorithms/strongly_connected_components.h | /******************************************************************************
* strongly_connected_components.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef STRONGLY_CONNECTED_COMPONENTS_7ZJ8233R
#define STR... | 1,101 | 28 | 85 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/partition/graph_partitioner.h | /******************************************************************************
* graph_partitioner.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef PARTITION_OL9XTLU4
#define PARTITION_OL9XTLU4
#include "coars... | 1,286 | 33.783784 | 106 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/partition/partition_config.h | /******************************************************************************
* partition_config.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef PARTITION_CONFIG_DI1ES4T0
#define PARTITION_CONFIG_DI1ES4T0
#i... | 8,121 | 23.172619 | 117 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/partition/w_cycles/wcycle_partitioner.h | /******************************************************************************
* wcycle_partitioner.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef WCYCLE_PARTITIONER_EPNDQMK
#define WCYCLE_PARTITIONER_EPNDQMK... | 1,347 | 35.432432 | 88 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/partition/initial_partitioning/bipartition.h | /******************************************************************************
* bipartition.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef BIPARTITION_7I4IR31Y
#define BIPARTITION_7I4IR31Y
#include "initial... | 2,240 | 37.637931 | 106 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/partition/initial_partitioning/initial_partitioning.h | /******************************************************************************
* initial_partitioning.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef INITIAL_PARTITIONING_D7VA0XO9
#define INITIAL_PARTITIONING_... | 784 | 31.708333 | 103 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/partition/initial_partitioning/initial_partition_bipartition.h | /******************************************************************************
* initial_partition_bipartition.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef INITIAL_PARTITION_BIPARTITION_HMA7329W
#define INI... | 1,143 | 34.75 | 129 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/partition/initial_partitioning/initial_partitioner.h | /******************************************************************************
* initial_partitioner.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef INITIAL_PARTITIONER_TJKC6RWY
#define INITIAL_PARTITIONER_TJK... | 1,288 | 35.828571 | 106 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/partition/initial_partitioning/initial_refinement/initial_refinement.h | /******************************************************************************
* initial_refinement.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef INITIAL_REFINEMENT_LDIIF5CG
#define INITIAL_REFINEMENT_LDIIF5... | 716 | 26.576923 | 79 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/partition/coarsening/coarsening.h | /******************************************************************************
* coarsening.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef COARSENING_UU97ZBTR
#define COARSENING_UU97ZBTR
#include "data_struc... | 670 | 26.958333 | 111 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/partition/coarsening/coarsening_configurator.h | /******************************************************************************
* coarsening_configurator.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef COARSENING_CONFIGURATOR_8UJ78WYS
#define COARSENING_CONF... | 2,487 | 39.786885 | 121 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/partition/coarsening/contraction.h | /******************************************************************************
* contraction.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef CONTRACTION_VIXZ9K0F
#define CONTRACTION_VIXZ9K0F
#include "data_s... | 3,840 | 43.149425 | 107 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/partition/coarsening/clustering/size_constraint_label_propagation.h | /******************************************************************************
* constraint_label_propagation.cpp
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef SIZE_CONSTRAINT_LABEL_PROPAGATION_7SVLBKKT
#defin... | 4,237 | 38.981132 | 87 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/partition/coarsening/clustering/node_ordering.h | /******************************************************************************
* node_ordering.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef NODE_ORDERING_HM1YMLB1
#define NODE_ORDERING_HM1YMLB1
#include <... | 1,880 | 33.833333 | 123 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/partition/coarsening/stop_rules/stop_rules.h | /******************************************************************************
* stop_rules.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef STOP_RULES_SZ45JQS6
#define STOP_RULES_SZ45JQS6
#include <math.h>
#... | 3,923 | 40.305263 | 131 | h |
KaMIS | KaMIS-master/extern/KaHIP/lib/partition/coarsening/matching/random_matching.h | /******************************************************************************
* random_matching.h
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#ifndef RANDOM_MATCHING_D5YDSMDW
#define RANDOM_MATCHING_D5YDSMDW
#incl... | 877 | 31.518519 | 79 | h |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.