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
daala
daala-master/src/laplace_decoder.c
/*Daala video codec Copyright (c) 2012 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list o...
10,615
30.408284
129
c
daala
daala-master/src/entcode.h
/*Daala video codec Copyright (c) 2001-2013 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this l...
5,642
46.025
79
h
daala
daala-master/src/zigzag8.c
/* This file is automatically generated. */ #include "odintrin.h" OD_EXTERN const unsigned char OD_ZIGZAG8[48][2] = { { 4, 0 }, { 5, 0 }, { 4, 1 }, { 6, 0 }, { 5, 1 }, { 7, 0 }, { 6, 1 }, { 7, 1 }, { 0, 4 }, { 0, 5 }, { 1, 4 }, { 0, 6 }, { 1, 5 }, { 0, 7 }, { 1, 6 }, { 1, 7 }, { 2, 4 }, { 4, 2 }, { 2, 5 }, { ...
624
35.764706
51
c
daala
daala-master/src/tf.h
/*Daala video codec Copyright (c) 2013 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list o...
2,768
38.557143
78
h
daala
daala-master/src/infoenc.c
/*Daala video codec Copyright (c) 2006-2010 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this l...
4,919
40
78
c
daala
daala-master/src/zigzag16.c
/* This file is automatically generated. */ #include "odintrin.h" OD_EXTERN const unsigned char OD_ZIGZAG16[192][2] = { { 8, 0 }, { 9, 0 }, { 8, 1 }, { 10, 0 }, { 9, 1 }, { 11, 0 }, { 8, 2 }, { 10, 1 }, { 12, 0 }, { 8, 3 }, { 9, 2 }, { 13, 0 }, { 11, 1 }, { 9, 3 }, { 10, 2 }, { 14, 0 }, { 15, 0 }, { 12, 1 }, ...
2,330
42.981132
53
c
daala
daala-master/src/accounting.c
/*Daala video codec Copyright (c) 2013 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list o...
4,092
32.276423
78
c
daala
daala-master/src/x86/x86int.h
/*Daala video codec Copyright (c) 2006-2010 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this l...
4,105
47.305882
79
h
daala
daala-master/src/x86/sse2mcenc.c
/*Daala video codec Copyright (c) 2015 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list o...
22,568
32.836582
80
c
daala
daala-master/src/x86/x86state.c
/*Daala video codec Copyright (c) 2006-2010 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this l...
3,814
37.15
78
c
daala
daala-master/src/x86/sse41dct.c
/*Daala video codec Copyright (c) 2002-2013 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this l...
1,815
40.272727
78
c
daala
daala-master/src/x86/x86enc.h
/*Daala video codec Copyright (c) 2013 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list o...
3,273
49.369231
79
h
daala
daala-master/src/x86/avx2dct.c
/*Daala video codec Copyright (c) 2002-2013 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this l...
3,143
32.806452
78
c
daala
daala-master/src/x86/cpu.c
/*Daala video codec Copyright (c) 2006-2010 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this l...
5,192
33.62
78
c
daala
daala-master/src/x86/sse2dct.c
/*Daala video codec Copyright (c) 2002-2013 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this l...
9,421
29.690554
78
c
daala
daala-master/src/x86/cpu.h
/*Daala video codec Copyright (c) 2006-2010 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this l...
1,802
40.930233
78
h
daala
daala-master/src/x86/sse2util.c
/*Daala video codec Copyright (c) 2006-2015 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this l...
6,096
38.335484
78
c
daala
daala-master/src/x86/x86mcenc.c
/*Daala video codec Copyright (c) 2013 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list o...
5,850
29.794737
78
c
daala
daala-master/src/x86/x86dct.h
/*Daala video codec Copyright (c) 2002-2013 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this l...
13,489
38.676471
79
h
daala
daala-master/src/x86/x86enc.c
/*Daala video codec Copyright (c) 2013 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list o...
3,167
34.595506
78
c
daala
daala-master/src/x86/sse2dering.c
/*Daala video codec Copyright (c) 2015 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list o...
10,420
33.279605
78
c
daala
daala-master/src/arm/armint.h
/*Daala video codec Copyright (c) 2006-2010 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this l...
1,795
40.767442
78
h
daala
daala-master/src/arm/armstate.c
/*Daala video codec Copyright (c) 2006-2010 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this l...
1,629
38.756098
78
c
daala
daala-master/src/arm/cpu.c
/*Daala video codec Copyright (c) 2006-2010 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this l...
4,271
28.874126
80
c
daala
daala-master/src/arm/cpu.h
/*Daala video codec Copyright (c) 2006-2010 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this l...
1,579
41.702703
78
h
daala
daala-master/src/arm/armdct.c
/*Daala video codec Copyright (c) 2002-2013 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this l...
6,260
32.126984
78
c
daala
daala-master/src/tests/test_divu_small.c
/*Daala video codec Copyright (c) 2013 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list o...
2,738
32
78
c
daala
daala-master/src/tests/headerencode_test.c
/*Daala video codec Copyright (c) 2013 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list o...
4,157
33.65
78
c
daala
daala-master/src/tests/test_coef_coder.c
/* Daala video codec Copyright (C) 2012 Daala project contributors This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any lat...
13,182
28.893424
127
c
daala
daala-master/src/tests/check_initial.c
/*Daala video codec Copyright (c) 2001-2013 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this l...
2,048
31.52381
78
c
daala
daala-master/src/tests/logging_test.c
/*Daala video codec Copyright (c) 2013 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list o...
6,855
29.336283
78
c
daala
daala-master/src/tests/check_main.c
/*Daala video codec Copyright (c) 2001-2013 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this l...
1,808
37.489362
78
c
daala
daala-master/src/tests/ectest.c
#if defined(HAVE_CONFIG_H) # include "config.h" #endif #include <stdlib.h> #include <stdio.h> #include <math.h> #include <string.h> #include <time.h> #include "../internal.c" #include "../entcode.c" #include "../entdec.c" #include "../entenc.c" #if !defined(M_LOG2E) # define M_LOG2E (1.4426950408889634074) #endif in...
14,384
30.825221
79
c
daala
daala-master/include/daala/codec.h
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*Daala video codec Copyright (c) 2006-2013 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: -...
12,694
37.469697
104
h
daala
daala-master/include/daala/daaladec.h
/*Daala video codec Copyright (c) 2006-2013 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this l...
9,331
41.226244
79
h
daala
daala-master/include/daala/daala_integer.h
/* * Original copyright (c) 2010 The WebM project authors. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * no...
3,168
29.471154
79
h
daala
daala-master/include/daala/daalaenc.h
/*Daala video codec Copyright (c) 2006-2013 Daala project contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this l...
19,982
50.238462
82
h
effective_transformer
effective_transformer-master/common.h
/* * Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
2,433
28.325301
86
h
effective_transformer
effective_transformer-master/cuda/attention.h
/* * Copyright (C) 2020 ByteDance Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
1,683
30.185185
75
h
effective_transformer
effective_transformer-master/cuda/cuda_kernels.h
/* * Copyright (C) 2020 ByteDance Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
1,610
35.613636
108
h
effective_transformer
effective_transformer-master/tf_op/bert_transformer_op.h
/* * Copyright (C) 2020 ByteDance Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
4,720
27.786585
85
h
EuclidEmulator
EuclidEmulator-master/wrapper2/build_for_testing/CMakeFiles/3.6.1/CompilerIdC/CMakeCCompilerId.c
#ifdef __cplusplus # error "A C++ compiler has been selected for C." #endif #if defined(__18CXX) # define ID_VOID_MAIN #endif #if defined(__CLASSIC_C__) /* cv-qualifiers did not exist in K&R C */ # define const # define volatile #endif /* Version number components: V=Version, R=Revision, P=Patch Version date comp...
16,826
28.941281
113
c
EuclidEmulator
EuclidEmulator-master/CLI/master.c
/* This file is part of EuclidEmulator * Copyright (c) 2018-2020 Mischa Knabenhans * * EuclidEmulator is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
4,858
37.563492
104
c
EuclidEmulator
EuclidEmulator-master/libeuc/cosmo.h
/* This file is part of EuclidEmulator * Copyright (c) 2018-2020 Mischa Knabenhans * * EuclidEmulator is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
3,665
30.878261
123
h
null
mirror-stein-samplers-main/R-software/C-software/src/randomized_lasso.h
#ifdef __cplusplus extern "C" { #endif /* __cplusplus */ double log_density_gaussian(double noise_scale, // Scale of randomization int ndim, // Number of features -- "p" int ninternal, // Dimension of internal data representation often 1 int nopti...
2,541
56.772727
97
h
null
mirror-stein-samplers-main/R-software/C-software/src/selective_mle.h
#ifdef __cplusplus extern "C" { #endif /* __cplusplus */ double barrier_solve(double *gradient, // Gradient vector double *opt_variable, // Optimization variable double *opt_proposed, // New value of optimization variable double *conjugate_arg, ...
2,152
57.189189
92
h
null
mirror-stein-samplers-main/R-software/C-software/src/randomized_lasso.c
#include <math.h> // for fabs // Augmented density for randomized LASSO after // Gaussian randomization // Described in https://arxiv.org/abs/1609.05609 // Gaussian is product of IID N(0, noise_scale^2) density // Evaluated at A_D D + A_O O + h // Laplace is product of IID Laplace with scale noise_scale // Also eva...
6,658
33.682292
97
c
null
mirror-stein-samplers-main/R-software/C-software/src/quadratic_program.c
#include <math.h> // for fabs // Find an approximate row of \hat{nndef}^{-1} // Solves a dual version of problem (4) of https://arxiv.org/pdf/1306.3171.pdf // Dual problem: \text{min}_{\theta} 1/2 \theta^T \Sigma \theta - l^T\theta + \mu \|\theta\|_1 // where l is `linear_func` below // This is the "negative" of th...
12,554
27.404977
124
c
null
mirror-stein-samplers-main/R-software/C-software/src/matrixcomps.c
#include <math.h> // Matrices are stored as vectors, in column-major order // Givens rotation of a and b, stored in c and s void givens(double a, double b, double *c, double *s) { if (b==0) { *c = 1; *s = 0; } else { if (fabs(b)>fabs(a)) { double t = -a/b; *s = 1/sqrt(1+t*t); *c ...
6,371
22.865169
106
c
null
mirror-stein-samplers-main/R-software/C-software/src/debias.h
#ifdef __cplusplus extern "C" { #endif /* __cplusplus */ void multiply_by_2(double *X, int nval); int solve_qp(double *nndef_ptr, /* A non-negative definite matrix */ double *linear_func_ptr, /* Linear term in objective */ double *nndef_diag_ptr, /* Diagonal of nndef */ double *gradi...
4,653
57.175
101
h
null
mirror-stein-samplers-main/R-software/C-software/src/selective_mle.c
#include <math.h> // for fabs // Barrier for smooth MLE approximation // after Gaussian randomization // Described in https://arxiv.org/abs/1703.06176 // objective = lambda u: -u.T.dot(conjugate_arg) + u.T.dot(precision).dot(u)/2. + np.log(1.+ 1./(u / scaling)).sum() double barrier_objective(double *opt_variable...
18,758
32.61828
130
c
photodynam
photodynam-master/source/elliptic.h
/*****************************************************************************/ /* elliptic.h */ /*****************************************************************************/ #ifndef __ELLIPTIC_H_INCLUDED #define __ELLIPTIC_H_INCLUDED 1 /******************************************************************...
1,200
36.53125
79
h
photodynam
photodynam-master/source/kepcart.c
#ifndef _kepcart_c #define _kepcart_c #include <string.h> #include <stdio.h> #include <math.h> #define MAX_CART_ITER 100 typedef struct { double x, y, z, xd, yd, zd; } State; extern double machine_epsilon; void keplerian(double gm, State state, double *a, double *e, double *i, double *longnode, double *argperi...
5,472
22.795652
107
c
photodynam
photodynam-master/source/icirc.h
/*****************************************************************************/ /* icirc.h */ /*****************************************************************************/ #ifndef __ICIRC_H_INCLUDED #define __ICIRC_H_INCLUDED 1 /***************************************************************************...
800
24.83871
84
h
photodynam
photodynam-master/source/mttr.c
/*****************************************************************************/ /* mttr.c */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* Mutual transit light curves */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* (c) 2011...
14,610
25.137746
101
c
photodynam
photodynam-master/source/scpolyint.h
/*****************************************************************************/ /* scpolyint.h */ /*****************************************************************************/ #ifndef __SCPOLYINT_H_INCLUDED #define __SCPOLYINT_H_INCLUDED 1 /**************************************************************...
700
35.894737
79
h
photodynam
photodynam-master/source/n_body.h
#ifndef _N_BODY_ #define _N_BODY_ /* n_body.h Josh Carter, 2013 N-body BS integrator of Newton's equations */ // r, v, a are NX3 matricies of coordinates, velocities and accelerations at starting state (at time0) and are // overwritten by evolved values (at time). Accelerations are obviously irrelevant in...
708
32.761905
117
h
photodynam
photodynam-master/source/n_body_lc.h
#ifndef _N_BODY_LC #define _N_BODY_LC #include "n_body_state.h" /* n_body_lc.cpp Josh Carter, 2013 Computes light curve from array of positions, radii, fluxes and quadratic limb darkening coefficients. Utilizes code by A. Pal (c) 2011, to compute overlap integrals of multiple dark bodies occulting a limb d...
955
33.142857
104
h
photodynam
photodynam-master/source/scpolyint.c
/*****************************************************************************/ /* scpolyint.c */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* A library for integrating (a+r*cos(x))^p*(b+r*sin(x))^q*sin(x) like stuff */ /* * * * * * * * * * * * * * * * * * * * * * * * *...
2,300
26.392857
121
c
photodynam
photodynam-master/source/elliptic.c
/*****************************************************************************/ /* elliptic.c */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* Functions related to the calculation of elliptic integrals */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * *...
6,300
21.031469
109
c
InvPlane
InvPlane-master/inv_plane.c
/********************************************************************** * * * INV_PLANE.C * * * * Author: Rory Barnes (rory@ast...
17,224
29.113636
124
c
DIA
DIA-master/routines/Python/oisdifference.c
// This code is a version of the Optimal Image Subtraction method detailed in Alard and Lupton 1998// // and then reintroduced in Miller 2008. It uses a Delta Function Kernel to solve for the images offset // //and subtraction. It can be used for either a constant or space-varying kernel depending on how you set the c...
15,487
33.189845
119
c
DIA
DIA-master/routines/IDL/oisdifference.c
// This code is a version of the Optimal Image Subtraction method detailed in Alard and Lupton 1998// // and then reintroduced in Miller 2008. It uses a Delta Function Kernel to solve for the images offset // //and subtraction. It can be used for either a constant or space-varying kernel depending on how you set the c...
15,487
33.189845
119
c
sharpSAT
sharpSAT-master/src/new_component_analyzer.h
/* * new_component_analyzer.h * * Created on: Mar 1, 2013 * Author: mthurley */ #ifndef NEW_COMPONENT_ANALYZER_H_ #define NEW_COMPONENT_ANALYZER_H_ #include "statistics.h" #include "component_types/component.h" #include "component_types/base_packed_component.h" #include "component_types/component_arche...
5,877
24.894273
94
h
sharpSAT
sharpSAT-master/src/statistics.h
/* * statistics.h * * Created on: Feb 13, 2013 * Author: mthurley */ #ifndef STATISTICS_H_ #define STATISTICS_H_ #include <string> #include <cstdint> #include <vector> #include <gmpxx.h> #include "structures.h" #include "component_types/cacheable_component.h" #include "primitive_types.h" using namespac...
7,340
29.209877
110
h
sharpSAT
sharpSAT-master/src/alt_component_analyzer.h
/* * alt_component_analyzer.h * * Created on: Mar 5, 2013 * Author: mthurley */ #ifndef ALT_COMPONENT_ANALYZER_H_ #define ALT_COMPONENT_ANALYZER_H_ #include "statistics.h" #include "component_types/component.h" #include "component_types/base_packed_component.h" #include "component_types/component_archety...
7,660
28.35249
87
h
sharpSAT
sharpSAT-master/src/solver.h
/* * solver.h * * Created on: Aug 23, 2012 * Author: marc */ #ifndef SOLVER_H_ #define SOLVER_H_ #include "statistics.h" #include "instance.h" #include "component_management.h" #include "solver_config.h" #include <sys/time.h> enum retStateT { EXIT, RESOLVED, PROCESS_COMPONENT, BACKTRACK }; class ...
7,761
25.401361
93
h
sharpSAT
sharpSAT-master/src/component_cache-inl.h
/* * component_cache-inl.h * * Created on: Aug 23, 2012 * Author: Marc Thurley */ #ifndef COMPONENT_CACHE_INL_H_ #define COMPONENT_CACHE_INL_H_ CacheEntryID ComponentCache::storeAsEntry(CacheableComponent &ccomp, CacheEntryID super_comp_id){ CacheEntryID id; if (statistics_.cache_full()) d...
5,353
30.494118
101
h
sharpSAT
sharpSAT-master/src/component_analyzer.h
/* * component_analyzer.h * * Created on: Feb 7, 2013 * Author: mthurley */ #ifndef COMPONENT_ANALYZER_H_ #define COMPONENT_ANALYZER_H_ #include "statistics.h" #include "component_types/component.h" #include "component_types/base_packed_component.h" #include "component_types/component_archetype.h" #in...
5,452
24.966667
94
h
sharpSAT
sharpSAT-master/src/component_management.h
/* * component_management.h * * Created on: Aug 23, 2012 * Author: Marc Thurley */ #ifndef COMPONENT_MANAGEMENT_H_ #define COMPONENT_MANAGEMENT_H_ #include "component_types/component.h" #include "component_cache.h" #include "alt_component_analyzer.h" //#include "component_analyzer.h" #include <vector> #...
4,733
29.941176
111
h
sharpSAT
sharpSAT-master/src/component_cache.h
/* * component_cache.h * * Created on: Feb 5, 2013 * Author: mthurley */ #ifndef COMPONENT_CACHE_H_ #define COMPONENT_CACHE_H_ #include "component_types/cacheable_component.h" #include "statistics.h" #include <gmpxx.h> #include "component_types/component.h" #include "stack.h" class ComponentCache { p...
5,052
27.874286
77
h
sharpSAT
sharpSAT-master/src/instance.h
/* * instance.h * * Created on: Aug 23, 2012 * Author: Marc Thurley */ #ifndef INSTANCE_H_ #define INSTANCE_H_ #include "statistics.h" #include "structures.h" #include "containers.h" #include <assert.h> class Instance { protected: void unSet(LiteralID lit) { var(lit).ante = Antecedent(NOT_A_CLAUSE...
7,218
26.344697
82
h
sharpSAT
sharpSAT-master/src/stack.h
/* * stack.h * * Created on: Aug 23, 2012 * Author: Marc Thurley */ #ifndef STACK_H_ #define STACK_H_ #include <gmpxx.h> class StackLevel { /// active Component, once initialized, it should not change const unsigned super_component_ = 0; // branch bool active_branch_ = false; // offset in the l...
4,521
26.406061
78
h
sharpSAT
sharpSAT-master/src/component_types/cacheable_component.h
/* * cacheable_component.h * * Created on: Feb 21, 2013 * Author: mthurley */ #ifndef CACHEABLE_COMPONENT_H_ #define CACHEABLE_COMPONENT_H_ #include <assert.h> #include <vector> #include "../primitive_types.h" #include "difference_packed_component.h" //#include "simple_unpacked_component.h" using names...
2,496
20.903509
80
h
sharpSAT
sharpSAT-master/src/component_types/simple_packed_component.h
/* * simple_packed_component.h * * Created on: Feb 4, 2013 * Author: mthurley */ #ifndef SIMPLE_PACKED_COMPONENT_H_ #define SIMPLE_PACKED_COMPONENT_H_ #include "base_packed_component.h" #include "component.h" #include "../primitive_types.h" class SimplePackedComponent : public BasePackedComponent { publ...
2,359
24.934066
116
h
sharpSAT
sharpSAT-master/src/component_types/simple_unpacked_component.h
/* * simple_unpacked_component.h * * Created on: Feb 16, 2013 * Author: mthurley */ #ifndef SIMPLE_UNPACKED_COMPONENT_H_ #define SIMPLE_UNPACKED_COMPONENT_H_ #include "base_packed_component.h" #include "component.h" #include "../primitive_types.h" class SimpleUnpackedComponent : public BasePackedCompone...
1,856
20.344828
75
h
sharpSAT
sharpSAT-master/src/component_types/component_archetype.h
/* * component_archetype.h * * Created on: Feb 9, 2013 * Author: mthurley */ #ifndef COMPONENT_ARCHETYPE_H_ #define COMPONENT_ARCHETYPE_H_ #include "../primitive_types.h" #include "component.h" #include "cacheable_component.h" #include <cstring> #include <algorithm> #include <iostream> // State ...
7,011
26.178295
99
h
sharpSAT
sharpSAT-master/src/component_types/component.h
/* * component.h * * Created on: Feb 5, 2013 * Author: mthurley */ #ifndef COMPONENT_H_ #define COMPONENT_H_ #include <assert.h> #include <vector> #include "../primitive_types.h" using namespace std; class Component { public: void reserveSpace(unsigned int num_variables, unsigned int num_clauses) { ...
2,604
21.652174
84
h
sharpSAT
sharpSAT-master/src/component_types/base_packed_component.h
/* * base_packed_component.h * * Created on: Feb 5, 2013 * Author: mthurley */ #ifndef BASE_PACKED_COMPONENT_H_ #define BASE_PACKED_COMPONENT_H_ #include <assert.h> #include <gmpxx.h> #include <iostream> using namespace std; template <class T> class BitStuffer { public: BitStuffer(T *data):data_start...
5,288
23.830986
106
h
sharpSAT
sharpSAT-master/src/component_types/difference_packed_component.h
/* * difference_packed_component.h * * Created on: Feb 5, 2013 * Author: mthurley */ #ifndef DIFFERENCE_PACKED_COMPONENT_H_ #define DIFFERENCE_PACKED_COMPONENT_H_ #include "base_packed_component.h" #include "component.h" #include <math.h> class DifferencePackedComponent:public BasePackedComponent { pub...
6,649
30.074766
100
h
sharpSAT
sharpSAT-master/src/containers/binary_heap.h
/* * binary_heap.h * * Created on: May 8, 2013 * Author: mthurley */ #ifndef BINARY_HEAP_H_ #define BINARY_HEAP_H_ #include <assert.h> #include <vector> template <class Comparator> class BinaryHeap { // the values corresponding to the usigned keys std::vector<unsigned> values_; // keys to values, n...
3,408
20.575949
73
h
CodeXL
CodeXL-master/CodeXL/Remote/AMDTRemoteClient/Include/RemoteClientUtils.h
//================================================================================== // Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file RemoteClientUtils.h /// //================================================================================== ...
745
34.52381
106
h
CodeXL
CodeXL-master/CodeXL/Remote/AMDTRemoteClient/Include/AMDTRemoteClientBuild.h
//================================================================================== // Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file AMDTRemoteClientBuild.h /// //================================================================================...
948
30.633333
87
h
CodeXL
CodeXL-master/CodeXL/Remote/AMDTRemoteClient/Include/RemoteClientDataTypes.h
//================================================================================== // Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file RemoteClientDataTypes.h /// //================================================================================...
1,734
29.982143
86
h
CodeXL
CodeXL-master/CodeXL/Remote/AMDTRemoteAgent/dmnServerThread.h
//================================================================================== // Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file dmnServerThread.h /// //================================================================================== #i...
1,221
29.55
84
h
CodeXL
CodeXL-master/CodeXL/Remote/AMDTRemoteAgent/IAppWatcherObserver.h
//================================================================================== // Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file IAppWatcherObserver.h /// //==================================================================================...
669
28.130435
84
h
CodeXL
CodeXL-master/CodeXL/Remote/AMDTRemoteAgent/dmnThreadObserver.h
//================================================================================== // Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file dmnThreadObserver.h /// //================================================================================== ...
937
29.258065
84
h
CodeXL
CodeXL-master/CodeXL/Remote/AMDTRemoteAgent/stdafx.h
//================================================================================== // Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file stdafx.h /// //================================================================================== // stdafx.h...
614
24.625
84
h
CodeXL
CodeXL-master/CodeXL/Remote/AMDTRemoteAgent/dmnAppWatcherThread.h
//================================================================================== // Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file dmnAppWatcherThread.h /// //==================================================================================...
1,214
24.851064
87
h
CodeXL
CodeXL-master/CodeXL/Remote/AMDTRemoteAgent/dmnConfigManager.h
//================================================================================== // Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file dmnConfigManager.h /// //================================================================================== #...
1,611
26.793103
90
h
CodeXL
CodeXL-master/CodeXL/Remote/AMDTRemoteAgent/IThreadEventObserver.h
//================================================================================== // Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file IThreadEventObserver.h /// //=================================================================================...
588
27.047619
84
h
CodeXL
CodeXL-master/CodeXL/Remote/AMDTRemoteAgent/dmnPowerBackendAdapter.h
//================================================================================== // Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file dmnPowerBackendAdapter.h /// //===============================================================================...
2,618
31.333333
103
h
CodeXL
CodeXL-master/CodeXL/Remote/AMDTRemoteAgent/resource.h
//================================================================================== // Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file resource.h /// //================================================================================== //{{NO_DE...
1,164
30.486486
84
h
CodeXL
CodeXL-master/CodeXL/Remote/AMDTRemoteAgent/dmnUtils.h
//================================================================================== // Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file dmnUtils.h /// //================================================================================== #ifndef _...
2,027
34.578947
84
h
CodeXL
CodeXL-master/CodeXL/Remote/AMDTRemoteAgent/Public Include/dmnDefinitions.h
//================================================================================== // Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file dmnDefinitions.h /// //================================================================================== #if...
3,131
20.162162
84
h
CodeXL
CodeXL-master/CodeXL/AMDTApplicationFramework/src/afSingletonsDelete.h
//================================================================================== // Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file afSingletonsDelete.h /// //================================================================================== ...
509
23.285714
84
h
CodeXL
CodeXL-master/CodeXL/AMDTApplicationFramework/src/afProcessDebuggerPendingEventEvent.h
//================================================================================== // Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file afProcessDebuggerPendingEventEvent.h /// //===================================================================...
1,540
28.634615
85
h
CodeXL
CodeXL-master/CodeXL/AMDTApplicationFramework/src/afUtils.h
//================================================================================== // Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file afUtils.h /// //================================================================================== #ifndef __...
1,554
32.085106
106
h
CodeXL
CodeXL-master/CodeXL/AMDTApplicationFramework/src/afProcessDebuggerEventHandler.h
//================================================================================== // Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file afProcessDebuggerEventHandler.h /// //========================================================================...
2,026
32.783333
105
h
CodeXL
CodeXL-master/CodeXL/AMDTApplicationFramework/Include/afApplicationFrameworkDLLBuild.h
//================================================================================== // Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file afApplicationFrameworkDLLBuild.h /// //=======================================================================...
850
29.392857
84
h