Search is not available for this dataset
text string | meta dict |
|---|---|
/* stable/stable_fit.c
*
* Functions employed by different methods of estimation implemented
* in Libstable.
*
* Copyright (C) 2013. Javier Royuela del Val
* Federico Simmross Wattenberg
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the G... | {
"alphanum_fraction": 0.6610974472,
"avg_line_length": 26.0862831858,
"ext": "c",
"hexsha": "a7a42da1d11801c5fc494894c53eb390b5395255",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#ifndef _FUNCTIONS_
#define _FUNCTIONS_
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <time.h>
#include <limits.h>
#include <cblas.h>
#include <lapacke.h>
#include "structs.c"
#define PATH_LENGTH 32
#define LINE_LENGTH 26000
#define THRESHOLD 0.05
// D... | {
"alphanum_fraction": 0.6863084922,
"avg_line_length": 18.03125,
"ext": "h",
"hexsha": "72c558cf253a3c71b99b4a6cca5cbe1826864870",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": "b5f... |
/* vector/gsl_vector_long_double.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman, Brian Gough
*
* 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 Li... | {
"alphanum_fraction": 0.7037649003,
"avg_line_length": 36.0553191489,
"ext": "h",
"hexsha": "4c506578f482bdcd2a9d07ce4a5a65aa18e21483",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#ifndef _BLAS_UTIL_H_
#define _BLAS_UTIL_H_
#ifdef __BLAS_LEGACY__
#include <math.h>
#include "cblas.h"
//#include <lapacke.h> //! hasn't used
#define MIN(a,b) (((a)<(b))?(a):(b))
#define MAX(a,b) (((a)>(b))?(a):(b))
#elif defined __APPLE__
#include <Accelerate/Accelerate.h>
#elif defined __USE_MKL__
#include <mkl.h... | {
"alphanum_fraction": 0.6713091922,
"avg_line_length": 17.0952380952,
"ext": "h",
"hexsha": "7f235cbddf8b157854e851c25073f08cd1a8869a",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
// Copyright (c) 2021 Stig Rune Sellevag
//
// This file is distributed under the MIT License. See the accompanying file
// LICENSE.txt or http://www.opensource.org/licenses/mit-license.php for terms
// and conditions.
#ifndef SCILIB_LINALG_BLAS3_MATRIX_PRODUCT_H
#define SCILIB_LINALG_BLAS3_MATRIX_PRODUCT_H
#ifdef US... | {
"alphanum_fraction": 0.6149318463,
"avg_line_length": 31.1884057971,
"ext": "h",
"hexsha": "8b86d3e2e1633718970c9e1b112787634c4a7e3f",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/*
# This file is part of the Astrometry.net suite.
# Licensed under a 3-clause BSD style license - see LICENSE
*/
#include <math.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>
#include <gsl/gsl_matrix_double.h>
#include <gsl/gsl_vector_double.h>
#include "os-features.h"
#include "sip-utils.h"
#inc... | {
"alphanum_fraction": 0.5118323565,
"avg_line_length": 31.7855887522,
"ext": "c",
"hexsha": "88ba8e25b7f6b3602e3436b820a8f73251cf636b",
"lang": "C",
"max_forks_count": 173,
"max_forks_repo_forks_event_max_datetime": "2022-03-27T07:27:04.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-08T18:0... |
#include "tools.h"
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
gsl_rng **_random = NULL;
double tool_get_time()
{
struct timeval t;
gettimeofday(&t, NULL);
return (double)t.tv_sec + (double)t.tv_usec * 1e-6;
}
double tool_cut(double x)
{
if (x <= 0.0)
return 0.0;
if (x >= 1.0)
... | {
"alphanum_fraction": 0.5024987909,
"avg_line_length": 19.5987361769,
"ext": "c",
"hexsha": "ffb248a34bd9cc57a97590161145bb468f978d19",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
// xll_roots.h - GSL 1-dim root finding
// http://www.gnu.org/software/gsl/manual/html_node/One-dimensional-Root_002dFinding.html#One-dimensional-Root_002dFinding
#pragma once
#include <functional>
#include <memory>
#include <stdexcept>
#include <tuple>
#include "gsl/gsl_errno.h"
#include "gsl/gsl_roots.h"
#include "xl... | {
"alphanum_fraction": 0.6576891106,
"avg_line_length": 22.032967033,
"ext": "h",
"hexsha": "19af3f0810fb1f5c32eb14d6084d9249eb0cf104",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": ... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <float.h>
#include <string.h>
#include <stdbool.h>
#include <png.h>
#include "beachball.h"
#include "parmt_config.h"
#ifdef PARMT_USE_INTEL
#include <mkl_lapacke.h>
#include <mkl_cblas.h>
#else
#include <lapacke.h>
#include <cblas.h>
#endif
//#include "p... | {
"alphanum_fraction": 0.5041604625,
"avg_line_length": 37.835956918,
"ext": "c",
"hexsha": "7b36509686211bfc11ac4732d710fc6c8d25ddc0",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": ... |
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <math.h>
#include <mpi.h>
#include "parmt_polarity.h"
#ifdef PARMT_USE_INTEL
#include <mkl_cblas.h>
#else
#include <cblas.h>
#endif
#include "ttimes.h"
#include "iscl/array/array.h"
#include "iscl/geodetic/geodetic.h"
#include "isc... | {
"alphanum_fraction": 0.5154853094,
"avg_line_length": 37.3154859967,
"ext": "c",
"hexsha": "dc08bb56ebb3e04b85f845421b71c004db60e00a",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
\documentclass{report}
\usepackage[T1]{fontenc}
\usepackage{bera}
\usepackage[pdftex,usenames,dvipsnames]{color}
\usepackage{listings}
\definecolor{mycode}{rgb}{0.9,0.9,1}
\lstset{language=c++,tabsize=1,basicstyle=\scriptsize,backgroundcolor=\color{mycode}}
\usepackage{hyperref}
\usepackage{fancyhdr}
\pagestyle{fancy... | {
"alphanum_fraction": 0.7282211789,
"avg_line_length": 18.8866995074,
"ext": "w",
"hexsha": "0a18f2b0f305ccb7346011801c4693be7b9f96ab",
"lang": "C",
"max_forks_count": 5,
"max_forks_repo_forks_event_max_datetime": "2019-11-22T03:33:19.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-04-29T17:28:... |
#ifndef LPC_H
#define LPC_H
#include <cmath>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_multifit.h>
#include <gsl/gsl_sf_trig.h>
#include <gsl/gsl_blas.h>
gsl_vector *hanning(size_t L);
double lpcCoeffs(double *lpc, gsl_vector *x, size_t order);
#endif //... | {
"alphanum_fraction": 0.7308868502,
"avg_line_length": 15.5714285714,
"ext": "h",
"hexsha": "891d02a07b5ce3f68f5ed8b34e588c675bf0e902",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2020-03-27T14:41:25.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-04-27T00:23:... |
#pragma once
#include <cstdint>
#include <string>
#include <vector>
#include <gsl/span>
namespace terminal_editor {
/// Returns name of passed control character, or nullptr if given byte was not recognized.
/// ISO 30112 defines POSIX control characters as Unicode characters U+0000..U+001F, U+007F..U+009F, U+2028, ... | {
"alphanum_fraction": 0.7236936292,
"avg_line_length": 50.8,
"ext": "h",
"hexsha": "b4c4f15bbd785d7ac47ba5ed8717fff3cd1fc0ed",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2018-12-21T00:37:06.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-12-21T00:37:06.000Z",... |
#include <gsl/gsl_rng.h>
#include <gsl/gsl_sort_double.h>
int
main (void)
{
const gsl_rng_type * T;
gsl_rng * r;
size_t i, k = 5, N = 100000;
double * x = malloc (N * sizeof(double));
double * small = malloc (k * sizeof(double));
gsl_rng_env_setup();
T = gsl_rng_default;
r = gsl_rng_alloc (T);
f... | {
"alphanum_fraction": 0.5472,
"avg_line_length": 16.0256410256,
"ext": "c",
"hexsha": "5b725176c69956cdceb88940872add16ce40a0f3",
"lang": "C",
"max_forks_count": 40,
"max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31:16.00... |
/* @file mvn.c
* @title multivariate normal random variables
* @author Carl Boettiger, <cboettig@gmail.com>
*
* Based on the R function rmvnorm, from the mvtnorm package
* by Friedrich Leisch and Fabian Scheipl, implemented
* using the GSL libraries
*/
#include <gsl/gsl_math.h>
#include <gsl/gsl_randist.h... | {
"alphanum_fraction": 0.6855324849,
"avg_line_length": 24.0806451613,
"ext": "c",
"hexsha": "96bf9c9d55209a1e01c2fed708ed01fd0354dedc",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/* eigen/eigen_sort.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman
*
* 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 opti... | {
"alphanum_fraction": 0.4853440296,
"avg_line_length": 27.4661016949,
"ext": "c",
"hexsha": "d0755d9355dfe8f7cf60d7345632c7a919385f30",
"lang": "C",
"max_forks_count": 40,
"max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31... |
/**
*
* @precisions normal z -> c d s
*
**/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <cblas.h>
#include <lapacke.h>
#include <plasma.h>
#include <core_blas.h>
#include "auxiliary.h"
/*-------------------------------------------------------------------
* Check the ortho... | {
"alphanum_fraction": 0.5913488902,
"avg_line_length": 35.3758389262,
"ext": "c",
"hexsha": "33a65837af5a2c44d44b0994863d588d15dcdc4c",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/*************************************************************************************
* Copyright (C) 2017, Trung Pham <me@trungbpham.com> *
* All rights reserved. *
* ... | {
"alphanum_fraction": 0.5328630971,
"avg_line_length": 63.6530612245,
"ext": "h",
"hexsha": "e5bcaa818dcecbfc5392de353a21bb14110463d6",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-03-15T07:28:36.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-03-15T07:28:... |
/* vector/gsl_vector_complex_long_double.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough
*
* 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 versi... | {
"alphanum_fraction": 0.721570817,
"avg_line_length": 40.8593155894,
"ext": "h",
"hexsha": "8ad85a3b8cb26e893f8709fa2ecf6aee54c276fb",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2020-10-14T12:45:35.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-10-14T12:45:3... |
/* ode-initval/rk8pd.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman
*
* 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 opt... | {
"alphanum_fraction": 0.5251452282,
"avg_line_length": 22.3977695167,
"ext": "c",
"hexsha": "37bffe9714e04e70ffe72bbec53de77720111bd2",
"lang": "C",
"max_forks_count": 40,
"max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31... |
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <signal.h>
#include <string.h>
#include <math.h>
#include "cblas.h"
#include <lapacke.h>
#include <unistd.h>
#include <sys/types.h>
#include "spidriver_host.h"
#include "adcdriver_host.h"
#include "matrix_utils.h"
#define PI 3.1415926535
// Length o... | {
"alphanum_fraction": 0.5342935528,
"avg_line_length": 27,
"ext": "c",
"hexsha": "f321f365d601bc0239615e78a9fc71aeff946acd",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2020-02-12T20:17:55.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-02-12T20:17:55.000Z",
... |
#define _GNU_SOURCE
#include <stdio.h>
#include <math.h>
#include <gsl/gsl_rng.h>
#include <glib.h>
#if HAVE_MPI
#include <mpi.h>
#endif
#include "genetic/genetic.h"
#define N_SIMULATIONS 10000
#define SEED 707l
int ntasks = 1;
unsigned int nthreads = 1;
GMutex mutex[1];
GeneticVariable v[2];
double
evaluate (Entity ... | {
"alphanum_fraction": 0.61328125,
"avg_line_length": 25.2839506173,
"ext": "c",
"hexsha": "b123f6bd2797ce5ef33c17669c0ef9b7f7166df4",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": "... |
/* rng/mrg.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 James Theiler, Brian Gough
*
* 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 o... | {
"alphanum_fraction": 0.6475115444,
"avg_line_length": 25.9866666667,
"ext": "c",
"hexsha": "b6632a1f7ae5ffa288085b989de93bd975b2cb94",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:... |
#pragma once
#include <winrt\Windows.Foundation.h>
#include <d3d11.h>
#include <gsl\gsl>
namespace Library
{
class BlendStates final
{
public:
inline static winrt::com_ptr<ID3D11BlendState> AlphaBlending;
inline static winrt::com_ptr<ID3D11BlendState> MultiplicativeBlending;
static void Initialize(gsl::not_... | {
"alphanum_fraction": 0.7480190174,
"avg_line_length": 25.24,
"ext": "h",
"hexsha": "195df2052f0b73e5490ec279be0f79d91baac120",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": "05a05c... |
/***************************************************************************/
/* */
/* vector.c - Vector class for mruby */
/* Copyright (C) 2015 Paolo Bosetti */
/* paolo... | {
"alphanum_fraction": 0.6771703807,
"avg_line_length": 34.0553359684,
"ext": "c",
"hexsha": "a2233a87b80c8b57a91ef0b046997146946f0a61",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/* gsl_sf_hermite.h
*
* Copyright (C) 2011-2014 Konrad Griessinger
*
* 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 3 of the License, or (at
* your option) any la... | {
"alphanum_fraction": 0.7455760202,
"avg_line_length": 55.9393939394,
"ext": "h",
"hexsha": "1d7088a0aa5b10682acb8100afd4d5978fc8c78a",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
// matrix/kaldi-blas.h
// Copyright 2009-2011 Ondrej Glembek; Microsoft Corporation
// 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
// TH... | {
"alphanum_fraction": 0.7127959414,
"avg_line_length": 33.4716981132,
"ext": "h",
"hexsha": "23b986c07d84d574cbb2f0adfe52c3c294b00581",
"lang": "C",
"max_forks_count": 47,
"max_forks_repo_forks_event_max_datetime": "2021-11-11T20:59:04.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-27T06:22... |
/* rng/ran3.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007, 2010 James Theiler, Brian Gough
*
* 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 3 of the License, or ... | {
"alphanum_fraction": 0.6112185687,
"avg_line_length": 22.8088235294,
"ext": "c",
"hexsha": "d855d2547ac4a9c659fb8ffeb56dc7b4631aaca5",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:... |
#ifndef ENVIRONMENT_INCLUDE
#define ENVIRONMENT_INCLUDE
#include <map>
#include <string>
#include <vector>
#include <gsl/string_span>
namespace execHelper {
namespace config {
using EnvArg = std::string;
using EnvArgs = std::vector<EnvArg>;
using EnvironmentCollection = std::map<std::string, EnvArg>;
using Environm... | {
"alphanum_fraction": 0.7544204322,
"avg_line_length": 21.2083333333,
"ext": "h",
"hexsha": "2e0889770fc3fdca636f3b72a790eb13811f04dc",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2018-07-03T11:11:19.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-07-03T11:11:... |
/* matrix/gsl_matrix_uint.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough
*
* 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 3 of t... | {
"alphanum_fraction": 0.6510144096,
"avg_line_length": 37.9048913043,
"ext": "h",
"hexsha": "d6de1b3644fc5b136826c61372c883823bde02a0",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:... |
#pragma once
#include "BooleanNodes.h"
#include "BooleanDAG.h"
#include "NodeVisitor.h"
#include "VarStore.h"
#include <map>
#include "FloatSupport.h"
#include <tuple>
#include <iostream>
#ifndef _NOGSL
#include <gsl/gsl_vector.h>
#else
#include "CustomSolver.h"
#endif
#include "Util.h"
#include "Interface.h"
using na... | {
"alphanum_fraction": 0.6219429348,
"avg_line_length": 25.8245614035,
"ext": "h",
"hexsha": "26d51f76e7bea7304799c3d06e49d6ca928b72a9",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2020-12-06T01:45:04.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-12-04T20:47:... |
#include <geometry/basic_c.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_vector.h>
#include <math.h>
#include <stdio.h>
// author: Andrew Liew <liew@arch.ethz.ch>
// copyright: Copyright 2018, BLOCK Research Group - ETH Zurich
// license: MIT License
// email: liew@arch.ethz.ch
void drx_solver_c(
dou... | {
"alphanum_fraction": 0.4191721582,
"avg_line_length": 29.3413897281,
"ext": "c",
"hexsha": "5517b2b5d322a3f563d269614012cae2ff3c44fe",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#include <math.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
void read_matrix(int** index, int** matrix, double scaling, int N_kw, char* input_fileName)
{
FILE *fp = fop... | {
"alphanum_fraction": 0.5034305317,
"avg_line_length": 32.691588785,
"ext": "c",
"hexsha": "74444982063fa556849db2cebb2493021c085dea",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": ... |
#ifndef __QUANTUM_H__
#define __QUANTUM_H__
#include <iostream>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <gsl/gsl_sf.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_permutation.h>
#include <gsl/gsl_complex.h>
#include <gsl/gsl_complex_math.h>
#include <gsl/gsl_matrix... | {
"alphanum_fraction": 0.772479564,
"avg_line_length": 29.36,
"ext": "h",
"hexsha": "d3f4c0bc3f5cb81080770ca2932b90ea60c33188",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": "4ba1f21... |
#include "jfftw_Wisdom.h"
#include <fftw.h>
/*
* Class: jfftw_Wisdom
* Method: get
* Signature: ()Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_jfftw_Wisdom_get( JNIEnv * env, jclass clazz )
{
char* cwisdom = fftw_export_wisdom_to_string();
jstring wisdom = (*env)->NewStringUTF( env, cwisdom );
f... | {
"alphanum_fraction": 0.6887417219,
"avg_line_length": 23.4888888889,
"ext": "c",
"hexsha": "66a5ccca4d41e75a1820790f6a22c05d39eaa824",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2022-03-09T05:30:21.000Z",
"max_forks_repo_forks_event_min_datetime": "2022-03-08T14:04:... |
/*
NAME:
bovy_det
PURPOSE:
returns the determinant of a matrix
CALLING SEQUENCE:
bovy_det(gsl_matrix * A)
INPUT:
A - matrix
OUTPUT:
det(A)
REVISION HISTORY:
2008-09-21 - Written Bovy
*/
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_linalg.h>
double bovy_det(gsl_matrix * A){
... | {
"alphanum_fraction": 0.6743295019,
"avg_line_length": 18.6428571429,
"ext": "c",
"hexsha": "06703deec660de0ac15f52b6079f447acbc65e85",
"lang": "C",
"max_forks_count": 26,
"max_forks_repo_forks_event_max_datetime": "2021-12-13T03:37:58.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-02-05T22:21... |
#ifndef STDAFX__H
#define STDAFX__H
#include <SDKDDKVer.h>
#if !defined(_STL_EXTRA_DISABLED_WARNINGS)
#define _STL_EXTRA_DISABLED_WARNINGS 4061 4324 4365 4514 4571 4582 4583 4623 4625 4626 4710 4774 4820 4987 5026 5027 5039
#endif
#if !defined(_SCL_SECURE_NO_WARNINGS)
#define _SCL_SECURE_NO_WARNINGS 1
#endif
#if !d... | {
"alphanum_fraction": 0.7588920026,
"avg_line_length": 73.0551181102,
"ext": "h",
"hexsha": "eb79b46a24443d028f08b39261d4bc4eae5d947e",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#include <stdio.h>
#include <time.h>
#include <linux/limits.h>
#include <sys/stat.h>
#include <unistd.h>
#include <math.h>
#include "Globals.h"
#include "constitutive_equations.h"
#include "Watershed.h"
#include "manufactured_solution.h"
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_blas.h>
... | {
"alphanum_fraction": 0.6559034732,
"avg_line_length": 30.462797619,
"ext": "c",
"hexsha": "f1f0329089e1912cd8ffba4361a4bf979edfd235",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2020-04-03T20:59:00.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-06-18T02:50:0... |
#include <Advent/Advent.h>
#include <DayConfig.h>
#include <Input.h>
#include <cblas.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <unicode/ustdio.h>
#include <unicode/ustring.h>
enum
{
OXY = 0,
CO2,
};
typedef struct
{
size_t oxy;
size_t co2;
} Part2Count;
typedef struct
{
bool h... | {
"alphanum_fraction": 0.5475453339,
"avg_line_length": 22.993220339,
"ext": "c",
"hexsha": "2b633cb73e44859037ceea4433d383490a56c80b",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": ... |
#include <petsc.h>
#include "flow.h"
#include "mesh.h"
#define DIM 2 /* Geometric dimension */
#define NFIELDS 3
static const FlowFieldDescriptor PhysicsFields[] = {{"Density", "Den",1},{"Momentum", "Momentum",DIM},{"Energy", "Energy",1},{NULL,0}};
typedef enum {EULER_PAR_GAMMA,EULER_PAR_RHOR,EULER_P... | {
"alphanum_fraction": 0.6001327217,
"avg_line_length": 40.2543554007,
"ext": "c",
"hexsha": "e8a9a9e24efde6d1c0fcb1859ff732c1aca5b494",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#include <gsl/gsl_math.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_multifit.h>
/* Fit
*
* y = X c
*
* where X is an n x p matrix of n observations for p variables.
*
* The solution includes a possibl... | {
"alphanum_fraction": 0.5159680639,
"avg_line_length": 30.5177664975,
"ext": "c",
"hexsha": "f65b06660806a68281a11e46b1ccf18d9d19c3cf",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <cblas.h>
#define NCols 5
#define Nrows 4
float A[] = { 8, 4, 7, 3, 5, 1, 1, 3, 2, 1, 2, 3, 2, 0, 1, 1 , 2, 3, 4, 1};
float x[] = { -1, 2, -1, 1, 2 };
float y[Nrows];
float alpha = 1.0, beta = 0.0;
char tbuf[1024];
int main() {
int i, j;
//... | {
"alphanum_fraction": 0.5318595579,
"avg_line_length": 20.2368421053,
"ext": "c",
"hexsha": "7a4c7dd38c5c4351502fb315a9e1c0b831b03141",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/* specfunc/gsl_sf_log.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2004 Gerard Jungman
*
* 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
* ... | {
"alphanum_fraction": 0.7024764562,
"avg_line_length": 22.936,
"ext": "h",
"hexsha": "2c90a6b608706d509097f9f6a29e63caf78b2b69",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": "ad97d... |
/* C functions for running SampleTau from Cython*/
/*System includes*/
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <sys/stat.h>
/*GSL includes*/
#include <gsl/gsl_vector.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <gsl/gsl_mat... | {
"alphanum_fraction": 0.4329560714,
"avg_line_length": 25.3058252427,
"ext": "c",
"hexsha": "4676b84bf8b5628c9ddbc8378a395685f89532c6",
"lang": "C",
"max_forks_count": 34,
"max_forks_repo_forks_event_max_datetime": "2022-03-14T12:22:54.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-10-17T20:45... |
// $Id: pfc_libraries.h 37984 2018-10-27 15:50:30Z p20068 $
// $URL: https://svn01.fh-hagenberg.at/bin/cepheiden/vocational/teaching/ESD/SPS3/2018-WS/ILV/src/Snippets/bitmap-gsl/pfc_libraries.h $
// $Revision: 37984 $
// $Date: 2018-10-27 17:50:30 +0200 (Sa., 27 Okt 2018) $
// $Auth... | {
"alphanum_fraction": 0.6067204301,
"avg_line_length": 32.6315789474,
"ext": "h",
"hexsha": "a6dd381d444d64d59c1cc0906a7416646608e651",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/* ode-initval/rk2imp.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman
*
* 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 op... | {
"alphanum_fraction": 0.6092645904,
"avg_line_length": 22.744047619,
"ext": "c",
"hexsha": "f27a76354acda10e6ced2888955068dd8d04a218",
"lang": "C",
"max_forks_count": 14,
"max_forks_repo_forks_event_max_datetime": "2021-06-10T03:09:53.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-04-29T20:31:... |
#ifndef PyGSL_ERROR_HELPER_H
#define PyGSL_ERROR_HELPER_H 1
#include <pygsl/intern.h>
#include <pygsl/utils.h>
#include <gsl/gsl_errno.h>
#include <pygsl/errorno.h>
/*
* 22 Sep. 2009 Pierre Schnizer
* Uncomment only if trouble with the gsl error handler (e.g. when using
* Python with threading support (typical ufun... | {
"alphanum_fraction": 0.6609279253,
"avg_line_length": 36.8494623656,
"ext": "h",
"hexsha": "cf6f0fe2d37451ce1d933530a8ce616def0c3a9f",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2018-10-02T06:18:07.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-10-02T06:18:... |
/****************************************************************************
* *
* Author : lukasz.iwaszkiewicz@gmail.com *
* ~~~~~~~~ *
* Lice... | {
"alphanum_fraction": 0.2102874433,
"avg_line_length": 38.8823529412,
"ext": "h",
"hexsha": "7960ea31f0387ee64f4ea4d0014944f8f74fd24c",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#ifndef SPN_H
#define SPN_H
#include "init_cy_fde.h"
#include "matrix_util.h"
//#include <cblas.h>
typedef struct SemiCircularNet{
int p;
int d;
DCOMPLEX *Pa_h_A; // d
DCOMPLEX *Pa_omega; // 2*d
DCOMPLEX F_A[2]; //
DCOMPLEX h_A[2]; //
DCOMPLEX TG_Ge_sc[4] ; //
DCOMP... | {
"alphanum_fraction": 0.6761252446,
"avg_line_length": 21.4405594406,
"ext": "h",
"hexsha": "68709f77efbe117082f34140305f3666f1a32704",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/* multifit/lmniel.c
*
* Copyright (C) 2014 Patrick Alken
*
* 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 3 of the License, or (at
* your option) any later version.
* ... | {
"alphanum_fraction": 0.6025415082,
"avg_line_length": 28.1488250653,
"ext": "c",
"hexsha": "1c3f7891f745e68609cdb2e109a4663fad04ba41",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/* err/test_results.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman, Brian Gough
*
* 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... | {
"alphanum_fraction": 0.5664503386,
"avg_line_length": 17.0795180723,
"ext": "c",
"hexsha": "3d4c1293673140a8dd50e6675b2b464615995260",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:... |
/**
*
* @file core_zlag2c.c
*
* PLASMA core_blas kernel
* PLASMA is a software package provided by Univ. of Tennessee,
* Univ. of California Berkeley and Univ. of Colorado Denver
*
* @version 2.6.0
* @author Mathieu Faverge
* @date 2010-11-15
* @precisions mixed zc -> ds
*
**/
#include <lapacke.h>
#incl... | {
"alphanum_fraction": 0.5263332229,
"avg_line_length": 29.8910891089,
"ext": "c",
"hexsha": "b122133a2e7446f486de79aaf36d03fd104034c8",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/* blas/gsl_blas.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman
*
* 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 3 of the License, or (at
* your option)... | {
"alphanum_fraction": 0.5446447969,
"avg_line_length": 37.5448613377,
"ext": "h",
"hexsha": "531e47edbdf9808460c9510ec7d8b5006cf5c618",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#pragma once
#include <vector>
#include <array>
#include <iostream>
#include <stdexcept>
#include <cassert>
#include <gsl/gsl.h>
#include"utils/math.h"
namespace util{
namespace math{
template<typename T, int64_t M>
struct Vector{
Vector(gsl::span<T, M> const vals) : _val(M, T{}) {
// std::cerr<<M<<" Ve... | {
"alphanum_fraction": 0.5578675838,
"avg_line_length": 29.6683673469,
"ext": "h",
"hexsha": "7530ea934ce3913fabe7946d22e85a037baac252",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
//====---- Sudoku/Size.h ----====//
//
// The size definition that rules them all.
//====--------------------------------------------------------------------====//
#pragma once
#include <gsl/gsl>
#include <limits>
namespace Sudoku
{
template<int N>
struct Size
{
using in... | {
"alphanum_fraction": 0.584947839,
"avg_line_length": 31.9523809524,
"ext": "h",
"hexsha": "76a481d0436adc82c9cf7b367651011ec4c3902d",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2020-04-20T16:26:42.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-04-20T16:26:4... |
/*
* Copyright (c) 1997-1999 Massachusetts Institute of Technology
*
* 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 later versio... | {
"alphanum_fraction": 0.5722776719,
"avg_line_length": 29.1405228758,
"ext": "c",
"hexsha": "b30c5d524b75be428125eba2db7be017f4d893bc",
"lang": "C",
"max_forks_count": 8,
"max_forks_repo_forks_event_max_datetime": "2022-03-29T02:59:10.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-11-20T07:52:... |
/* statistics/gsl_statistics_float.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Jim Davies, Brian Gough
*
* 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 Lice... | {
"alphanum_fraction": 0.793648427,
"avg_line_length": 70.6,
"ext": "h",
"hexsha": "352d0e94466692bf180059e2991ee735c2b7af39",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": "f6ed9b75... |
/*
* author: Achim Gaedke
* created: May 2001
* file: pygsl/src/ieeemodule.c
* $Id: ieeemodule.c,v 1.7 2008/10/25 18:56:35 schnizer Exp $
*
*/
#include <pygsl/error_helpers.h>
#include <pygsl/general_helpers.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_ieee_utils.h>
#include <gsl/gsl_errno.h>
/*
* constants de... | {
"alphanum_fraction": 0.7248024668,
"avg_line_length": 26.4744897959,
"ext": "c",
"hexsha": "78d1a003aa2117ee54254b34c2c1c7b433c573e7",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2018-10-02T06:18:07.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-10-02T06:18:... |
#include "defines.h"
#include <string.h>
#include "lib.h"
#include <gsl/gsl_cblas.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_spline.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_eigen.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_blas.h>
#include <sys/types.h>
#include <sys/stat.h>
extern REAL * opa;
exter... | {
"alphanum_fraction": 0.5893586601,
"avg_line_length": 21.3333333333,
"ext": "c",
"hexsha": "5041c1603e6a041d2c47df6c11f0c106460b6aeb",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2021-09-09T19:10:00.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-06-14T12:12:... |
/* BRAINS
* (B)LR (R)everberation-mapping (A)nalysis (I)n AGNs with (N)ested (S)ampling
* Yan-Rong Li, liyanrong@ihep.ac.cn
* Thu, Aug 4, 2016
*/
/*!
* \file sim.c
* \brief generate mocked 2d data.
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <stddef.h>
#include <math.h>
#include <f... | {
"alphanum_fraction": 0.5842324322,
"avg_line_length": 26.1873015873,
"ext": "c",
"hexsha": "5c9e9b56bcda9dda8208c0fdc9d85fe0b1a1cf56",
"lang": "C",
"max_forks_count": 4,
"max_forks_repo_forks_event_max_datetime": "2020-11-22T12:54:58.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-06-12T13:51:... |
/*
* Copyright (c) 1997-1999 Massachusetts Institute of Technology
*
* 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 later versio... | {
"alphanum_fraction": 0.5864268402,
"avg_line_length": 29.1412639405,
"ext": "c",
"hexsha": "d64df79bd8ab78bfd1a02915225b94ead7a7317e",
"lang": "C",
"max_forks_count": 8,
"max_forks_repo_forks_event_max_datetime": "2022-03-29T02:59:10.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-11-20T07:52:... |
#include <stdio.h>
#include <stdlib.h>
#include <gsl/gsl_rng.h>
/* gcc gsl_mersenne_twister.c -lgsl -lcblas */
int main(int argc, char **argv){
const gsl_rng_type * T;
gsl_rng * r;
int i, n_points;
double x;
T = gsl_rng_mt19937;
r = gsl_rng_alloc (T);
n_points = atoi(argv[1]);
for(i=0;i<n_points;i+... | {
"alphanum_fraction": 0.617866005,
"avg_line_length": 16.7916666667,
"ext": "c",
"hexsha": "1875ee221f856903231129e25890204d59a50ae8",
"lang": "C",
"max_forks_count": 18,
"max_forks_repo_forks_event_max_datetime": "2021-11-18T06:11:00.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-01-21T16:08:... |
#ifndef __SVEC_H__
#define __SVEC_H__
#define HAVE_INLINE
#include <gsl/gsl_vector.h>
typedef gsl_vector_float *svec;
#define svec_alloc gsl_vector_float_alloc
#define svec_calloc gsl_vector_float_calloc
#define svec_free gsl_vector_float_free
#define svec_get gsl_vector_float_get
#define svec_set gsl_vector_float_s... | {
"alphanum_fraction": 0.8309492848,
"avg_line_length": 26.5172413793,
"ext": "h",
"hexsha": "8e1a7ecdaa3787d66f8789df5dfa50d5d9220e1b",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <asf.h>
#include "asf_tiff.h"
#include <gsl/gsl_math.h>
#include <proj_api.h>
#include "asf_jpeg.h"
#include <png.h>
#include "envi.h"
#include "dateUtil.h"
#include <time.h>
#include "matrix.h"
#include <asf_nan.h>
#include <as... | {
"alphanum_fraction": 0.6793866264,
"avg_line_length": 44.9491525424,
"ext": "c",
"hexsha": "7bce4dec757af3fe5a0f5630630c5f6c82f65c04",
"lang": "C",
"max_forks_count": 7,
"max_forks_repo_forks_event_max_datetime": "2020-05-15T08:01:09.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-04-26T18:18:... |
/*
* BRAINS
* (B)LR (R)everberation-mapping (A)nalysis (I)n AGNs with (N)ested (S)ampling
* Yan-Rong Li, liyanrong@ihep.ac.cn
* Thu, Aug 4, 2016
*/
/*!
* \file transfun.c
* \brief calculate transfer functions and emission lines
*/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <float.h>
#... | {
"alphanum_fraction": 0.593879668,
"avg_line_length": 23.2990936556,
"ext": "c",
"hexsha": "fda19e4a0c0aa81f7102e164abb46a50ed6c88b1",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": ... |
/*
** compute correlation matrix
**
** G.Lohmann, Feb 2011
*/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_statistics.h>
#include <gsl/gsl_sort.h>
#include <gs... | {
"alphanum_fraction": 0.6078508086,
"avg_line_length": 25.9054054054,
"ext": "c",
"hexsha": "9f4923082c54501b20b250cd4feea18ba5ad30e2",
"lang": "C",
"max_forks_count": 8,
"max_forks_repo_forks_event_max_datetime": "2022-03-22T08:05:46.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-09-29T10:33:... |
/*
* Copyright (c) 2016-2021 lymastee, All rights reserved.
* Contact: lymastee@hotmail.com
*
* This file is part of the gslib project.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in t... | {
"alphanum_fraction": 0.6820348114,
"avg_line_length": 34.9710144928,
"ext": "h",
"hexsha": "2fcc2424bd41a7c868367ea512f5b8e90eb20396",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2016-10-19T15:20:58.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-10-19T15:20:... |
/*
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "aXe_grism.h"
#include "aXe_utils.h"
#include "aXe_errors.h"
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_spline.h>
#include "fringe_conf.h"
#include "fringe_model.h"
#define AXE_IMAGE_P... | {
"alphanum_fraction": 0.7015706806,
"avg_line_length": 25.4666666667,
"ext": "c",
"hexsha": "a75af892d853f0090bb482af7ef914c52f48b49b",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/* popGenTools.h
/
/
/ Andrew Kern
/
/
*/
#define MAXSNPS 1000000
#include <gsl/gsl_vector.h>
#include <gsl/gsl_matrix.h>
struct snp{ /*SNP struct definition- meant to hold position, derived freq, sample size */
int pos, i, n, ascSize;
};
struct my_F_params{
int i, n, ascSize;
};
struct my_snpProb_params{
i... | {
"alphanum_fraction": 0.7863354037,
"avg_line_length": 39.0776699029,
"ext": "h",
"hexsha": "7f9d8ced924864e61db1e166814a9557986921fa",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#include "stdlib.h"
#include "stdio.h"
#include "/home/lillian/work/install_fpdebug/valgrind-3.7.0/fpdebug/fpdebug.h"
#include <gsl/gsl_sf.h>
int main(int argc, const char * argv[]) {
unsigned long int hexdouble;
int a;
a = atoi(argv[1]);
int b;
b = atoi(argv[2]);
int c;
c = atoi(argv[3]);
int d;
d = atoi(argv[4]);
int... | {
"alphanum_fraction": 0.6607142857,
"avg_line_length": 21.9130434783,
"ext": "c",
"hexsha": "0243eebe16e740398d6a7f257587751215dea4d7",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#include <string.h>
#include <sys/types.h>
#include <stdint.h>
#include <math.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_wavelet.h>
#include <fftw3.h>
#include "common.h"
#include "utils.h"
#include "filters.h"
filters_t *filters_init(ANALYSIS_WAVEFORM_BASE_TYPE *inWav, size_t n)
{
filters_t *fHdl;
fHdl ... | {
"alphanum_fraction": 0.5731896418,
"avg_line_length": 31.7684729064,
"ext": "c",
"hexsha": "80345c1ea253adb573e93d0e6910d99f27942157",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2020-12-14T11:30:47.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-01-17T08:46:... |
/**
* @copyright (c) 2017 King Abdullah University of Science and Technology (KAUST).
* All rights reserved.
**/
/**
* @file codelet_zhagcm.c
*
* HiCMA codelets kernel
* HiCMA is a software package provided by King Abdullah University of Science and Technology (KAUST)
*
* @version 0.1.1
... | {
"alphanum_fraction": 0.5689989557,
"avg_line_length": 30.8894009217,
"ext": "c",
"hexsha": "7b9746c7b030140f537c491e1c0a7af165637b68",
"lang": "C",
"max_forks_count": 8,
"max_forks_repo_forks_event_max_datetime": "2022-03-03T22:26:56.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-11-21T07:35:... |
/**
* @file batchv_zgemv.c
*
* Part of API test for Batched BLAS routines.
*
* @author Samuel D. Relton
* @author Pedro V. Lara
* @author Mawussi Zounon
* @date 2016-06-01
*
* @precisions normal z -> c d s
*
**/
#include <cblas.h>
#include "bblas.h"
#define COMPLEX
void batchv_zgemv(
const enum BBLAS_T... | {
"alphanum_fraction": 0.6814317673,
"avg_line_length": 23.28125,
"ext": "c",
"hexsha": "101f80764377ee4cb3805b5ae4d81565e4ff09f7",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": "117... |
#ifndef GrowthFunctionBase_H
#define GrowthFunctionBase_H
#include <stdio.h>
#include <iostream>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_blas.h>
#include <array>
#include <vector>
class GrowthFunctionBase{
private:
public:
GrowthFunctionBase(int id, int type, float initTime, float endTime, bool applyToColumna... | {
"alphanum_fraction": 0.7483713355,
"avg_line_length": 88.7710843373,
"ext": "h",
"hexsha": "b0ebad554d37f0e81130e0fb3c11eca37ddf0f07",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-07-28T12:26:51.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-05-06T11:38:... |
#ifndef ITIMING_H
#define ITIMING_H
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <chameleon.h>
#include <al4san.h>
#include <runtime/al4san_quark.h>
#define _TYPE double
#define _PREC double
#... | {
"alphanum_fraction": 0.4605109489,
"avg_line_length": 39.5953757225,
"ext": "h",
"hexsha": "2bf863af2874fd363f2b4629610b63c2dafce286",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#include <gsl/gsl_rng.h>
#include <gsl/gsl_sort_double.h>
int
main ()
{
gsl_rng * r;
int i, k = 5, N = 100000;
double * x = malloc (N * sizeof(double));
double * small = malloc (k * sizeof(double));
gsl_rng_env_setup();
r = gsl_rng_alloc (gsl_rng_default);
for (i = 0; i < N; i++)
{
x[i] =... | {
"alphanum_fraction": 0.5372848948,
"avg_line_length": 15.8484848485,
"ext": "c",
"hexsha": "bd18aefe9a16ca3440c1d9e55208098385cecab2",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-02-14T12:31:02.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-20T16:22:... |
#include "ccv.h"
#include "ccv_internal.h"
#ifdef HAVE_CBLAS
#include <cblas.h>
#elif HAVE_ACCELERATE_FRAMEWORK
#include <Accelerate/Accelerate.h>
#endif
double ccv_trace(ccv_matrix_t* mat)
{
return 0;
}
double ccv_norm(ccv_matrix_t* mat, int type)
{
return 0;
}
double ccv_normalize(ccv_matrix_t* a, ccv_matrix_t**... | {
"alphanum_fraction": 0.6425396825,
"avg_line_length": 41.0423452769,
"ext": "c",
"hexsha": "c185c9f568783a160804f7beda31de2cffd4d091",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#include <stdio.h>
#include <sys/time.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#define NUMBER_OF_ELEMENTS 1
#define MEAN 0
#define STANDARD_DEVIATION 1
int main (int argc, char *argv[])
{
int number_of_elements;
if (argc == 1) {
number_of_elements = NUMBER_OF_E... | {
"alphanum_fraction": 0.54375,
"avg_line_length": 28.6567164179,
"ext": "c",
"hexsha": "0f69e0694792514b7561aaf7b092a4321bea431a",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": "911... |
/* Foundation and miscellenea for the statistics modules.
*
* Contents:
* 1. Summary statistics (means, variances)
* 2. Special functions
* 3. Standard statistical tests
* 4. Data fitting.
* 5. Unit tests.
* 6. Test driver.
* 7. Examples.
* - driver for linear regression
* - driver f... | {
"alphanum_fraction": 0.5240299039,
"avg_line_length": 33.5130151844,
"ext": "c",
"hexsha": "ed133f0dbf25b0a8c054ea4ec747d2d564cc63ef",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#pragma once
/*
* (C) Copyright 2020-2021 UCAR
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
*/
/*! \defgroup ioda_cxx_variable Variables, Data Access, and Selections
* \brief The main data storage methods and... | {
"alphanum_fraction": 0.6824904953,
"avg_line_length": 45.2853773585,
"ext": "h",
"hexsha": "96fc29c3a43142e4853ba4d98e80ceb76f5be54e",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#include "emulator_struct.h"
#include "libEmu/emulator.h"
#include "libEmu/regression.h"
#include "libEmu/emulate-fns.h"
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_blas.h>
/*********************************************************************
Allocates emulator_struct.
*
* ccs, should be thread safe now
***********... | {
"alphanum_fraction": 0.6611369614,
"avg_line_length": 34.0896551724,
"ext": "c",
"hexsha": "87ee401a66a0c975c8a1a33dddd7169009b40560",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-01-30T16:43:33.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-01-30T16:43:... |
/* stable/stable_integration.h
*
* Functions to perform numerical integration used when calculating
* the PDF and CDF of alpha-stable distributions. Based on GSL
* numerical quadrature methods.
*
* Copyright (C) 2013. Javier Royuela del Val
* Federico Simmross Wattenberg
*
* This program ... | {
"alphanum_fraction": 0.7162329616,
"avg_line_length": 32.28,
"ext": "h",
"hexsha": "9c36bfab4ccca163b8c6486c993312f7acf525e6",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": "784ef7... |
/* rng/ran0.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 James Theiler, Brian Gough
*
* 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 ... | {
"alphanum_fraction": 0.6580570547,
"avg_line_length": 25.6831683168,
"ext": "c",
"hexsha": "108a90598816b43b0de51dadd329f9e391026689",
"lang": "C",
"max_forks_count": 40,
"max_forks_repo_forks_event_max_datetime": "2022-03-03T23:23:37.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-02-26T15:31... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <math.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <gsl/gsl_sort.h>
#include <gsl/gsl_math.h> // gsl_finite
#ifdef _OPENMP
#include <omp.h>
#endif
const size_t N=10000;
const size_t T=1000;
const size_t K=20;... | {
"alphanum_fraction": 0.5529926427,
"avg_line_length": 27.7845303867,
"ext": "c",
"hexsha": "2db94cbabb24f296c09e66253a1045362fa7d98e",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#ifndef LDA_DOC_TOPIC_PROB_SELECT_H
#define LDA_DOC_TOPIC_PROB_SELECT_H
#include "Lambda.h"
#include "LambdaCreationFunctions.h"
#include "SelectionComp.h"
#include "PDBVector.h"
#include "IntIntVectorPair.h"
#include "IntDoubleVectorPair.h"
#include "DocAssignment.h"
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randis... | {
"alphanum_fraction": 0.6452611219,
"avg_line_length": 29.375,
"ext": "h",
"hexsha": "c2701d596b1e5d14734b65d9da468d5ce48eb8bf",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2022-03-06T19:28:19.000Z",
"max_forks_repo_forks_event_min_datetime": "2022-01-18T02:13:53.000Z... |
/**
*
* @file qwrapper_dlaswp.c
*
* PLASMA core_blas quark wrapper
* PLASMA is a software package provided by Univ. of Tennessee,
* Univ. of California Berkeley and Univ. of Colorado Denver
*
* @version 2.6.0
* @author Mathieu Faverge
* @date 2010-11-15
* @generated d Tue Jan 7 11:44:58 2014
*
**/
#inc... | {
"alphanum_fraction": 0.4758579998,
"avg_line_length": 36.0602836879,
"ext": "c",
"hexsha": "49601903e8698a9abc3ed92390070f78495f7aac",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/* $Id$ */
/*
* Copyright (c) 2014 Kristaps Dzonsons <kristaps@kcons.eu>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVI... | {
"alphanum_fraction": 0.5910380881,
"avg_line_length": 21.5619967794,
"ext": "c",
"hexsha": "eeb79d3cad3fada0c42ac79f1107fd4d1d8c64ed",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/* specfunc/dilog.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman
*
* 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... | {
"alphanum_fraction": 0.5939572083,
"avg_line_length": 28.6281800391,
"ext": "c",
"hexsha": "82c2c982fb3f3585d964bd914b760b341c6e72b1",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2015-10-02T01:32:59.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-10-02T01:32:... |
/**
* \file IIRFilter.h
*/
#ifndef ATK_EQ_IIRFILTER_H
#define ATK_EQ_IIRFILTER_H
#include <algorithm>
#include <cassert>
#include <vector>
#include <gsl/gsl>
#include <ATK/config.h>
#include <ATK/Core/TypeTraits.h>
#include <ATK/EQ/config.h>
namespace ATK
{
/// IIR filter template class (Direct Form I)
templ... | {
"alphanum_fraction": 0.6248573686,
"avg_line_length": 36.3993610224,
"ext": "h",
"hexsha": "1406a91ebf6ff1af77bbb6db0d0466d4a50fa7fe",
"lang": "C",
"max_forks_count": 48,
"max_forks_repo_forks_event_max_datetime": "2021-04-07T02:33:07.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-08-15T12:08... |
#ifndef TOY_VN_GENERATOR_H
#define TOY_VN_GENERATOR_H
#include <iostream>
#include <fstream>
#include <string>
#include <cmath>
#include <complex>
#include <vector>
#include <iomanip>
#include <stdio.h>
#include <algorithm>
#include <chrono>
#include <random>
#include <omp.h>
#include "sampled_distribut... | {
"alphanum_fraction": 0.5743559017,
"avg_line_length": 35.2109704641,
"ext": "h",
"hexsha": "7fb21322ff1fba779f413603f1c541b48f46a91a",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <Accelerate/Accelerate.h>
struct _FINCHAIN {
int length; // Length of state vector
int currentIter;
double *currentState, *avg... | {
"alphanum_fraction": 0.742211838,
"avg_line_length": 22.5263157895,
"ext": "h",
"hexsha": "06e22a796b5e372a57c4ac242a42022784fc6757",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": ... |
/*
* test.c
*
*
* Created by ashleyr on 30/06/2010.
* Copyright 2010 __MyCompanyName__. All rights reserved.
*
*/
#include "headera.h"
#include <stdlib.h>
//#include <malloc.h>
//#include <fstream>
//#include <iomanip>
#include <stdio.h>
#include <math.h>
//#include <string>
#include <time.h>
#include <gsl/... | {
"alphanum_fraction": 0.5287616177,
"avg_line_length": 24.5740740741,
"ext": "c",
"hexsha": "c41cf9ab0b0c4f1fb7ed862a6cd5fc0050c30962",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
//===--- Sudoku/Location_Utilities.h ---===//
//
// Utilities for class Sudoku::Location
//===----------------------------------------------------------------------===//
#pragma once
#include "Board_Section_traits.h"
#include "Location.h"
#include "Size.h"
#include "traits.h"
#inclu... | {
"alphanum_fraction": 0.681712153,
"avg_line_length": 28.4850498339,
"ext": "h",
"hexsha": "9df5873fe59fbc00c0a9592f2f84d06e0c3a0911",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha": ... |
#pragma once
//=============================================================================
// EXTERNAL DECLARATIONS
//=============================================================================
#include "Core/Components/IComponentInterface.h"
#include "Core/Components/IdType.h"
#include <memory>
#include <gsl/span>... | {
"alphanum_fraction": 0.4307832423,
"avg_line_length": 31.3714285714,
"ext": "h",
"hexsha": "4a607d4b5bc5727b10074e047a626e6f4e916e63",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2015-09-25T22:24:16.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-09-25T22:24:... |
/*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
** **
** This file forms part of the Underworld geophysics modelling application. **
** ... | {
"alphanum_fraction": 0.3644251627,
"avg_line_length": 51.2222222222,
"ext": "h",
"hexsha": "c6d25abbaa9f13ac37ca31b3777fe4a6a01792d4",
"lang": "C",
"max_forks_count": 68,
"max_forks_repo_forks_event_max_datetime": "2021-08-25T04:54:26.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-12-14T21:57... |
// Standard libraries.
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
// Libraries from packages outside ASF.
#include <glib.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_spline.h>
#include <gsl/gsl_statistics_double.h>
// Libraries developed at ASF.
#include <... | {
"alphanum_fraction": 0.62247748,
"avg_line_length": 38.4106571936,
"ext": "c",
"hexsha": "0d8dc934e139cf3c96364e6d4c51dec66aecff45",
"lang": "C",
"max_forks_count": 7,
"max_forks_repo_forks_event_max_datetime": "2020-05-15T08:01:09.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-04-26T18:18:33... |
#pragma once
#include "parser.h"
#include "format.h"
#include "nameutils.h"
#include "utils.h"
#include <sfun/string_utils.h>
#include <cmdlime/errors.h>
#include <gsl/gsl>
#include <algorithm>
#include <sstream>
#include <iomanip>
#include <functional>
#include <optional>
namespace cmdlime::detail{
namespace str = sf... | {
"alphanum_fraction": 0.5503396097,
"avg_line_length": 33.8110465116,
"ext": "h",
"hexsha": "fa283da571c57e9e2de55992d27731d55d403fdd",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2021-05-22T00:36:08.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-05-22T00:36:... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <time.h>
#include <gsl/gsl_rng.h>
#include "allvars.h"
#include "proto.h"
void init()
{
int i;
double dT, T1, T2;
strcpy(fname_results, "data/results.txt");
fp_results = fopen(fname_results, "w");
#ifdef JAVELIN
fprintf... | {
"alphanum_fraction": 0.6592065107,
"avg_line_length": 22.2398190045,
"ext": "c",
"hexsha": "314730228cf2eb5e66ea30217fdcdea50c15e2d3",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2020-04-12T11:48:42.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-12-29T06:04:... |
#ifndef TTT_UTIL_TEXTURECACHE_H
#define TTT_UTIL_TEXTURECACHE_H
#include <SDL_render.h>
#include <gsl/pointers>
#include <gsl/util>
#include <vector>
#include <memory>
#include <string_view>
namespace ttt::gfx
{
// A class for caching textures for reuse.
class TextureCache final
{
public:
using SizeType = gsl... | {
"alphanum_fraction": 0.7474683544,
"avg_line_length": 33.6170212766,
"ext": "h",
"hexsha": "4a7919c1cf518d9a7b4d1c72bf3aa7bbfff4f101",
"lang": "C",
"max_forks_count": null,
"max_forks_repo_forks_event_max_datetime": null,
"max_forks_repo_forks_event_min_datetime": null,
"max_forks_repo_head_hexsha":... |
/*
* Copyright (c) 2016-2021 lymastee, All rights reserved.
* Contact: lymastee@hotmail.com
*
* This file is part of the gslib project.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in t... | {
"alphanum_fraction": 0.6867770469,
"avg_line_length": 31.0492957746,
"ext": "h",
"hexsha": "6c9d75d369b5a29eba22dbdf8095f32b074ec6ab",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2016-10-19T15:20:58.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-10-19T15:20:... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.