Search is not available for this dataset
text string | meta dict |
|---|---|
#pragma once
#define QT_IS_BROKEN
#define QAPPLICATION_CLASS QApplication // for SingleApplication
// Windows
#include <Windows.h>
#include <SetupAPI.h>
#include <winioctl.h>
#include <BluetoothAPIs.h>
#include <Bthioctl.h>
#include <Dbt.h>
#include <Hidsdi.h>
#include <shellapi.h>
#include <Xinput.h>
// STL
#incl... | {
"alphanum_fraction": 0.7430167598,
"avg_line_length": 19.7064220183,
"ext": "h",
"hexsha": "437e5c40f8c9b214f6b8d457e150e27c03e61fba",
"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":... |
/**
*
* @file
*
* PLASMA is a software package provided by:
* University of Tennessee, US,
* University of Manchester, UK.
*
**/
#ifndef ICL_CORE_LAPACK_H
#define ICL_CORE_LAPACK_H
#ifdef PLASMA_WITH_MKL
#include <mkl_cblas.h>
#include <mkl_lapacke.h>
// MKL LAPACKE doesn't provide LAPACK_GLOBA... | {
"alphanum_fraction": 0.7020576132,
"avg_line_length": 27,
"ext": "h",
"hexsha": "6c50c72cee8ca5dbee28cd601b96453d236a8e02",
"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": "92648b6c0... |
#pragma once
#include "iobserver.h"
#include "irequest.h"
#include <gsl/pointers>
#include <atomic>
#include <vector>
#include <Windows.h>
namespace died
{
namespace observer
{
namespace callback
{
unsigned WINAPI start_thread_proc(LPVOID);
VOID CALLBACK terminate_proc(__in ULONG_PTR);
VOID CALLBACK a... | {
"alphanum_fraction": 0.7536231884,
"avg_line_length": 24.2777777778,
"ext": "h",
"hexsha": "bbf72f12d2c2a63b8f03ea23237d0d358318af30",
"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 <gsl/gsl_min.h>
#include <gsl/gsl_multimin.h>
| {
"alphanum_fraction": 0.7297297297,
"avg_line_length": 18.5,
"ext": "c",
"hexsha": "6b9a98cc0bc42c35a2221baf7a33325ed079ba71",
"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:57.000Z",... |
#pragma once
#include <string_view>
#include <gsl/span>
#include <spirv_cross.hpp>
namespace glslang
{
class TShader;
}
namespace Babylon
{
class ShaderCompiler
{
public:
ShaderCompiler();
~ShaderCompiler();
struct ShaderInfo
{
std::unique_ptr<const spirv_... | {
"alphanum_fraction": 0.6874328679,
"avg_line_length": 26.6,
"ext": "h",
"hexsha": "9cf0d126cffce4d3585e87caa8798d562c579624",
"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": "dc15fbd... |
#ifndef GUARD_QDWF_H
#define GUARD_QDWF_H
#include "Numerics/Spline3D/Config.h"
#include "Numerics/Spline3D/uGrid1D.h"
#include "Numerics/Spline3D/CubicSpline.h"
#include "Optimize/VarList.h"
#include <gsl/gsl_sf_airy.h>
#include <math.h>
#include <iostream>
using namespace std;
class QDwf
{
std::vector<double> ... | {
"alphanum_fraction": 0.5295768062,
"avg_line_length": 22.5105263158,
"ext": "h",
"hexsha": "b79ef9be38dfec857043de2beef4f4f92e0f99aa",
"lang": "C",
"max_forks_count": 26,
"max_forks_repo_forks_event_max_datetime": "2021-03-02T22:09:15.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-10-26T22:11... |
/* $Id$ */
/*--------------------------------------------------------------------*/
/*; Copyright (C) 2003-2018 */
/*; Associated Universities, Inc. Washington DC, USA. */
/*; */
/*; This progr... | {
"alphanum_fraction": 0.6912240841,
"avg_line_length": 42.5241545894,
"ext": "h",
"hexsha": "d34e31ac397ad4e07e4e64986789e212ce6169e2",
"lang": "C",
"max_forks_count": 8,
"max_forks_repo_forks_event_max_datetime": "2022-03-31T12:16:08.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-08-29T15:12:... |
// Copyright (C) 2022. Huawei Technologies Co., Ltd. All rights reserved.
// 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 the Software without restriction, including without limitation the rights to use,... | {
"alphanum_fraction": 0.533324233,
"avg_line_length": 34.926102503,
"ext": "h",
"hexsha": "7afdb9731074bcdc6461c9829d2e1a3060d1bee4",
"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 "rev/Utilities.h"
#include <algorithm>
#include <cstddef>
#include <glm/glm.hpp>
#include <gsl/gsl_assert>
#include <gsl/span>
#include <limits>
#include <vector>
namespace rev {
template <typename PointType>
struct WeightedControlPoint {
PointType point;
typename PointType::value_type ... | {
"alphanum_fraction": 0.6167192429,
"avg_line_length": 33.3684210526,
"ext": "h",
"hexsha": "529b665a111198535de3bb2285fcabbcd4d1ff51",
"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":... |
//
// Created by karl_ on 2020-5-3.
//
#include <stdlib.h>
#include <math.h>
#include <cblas.h>
#include <core/color-space.h>
#include <imgproc/histogram-equalization.h>
// ref: https://www.math.uci.edu/icamp/courses/math77c/demos/hist_eq.pdf
static void histeq(double const *src, double *dst, size_t area... | {
"alphanum_fraction": 0.6034535924,
"avg_line_length": 31.4854368932,
"ext": "c",
"hexsha": "31586ad8c4d99e8454b1feb9ad0c6bd2fed6adcc",
"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 [2019, 2020] [IBM 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
Unless required by applicable law or agree... | {
"alphanum_fraction": 0.7218622101,
"avg_line_length": 26.8990825688,
"ext": "h",
"hexsha": "21840f94503ff1a37723b0ddcda5d0e937472f30",
"lang": "C",
"max_forks_count": 13,
"max_forks_repo_forks_event_max_datetime": "2022-01-26T01:56:42.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-11-02T06:30... |
#ifndef __CROSSBOW_BLAS_H_
#define __CROSSBOW_BLAS_H_
#include <cblas.h>
#include <jni.h>
void blas_init (int size, int bufferSize);
void blas_free ();
enum CBLAS_TRANSPOSE getCblasTrans (const char *);
void *getObjectBufferAddress (JNIEnv *, jobject, int);
#endif /* __CROSSBOW_BLAS_H_ */
| {
"alphanum_fraction": 0.7542087542,
"avg_line_length": 17.4705882353,
"ext": "h",
"hexsha": "f294f1d044d46a548328aeb545586f768858983e",
"lang": "C",
"max_forks_count": 7,
"max_forks_repo_forks_event_max_datetime": "2022-03-30T06:13:09.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-03-20T14:56:... |
#ifndef __INS_C_H__
#define __INS_C_H__
/********************************* TRICK HEADER *******************************
PURPOSE:
(Describe the INS Module On Board, Error equations based on Zipfel, Figure 10.27, space stabilized INS with GPS updates)
LIBRARY DEPENDENCY:
((../src/gnc_var.c)
(../src/In... | {
"alphanum_fraction": 0.7237929535,
"avg_line_length": 34.5714285714,
"ext": "h",
"hexsha": "f1fc4e904c6f0a96c65e1565e2db858bcf613323",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-06-17T03:19:45.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-05-05T14:59:... |
/*
* Assignment 4, Question 5 matvec implementation in C using MPI.
*
* Copyright (C) 2015, Jonathan Gillett (100437638)
* All rights reserved.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <cblas.h>
#include <mpi.h>
// Minimum of two values
#define min(a, b) (((a) < (b)... | {
"alphanum_fraction": 0.5990225244,
"avg_line_length": 31.3733333333,
"ext": "c",
"hexsha": "83ed710e839fc1d7bca56cfd184de326fa73e92d",
"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 <gsl/gsl_combination.h>
void
print_all_combinations ( size_t n, size_t k );
int
main (void)
{
gsl_combination * c;
size_t i;
printf("all subsets of {0,1,2,3} by size (lex. order)\n") ;
for(i = 0; i <= 4; i++)
{
c = gsl_combination_calloc (4, i);
do
{
... | {
"alphanum_fraction": 0.5773584906,
"avg_line_length": 21.7808219178,
"ext": "c",
"hexsha": "b5dac224e235c7131f4a44934bf14947913e3ca9",
"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:... |
/*
* Reinforcement Learning Book / Exercise 4.7
*
* $ sudo apt-get install libgsl-dev libgsl2
* $ gcc car_rental2.c -lgsl -lgslcblas -lm -o car_rental2
*/
#include <stdio.h>
#include <stdlib.h>
#include <gsl/gsl_randist.h>
#define Size 20
#define Iteration 100
#define Rent1_mean 3
#define Rent2_mean 4
#define ... | {
"alphanum_fraction": 0.4175757576,
"avg_line_length": 27.0491803279,
"ext": "c",
"hexsha": "085c0253e5e4263108ad663e0d3a6a62e8ecae9c",
"lang": "C",
"max_forks_count": 10,
"max_forks_repo_forks_event_max_datetime": "2021-01-11T12:46:22.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-08-22T06:19... |
#include <glib.h>
#include <gsl/gsl_rng.h>
#include <stdlib.h>
#include "util.h"
hash_t *hash_create () {
return (char*) g_hash_table_new(g_direct_hash, g_direct_equal);
}
void hash_set (hash_t *table, size_t key, size_t value) {
g_hash_table_replace((GHashTable*)table, (gpointer)key, (gpointer)value);
}
size_t ... | {
"alphanum_fraction": 0.606092437,
"avg_line_length": 21.4736842105,
"ext": "c",
"hexsha": "a1384745c2d480e631c6e6848b6ebcafac22a7a7",
"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 "tino/backends/backends.h"
#include "tino/backends/tensor_wrappers.h"
#include "tino/utils/macros.h"
#ifdef TINO_OPENBLAS_READY
#include <cblas.h>
#endif
namespace tino {
namespace core {
class context;
}
namespace backends {
namespace blas {
enum class layout_t {
#ifdef TIN... | {
"alphanum_fraction": 0.5644054878,
"avg_line_length": 29.8181818182,
"ext": "h",
"hexsha": "b52775d2972960134b8a65369a9701bc2f593f3e",
"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_nlinear/fdf.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Brian Gough
* Copyright (C) 2015, 2016 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; eit... | {
"alphanum_fraction": 0.5884461009,
"avg_line_length": 27.25,
"ext": "c",
"hexsha": "fc0c1134b1e440e6d66d3f4711014dee62400cef",
"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:57.000Z"... |
#pragma once
#include <gsl/span>
#include <array>
#include "halley/core/api/audio_api.h"
namespace Halley
{
class AudioSource {
public:
virtual ~AudioSource() {}
virtual uint8_t getNumberOfChannels() const = 0;
virtual size_t getSamplesLeft() const = 0;
virtual bool isReady() const { return true; }
virtu... | {
"alphanum_fraction": 0.7306733167,
"avg_line_length": 21.1052631579,
"ext": "h",
"hexsha": "cc09a0588dcdf29104ebe2acde8d3b0574599edb",
"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":... |
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <php.h>
#include <cblas.h>
#include <lapacke.h>
#include "php_ext.h"
#include "kernel/operators.h"
void tensor_matmul(zval * return_value, zval * a, zval * b)
{
unsigned int i, j;
Bucket * row;
zval rowC, c;
zend_zephir_globals_def * zephir_gl... | {
"alphanum_fraction": 0.5519580635,
"avg_line_length": 21.3355263158,
"ext": "c",
"hexsha": "53c62228a83df7cfa4b4272508a82e0f645b667b",
"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_layout Groups and Data Layout
* \brief Public API for ioda::Group, ioda::ObsGroup, and dat... | {
"alphanum_fraction": 0.7047191011,
"avg_line_length": 38.1428571429,
"ext": "h",
"hexsha": "e93aec95a372e6208f3101e321ff85c7f1b396ad",
"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 <gsl\gsl>
#include <winrt\base.h>
#include <d3d11.h>
#include "DrawableGameComponent.h"
#include "DynamicLODMaterial.h"
#include "MatrixHelper.h"
namespace Rendering
{
class DynamicLODDemo final : public Library::DrawableGameComponent
{
public:
DynamicLODDemo(Library::Game& game, const std:... | {
"alphanum_fraction": 0.7820710974,
"avg_line_length": 32.35,
"ext": "h",
"hexsha": "5f3d8402df4e6ad09ed5d5837c3adcabe772fe5e",
"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... |
/* filter/test.c
*
* Copyright (C) 2018 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.6769911504,
"avg_line_length": 24.5060240964,
"ext": "c",
"hexsha": "2318e02905dd508bf69d818ffb6d3e5999e271dc",
"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:... |
/** @file */
#ifndef __CCL_NEUTRINOS_H_INCLUDED__
#define __CCL_NEUTRINOS_H_INCLUDED__
#include <gsl/gsl_spline.h>
#include <gsl/gsl_const_mksa.h>
// maximum number of species
#define CCL_MAX_NU_SPECIES 3
// limits for the precomputed spline of phase
// space diagram in MNU/T
#define CCL_NU_MNUT_MIN 1e-4
#define CCL_... | {
"alphanum_fraction": 0.7602155366,
"avg_line_length": 36.5081967213,
"ext": "h",
"hexsha": "a1594a9d5c73c243e0152757bab88eb55656ce85",
"lang": "C",
"max_forks_count": 54,
"max_forks_repo_forks_event_max_datetime": "2022-02-06T13:12:10.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-07-12T13:08... |
/* roots/test.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Reid Priedhorsky, 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.6286838918,
"avg_line_length": 31.3544303797,
"ext": "c",
"hexsha": "2651d225f7a0701e1f3362b41873c083b9bc9a6e",
"lang": "C",
"max_forks_count": 14,
"max_forks_repo_forks_event_max_datetime": "2020-03-12T12:31:25.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-07-21T04:47... |
// A cascade of IntegralHOGDetectors.
//
// Copyright 2012 Mark Desnoyer (mdesnoyer@gmail.com)
#ifndef __HOG_DETECTOR_INTEGRAL_HOG_CASCADE_TRAINER_H__
#define __HOG_DETECTOR_INTEGRAL_HOG_CASCADE_TRAINER_H__
#include <ros/ros.h>
#include <boost/shared_ptr.hpp>
#include <boost/scoped_ptr.hpp>
#include <functional>
#inc... | {
"alphanum_fraction": 0.6618672152,
"avg_line_length": 37.5579399142,
"ext": "h",
"hexsha": "f5954100f1ffdf56947cb93a1f174dd8787ba5b8",
"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":... |
/***************************************************************************************
* Multivariate Normal density function and random number generator
* Multivariate Student t density function and random number generator
* Wishart random number generator
* Using GSL -> www.gnu.org/software/gsl
*
* Copyr... | {
"alphanum_fraction": 0.6019093449,
"avg_line_length": 35.0108695652,
"ext": "c",
"hexsha": "47baae4c127cc069c8beeb54e1bdd1a64ae68a5b",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2018-09-15T10:37:33.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-09-15T10:37:... |
/***************************************************************************
File : Fit.h
Project : QtiPlot
--------------------------------------------------------------------
Copyright : (C) 2006 by Ion Vasilief
Email (use @ for *) : ion_vasilief*yahoo.fr
... | {
"alphanum_fraction": 0.6528409692,
"avg_line_length": 35.1338289963,
"ext": "h",
"hexsha": "99feb4e564be453410786d11ebf4e8950b2cac05",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2017-12-06T12:16:47.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-03-25T15:50:... |
#pragma once
#include <type_traits>
#include <gsl/gsl>
#include "sly/macros.h"
#include "sly/types.h"
template <class T>
struct is_unique_ptr : std::false_type
{};
template <class T, class D>
struct is_unique_ptr<std::unique_ptr<T, D>> : std::true_type
{};
template <class T>
struct unique_ptr_type
{};
template <c... | {
"alphanum_fraction": 0.5898352502,
"avg_line_length": 28.4690265487,
"ext": "h",
"hexsha": "31581302f884224fdc5efb9b19a31f86367b93d8",
"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 <math.h>
#include <gsl/gsl_spmatrix.h>
#include <assert.h>
#include "graph_struct.h"
// pour améliorer la complexité:
// -> Les matrices de graph sont symétriques, on peut donc n'effectuer les opérations lors de la création du graph que sur une moitié de celui-ci
// -> Faire l'attribution... | {
"alphanum_fraction": 0.5839635098,
"avg_line_length": 30.741697417,
"ext": "c",
"hexsha": "589eb4a44b7dcf9930d551428958cf1a5654f7ea",
"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": ... |
/**
*
* @file example_dgelqf.c
*
* PLASMA testing routines
* PLASMA is a software package provided by Univ. of Tennessee,
* Univ. of California Berkeley and Univ. of Colorado Denver
*
* @brief Example using LQ factorization
*
* @version 2.6.0
* @author Bilel Hadri
* @date 2010-11-15
* @generated d Tue J... | {
"alphanum_fraction": 0.5554175722,
"avg_line_length": 28.1310043668,
"ext": "c",
"hexsha": "38ee3505ef66e1f604f1baaa05616e42cfda5ffe",
"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":... |
//
// mcrat.h
// Global header file for all of MCRaT
//
// Created by Tyler Parsotan on 7/23/21.
//
//define on and off for switches
#define ON 1
#define OFF 0
//define switches for MCRaT to continue a simulation 'c' or initalize a simulation
#define INITALIZE 'i'
#define CONTINUE 'c'
//define the codes for the... | {
"alphanum_fraction": 0.7195190471,
"avg_line_length": 32.8376383764,
"ext": "h",
"hexsha": "93c7d7694d43e974aa93418276f1e76157cc24ec",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2021-11-20T09:12:08.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-06-09T16:11:... |
#pragma once
#include "halley/text/halleystring.h"
#include "halley/utils/utils.h"
#include <gsl/span>
namespace Halley
{
class Path
{
public:
Path();
Path(const char* name);
Path(const std::string& name);
Path(const String& name);
Path(const Path& other) = default;
Path(Path&& other) noexcept = defau... | {
"alphanum_fraction": 0.7142857143,
"avg_line_length": 25.9620253165,
"ext": "h",
"hexsha": "7f83b6fffd240f2048f3fb368c4875f059a211fc",
"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 2020 Makani Technologies LLC
*
* 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 ... | {
"alphanum_fraction": 0.6497302158,
"avg_line_length": 30.0540540541,
"ext": "c",
"hexsha": "bccab2b3bf2704f908ff1e7d8c56e635edfe64f3",
"lang": "C",
"max_forks_count": 107,
"max_forks_repo_forks_event_max_datetime": "2022-03-18T09:00:14.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-09-10T17:2... |
#pragma once
#include <gsl.h>
#include <boost/graph/graph_traits.hpp>
#include <boost/range/adaptor/filtered.hpp>
#include "VesselForestData.h"
namespace crimson
{
struct ActiveVesselsFilter {
ActiveVesselsFilter() = default;
ActiveVesselsFilter(const VesselForestData* owner)
: _owner(owner)
{
... | {
"alphanum_fraction": 0.7027737226,
"avg_line_length": 36.6310160428,
"ext": "h",
"hexsha": "219a18a052a50b232a961f9faab9cd3f7fe956e7",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2021-07-26T17:39:57.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-05-19T09:02:... |
#pragma once
#include <cstdint>
#include <functional>
#include <memory>
#include <string>
#include <tuple>
#include <utility>
#include <vector>
#include <gsl/gsl>
#include <nonstd/optional.hpp>
#include "chainerx/array_body.h"
#include "chainerx/array_fwd.h"
#include "chainerx/device.h"
#include "chainerx/dtype.h"
#... | {
"alphanum_fraction": 0.7361906235,
"avg_line_length": 36.308988764,
"ext": "h",
"hexsha": "d2668613609bbd5553084346eb4cf5a25752b1dc",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2018-05-28T22:43:34.000Z",
"max_forks_repo_forks_event_min_datetime": "2018-05-28T22:43:3... |
/* eigen/test.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) an... | {
"alphanum_fraction": 0.621784104,
"avg_line_length": 29.0025641026,
"ext": "c",
"hexsha": "c48e1bd528632bc94c741bc9fccca1ca4332eae6",
"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:5... |
#ifndef PROBABILITY_MODEL_H
#define PROBABILITY_MODEL_H
#include <vector>
#include <gsl/gsl_sf_gamma.h>
#include "data_input.h"
using namespace std;
class probability_model {
public:
probability_model( unsigned long int end, unsigned long int diff);
virtual ~probability_model();
virtual double ... | {
"alphanum_fraction": 0.7404047453,
"avg_line_length": 36.7435897436,
"ext": "h",
"hexsha": "398053ba203acb95375643df4a8d8fde0c636515",
"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 CELL_CYCLE_H
# define CELL_CYCLE_H
#include <vector>
#include <deque>
#include <string>
#include <memory>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <math.h>
using namespace std;
#define CONSTANT_PHASE 0
#define EXPONENTIAL_PHASE 1
#endif
//////////////////////////////////////////////... | {
"alphanum_fraction": 0.6505675495,
"avg_line_length": 26.9041916168,
"ext": "h",
"hexsha": "16d685cf338263b957cdb7d4d4c9ef7bbed5b8c0",
"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 <gsl/gsl_math.h>
#include <gsl/gsl_sum.h>
#define N 20
int
main (void)
{
double t[N];
double sum_accel, err;
double sum = 0;
int n;
gsl_sum_levin_u_workspace * w
= gsl_sum_levin_u_alloc (N);
const double zeta_2 = M_PI * M_PI / 6.0;
/* terms for zeta(2) = \sum_{n=1... | {
"alphanum_fraction": 0.55,
"avg_line_length": 20.8333333333,
"ext": "c",
"hexsha": "65dacc96557f0c78f2d93d927ebf3fd6d3e83099",
"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:57.000Z"... |
#pragma once
#include <memory>
#include <string>
#include <gsl/gsl>
#include "chainerx/backend.h"
#include "chainerx/device.h"
#include "chainerx/kernel_registry.h"
namespace chainerx {
namespace native {
class NativeDevice;
class NativeBackend;
namespace native_internal {
// Creates a device instance.
// This f... | {
"alphanum_fraction": 0.7473363775,
"avg_line_length": 24.3333333333,
"ext": "h",
"hexsha": "cb9ab4b2ff9e88987e59618b36d86e97d9f9c0cc",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-02-26T10:27:27.000Z",
"max_forks_repo_forks_event_min_datetime": "2019-07-16T00:24:... |
#ifndef _fim_h_included_
#define _fim_h_included_
#include <assert.h>
#include <stdlib.h>
#include <algorithm>
#include <cctype>
#include <fstream>
#include <functional>
#include <iostream>
#include <map>
#include <numeric>
#include <set>
#include <sstream>
#include <vector>
#include <sstream>
#include <string>
#inclu... | {
"alphanum_fraction": 0.580866426,
"avg_line_length": 29.6256684492,
"ext": "h",
"hexsha": "67af9c9695e3c256c206f2a9f704104cd9693d31",
"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": ... |
/* linalg/ptlq.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough
* Copyright (C) 2004 Joerg Wensch, modifications for LQ.
*
* 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 ... | {
"alphanum_fraction": 0.534464313,
"avg_line_length": 26.8706365503,
"ext": "c",
"hexsha": "8c3e74630803bab6d8d430697663827c7b3c8a57",
"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:5... |
/* matrix/gsl_matrix_float.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 ... | {
"alphanum_fraction": 0.6460455362,
"avg_line_length": 37.1922005571,
"ext": "h",
"hexsha": "3793a89e0d95e8e9a9b72763ee1999eabc8b3222",
"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 <gsl/gsl_errno.h>
#include <gsl/gsl_spline.h>
#include <gsl/gsl_interp.h>
static double fun(double x) {
return x + cos(x * x);
}
int main(void) {
const double a = 1.0;
const double b = 10.0;
const int steps = 10;
double xi, yi, x[10... | {
"alphanum_fraction": 0.5433070866,
"avg_line_length": 29.1475409836,
"ext": "c",
"hexsha": "4a43f0907743d2a81879d0fc99daa84bdafb9f84",
"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":... |
/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* 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 a... | {
"alphanum_fraction": 0.6318359375,
"avg_line_length": 29.2571428571,
"ext": "c",
"hexsha": "275da67cf30ef070c10787983b69afc60bf36d28",
"lang": "C",
"max_forks_count": 188,
"max_forks_repo_forks_event_max_datetime": "2022-03-17T06:46:43.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-11-29T22:5... |
#ifndef CWANNIER_EVCACHE_H
#define CWANNIER_EVCACHE_H
#include <stdbool.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_matrix.h>
#include "input.h"
#include "ecache.h"
#include "submesh.h"
typedef struct {
int na;
int nb;
int nc;
int num_bands;
int G_order[3];
int G_neg[3];
UEInputFn UEf... | {
"alphanum_fraction": 0.724822695,
"avg_line_length": 22.03125,
"ext": "h",
"hexsha": "6495ee6f56fe097b98c811f544340a0458456b60",
"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": "1a78... |
#if !defined (STATISTICS_H)
#define STATISTICS_H
#include <iostream>
#include <fstream>
#include <string>
#include <cmath>
#include <vector>
#include <algorithm>
#include "Rand.h"
#include <gsl/gsl_sf_gamma.h>
#include <gsl/gsl_sf_bessel.h>
using namespace std;
const int XMAX = 600;
const long double EXPXMAX... | {
"alphanum_fraction": 0.6949152542,
"avg_line_length": 35.8214285714,
"ext": "h",
"hexsha": "d089733de2c2a07a7650ace59eb7404e53e74e0e",
"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 <mpi.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#include <math.h>
#include <gsl/gsl_math.h>
#ifdef INVARIANCETEST
#define DO_NOT_REDEFINE_MPI_COMM_WORLD
#endif
#include "allvars.h"
#include "proto.h"
/*! \file main.c
* \brief start of the pro... | {
"alphanum_fraction": 0.7406662837,
"avg_line_length": 38.2637362637,
"ext": "c",
"hexsha": "2e5d3d9655cfb9bbbd6c43e32c6c070e1a2c2a62",
"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 <math.h>
#include <gsl/gsl_integration.h>
#define NMAX 100
double f (double x, void *params);
double f (double x, void *params)
{
double n = *(double *) params;
double f = exp (-x) * pow (x, n);
return f;
}
void integralGen (int nmin, int nmax, double vals[]);
void integralGen... | {
"alphanum_fraction": 0.5900900901,
"avg_line_length": 21.1428571429,
"ext": "c",
"hexsha": "cacee6151909f4903a3d3bb7ad443c1dd85dfd6f",
"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/jacobi.c
*
* Copyright (C) 2004 Brian Gough, 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) any later v... | {
"alphanum_fraction": 0.5147204763,
"avg_line_length": 23.2538461538,
"ext": "c",
"hexsha": "7f4a4dc78ec82e70a76c7aa51fcb8058da30a101",
"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... |
/* specfunc/gsl_sf_dilog.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 2 of the License, or (at
* your... | {
"alphanum_fraction": 0.7131001778,
"avg_line_length": 28.593220339,
"ext": "h",
"hexsha": "6c64e3dfef362aca7cca09e2533763c54961cea3",
"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:5... |
#include <assert.h>
#include <time.h>
#include <stdlib.h>
#include <gsl/gsl_randist.h>
#include <gsl/gsl_rng.h>
#include "utils/utils.h"
#include "utils/compress.h"
#include "rule.h"
#define DIRICHLET 1
#define D_CONST .4
void populate_buf(uint64_t grule_size, uint8_t* rule_array, char* rule_buf)
{
/* Populate buf... | {
"alphanum_fraction": 0.6104950269,
"avg_line_length": 29.6508474576,
"ext": "c",
"hexsha": "4b351d9d246395d6c0abaf1c20d27cc7b1b8045b",
"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 _UI_HELPERS_H_
#define _UI_HELPERS_H_
#define OEMRESOURCE
#include <algorithm>
#include <functional>
#include <memory>
#include <optional>
#include <span>
#include <string>
#include <type_traits>
#include <unordered_map>
#include <vector>
#include <ppl.h>
#include <gsl/gsl>
#include <range/v3/all.hpp>
// I... | {
"alphanum_fraction": 0.722007722,
"avg_line_length": 17.7397260274,
"ext": "h",
"hexsha": "1722810d842bc2a46d44ec3b772f72fea536ffb2",
"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 Twitch Interactive, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT
#pragma once
#include <gsl/span>
#include <vector>
namespace Twitch::Utility {
class OutputByteStream {
public:
void reserve(size_t size)
{
_data.reserve(size);
}
template<typename ... | {
"alphanum_fraction": 0.6324662813,
"avg_line_length": 24.7142857143,
"ext": "h",
"hexsha": "b13fd9a049b94a8422ccd78d95de5feb8b1fbdb8",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2021-08-10T21:55:56.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-10-02T17:34:... |
/*
* Copyright 2016 Maikel Nadolski
*
* 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 agreed t... | {
"alphanum_fraction": 0.7031327698,
"avg_line_length": 31.9206349206,
"ext": "h",
"hexsha": "f030b91134c63ad26ce9cd07bfe829a288adf8c7",
"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":... |
/// @file rainbow-gen-userpk.c
/// @brief A command-line tool for generating the user public keys.
#include <rainbow_keypair.h>
#include <stdlib.h>
#include <stdio.h>
#include <api.h>
#include <utils.h>
#include <string.h>
#include <blas.h>
int main(int argc, char **argv) {
printf("%s\n", CRYPTO_ALGNAME);
... | {
"alphanum_fraction": 0.5967517401,
"avg_line_length": 25.3529411765,
"ext": "c",
"hexsha": "c7b6f43178044fbfc1129ebafd72007f35bc3672",
"lang": "C",
"max_forks_count": 1,
"max_forks_repo_forks_event_max_datetime": "2022-01-18T14:16:30.000Z",
"max_forks_repo_forks_event_min_datetime": "2022-01-18T14:16:... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
//#include <cem.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_vector.h>
void least_square_solver(double *matA, int n_row, int n_col, double *y, double *sol_x) {
int i, j, k, tmp;
double sum;
gsl_matrix * A = gsl_ma... | {
"alphanum_fraction": 0.5470752089,
"avg_line_length": 28.9516129032,
"ext": "c",
"hexsha": "852a5037e0d85dff7a4dd208304b3df9e9686f30",
"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 <gsl/span>
#include <memory>
#include <qbuffer.h>
#include <qthread.h>
#if QT_VERSION >= 0x060000
#include <QtMultimedia/QAudioSink>
#else
#include <QtMultimedia/QAudioOutput>
#endif
namespace contour
{
class Audio: public QObject
{
Q_OBJECT
public:
Audio();
~Audio() ove... | {
"alphanum_fraction": 0.712371134,
"avg_line_length": 22.0454545455,
"ext": "h",
"hexsha": "d2055f663374c1b55ef02729b85a64b925e8c60a",
"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/rng.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 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 (at
* ... | {
"alphanum_fraction": 0.62077597,
"avg_line_length": 20.6193548387,
"ext": "c",
"hexsha": "87ea74c134291a4669d008b6c9e23fd2fc016b20",
"lang": "C",
"max_forks_count": 14,
"max_forks_repo_forks_event_max_datetime": "2020-03-12T12:31:25.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-07-21T04:47:5... |
//
// likelihood.h
// EpiGenMCMC
//
// Created by Lucy Li on 13/04/2016.
// Copyright (c) 2016 Lucy Li, Imperial College London. All rights reserved.
//
#ifndef __EpiGenMCMC__likelihood__
#define __EpiGenMCMC__likelihood__
#include <vector>
#include <stdio.h>
#include <limits>
#include <gsl/gsl_cdf.h>
#include "p... | {
"alphanum_fraction": 0.7176616915,
"avg_line_length": 29.7777777778,
"ext": "h",
"hexsha": "a1761d9353b79fa8463bcddf34daca3c06d2f43a",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2020-03-16T22:17:38.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-03-13T16:20:... |
/* Copyright 2015 The TensorFlow Authors. 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 required by applicable law or a... | {
"alphanum_fraction": 0.7197341351,
"avg_line_length": 37.3905325444,
"ext": "h",
"hexsha": "d6b20e00d44b5e52e68bf9290d1c75c8568ae712",
"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":... |
/* -*- mode: C; c-basic-offset: 4 -*- */
/* ex: set shiftwidth=4 tabstop=4 expandtab: */
/*
* Copyright (c) 2018-2019, Colorado School of Mines
* All rights reserved.
*
* Author(s): Neil T. Dantam <ndantam@miens.edu>
* Georgia Tech Humanoid Robotics Lab
* Under Direction of Prof. Mike Stilman <mstilman@cc.gatech.... | {
"alphanum_fraction": 0.6545294635,
"avg_line_length": 22.5148514851,
"ext": "h",
"hexsha": "0008d427c393320d16ac649e2ffa32af8be611c7",
"lang": "C",
"max_forks_count": 20,
"max_forks_repo_forks_event_max_datetime": "2022-02-22T01:32:20.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-01-05T18:55... |
/* vector/gsl_vector_uchar.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 the Li... | {
"alphanum_fraction": 0.6948611931,
"avg_line_length": 34.8353909465,
"ext": "h",
"hexsha": "8b29abf33e4733c9c42001f4dd9e0be73a7e62c0",
"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:... |
//
// Created by chris on 07.05.21.
//
#pragma once
#include <gsl/gsl_errno.h>
#include <gsl/gsl_fft_real.h>
#include <gsl/gsl_fft_halfcomplex.h>
#include <numeric>
#include <vector>
class test {
public:
int n;
};
/**
* Calculates autocorrelation with FFT
* @param vec
* @return
*//*
std::vector<double> ac(c... | {
"alphanum_fraction": 0.6258351893,
"avg_line_length": 23.6315789474,
"ext": "h",
"hexsha": "45ea1cc93268284a480e0600ebb91b68790ca588",
"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 WASM_INSTRUCTION_H
#define WASM_INSTRUCTION_H
#include <cstddef>
#include <cstring>
#include <cstdint>
#include <type_traits>
#include <array>
#include <bitset>
#include <optional>
#include <variant>
#include <algorithm>
#include <iosfwd>
#include <ostream>
#include <iomanip>
#include <gsl/span>
#include <gsl/g... | {
"alphanum_fraction": 0.6868845755,
"avg_line_length": 35.9310474755,
"ext": "h",
"hexsha": "5a6a27cdd1d2e69aae453730dd1a9071d370df11",
"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 matrix class is a C++ wrapper for the GNU Scientific Library
// Copyright (C) ULP-IPB Strasbourg
// 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... | {
"alphanum_fraction": 0.7451620317,
"avg_line_length": 53.849009901,
"ext": "h",
"hexsha": "1b3f2ff2181400f742773892a96310553c35fde0",
"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 FISCO BCOS.
* SPDX-License-Identifier: Apache-2.0
* 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
*
* Un... | {
"alphanum_fraction": 0.7359513994,
"avg_line_length": 40.4298245614,
"ext": "h",
"hexsha": "6ab9dbd5957a443cb41b4652675bb24d93a8e6be",
"lang": "C",
"max_forks_count": 3,
"max_forks_repo_forks_event_max_datetime": "2021-12-06T06:35:57.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-09-08T02:39:... |
#include <gsl/gsl_math.h>
#include <gsl/gsl_cblas.h>
#include "cblas.h"
#include "error_cblas_l3.h"
void
cblas_dsymm (const enum CBLAS_ORDER Order, const enum CBLAS_SIDE Side,
const enum CBLAS_UPLO Uplo, const int M, const int N,
const double alpha, const double *A, const int lda,
... | {
"alphanum_fraction": 0.6715789474,
"avg_line_length": 27.9411764706,
"ext": "c",
"hexsha": "a57c47659aa688b100d945b97148b9128645c9f7",
"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... |
// Framework for using a CBLAS high performance library:
// General functions defined:
// copy(dest, src, len)
// scal(X, len, alpha): X <- alpha * X
// addScal(X, Y, len, alpha): X <- X + alpha * Y
// matrix_multiply(optA, optB, A, B, C, rows_op_A, cols_op_B, cols_op_A): C <- op(A) * op(B)
#ifndef HIGH_PERF_H
#... | {
"alphanum_fraction": 0.6623703238,
"avg_line_length": 24.8515625,
"ext": "h",
"hexsha": "43f64db4bc31fc26a443756baa6cc0855886a1fb",
"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": "b... |
#pragma once
#include <halley/maths/vector2.h>
#include <halley/maths/rect.h>
#include <memory>
#include <halley/resources/resource.h>
#include <halley/text/halleystring.h>
#include <halley/data_structures/hash_map.h>
#include <gsl/span>
#include "halley/maths/vector4.h"
namespace Halley
{
class Sprite;
class Resou... | {
"alphanum_fraction": 0.7539155197,
"avg_line_length": 26.1739130435,
"ext": "h",
"hexsha": "12086994d93a2ae8458ce15407314b2fb4af43b5",
"lang": "C",
"max_forks_count": 193,
"max_forks_repo_forks_event_max_datetime": "2022-03-22T12:59:58.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-10-23T06:0... |
#ifndef TTT_GS_GAMESTATESTACK_H
#define TTT_GS_GAMESTATESTACK_H
#include "GameState.h"
#include "../Utilities/Utilities.h"
#include <gsl/util>
#include <gsl/assert>
#include <deque>
#include <memory>
#include <optional>
namespace ttt::gs
{
class GameStateStack final
{
public:
using SizeType = gsl::index;
te... | {
"alphanum_fraction": 0.7362334802,
"avg_line_length": 27.5151515152,
"ext": "h",
"hexsha": "2430e59f0325d8ec676647e179e0733e78ce4398",
"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":... |
// SPDX-License-Identifier: MIT
// The MIT License (MIT)
//
// Copyright (c) 2014-2018, Institute for Software & Systems Engineering
// Copyright (c) 2018-2019, Johannes Leupolz
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the... | {
"alphanum_fraction": 0.7766153846,
"avg_line_length": 37.7906976744,
"ext": "h",
"hexsha": "42001a2df8dee5ceb56d1bfe521ea36a46a100fe",
"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":... |
/*
Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The OpenAirInterface Software Alliance licenses this file to You under
the OAI Publi... | {
"alphanum_fraction": 0.4323179646,
"avg_line_length": 40.0646135266,
"ext": "c",
"hexsha": "aac0752252e9da9fed222ed7ad60e76fe289391b",
"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) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#include <opencv2\core.hpp>
#include <gsl\gsl>
namespace mage
{
namespace clouds
{
void ComputeCharacteristics(
gsl::span<const cv::Point3f> points,
std::vector<cv::Vec3f>& normals,
... | {
"alphanum_fraction": 0.5573047859,
"avg_line_length": 27.8596491228,
"ext": "h",
"hexsha": "2af8c212f3eba2081be692f45d2edad13193e50d",
"lang": "C",
"max_forks_count": 16,
"max_forks_repo_forks_event_max_datetime": "2022-03-31T15:36:49.000Z",
"max_forks_repo_forks_event_min_datetime": "2020-05-07T03:09... |
#pragma once
#include "Availability.h"
#include "Library.h"
#include "OctreeTileID.h"
#include "TileAvailabilityFlags.h"
#include <gsl/span>
#include <cstddef>
#include <memory>
#include <vector>
namespace CesiumGeometry {
class CESIUMGEOMETRY_API OctreeAvailability final {
public:
/**
* @brief Constructs a n... | {
"alphanum_fraction": 0.7120503597,
"avg_line_length": 33.696969697,
"ext": "h",
"hexsha": "2fd8e9943753ad9bbc1e664e1a5f0d328242b759",
"lang": "C",
"max_forks_count": 66,
"max_forks_repo_forks_event_max_datetime": "2022-03-31T13:38:41.000Z",
"max_forks_repo_forks_event_min_datetime": "2021-03-30T15:14:... |
static const char help[] =
"Solves obstacle problem in 2D using SNESVI. Option prefix -obs_.\n"
"The obstacle problem is a free boundary problem for the Poisson equation\n"
"in which the solution u(x,y) is constrained to be above the obstacle psi(x,y):\n"
" - Lap u = f, u >= psi.\n"
"Equivalently it is a variation... | {
"alphanum_fraction": 0.6386603427,
"avg_line_length": 39.4312977099,
"ext": "c",
"hexsha": "be061410d5a76612c9aff49e47698ef95c07da0c",
"lang": "C",
"max_forks_count": 46,
"max_forks_repo_forks_event_max_datetime": "2022-03-22T07:43:17.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-07-23T09:26... |
#include <stdio.h>
#include <stdlib.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_permutation.h>
#include <gsl/gsl_linalg.h>
void test_matmul(){
int i, j;
gsl_matrix * m1 = gsl_matrix_alloc(10, 4);
gsl_matrix * m2 = gsl_matrix_alloc(10, 4);
for(i=0; i<10; i++){
fo... | {
"alphanum_fraction": 0.5003103662,
"avg_line_length": 26.6280991736,
"ext": "c",
"hexsha": "41dbc8d1ceeed59b67af4feb8a53d06d0de4af21",
"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/fishman2x.c
*
* 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 version.
*
* This program is distributed in the hop... | {
"alphanum_fraction": 0.6380919461,
"avg_line_length": 23.7131147541,
"ext": "c",
"hexsha": "afe0c2794ad603fe1ef18e0cdeb5453a93ff5ddc",
"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 <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <mpfr.h>
#include <petsc.h>
#include "../ellipsoid/ellipsoid.h"
#include "../ellipsoid/ellSolv.h"
#include "../constants.h"
#include "testFunctions.h"
#undef __FUNCT__
#define __FUNCT__ "main"
PetscErrorCode main(int argc, char **ar... | {
"alphanum_fraction": 0.676369863,
"avg_line_length": 22.4615384615,
"ext": "c",
"hexsha": "68941ae944984d2103b05f5eade6ccb890f8b914",
"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": ... |
/* $Header$ */
/* ncks -- netCDF Kitchen Sink */
/* Purpose: Extract (subsets of) variables from a netCDF file
Print them to screen, copy them to another file, or regrid them
Since 2015 ncks has also been the back-end to the ncremap regridder,
meaning that ncks implements the regridder API and functionality... | {
"alphanum_fraction": 0.6789398397,
"avg_line_length": 54.3533501896,
"ext": "c",
"hexsha": "c5f079a93d1f0cda45c47a12e4a470cfd393881b",
"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 KCLUSTER_H
#define KCLUSTER_H
#include <iostream>
#include <vector>
#include <gsl/gsl_combination.h>
#include "kSphere.h"
#include "kMath.h"
class kCluster {
private:
double r = 1.0; // the radii of the spheres
double r0 = 10.0; // the radii of the bourndary. Use a setter (set_boundary) to adjust.
p... | {
"alphanum_fraction": 0.5714668812,
"avg_line_length": 28.6846153846,
"ext": "h",
"hexsha": "415262e6207657e5ad0c8e3940506247675506c8",
"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":... |
/****************************************************************************
* Moreno2011Cell.h - defines cell_param struct - i.e. Cell
*
* Based on code from Moreno et al. 2011
*
* Created on: Sep 30, 2014
* Author: Anthony Varghese
************************************************************************... | {
"alphanum_fraction": 0.6646042363,
"avg_line_length": 39.1703056769,
"ext": "h",
"hexsha": "59e2418bb5a78a5babd572394538604ee8a4f1d3",
"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 <mpi.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <gsl/gsl_math.h>
#include "allvars.h"
#include "proto.h"
#ifdef RADTRANSFER
#ifdef EDDINGTON_TENSOR_STARS
static struct stardata_in
{
MyDouble Pos[3], Density, Mass;
MyFloat Hsml;
int NodeList[NODELISTLENGTH... | {
"alphanum_fraction": 0.6087574637,
"avg_line_length": 23.3687707641,
"ext": "c",
"hexsha": "1c378ea0604bcbb4ca60224dd8b634d0c1663a77",
"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 <gsl/gsl_sf_bessel.h>
int main(void) {
double x = 5.0;
printf("J0(%g) = %.18e\n", x, gsl_sf_bessel_J0(x));
return EXIT_SUCCESS;
}
| {
"alphanum_fraction": 0.625,
"avg_line_length": 17.4545454545,
"ext": "c",
"hexsha": "165f235c4380500eb245d56c4f9101ed467b9271",
"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": "4f815... |
#pragma once
#include <gsl/gsl>
#include <boost/noncopyable.hpp>
namespace hash_calculator
{
class FileMapper : private boost::noncopyable
{
public:
FileMapper(int fd, size_t startPosition, size_t maxBufsize);
~FileMapper();
void* getPtr(size_t currentPosition, size_t offset) const;
void mapping();... | {
"alphanum_fraction": 0.7183098592,
"avg_line_length": 17.75,
"ext": "h",
"hexsha": "9f295507c5b2392d9d0db753caa75c84d0365e04",
"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": "470882... |
#pragma once
#include <gsl/gsl_bspline.h>
#include <gsl/gsl_multifit.h>
#include <gsl/gsl_statistics.h>
#include <vector>
#include <utility>
#include <cmath>
class BSplineFit
{
public:
BSplineFit(const BSplineFit&);
BSplineFit();
~BSplineFit();
void initialize(unsigned dataSize, std::vector<double> datax, std::vec... | {
"alphanum_fraction": 0.7520630158,
"avg_line_length": 41.65625,
"ext": "h",
"hexsha": "36ff975bc69dc2115d3218f453122747bbc9bfac",
"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": "df1... |
// Precompiled headers go in here
#pragma once
// Standard Library Header
#include <format>
#include <fstream>
#include <memory>
#include <stdexcept>
#include <random>
#include <algorithm>
#include <utility>
#include <mutex>
#include <shared_mutex>
#include <execution>
#include <optional>
#include <iostream>
// Data ... | {
"alphanum_fraction": 0.737254902,
"avg_line_length": 19.125,
"ext": "h",
"hexsha": "90ee10abfdc30d8bc4122e129e2e4f659c823e5c",
"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": "8653f2... |
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
#include <Python.h>
#include <numpy/arrayobject.h>
#include <lapacke.h>
/* DGESVD prototype */
extern void LAPACK_dgesvd( char* jobu, char* jobvt, int* m, int* n, double* a,
int* lda, double* s, double* u, int* ldu, double* vt, int* ldvt,
... | {
"alphanum_fraction": 0.5190947666,
"avg_line_length": 31.6931034483,
"ext": "c",
"hexsha": "85a3e9f6f0921ad68f037dfa3f004477526f0cf8",
"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/test_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 o... | {
"alphanum_fraction": 0.6645890144,
"avg_line_length": 40.109375,
"ext": "c",
"hexsha": "d1ff3fdd1f866d6e46f0c4bec74b79a963018d09",
"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:59.0... |
#include <stdio.h>
#include <stdlib.h>
#include <gsl/gsl_vector_double.h>
#ifndef UTILS_H
#define UTILS_H
#define max
int get_nlines(char *);
void print_gsl_vector(gsl_vector *);
void print_intarray(int *, int);
gsl_vector *vector_sub(gsl_vector *, gsl_vector *);
double vector_dist(gsl_vector *, gsl_vector *);
gsl_vec... | {
"alphanum_fraction": 0.7537473233,
"avg_line_length": 23.35,
"ext": "h",
"hexsha": "78f3c64e0f41f04de8919e52b8f6a8bc7aacc6b3",
"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": "991763... |
#ifndef REACHOBJMULTIDEMO_H
#define REACHOBJMULTIDEMO_H
#include <cstdlib>
#include <ctime>
#include <vector>
#include <yarp/sig/all.h>
#include <yarp/os/all.h>
#include <yarp/dev/all.h>
#include <yarp/math/Math.h>
#include <iCub/iKin/iKinFwd.h>
#include <iCub/ctrl/math.h>
#include <gsl/gsl_math.h>
#include "reach... | {
"alphanum_fraction": 0.5487484442,
"avg_line_length": 29.1572580645,
"ext": "h",
"hexsha": "82b027f4ebe908cf6612325d37bde4ba02efbcfe",
"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 2008-2016 Jan Gasthaus
*
* 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 agre... | {
"alphanum_fraction": 0.6015898995,
"avg_line_length": 27.4166666667,
"ext": "h",
"hexsha": "f9d9d0cab5c76c71013fff9806ff905eac87370e",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2016-11-20T00:56:17.000Z",
"max_forks_repo_forks_event_min_datetime": "2016-11-17T19:19:... |
#ifndef TEST_COMMAND_INCLUDE
#define TEST_COMMAND_INCLUDE
#include <memory>
#include <string>
#include <vector>
#include <gsl/gsl>
#include "statement.h"
#include "yaml.h"
namespace execHelper {
namespace test {
namespace baseUtils {
using CommandKey = std::string;
using CommandKeys = std::vector<CommandKey>;
using... | {
"alphanum_fraction": 0.7338603426,
"avg_line_length": 27.6,
"ext": "h",
"hexsha": "9a66d64882016e7c9aca631b2c47496cd1071a4f",
"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:19.000Z",... |
/*
* Copyright 2017 Daniel Eachern Huang
*
* 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 ag... | {
"alphanum_fraction": 0.6596188869,
"avg_line_length": 28.8998716303,
"ext": "h",
"hexsha": "ebc916a9f95dc7fb34b02de18e6364e82688ed24",
"lang": "C",
"max_forks_count": 2,
"max_forks_repo_forks_event_max_datetime": "2019-02-18T20:17:36.000Z",
"max_forks_repo_forks_event_min_datetime": "2017-10-10T21:55:... |
/*
* applyForceToolFrame.h
*
* Created on: Sep 11, 2015
* Author: mas
*/
#ifndef APPLY_FORCE_TOOLFRAME_H_
#define APPLY_FORCE_TOOLFRAME_H_
#include <cmath>
#include <barrett/units.h>
#include <barrett/systems.h>
#include <barrett/products/product_manager.h>
#include <libconfig.h++>
#include <barrett/detail/c... | {
"alphanum_fraction": 0.5879383272,
"avg_line_length": 40.4917127072,
"ext": "h",
"hexsha": "c24232a2f194591b1638c0b5490aac298d3ce6bf",
"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 <gbpLib.h>
#include <gbpMath.h>
#include <gbpCosmo_core.h>
#include <gbpCosmo_NFW_etc.h>
#include <gsl/gsl_sf_expint.h>
// FFT of NFW profile from White '01
double rho_NFW_fft(double k, double M_vir, double z, int mode, cosmo_info **cosmo) {
double ... | {
"alphanum_fraction": 0.5758122744,
"avg_line_length": 28.4102564103,
"ext": "c",
"hexsha": "14d1c041609e0172852b3c36591647741a52077c",
"lang": "C",
"max_forks_count": 4,
"max_forks_repo_forks_event_max_datetime": "2016-08-01T08:14:24.000Z",
"max_forks_repo_forks_event_min_datetime": "2015-01-23T00:50:... |
#include <stdio.h>
#include <gsl/gsl_sort.h>
#include <gsl/gsl_statistics.h>
int
main(void)
{
double data[5] = {17.2, 18.1, 16.5, 18.3, 12.6};
double median, upperq, lowerq;
printf ("Original dataset: %g, %g, %g, %g, %g\n",
data[0], data[1], data[2], data[3], data[4]);
gsl_sort (data, 1, 5);
pri... | {
"alphanum_fraction": 0.475,
"avg_line_length": 27.027027027,
"ext": "c",
"hexsha": "2780f673d940c973da9689f15b4e3ba2fa4308b0",
"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.000Z... |
#pragma once
#define UPCA_ARCH_H
#include <memory>
#include <vector>
#include <stdint.h>
#include <gsl/gsl>
namespace upca {
namespace arch {
namespace detail {
template <typename Reason> struct null_resolver {
struct null_type {
friend std::ostream &operator<<(std::ostream &os, const null_type &) {
r... | {
"alphanum_fraction": 0.7023540793,
"avg_line_length": 24.0387596899,
"ext": "h",
"hexsha": "130ec6179623232a81ca629a80c1c3d3a552537c",
"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":... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.