sha256 stringlengths 64 64 | language stringclasses 27
values | size int32 1 491k | lines int32 1 21.8k | content stringlengths 1 200k |
|---|---|---|---|---|
2567bc6f46a297391f5c22ac59e795738789072dfc0da6175587ad2d596fd39d | C | 19,819 | 650 | /* FILE do_cmd */
/* Process commands */
#include <stdio.h>
#include <ctype.h> /* isdigit() */
#include "defs.h"
#include "cross.h"
#include "sac.h" /* Get saccade data */
/* ******************************************************************** */
static int offset_begin,
offset_end; /... |
57dfab86102e8a999b35ef1e52f33af472efbb36c96c76e983e54a99b8921843 | C | 19,844 | 579 | /*
* Copyright (C) 1996-1999,2001-2003,2010,2013,2026 Bernd Feige
* This file is part of avg_q and released under the GPL v3 (see avg_q/COPYING).
*/
/*
* fftspect.c module to calculate successive (spectral power) spectra
* in a sliding data window. Spectral power calculation based on programs
* from the Numerical... |
99f6d6db2c79072bcdcfa7ddda8faac562b8861a1a3a5877e953bc412705c0f7 | C | 19,883 | 566 | /* FILE pic.c */
/* Show version of experiment on upper 1/4 of screen */
/* Doesn't know about V_SYNC: will get timing wrong! */
/* Doesn't know that rewards are now cumulative */
/* ******************************************************************** */
#define DEBUG 0
#include "deffs.h"
#in... |
e2370b437566edf01431383daad937d535f6577dcbe40b6f8836abb901c0dc90 | C | 20,070 | 554 | /*
* Copyright (C) 1996-1999,2001-2004,2006-2008,2010-2014,2024 Bernd Feige
* This file is part of avg_q and released under the GPL v3 (see avg_q/COPYING).
*/
/*{{{}}}*/
/*{{{ Description*/
/*
* read_tucker.c module to read data from the Tucker format that is
* used with the `Geodesic Net' 128-electrode system.
... |
e3ddfccff8fa322c81cb8c72d99ff6997dd0d94b628d71290e0f51e03804807b | C | 20,288 | 664 | /* Autogenerated v4-0-0 from https://github.com/scottprahl/iad */
#include <math.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include "nr_zbrent.h"
#include "ad_globl.h"
#include "ad_frsnl.h"
#include "ad_prime.h"
#include "iad_type.h"
#include "iad_util.h"
#include "iad_calc.h"
#define ABIT 1e-6
#... |
ad68d6c2e2799c032264e0c5e0a1a1aee2014022378dbbeb169838e64fc06317 | C | 20,682 | 724 | /* Autogenerated v4-0-0 from https://github.com/scottprahl/iad */
#define _CRT_SECURE_NO_WARNINGS
#define MAX_COLUMNS 256
char COLUMN_LABELS[MAX_COLUMNS] = "";
int COLUMN_IS_CONSTANT[MAX_COLUMNS] = { 0 };
double COLUMN_CONSTANT_VALUE[MAX_COLUMNS] = { 0 };
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#in... |
aeeb1d10efd3910b3893a7e3743bf663d0919cc05381f334141793455d5133db | C | 20,758 | 678 | /* FILE yuqingmac.c */
/* Read a string of units in; normalize each to a single trial and
then add to a main register */
#include "../defs.h"
#include "../array.h" /* Access registers directly */
#include "../_imports/deffs.h"
#include "../_imports/event.h" /* Stack instruction definitions*... |
0fe217495332d6674b94ea5c2ab1008841abad27e5d665ed16d148dad0c37039 | C | 21,557 | 592 | /* plot2ps, a utility for converting Unix plot files into postscript.
Copyright (C) 1989 Free Software Foundation, Inc.
Plot2ps is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY. No author or distributor accepts responsibility to anyone for the
consequences of using it or for whether it s... |
12fa5880a2aa8116b06598bb4d668fbce3e4c0599cba7453cdae0422adf8bbfa | C | 21,655 | 541 | /*
* Copyright (C) 2020,2024 Bernd Feige
* This file is part of avg_q and released under the GPL v3 (see avg_q/COPYING).
*/
/*{{{}}}*/
/*{{{ Description*/
/*
* read_sigma.c module to read data from Sigma PLpro files
* (Data is always continuous)
* -- Bernd Feige 14.08.2020
*/
/*}}} */
/*{{{ Includes*/
#inclu... |
85c30241d8c587d7855a6c33e74544a046fd3075232b8c298de0e74ff911df00 | C | 21,848 | 492 | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <stddef.h>
#include <fxdiv.h>
#include <qnnpack/indirection.h>
#include <qnnpack/math.h>
#... |
793066f77f3bcc0b0a20a5f91021b329db90757c6b17ea548962b201522bc5b8 | C | 22,120 | 543 | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <arm_neon.h>
#include <qnnpack/q8gemm.h>
void pytorch_q8gemm_xzp_ukernel_4x8c2__neon(
... |
3e182a1ad3b62593063014e56cac604c00509a46a7ac5e6404376e49bc0cab10 | C | 22,214 | 741 | /* FILE event */
/* Handle stacks (and events within stacks) */
#include "deffs.h"
#include "event.h"
#include "event.i"
#include "config.h"
#include <string.h> /* strcmp() */
#define DEBUG 0 /* Levels 0 thru 2 */
#define PRINT_ONLY_SOME_EVENTS 0 /* Skip windows, etc. */
#define UPDATE_1998_EVENTS 1
... |
f3f27e9e806861282e0434b05d652e113b8b1dc7d452da538759dd82d3ee7ece | C | 22,665 | 661 | /* FILE input */
/* Input data for analysis, fill header, Data(analog),Spikes,Touches*/
/* NOTE: Throw away data that won't be used, ie, before start time,
after DurationTime(). (Bad idea: get edge effects!) */
#include "deffs.h"
#include "ad.h" /* DEGtoAD */
#include <fcntl.h> /* Open/close... |
76d48506ffd170e9e22d25c2b81dad80d11e1f99c3885436cfc04bab7d191ddb | C | 23,397 | 829 | /* Autogenerated v4-0-0 from https://github.com/scottprahl/iad */
#include <stdio.h>
#include <math.h>
#include "nr_util.h"
#include "ad_globl.h"
#include "ad_frsnl.h"
#include "iad_type.h"
#include "iad_util.h"
#include "iad_calc.h"
#include "iad_find.h"
#include "iad_pub.h"
#include "iad_io.h"
#include "stdlib.h"
#i... |
d6dd7658178f92186a1308dc5ae9c1eaf7679182279a6721fb1c99933930b4f4 | C | 23,620 | 663 | /*
* Copyright (C) 2008-2010,2012-2014,2024,2026 Bernd Feige
* This file is part of avg_q and released under the GPL v3 (see avg_q/COPYING).
*/
/*{{{}}}*/
/*{{{ Description*/
/*
* read_hdf.c module to read data from an hdf file
* -- Bernd Feige 21.10.1996
*
* HDF is special in that it supports both epoched and ... |
47d9bf86f7d68afc82949bd8e759af0713223c19f442caea0373f986ba42e6fd | C | 23,664 | 593 | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <arm_neon.h>
#include <qnnpack/q8gemm.h>
#include <requantization/runtime-neon.h>
void pyt... |
a8347bd86849ae1327775852639e2b2c622bda000f4e081c484eacefea9e3e9b | C | 23,728 | 780 | /* Autogenerated v4-0-0 from https://github.com/scottprahl/iad */
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "ad_globl.h"
#include "iad_type.h"
#include "iad_util.h"
#include "iad_calc.h"
#include "iad_agrid.h"
#define AGRID_TOL 0.05
#define AGRID_MIN_DEPTH 2
#... |
cd7b4aeab443586a2352e6cf3e2ce47ce71ac0a007a4aace81dadc8e62c01ebb | C | 23,793 | 655 | /*
* Copyright (C) 2008-2016,2022,2024-2026 Bernd Feige
* This file is part of avg_q and released under the GPL v3 (see avg_q/COPYING).
*/
/*{{{}}}*/
/*{{{ Description*/
/*
* read_generic.c module to read data from generic (binary or limited ASCII) files.
* -- Bernd Feige 10.12.1996
*/
/*}}} */
/*{{{ Includes... |
731c3ae0e62a6fe4a760b9fbe00e391c173d642ba4e9eb1f9c3fe6acc79ac7ed | C | 23,968 | 577 | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <arm_neon.h>
#include <qnnpack/q8gemm.h>
#include <requantization/runtime-neon.h>
void pyt... |
a25c543db632291f0cb3c6a4f12603c1779a35d3801a5a1136571def0c87e6bf | C | 24,304 | 656 | /////////////////////////////////////////////////////////////////////////////////
//
// Levenberg - Marquardt non-linear minimization algorithm
// Copyright (C) 2004-05 Manolis Lourakis (lourakis at ics forth gr)
// Institute of Computer Science, Foundation for Research & Technology - Hellas
// Heraklion, Crete, ... |
9c6db1d7fedc1c28f6550bb0af4cbc06ea0391d32e15344efa9bcdf4755e3b9f | C | 24,326 | 719 | /*
* Copyright (C) 2008,2010,2012,2014,2017,2025,2026 Bernd Feige
* This file is part of avg_q and released under the GPL v3 (see avg_q/COPYING).
*/
/*{{{}}}*/
/*{{{ Description*/
/*
* readasc.c module to read data from an ascii file
* -- Bernd Feige 20.01.1993
*
* This module allocates any memory necessary to ... |
89aa7fbde62089d182aa0fb3dd98f2c4eaccc4eacb0804ecb9aca91d56cd0fe1 | C | 24,403 | 1,277 | /*
* VOGL/VOGLE driver for X11.
*
* Define VOGLE if this driver is really for the VOGLE Libarary.
*
*/
#undef VOGLE
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#ifdef VOGLE
#include "vogle.h"
static char *me = "vogle";
#define LARGEFONT "-adobe-... |
8f5ebe05d0211c9b7839c3c89cf1d367ea0a73d62819c5c53c7f206b97e05734 | C | 24,404 | 602 | /* FILE macro */
/* Ascii output macros */
/* TO ADD A MACRO: */
/* 1) Add to Do_Macro and Print_Macro switches */
/* If graphics, return 1 from Do_Macro() */
/* 2) Add file to appropriate _macro/subdirectory */
/* 3) Add file name to approp ./Makefile macro list */
... |
81dac8c99cdee842f83cad5c1fb226179823b45ce4f7a21fd87088f6e533f04f | C | 24,581 | 826 | /////////////////////////////////////////////////////////////////////////////////
//
// Levenberg - Marquardt non-linear minimization algorithm
// Copyright (C) 2004-05 Manolis Lourakis (lourakis at ics forth gr)
// Institute of Computer Science, Foundation for Research & Technology - Hellas
// Heraklion, Crete, ... |
85bfe3de63dc726b09eab9c25ec376e080e342b5da58e54893c8270a1f138d5c | C | 25,082 | 708 | /*
* Copyright (C) 2026 Bernd Feige
* This file is part of avg_q and released under the GPL v3 (see avg_q/COPYING).
*/
/*{{{}}}*/
/*{{{ Description*/
/*
* write_hdf5.c method to write data to an HDF5 file
*
* Mirrors write_hdf.c. Dimension identification uses HDF5 Dimension Scales:
* - A "Channels" scale (1-D,... |
80678a31733992441f957ffe512c61c986b834e0f5bd17c360940ae00ae5dc14 | C | 25,213 | 730 | /*
* Copyright (C) 1993-2004,2006,2007,2009,2011-2014,2018,2026 Bernd Feige
* This file is part of avg_q and released under the GPL v3 (see avg_q/COPYING).
*/
/*
* trafo_std.c provides the default error and trace handling functions
* for the transform modules -- Bernd Feige 15.01.1993
*/
#include <stdio.h>
#incl... |
edcb7b19d5534509127b3725720cdb8a0047196922a2af00c9d3631111168d0e | C | 26,281 | 865 | /* Autogenerated v4-0-0 from https://github.com/scottprahl/iad */
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include "ad_globl.h"
#include "nr_util.h"
#include "nr_mnbrk.h"
#include "nr_brent.h"
#include "nr_amoeb.h"
#include "iad_type.h"
#include "iad_util.h"
#include "iad_calc.h"
#include "iad_agrid.h... |
6fc8930f828877f471f5828b5509463e0d55dff80a1ee1e286e6ae7865fd5374 | C | 26,439 | 1,062 | /****************************************************************************
PROGRAM: MSWIN.C
PURPOSE: MS-Windows driver for VOGLE/VOGL
FUNCTIONS:
WinMain() - calls initialization function, calls user's VOGLE program (main)
InitApplication() - initializes window data and registers window
InitInstanc... |
02cdb4df2f31bcf384ceea0566c6788d59def2cfebdbba6d06c92dca9ab9a3db | C | 26,507 | 807 | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <assert.h>
#include <math.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#i... |
dc90cdb686d52295a872c916907a7b572c50b39b41709d7e8d565766bd0bc282 | C | 26,703 | 792 | /* FILE load.c */
/* Lolevel read & load registers FOR "reach" files */
/* FUNCTIONS:
* DescribeSelf: Print constants of implementation
* InitLoad: ZeroReg registers
* Load_Analog_Data: Read & load analog data into register
* Load_Spike_Data: Read & load spike data into regi... |
b61783fd94b6a2057c9cb5eb8dbe953459e767d2a2fd7f7c3fe070285cc098e1 | C | 27,150 | 705 | /*
* Copyright (C) 1996-1999,2001,2003,2004,2006-2010,2012,2014,2015,2018,2026 Bernd Feige
* This file is part of avg_q and released under the GPL v3 (see avg_q/COPYING).
*/
/*{{{}}}*/
/*{{{ Description*/
/*
* write_synamps.c module to write data to a NeuroScan epoched (.EEG) file
* -- Bernd Feige 10.10.1995
*/
... |
aad4ccc6d2fce46c86353422a0dad55e907a35232800030dfcb47bc3940b94f7 | C | 27,179 | 848 | /* FILE jeffmac.c */
/* Read a string of units in; normalize each to a single trial and
then add to a main register */
#include "../defs.h"
#include "../array.h" /* Access registers directly */
#include "../_imports/deffs.h"
#include "../_imports/event.h" /* Stack instruction definitions*/
... |
8c08cb0cb17d2070ccc192235cfe194c73e184dadb7cf7213ec55a972977eda5 | C | 27,602 | 880 | /******************************************************************************/
/* For all support and information please contact: */
/* */
/* Sigurd Enghoff ... |
cbebdb229474e84b74bdaf7428895f40549c1737cd639b901c4e1a29d88c4e8a | C | 27,884 | 927 | /* FILE data.c */
/* Operate on CurrentChannel of specified register */
/* NOTE: many operations are incorrect when applied to UNIT channel*/
/* EVENTUALLY: ought to have global variable 'currentfunction' */
/* -- very useful for debugging! */
/* FUNCTIONS:
* GetVergenc... |
cf7ee237ba7ccc28262b8e2bf5bd56e6b40fbcd9a1c63658a644731f0960aa4d | C | 28,147 | 667 | /*
* Copyright (C) 1996-2003,2005,2007,2009-2014,2017,2018,2024 Bernd Feige
* This file is part of avg_q and released under the GPL v3 (see avg_q/COPYING).
*/
/*{{{}}}*/
/*{{{ Description*/
/*
* read_rec.c module to read data from REC format files [Kemp:92]
* (Data is always continuous)
* -- Bernd Feige 17.06.19... |
e06ec535e8398e9b3bf419d0fe41eff28d253be49bd84577c9ad2d669fe63e61 | C | 28,426 | 764 | /*
* Copyright (C) 2024,2026 Bernd Feige
* This file is part of avg_q and released under the GPL v3 (see avg_q/COPYING).
*/
/*{{{}}}*/
/*{{{ Description*/
/*
* read_curry.c module to read data from Curry cdt files
* -- Bernd Feige 13.10.2024
*/
/*}}} */
/*{{{ Includes*/
#include <stdio.h>
#include <stdlib.h>
... |
4568ecedf3ce0f9e081929579be80dae99175678174e92f12b7389e1bf4a2de3 | C | 29,202 | 721 | /*
* Copyright (C) 1996-1999,2001,2003,2004,2007-2012,2026 Bernd Feige
* This file is part of avg_q and released under the GPL v3 (see avg_q/COPYING).
*/
/*{{{}}}*/
/*{{{ Description*/
/*
* read_freiburg.c module to read data from Freiburg format files
* (by Stefan Krieger und Stephanie Lis).
* Because of the qu... |
dea018d81ecc3940bd1a3953a78cbb4395136f2da71c41d327403580dcb6316d | C | 31,067 | 888 | /* FILE align */
/* Do trial alignment stuff */
/* ******************************************************************** */
#include <string.h> /* strcpy() etc */
#include <stdlib.h> /* atoi() */
#include <ctype.h> /* isupper() */
#include "config.h"
#include "deffs.h"
#include "event.h"
#define DEBU... |
a0d1fef9901dce76188487f906003f42e36c943581bd39a25f9cd7d67ef91ff6 | C | 31,263 | 858 | /////////////////////////////////////////////////////////////////////////////////
//
// Levenberg - Marquardt non-linear minimization algorithm
// Copyright (C) 2004 Manolis Lourakis (lourakis at ics forth gr)
// Institute of Computer Science, Foundation for Research & Technology - Hellas
// Heraklion, Crete, Gre... |
a1db39e1d2d5965f68b4fa460e5867cca84f07adb8373a2c838ce581a419a99e | C | 31,475 | 743 | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <arm_neon.h>
#include <qnnpack/q8gemm.h>
#include <requantization/runtime-neon.h>
void pyt... |
00ed7caa54a900a649fd35e965111c98371f525694368622f13a6b7c64b80666 | C | 31,824 | 837 | /*
* Copyright (C) 2007-2016,2018,2021,2023,2024 Bernd Feige
* This file is part of avg_q and released under the GPL v3 (see avg_q/COPYING).
*/
/*{{{}}}*/
/*{{{ Description*/
/*
* read_brainvision.c module to read data from BrainVision vhdr+vmrk+eeg files
* -- Bernd Feige 11.06.2007
*/
/*}}} */
/*{{{ Includes... |
50119f3969a89d9f9a7f5b8c4dd92d1ad5b99e0090da521a508cec849e3cf6e6 | C | 32,320 | 1,081 | /*
* Copyright (C) 2008-2014,2016-2018,2020,2025,2026 Bernd Feige
* This file is part of avg_q and released under the GPL v3 (see avg_q/COPYING).
*/
/*
*
* To compile:
*
* 1) add VGUI to device.c
* 2) compile with -DVGUI
*
* To run:
*
* set VDEVICE=VGUI
*
*/
#include "gtk/gtk.h"
#include "gdk/gdk.h... |
db6381e744532fcd67295a5dd290cd21244b435c66e1258ee4b74c45dc42027d | C | 32,406 | 998 | /*
* Copyright (C) 1992-1998,2003,2007,2011-2013,2026 Bernd Feige
* This file is part of avg_q and released under the GPL v3 (see avg_q/COPYING).
*/
/*
* mfx_file.c i/o module to handle the multi-channel MFX (M"unster file exchange)
* format. Bernd Feige 23.11.1992
*/
/*{{{}}}*/
/*{{{ #includes*/
#include <... |
b51889ba3866cc1614917690751457bff80b68c192a8c01513385136dbd35e07 | C | 32,536 | 756 | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <arm_neon.h>
#include <qnnpack/q8conv.h>
#include <requantization/runtime-neon.h>
void pyt... |
86718687f429e8eb783b597a7c31cd27f78f51dc8d60840fec43e2f9450d90b2 | C | 32,628 | 874 | /*
* Copyright (C) 2022 Bernd Feige
* This file is part of avg_q and released under the GPL v3 (see avg_q/COPYING).
*/
/*{{{}}}*/
/*{{{ Description*/
/*
* read_nke.c module to read data from Nihon Kohden (2110/1100) formats
* -- Bernd Feige 03.08.2022
* Based in part on nk2edf Copyright (C) 2007 - 2019 Teunis va... |
29a83ce053b474a6dc52fc5db853b2474a6b74cd27ca89da818ea7e3c2b39da2 | C | 32,736 | 913 | /******************************************************************************/
/* For all support and information please contact: */
/* */
/* Sigurd Enghoff ... |
b2e132e7e8d7913ca636317bb03aba54e585a571b3c35a84c62f714f45612964 | C | 33,081 | 1,065 | /* FILE TwoArmsmac.c ...used to be stevemac.c*/
/* R, L arm stacks are separately considered. */
/* Read a string of units in; normalize each to a single trial and
then add to a main register */
#include "../defs.h"
#include "../array.h" /* Access registers directly */
#include ".... |
b0a72bf23413f7e8ee8a3e63b0023d002b01881f3e57278e9b2c9bc4df73c4c3 | C | 33,738 | 943 | /* * * * * * * * * * * * * rawdata.c * * * * * * * * * * * * * */
/* <time> */
/* pb 12-01-1994 09:06; correct compression error */
/* pb 08-10-1993 10:26; structure of trials allows > 32k points per channel */
/* pb 17-08-1993 11:00; 386 version */
/* pb 11-05-1993 10:55; allocate space for trial data according to re... |
746dbf239c90b6cd8ff95f07ab575fd0a864525a6b4781ffb3ed7e2f99779c1f | C | 34,390 | 887 | /*
* Copyright (C) 1996-2014,2017,2018,2024,2026 Bernd Feige
* This file is part of avg_q and released under the GPL v3 (see avg_q/COPYING).
*/
/*{{{}}}*/
/*{{{ Description*/
/*
* read_vitaport.c module to read data from the binary vitaport format
* -- Bernd Feige 17.12.1996
*/
/*}}} */
/*{{{ Includes*/
#incl... |
21fd1d9ca89c59cefb94cece8ee76c190a276c7725c6276a78a91e55d3c2a2e4 | C | 34,765 | 1,002 | /* FILE harrysort.c */
/* Sort trials in current file */
#include "../defs.h"
#include "../array.h" /* Access registers directly */
#include "../_imports/deffs.h"
#include "../_imports/event.h" /* Stack instruction definitions*/
#define SEE_ERRORS 0 /* Special case */
#define SPECIAL 0 /* F... |
6edeb3c0ab1892fb99899e2efa9c0922f3a7a959f30dbe62625d082503b9c6f5 | C | 35,309 | 1,028 | /*
* Copyright (C) 2026 Bernd Feige
* This file is part of avg_q and released under the GPL v3 (see avg_q/COPYING).
*/
/*{{{}}}*/
/*{{{ Description*/
/*
* read_hdf5.c module to read data from an HDF5 file
*
* HDF5 is special in that it supports both epoched and continuous data.
* We specify that beforetrig and ... |
d8a0e8fe544093928592ecd8f5cc0adc44c7356a9535b0c5a44c339af956f003 | C | 36,385 | 1,282 | /////////////////////////////////////////////////////////////////////////////////
//
// Solution of linear systems involved in the Levenberg - Marquardt
// minimization algorithm
// Copyright (C) 2004 Manolis Lourakis (lourakis at ics forth gr)
// Institute of Computer Science, Foundation for Research & Technolog... |
6e5b8ac515b443fb13b91ddd7b6908e9feb6a9153d0daaae143d360a9de1e8de | C | 36,544 | 1,014 | /* FILE cunguosort.c */
/* Sort trials in current file for cunguo's experiments */
#include "../defs.h"
#include "../array.h" /* Access registers directly */
#include "../_imports/deffs.h"
#include "../_imports/event.h" /* Stack instruction definitions*/
#include "../_imports/head.h" /* Unit... |
8cb48c079eb9517694d75965bdf488133a20a5206e5f280480d5d3857ec7da2a | C | 38,054 | 924 | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <arm_neon.h>
#include <qnnpack/q8dwconv.h>
void pytorch_q8dwconv_ukernel_mp8x25__neon(
... |
732e0bee55177508a5e617422120a5f988facfc5fab5b9b8fd40b04dd42c26b8 | C | 38,964 | 1,106 | /* FILE _macros/write_times.c */
#include "../../deffs.h"
#include "../Deffs.h"
#define int short
#include "../../head.h" /* Direct access to header for time-stamps */
#undef int
#include "../../event.h"
/* FUNCTIONS:
Write_Times400 Start times of each trial
Write_Times_tpj401 Times of trial start, sync pulses,... |
85a6e662d987dd5c82fc2a889b275b873167cc6fb9f5e3129c8f313528c2323d | C | 39,027 | 1,236 | /* FILE main */
/* Core of analysis program */
#include "deffs.h"
#include "config.h"
#include <fcntl.h> /* Open/close */
#include <ctype.h> /* isalpha() */
#include <string.h>
#include <stdlib.h> /* atoi() */
#include <sys/resource.h> /* setrlimit() */
#include <errno.h>
#include <time.h> /* s... |
2276f6d65e7665f8207cab9ff4160f6ac46a3c22dece84353e799a71c7c9b70b | C | 39,101 | 1,054 | /* FILE histo */
/* Care and feeding of spike histograms */
/* See interval.c for functions/structures relating to INTERVAL */
#include "deffs.h"
#include "config.h"
#define GAUSSIAN 1
/* Like the old average shifted histogram (convolve with a triangle),
* but a bit more precise. Bin size has essentially n... |
4e5dd1d33aca523785fa677b939680fa58e0d33fd61de46031cb672d0b72ca51 | C | 39,484 | 950 | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <arm_neon.h>
#include <qnnpack/q8dwconv.h>
void pytorch_q8dwconv_ukernel_mp8x25_per_channe... |
4ec8536a181f7d7128668cc2e0bf9a043ab95f16051fa664ea4487968eb36ead | C | 40,686 | 953 | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <arm_neon.h>
#include <qnnpack/q8dwconv.h>
#include <requantization/runtime-neon.h>
void p... |
deb4bc115f084167482511407cbcb56ac90bd34a897a17e07240aa5958f78ba6 | C | 40,941 | 1,371 | /*
* Limited memory BFGS (L-BFGS).
*
* Copyright (c) 1990, Jorge Nocedal
* Copyright (c) 2007-2010 Naoaki Okazaki
* 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... |
d6c359342c6f9c7e3ff0fd424b107720a4df65b80bac95639461b7ef216c715a | C | 40,973 | 1,373 | /*
* Limited memory BFGS (L-BFGS).
*
* Copyright (c) 1990, Jorge Nocedal
* Copyright (c) 2007-2010 Naoaki Okazaki
* 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... |
481b951156e408d8b8ea39d33bb06609b6f85e138ef2ad421a89c8cd49560a6b | C | 41,518 | 1,019 | /*
* Copyright (C) 1996-2001,2003,2004,2006-2010,2012-2014,2018,2024 Bernd Feige
* This file is part of avg_q and released under the GPL v3 (see avg_q/COPYING).
*/
/*{{{}}}*/
/*{{{ Description*/
/*
* read_synamps.c module to read data from Neuroscan `SynAmps' files
* part of this code was taken from Patrick Berg'... |
678c72da594c58142dc143d511efc89adfea7652d2bb7e8af0838daaf21f5e8c | C | 41,766 | 1,081 | /*
* Copyright (C) 1996-2004,2006-2009,2011,2013,2016,2023 Bernd Feige
* This file is part of avg_q and released under the GPL v3 (see avg_q/COPYING).
*/
/*
* setup_queue.c -- Central module for dealing with queues or pipelines
* of processing methods starting with a list of method select function
* pointers.
* ... |
b7809a929dca07e7fed30fb7e780ee7114856c317a0218af374fceba413c5558 | C | 41,846 | 1,156 | /////////////////////////////////////////////////////////////////////////////////
//
// Levenberg - Marquardt non-linear minimization algorithm
// Copyright (C) 2004-05 Manolis Lourakis (lourakis at ics forth gr)
// Institute of Computer Science, Foundation for Research & Technology - Hellas
// Heraklion, Crete, ... |
4199c4ac42d13237a1bb2a3afbe0273c9e9cd4e36c910d2663b31f4fe348aeda | C | 42,781 | 994 | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <arm_neon.h>
#include <qnnpack/q8dwconv.h>
#include <requantization/runtime-neon.h>
void p... |
dacaac3e7d7c2b3397631f73e619e0bfdeb0155a60b982a7d55596041f38a9cb | C | 45,103 | 1,044 | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <arm_neon.h>
#include <qnnpack/q8dwconv.h>
/**
* Kernel for performing depthwise convolut... |
de8cdbcf069c9614c26fd76a3f78619ca043b50f59904f1a0d4b754888efefa2 | C | 45,165 | 978 | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <immintrin.h>
#include <qnnpack/q8dwconv.h>
void pytorch_q8dwconv_ukernel_mp8x25__sse2(
... |
098ac5e38fc2a146d9cb740785ee6c00f56daac6824f8c7da02b54783ec85727 | C | 46,049 | 1,423 | #define FORTRANOBJECT_C
#include "fortranobject.h"
#ifdef __cplusplus
extern "C" {
#endif
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
/*
This file implements: FortranObject, array_from_pyobj, copy_ND_array
Author: Pearu Peterson <pearu@cens.ioc.ee>
$Revision: 1.52 $
$Date: 2005/07/11 07:44:2... |
fccf0b327f2bc069934c351ea7632d2affcabe86106fdb0c44b72cb364feafde | C | 49,241 | 1,095 | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <immintrin.h>
#include <qnnpack/q8dwconv.h>
void pytorch_q8dwconv_ukernel_mp8x25_per_chann... |
cd1822d2154c78310663d282fb60bbcfee32438b9d00ddbf4ab42c7a453aeb60 | C | 53,391 | 1,231 | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <arm_neon.h>
#include <qnnpack/q8gemm.h>
#include <requantization/runtime-neon.h>
void pyt... |
83fed442615c59f0299de08883bd378922956c5a16c9fad32825b5c2ad6dab5b | C | 54,945 | 1,231 | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <arm_neon.h>
#include <qnnpack/q8conv.h>
#include <requantization/runtime-neon.h>
void pyt... |
7d265064285d9e525ec3e8dbde495059a3ef9e295a0cc63048396a39a40068d7 | C | 58,871 | 1,674 | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <assert.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include <pytorch_qn... |
89ee45275d767575810c3b218390b277797ce53708f1b4859ff63ada6f5b070c | C | 77,699 | 2,226 | /*
* Copyright (C) 2008-2014,2016-2020,2023-2025 Bernd Feige
* This file is part of avg_q and released under the GPL v3 (see avg_q/COPYING).
*/
/*
* File: avg_q_ui.c
* Purpose: GTK+ user interface for avg_q
* Author: Bernd Feige
* Created: 7.03.1999
* Updated:
* Copyright: (c) 1999-2025, Bernd Feige
*/
/*{{{... |
58dec32874943602a1b6b7fe38226276a3dfadb506b9d4d81718365011e15f5f | C | 106,275 | 2,985 | /*
* Copyright (C) 1996-2018,2020,2023-2026 Bernd Feige
* This file is part of avg_q and released under the GPL v3 (see avg_q/COPYING).
*/
/*
* posplot.c module to plot transform data at probe positions
* -- Bernd Feige 20.01.1993
*/
/*{{{}}}*/
/*{{{ #includes*/
#include <stdio.h>
#include <stdlib.h>
#include <... |
2ff503b645d847d23441da8c77bf3c88744f2011ad54a99a478fb7702e587333 | C | 116,505 | 4,293 | /* this code was generated with the help of f2c */
typedef int integer;
typedef double doublereal;
typedef struct mycomplex {double r; double i;} doublecomplex;
/* Table of constant values */
static integer c__1 = 1;
static integer c__11 = 11;
/* Subroutine */ int dcffti_(integer *n, doublereal *wsave);
/* Subroutin... |
d2d582f9fbf815979235da14e60c059629a2d746a3cef7dd15c9c77f9f82283e | C | 121,066 | 3,065 | /* Autogenerated v4-0-0 from https://github.com/scottprahl/iad */
#define _CRT_SECURE_NO_WARNINGS
#define _CRT_NONSTDC_NO_WARNINGS
#define NO_SLIDES 0
#define ONE_SLIDE_ON_TOP 1
#define TWO_IDENTICAL_SLIDES 2
#define ONE_SLIDE_ON_BOTTOM 3
#define ONE_SLIDE_NEAR_SPHERE 4
#define... |
684d13bc1749f2850e5e40fe9a22221badbbbe77e2d3b5cff2226bb60f50dbb7 | C | 125,849 | 5,103 | /* this code was generated with the help of f2c */
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
typedef int integer;
typedef double doublereal;
typedef struct mycomplex {double r; double i;} doublecomplex;
/* Table of constant values */
static integer c__1 = 1;
static integer c__12 = 12;
static integer c... |
080faddbcfe51b9b3ce17f8d10291a3f1ff036d163213730c97f9639439f83be | C | 200,000 | 4,909 | /*****************************************************************************
**
** MSC version of CFS functions
**
** Copyright (c) Cambridge Electronic Design Limited 1988 .. 1999
**
** Started by J.Grayer 13th Oct 1990
**
** V 2.11 Maximum file size upped to c. 1 GByte TDB 12-Jun-91
**
** V 2.12 Cha... |
5f7ac1ed52f43fb59c023811a8f413479b04e81d33b28a42a3e1f155dd53a9d9 | C | 200,000 | 4,410 | /* Generated by Cython 0.20.1post0 (Debian 0.20.1+git90-g0e6e38e-1ubuntu2) on Tue Apr 7 14:12:18 2015 */
#define PY_SSIZE_T_CLEAN
#ifndef CYTHON_USE_PYLONG_INTERNALS
#ifdef PYLONG_BITS_IN_DIGIT
#define CYTHON_USE_PYLONG_INTERNALS 0
#else
#include "pyconfig.h"
#ifdef PYLONG_BITS_IN_DIGIT
#define CYTHON_USE_PYLONG_INTE... |
a0283b370249b5fd6ef3544920fdf5a0978bbe8b24137adae2d48fa0d167a9d7 | C | 200,000 | 4,755 | /* Generated by Cython 0.20.2 on Sun Aug 31 16:34:10 2014 */
#define PY_SSIZE_T_CLEAN
#ifndef CYTHON_USE_PYLONG_INTERNALS
#ifdef PYLONG_BITS_IN_DIGIT
#define CYTHON_USE_PYLONG_INTERNALS 0
#else
#include "pyconfig.h"
#ifdef PYLONG_BITS_IN_DIGIT
#define CYTHON_USE_PYLONG_INTERNALS 1
#else
#define CYTHON_USE_PYLONG_INTER... |
485562d76419ca0174ba1fbf16ef343ce21be6c0b07ed75c16d88b58a273743e | C++ | 25 | 2 | #include "ansi_codes.h"
|
b2a63d06530986baa71d0be1fe555c1d9d5e0f1ae7601c256b657e08fcecd5d2 | C++ | 28 | 1 | #include <ATen/core/blob.h>
|
e03a08e63bb12c7d7d66e8007a5a2328a457715ddfbc7958cbd50fa329587705 | C++ | 35 | 1 | #include <ATen/core/ATenGeneral.h>
|
bb0827369a4a9dd165593d164a4a2fca601c1c5e7e498cd2fd2f266ad89fd444 | C++ | 38 | 1 | // This file intentionally left blank
|
ffdfd5b938513256cde2644055f876a35309e3354cd016f6fc2fc389362675d1 | C++ | 64 | 5 | #include <ATen/TensorMeta.h>
namespace at {
} // namespace at
|
110016e1c7a5806f0ee60b67e8bbb3afb8bdbaaaf09e586e9e7986e704bbf34d | C++ | 66 | 6 | #include "no_motion_model.h"
NoMotionModel::NoMotionModel()
{
}
|
6a01be6fb2aaffe3a73d32cced6e49655e2cf6729a12b8ffc55e2d6c6eaf36ec | C++ | 74 | 4 | #define CATCH_CONFIG_MAIN
#include <catch2/catch.hpp>
#include "ctf.cpp"
|
6c0b18ba84654c322c92efa4200fd4fdbd921c129a648bdfa8b3300ed78ba319 | C++ | 112 | 8 | #include "triangle.h"
Triangle::Triangle()
{}
Triangle::Triangle(int a, int b, int c)
: a(a), b(b), c(c)
{}
|
5173329c44c5da2bc51af89875098b08610f267d6d2f8055bdf2c3514987af77 | C++ | 122 | 6 | #include <torch/torch.h>
int main(int argc, const char* argv[]) {
TORCH_WARN("Simple test passed!");
return 0;
}
|
55214b8672805f3b4e2eef9d830b75a2ce916bc773256a989a7498e1a67272bc | C++ | 125 | 5 | #include <torch/library.h>
TORCH_LIBRARY_IMPL(_, BackendSelect, m) {
m.fallback(torch::CppFunction::makeFallthrough());
}
|
3e590edbc6c3ce999e67bf29c09eab15f4a8a6999d0074179fb0c3d42523602d | C++ | 130 | 6 | #include "modular_alignment.h"
#include <src/jaz/util/zio.h>
#include <src/jaz/math/Gaussian_process.h>
using namespace gravis;
|
1f7aede0470d73273d1e2928352e59d141e979f4a32e46367ec0cb18ddcc6179 | C++ | 141 | 6 | #include <torch/torch.h>
int main(int argc, const char* argv[]) {
TORCH_CHECK(torch::hasMKL(), "MKL is not available");
return 0;
}
|
faecf7ec603cddf9a910dfe77e37fbd99f72e54e83e191871e1131a60a4e6612 | C++ | 146 | 8 | #include <src/jaz/single_particle/interpolation.h>
int main(int argc, char *argv[])
{
Interpolation::test2D();
return RELION_EXIT_SUCCESS;
}
|
30a2fc34b9ced0d49718548d3f0b426bcb580823c1bbb4816a65174f5cb9052c | C++ | 152 | 7 | #include <ATen/core/GraphImplInterface.h>
namespace at {
C10_DEFINE_REGISTRY(GraphImplRegistry, GraphImplInterface, GraphImplArgs)
} // namespace at
|
0d495b55ed06ba515ce95ac2daf0c9d19b9b10fb8b6ef94638790a9e1f19563b | C++ | 166 | 12 | #include <src/args.h>
#include <src/jaz/tomography/programs/polish.h>
int main(int argc, char *argv[])
{
PolishProgram pp(argc, argv);
pp.run();
return 0;
}
|
bc50be6a052712a62b3a60a00d0ee7871758bbe28f9e4b126aede6d7c4144caa | C++ | 182 | 7 | #include <c10/core/impl/DeviceGuardImplInterface.h>
namespace at::detail {
C10_REGISTER_GUARD_IMPL(CPU, c10::impl::NoOpDeviceGuardImpl<DeviceType::CPU>)
} // namespace at::detail
|
59f006f4431a861ea30e60d7ada6bec4e526e54124c4fd2f068bcb8c1c48c7ce | C++ | 183 | 12 | #include <src/args.h>
#include <src/jaz/tomography/programs/aberration_fit.h>
int main(int argc, char *argv[])
{
AberrationFitProgram afp(argc, argv);
afp.run();
return 0;
}
|
b161c5a8b6913ea0ac1de91d7d8af8dedaa8e5b573ae8c5407516f1b8d013c89 | C++ | 191 | 12 | #include <src/args.h>
#include <src/jaz/tomography/programs/defocus_refinement.h>
int main(int argc, char *argv[])
{
DefocusRefinementProgram drp(argc, argv);
drp.run();
return 0;
}
|
51539c4b1b150db74f568758a94b283336c4327b30309c9cb066e6f2260ad3c1 | C++ | 193 | 7 | #include <ATen/ATen.h>
#include <torch/torch.h>
int main(int argc, const char* argv[]) {
TORCH_CHECK(at::globalContext().isXNNPACKAvailable(), "XNNPACK is not available");
return 0;
}
|
633e2335c019eefd524e9d420395a898ae1ea88b6680f3614adcb6431bd899a6 | C++ | 193 | 12 | #include <src/args.h>
#include <src/jaz/tomography/programs/frame_alignment_program.h>
int main(int argc, char *argv[])
{
FrameAlignmentProgram fap(argc, argv);
fap.run();
return 0;
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.