sha256 stringlengths 64 64 | language stringclasses 27
values | size int32 1 491k | lines int32 1 21.8k | content stringlengths 1 200k |
|---|---|---|---|---|
ba64e8863d6d136df0504c29b493ecd3e2451e552f9d0a066206f8fd34c25006 | Text | 11,901 | 193 | # Fulldome Camera For Unity
Suite of tools for building games for Fulldome.
Here there are three approaches that can be used to simulate a fisheye lens on Unity.
1. **Fulldome Camera**: Renders the active camera as a 360 panorama (internally a Cubemap) and extracts a Domemaster from it.
2. **VFX Graph** (experimen... |
951d5b4761f5709b28374cbfff1b5793e780005fffe816ad34cdab1f958cea97 | Text | 12,199 | 237 | ########################################################################
# Last updated January 12th, 2026
# The following is a step-by-step workflow for processing barcoded AAV sequencing data from:
# 1) Enhancer/promoter-driven barcode mBC libraries
# 2) U6-driven barcode (oBC) libraries (only when oBC is include... |
144d6f07e16876424ca5e64f48c3db31b4d547708be00f0a52a5c3f1bdfa7ad4 | Text | 12,434 | 218 | Automated analysis tools for fetal and neonatal brain MRI
====================
This repository contains DL pipelines for [MONAI](https://github.com/Project-MONAI/MONAI)-based automated analysis for fetal and neonatal brain MRI.
- The repository, scripts and models were designed and created at the Department of Early... |
473b921e6f027757ca71029f85cf21496bf8cd4ad0685484d79008ec1a4aeff7 | Text | 12,800 | 161 | [](https://pepy.tech/project/facemap)
[](https://pepy.tech/project/facemap)
[](https://github.com/MouseLand/facemap/stargazers)
[![GitHub forks]... |
cfbf43162383d495aead02c7c839b4b58ba50470b1368f17dda2a851ad6f8154 | Text | 13,685 | 172 | [](https://pepy.tech/project/pyleida)
# PyLeida
`pyleida` is a Python toolbox to apply the <i><b>Leading Eigenvector Dynamics Analysis</b></i> (<b>LEiDA</b>) framework to <i>functional magnetic resonance imaging (fMRI) data</i>. It contains all the necessary tools to apply... |
4b4f98d3581752834dd03439cb9976417fc68771fd50be03437e46730ad8ede3 | Text | 14,423 | 365 | > [!IMPORTANT]
> We are no longer actively maintaining this repository. All active work by the Allen Institute for Cell Science is located under the **[AllenCell](https://github.com/AllenCell)** organization.
# AICSImageIO
> [!WARNING]
> AICSImageIO is now in maintenance mode only. Please take a look at its compat... |
e5a84e5f40ebb2aab1f6a53dada0659871f54c79f97ea285f04dabb3856e77ec | Text | 15,590 | 270 | 
# Unsupervised and supervised discovery of tissue cellular neighborhoods from cell phenotypes with CytoCommunity
### _2025-04-10: We are excited to annouce an extended version "CytoCommunity2" (https://github.com/huBioinfo/CytoCommunity-plus)._
#### _Advantages of CytoCommunity+:_
####... |
846480a468a7eced020e022c7620dead0f815bef352db1a2df2dbf50968e990a | Text | 15,653 | 217 | # VoxelMorph: learning-based image registration
**VoxelMorph** is a general purpose library for learning-based tools for alignment/registration, and more generally modelling with deformations.
> ⚠️ **Warning**: VoxelMorph pytorch is under active development. Interfaces may change.
> **For users who want to use the s... |
480d936af3a3d9b43dd6f541e8c166431a083e6185341fb2d5e321be24bafd58 | Text | 15,723 | 132 | # Nexis
Repository Owner: [Justin Torok](http://github.com/justin-torok) (Email: [email protected])
Project Lead: [Chaitali Anand](http://github.com/Chai1811) (Email: [email protected])
The following code was developed for running the Nexopathy in silico (NexIS) model described in Anand, *et al.*, 2022 (pre... |
a36912e9dd4d88eaebf4ee667170958e9ff8cc6889ba2821885af6776f43c3a0 | Text | 16,026 | 631 | [README (1).md](https://github.com/user-attachments/files/23812543/README.1.md)
# GENIA Framework v2.0
**Genomically and Environmentally Networked Intelligent Assemblies**
A comprehensive computational framework for rational design of synthetic microbial communities for multi-pollutant biodegradation.
[](https://doi.org/10.5281/zenodo.592253) [](https://vscode.dev/github/iandol/opticka) [ & [Justin Torok](https://github.com/justin-torok)
MATLAB functionality for creating 3D human & mouse brain renderings, with many options. This is a tool for visualizing per-voxel or per-region data, as well as connectome data, in a 3D surface representation ... |
f720641433aa00bbf21d8aece5ea17d845e94acfcb293872f63aecd2fa8e4ab9 | Text | 17,601 | 365 | [](https://doi.org/10.5281/zenodo.19008090)
# DeepDrug Protein Embeddings Bank (DPEB) : A Multimodal Human Protein Embeddings Data
This repository contains the source code and resources for the DeepDrug Protein Embeddings Bank (DPEB), a multimodal databa... |
a06b02a587e5341e8dddcd5bccd52c9e4c43c2937efc71bbb39a32cf80f5e105 | Text | 18,616 | 542 | <div align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="logo_dark_bg.png">
<source media="(prefers-color-scheme: light)" srcset="logo_white_bg.png">
<img alt="NanoporeToBED Pipeline Logo" src="logo_white_bg.png" width="400">
</picture>
**Nanopore Methylation Processing & B... |
d3cbe4cf93adfc8053cd8da3e4b1aa67d02d591fd2528c82784293a69e44875d | Text | 18,685 | 451 | # Incorporating Normal Periventricular Changes for Enhanced Pathological White Matter Hyperintensity Segmentation: On Multi-Class Deep Learning Approaches
[](https://opensource.org/licenses/MIT)
[](https://doi.org/10.5281/zenodo.592253) [](https://github.com/iandol/opticka/actions/workflows/matlab-tests.yml) 
- [Key Features](#key-features)
- [Training Data Preparation](#training-data-preparation)
- [Preprocessing](#preprocessi... |
71fd9883bb58418a0b971f8d1d780eb2c0c1a9f425f76511e727f0627d352270 | Text | 21,753 | 683 |
# SCP: Single-Cell Pipeline
<!-- badges: start -->
[](https://github.com/zhanghao-njmu/SCP)
[](https://github.com/zhanghao-njmu/SCP)
[ is released as a self-contained tar.gz file that can be unpacked directly on the system, without the need to configure the computing environment. Because it has assembled all of the software-required dependencies, which are pre-compiled to run on most Linux distributions.
Y... |
5aba0569da09ff8fb83a2c9148870902b9fed345c030607fc368edc0521b8918 | Text | 23,039 | 866 | # NeuroSA-HO: Higher-Order Neuromorphic Ising Machines
This repository contains data, software, and hardware code for the paper:
**Higher-order neuromorphic Ising machines—autoencoders and Fowler-Nordheim annealers are all you need for scalability**
Faiek Ahsan *et al.*, *Nature Communications*, 2026.
The code imp... |
2c286408d7cfd78b68cbe3914476a2b79282a9828066adca4a2b7f49a2c8dfd9 | Text | 23,261 | 474 | # DeepRelaxo
**[Fast Mono-Exponential Magnitude Brain R2* Mapping With Reduced Echoes Using Self-Supervised Deep Learning](https://onlinelibrary.wiley.com/doi/10.1002/mrm.70405?af=R)**
[MRM 2025](https://onlinelibrary.wiley.com/doi/10.1002/mrm.70405?af=R) | [HuggingFace](https://huggingface.co/sunhongfu/D... |
38bddad75b24146a4c2646f2f9ef0463fb9f02b97b4f201f08015b1b6c215212 | Text | 29,571 | 832 | # MS3SEG: A Multiple Sclerosis MRI Dataset with Tri-Mask Annotations for Lesion Segmentation
[](https://opensource.org/licenses/MIT)
[](https://cr... |
962a4ef601c25298526162f0f95ae6f11b0833b0de658be3656e01435fb733df | Text | 35,424 | 348 | # FEABAS
FEABAS (Finite-Element Assisted Brain Assembly System) is a Python library powered by finite-element analysis for stitching & alignment of serial-sectioning electron microscopy connectomic datasets.
[](https://opensource.org/licenses/MIT) [!... |
5a12f5684df4fdb2edd8175a32a703609178f9117fb9315b0ed3dc2159295472 | Text | 47,744 | 928 | # STARCall: Stitching Alignment And Read CALLing for in situ sequencing experiments
This repository is a full data pipeline for the analysis of FISSEQ (Flourescent in-situ sequencing) data.
This readme will give an overview of the pipeline and how to run it, for more information the api reference
for the starcall pyth... |
8811dcdd61494a3f4279160d712e5b5e183db03ccb9b0b3e6aa6529dbd68e047 | Text | 48,284 | 520 |
# What's new
**OrthoFinder has a new home: https://github.com/OrthoFinder/OrthoFinder**
All future development and support will take place there. The future of OrthoFinder is being led by an awesome team:
- Steve Kelly - PI
- Laurie Belcher
- Jonathan Holmes
- Yi Liu
and David Emms will continue in a supporting role... |
395dab1ec9566a53cbaf80499e1dd24423c5777195f574e328df70a7db58ab24 | TypeScript | 1,192 | 37 | /*
* Copyright 2022 Google 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
2578fd21d9088319b83a2b5e1df90c42c7aae4264959c043313a961cdac4da29 | TypeScript | 2,329 | 74 | /*
* Copyright 2022 Google 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
a33ed57c35024ebd9be3ad10f6a27bd5684096494de86af1f7e1c30a169c697b | TypeScript | 3,214 | 117 | /*
* Copyright 2022 Google 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
bf5f3afb6a228442a3c0409a99048fee8837fa4a0573069ef72a0c86463b9c8f | TypeScript | 3,795 | 125 | /*
* Copyright 2022 Google 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
198c9b50c38c474cd25b30191c311c80e263397468ec864cc3cd9752c92c9a48 | TypeScript | 3,890 | 126 | /*
* Copyright 2022 Google 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
690d2475225eaf34ba2bbd6f329d9d8ca66146c855e0cbf88a223a5f8aef026e | TypeScript | 8,177 | 264 | /*
* Copyright 2022 Google 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
00f4d3c426097058a7696c0ba61ed560ae1452722bf2c7333daeb37bc364add1 | TypeScript | 12,993 | 418 | /*
* Copyright 2022 Google 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
b8021b85f021c867b89d374afe6666a0279f8fd3f44c61cd17d014bff09dc790 | C | 16 | 1 | int test_flags;
|
71bb0ddcb93d1e4c33afd73ec8e3f6c44060d7f9a5d57ee7c003035b11a3cdcf | C | 77 | 6 | int _get_output_format(void)
{
return 0;
}
int _imp____lc_codepage = 0;
|
952bbd3a4639d19c686ec838090a9987ac372169b78e6caf0dd0d156d8c3877d | C | 77 | 7 | #include "plot.h"
int flushplID ()
{
draw_line();
fflush (PSoutfile);
}
|
e27ca3d47cd0521822d3f2d2f6cc66a7b1ee99e84fcc7238aac94fa28474fbe8 | C | 85 | 11 |
/*
* yobbarays_
*
*/
void
yobbarays_(onoff)
int *onoff;
{
yobbarays(*onoff);
}
|
28e26eb3975d7593dbf77b8280de151b58506b5143df257f2c81eac138490240 | C | 89 | 6 | #include "plot.h"
int boxX (int x0, int y0, int x1, int y1)
{
return 0;
}
|
0a5f39d85aaa64c8448bf544f3ab6c7133a98354c9fa265852895739aaa0cf32 | C | 95 | 4 | /* FILE xplot */
/* Calls for xpot */
SetLineWidth(i) { } /* Not supported by xplot */
|
a9e62e5c0abdf3c5648ddd98c10a93568d29ca1d276fa758cae4827b4e2295bf | C | 100 | 11 | #include "plot.h"
int
linewidthID (w)
int w;
{
draw_line();
line_width = w;
return 0;
}
|
61820321acde2f8b3f5cb0980b81b8086f0f630088aedee98841b34d2e400bf0 | C | 106 | 10 | #include "plot.h"
int flushplX ()
{
Xbuffer_flushpl();
fflush (NULL);
xpl_update();
return 0;
}
|
720fd9a5496ea25b8cc5e181bcb286624e8969548ea26357e12b1282d0612d7f | C | 117 | 14 | int
pc_getkey()
{
return((int)getch());
}
int
pc_checkkey()
{
if (kbhit())
return((int)getch());
return(0);
}
|
0fbe2e06c29f3296cf9cb11086b669553eab2b461c1b54e21df903da799cb2b4 | C | 123 | 6 | #include <math.h>
#include "stat.h"
float bico(int n, int k) {
return floor(0.5+exp(factln(n)-factln(k)-factln(n-k)));
}
|
a7779233be4d2a431af88e7a861a4c89264c311eda3f1d15a83dc1400f17e916 | C | 126 | 7 | /* Hack to hide an <object>NULL from Cython. */
#include "Python.h"
void unset_trace() {
PyEval_SetTrace(NULL, NULL);
}
|
7cc8b978b181c9b661e8bc3b9121e6cf9a419c571347a56b3a8fb8a74c8618b5 | C | 153 | 8 | int main()
{
#if defined (__i386__) || defined (__x86_64__) || defined (_M_IX86) || defined (_M_X64)
return 0;
#else
#error This is not x86
#endif
}
|
c2eaafc99e9467fc723d7a0cc4c78258b55c16e20f08b2cdbc486b82f31bad1d | C | 196 | 5 | /* Auto-generated by generate-wrappers.py script. Do not modify */
#if defined(__arm__) || defined(__aarch64__)
#include <q8conv/8x8-neon.c>
#endif /* defined(__arm__) || defined(__aarch64__) */
|
fb9430e0e5dd837cf4cb3b74992b2dc62629b41b24b373cd14dbf9163832056c | C | 196 | 5 | /* Auto-generated by generate-wrappers.py script. Do not modify */
#if defined(__arm__) || defined(__aarch64__)
#include <q8conv/4x8-neon.c>
#endif /* defined(__arm__) || defined(__aarch64__) */
|
687d6981f6a28350f47ea486753d3c38deb38f877414731e004fc88b2906e134 | C | 200 | 5 | /* Auto-generated by generate-wrappers.py script. Do not modify */
#if defined(__arm__) || defined(__aarch64__)
#include <q8dwconv/up8x9-neon.c>
#endif /* defined(__arm__) || defined(__aarch64__) */
|
51b319fb69bd2292fda405d9ed42748d91d5897ebdfb606aa1a443b133daba39 | C | 201 | 5 | /* Auto-generated by generate-wrappers.py script. Do not modify */
#if defined(__arm__) || defined(__aarch64__)
#include <q8avgpool/up8x9-neon.c>
#endif /* defined(__arm__) || defined(__aarch64__) */
|
56132d513de4b9d3961b73f42b6e3cbcd60538a2cf68c792e6035563941860f8 | C | 201 | 5 | /* Auto-generated by generate-wrappers.py script. Do not modify */
#if defined(__arm__) || defined(__aarch64__)
#include <q8dwconv/mp8x27-neon.c>
#endif /* defined(__arm__) || defined(__aarch64__) */
|
654828bc356f7fae4a0e4d5b363eac3af625a328ca26bb6354484b9ff51bc778 | C | 201 | 5 | /* Auto-generated by generate-wrappers.py script. Do not modify */
#if defined(__arm__) || defined(__aarch64__)
#include <q8dwconv/mp8x25-neon.c>
#endif /* defined(__arm__) || defined(__aarch64__) */
|
bbe0c2e3fe947e8d64febdad2f947e4a73fe656b07dae4cebdf3685d40f9a7a1 | C | 201 | 5 | /* Auto-generated by generate-wrappers.py script. Do not modify */
#if defined(__arm__) || defined(__aarch64__)
#include <q8avgpool/up8xm-neon.c>
#endif /* defined(__arm__) || defined(__aarch64__) */
|
ab64bd58f7753b8b2d533f07c961ab49f84d1481d263d0d427ef7fa89857a0c4 | C | 204 | 5 | /* Auto-generated by generate-wrappers.py script. Do not modify */
#if defined(__arm__) || defined(__aarch64__)
#include <q8avgpool/mp8x9p8q-neon.c>
#endif /* defined(__arm__) || defined(__aarch64__) */
|
445f37155af126ca0ab266dcdd562c7c8c1fe0404d67b082f49b849c8dea55be | C | 212 | 5 | /* Auto-generated by generate-wrappers.py script. Do not modify */
#if defined(__arm__) || defined(__aarch64__)
#include <q8dwconv/up8x9-neon-per-channel.c>
#endif /* defined(__arm__) || defined(__aarch64__) */
|
db2671d4788555ccf1437599ed629f093ab101b9a773ace0b9771ca09698617a | C | 213 | 5 | /* Auto-generated by generate-wrappers.py script. Do not modify */
#if defined(__arm__) || defined(__aarch64__)
#include <q8dwconv/mp8x25-neon-per-channel.c>
#endif /* defined(__arm__) || defined(__aarch64__) */
|
eee69bb067aabe654942fb92123b3cf929bc9299af97ab99f581cc179876a294 | C | 234 | 12 | #include <immintrin.h>
#ifdef _MSC_VER
#include <ammintrin.h>
#else
#include <x86intrin.h>
#endif
int main(void)
{
__m128i a = _mm_comge_epu32(_mm_setzero_si128(), _mm_setzero_si128());
return _mm_cvtsi128_si32(a);
}
|
2b144cf5b995f75bad44494c652d8afca39cfaf8d049a538794e36f6592613ce | C | 238 | 10 | #include "stat.h"
float factln(int n) {
static float a[101];
if (n < 0) nrerror("Negative factorial in routine factln");
if (n <= 1) return 0.0;
if (n <= 100) return a[n] ? a[n] : (a[n]=gammln(n+1.0));
else return gammln(n+1.0);
}
|
e32eb1a4710d8656c49b6f4ba33eb8a73617ae7ec26a7f38a81d6d468f39032f | C | 240 | 5 | /* Auto-generated by generate-wrappers.py script. Do not modify */
#if defined(__i386__) || defined(__i686__) || defined(__x86_64__)
#include <q8conv/4x4c2-sse2.c>
#endif /* defined(__i386__) || defined(__i686__) || defined(__x86_64__) */
|
dee721e676834272f4c49c4a61159c669b10ab5d4d91571007a9f5be58ae3806 | C | 242 | 5 | /* Auto-generated by generate-wrappers.py script. Do not modify */
#if defined(__i386__) || defined(__i686__) || defined(__x86_64__)
#include <q8dwconv/up8x9-sse2.c>
#endif /* defined(__i386__) || defined(__i686__) || defined(__x86_64__) */
|
27eee0cdc390ffa88ff38468e6ea4bfe9444c1bb930b0a5e5c132ecb7949e891 | C | 243 | 5 | /* Auto-generated by generate-wrappers.py script. Do not modify */
#if defined(__i386__) || defined(__i686__) || defined(__x86_64__)
#include <q8dwconv/mp8x25-sse2.c>
#endif /* defined(__i386__) || defined(__i686__) || defined(__x86_64__) */
|
c1ed3ddcf24d700fcdc6e564ce0cbe588cfc82df092b9564d9f48245d00ca8f1 | C | 243 | 5 | /* Auto-generated by generate-wrappers.py script. Do not modify */
#if defined(__i386__) || defined(__i686__) || defined(__x86_64__)
#include <q8avgpool/up8xm-sse2.c>
#endif /* defined(__i386__) || defined(__i686__) || defined(__x86_64__) */
|
eec54e30d30d2e79329d9a1424d9f2336dc41a976fb0d51a0952b14a4701d20b | C | 243 | 5 | /* Auto-generated by generate-wrappers.py script. Do not modify */
#if defined(__i386__) || defined(__i686__) || defined(__x86_64__)
#include <q8dwconv/mp8x27-sse2.c>
#endif /* defined(__i386__) || defined(__i686__) || defined(__x86_64__) */
|
f781e2c1c5caad1ecd342c7e78accadf1d833c91aca783d3ac9ec96cdf1e4fed | C | 243 | 5 | /* Auto-generated by generate-wrappers.py script. Do not modify */
#if defined(__i386__) || defined(__i686__) || defined(__x86_64__)
#include <q8avgpool/up8x9-sse2.c>
#endif /* defined(__i386__) || defined(__i686__) || defined(__x86_64__) */
|
db34374c34d9715d773b4b979f6093dd508474018e81c0854b4d04e523195911 | C | 246 | 5 | /* Auto-generated by generate-wrappers.py script. Do not modify */
#if defined(__i386__) || defined(__i686__) || defined(__x86_64__)
#include <q8avgpool/mp8x9p8q-sse2.c>
#endif /* defined(__i386__) || defined(__i686__) || defined(__x86_64__) */
|
a260b9d2d6c464d8a0b0a3053ed137cc6465212d95b834e6def67d4c1656a385 | C | 250 | 13 | #ifndef __VSX__
#error "VSX is not supported"
#endif
#include <altivec.h>
typedef __vector unsigned int v_uint32x4;
int main(void)
{
v_uint32x4 z4 = (v_uint32x4){0, 0, 0, 0};
z4 = vec_absd(z4, z4);
return (int)vec_extract(z4, 0);
}
|
13b60e1b260fe35bb5b2a8821e90861aa8e6a3b0aceb2524989e3a2bb2d99687 | C | 251 | 11 | #ifdef _MSC_VER
#include <Intrin.h>
#endif
#include <arm_neon.h>
int main(int argc, char **argv)
{
short *src = (short*)argv[argc-1];
float32x4_t v_z4 = vcvt_f32_f16((float16x4_t)vld1_s16(src));
return (int)vgetq_lane_f32(v_z4, 0);
}
|
4976e87bfce2613e3f1186296912e81687462357e373d00d4ff1cdc88f3cfefa | C | 253 | 10 | /*
* student_p.c implements Student's t-test probability using functions from
* the numerical recipes. Take care: This is the TWO-SIDED probability.
*/
#include "stat.h"
float student_p(int df, float t) {
return betai(0.5*df, 0.5, df/(df+t*t));
}
|
cf2f669c327a7313fce9afe78af244e23008249382ceba5a6d5823182d53a1e4 | C | 254 | 5 | /* Auto-generated by generate-wrappers.py script. Do not modify */
#if defined(__i386__) || defined(__i686__) || defined(__x86_64__)
#include <q8dwconv/up8x9-sse2-per-channel.c>
#endif /* defined(__i386__) || defined(__i686__) || defined(__x86_64__) */
|
b7777ef3430459bda2bb4f6993e2fc0a4a524367cc688860abc7b8a8e5e9a494 | C | 255 | 5 | /* Auto-generated by generate-wrappers.py script. Do not modify */
#if defined(__i386__) || defined(__i686__) || defined(__x86_64__)
#include <q8dwconv/mp8x25-sse2-per-channel.c>
#endif /* defined(__i386__) || defined(__i686__) || defined(__x86_64__) */
|
a95c0cf70150ed6cd53a8ef804c8e02a3190c0791ebcc1a83cedd0a4946472a5 | C | 256 | 18 | #include <stdio.h>
extern int hLoaded;
/*
* check_loaded
*
* Checks and prints out a message if the font isn't loaded.
*/
void
check_loaded(who)
char *who;
{
if (!hLoaded) {
fprintf(stderr, "%s: no hershey font loaded.\n", who);
exit(1);
}
}
|
c844acdb946de73b5be7eb2db986eedd36e2c892a696532930bbb4d463801ea1 | C | 263 | 13 | #ifndef __VSX__
#error "VSX is not supported"
#endif
#include <altivec.h>
typedef __vector unsigned long long v_uint64x2;
int main(void)
{
v_uint64x2 z2 = (v_uint64x2){0, 0};
z2 = (v_uint64x2)vec_cmpeq(z2, z2);
return (int)vec_extract(z2, 0);
}
|
e07d2c106bfcaab6ce38da5fb2774dddecca9eb33528585efebc4aa73ae10568 | C | 281 | 16 | #include "plot.h"
int linewidthX (int w)
{
XGCValues values;
long value_mask = 0;
flushplX();
values.line_width = w;
value_mask |= GCLineWidth;;
XChangeGC (xpl_window->dpy, xpl_window->gc, value_mask, &values);
return 0;
}
|
2318fa4c91c2767ee1ff1137316be25ebc65be8d0e6642834d3eac148c0d64f6 | C | 287 | 14 | #include <arm_sve.h>
int accumulate(svint64_t a, svint64_t b) {
svbool_t p = svptrue_b64();
return svaddv(p, svmla_z(p, a, a, b));
}
int main(void)
{
svbool_t p = svptrue_b64();
svint64_t a = svdup_s64(1);
svint64_t b = svdup_s64(2);
return accumulate(a, b);
}
|
0039a882b46eed738eb027c1e8f329174112e32bfcb57b1b61dbaf66310c4cf0 | C | 300 | 13 | #ifndef __riscv_vector
#error RVV not supported
#endif
#include <riscv_vector.h>
int main(void)
{
size_t vlmax = __riscv_vsetvlmax_e32m1();
vuint32m1_t a = __riscv_vmv_v_x_u32m1(0, vlmax);
vuint32m1_t b = __riscv_vadd_vv_u32m1(a, a, vlmax);
return __riscv_vmv_x_s_u32m1_u32(b);
}
|
a8a7604cd34583e9fcbd20754f1728eb41c12c270e8b5687db7819397ef22aab | C | 301 | 13 | #include <immintrin.h>
#ifdef _MSC_VER
#include <ammintrin.h>
#else
#include <x86intrin.h>
#endif
int main(int argc, char **argv)
{
__m256 a = _mm256_loadu_ps((const float*)argv[argc-1]);
a = _mm256_macc_ps(a, a, a);
return (int)_mm_cvtss_f32(_mm256_castps256_ps128(a));
}
|
68a9e52610034ac20757b42f7543df8db37302df5413a446657b3cc98b5211e1 | C | 304 | 31 | #include "vogl.h"
/*
* getgp_
*/
void
getgp_(x, y, z)
float *x, *y, *z;
{
getgp(x, y, z);
}
/*
* getgpos_
*/
void
getgpos_(x, y, z, w)
float *x, *y, *z, *w;
{
getgpos(x, y, z, w);
}
/*
* getgpo_ (same as getgpos_)
*/
void
getgpo_(x, y, z, w)
float *x, *y, *z, *w;
{
getgpos(x, y, z, w);
}
|
4d86c5d5ea5a0ba6b3825381749f89cb4b104006c3ca8b68df648a06299f74a3 | C | 305 | 16 | /*
* Copyright (C) 2002 Bernd Feige
* This file is part of avg_q and released under the GPL v3 (see avg_q/COPYING).
*/
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
int
main(int argc, char **argv) {
time_t const time_in_seconds=time(NULL);
puts(ctime(&time_in_seconds));
return(0);
}
|
9e07b30352ae20da8990b01c32b64947b6ccd08780db953a23e6b96884865c9a | C | 305 | 14 | #ifndef __VSX__
#error "VSX is not supported"
#endif
#include <altivec.h>
typedef __vector unsigned int v_uint32x4;
int main(void)
{
v_uint32x4 v1 = (v_uint32x4){2, 4, 8, 16};
v_uint32x4 v2 = (v_uint32x4){2, 2, 2, 2};
v_uint32x4 v3 = vec_mod(v1, v2);
return (int)vec_extractm(v3);
}
|
cc53754b3e9302b72304fe7d8c3ae0a908a12d3fec3c2b7a2964dd070830236a | C | 318 | 19 | #include "vogl.h"
/*
* vega_draw
*
* For V/EGA
* Draws a line from the current screen spot to x, y
*/
extern unsigned _cur_color;
vega_draw(x, y)
register int x, y;
{
egaline(vdevice.cpVx, vdevice.sizeSy - vdevice.cpVy, x, vdevice.sizeSy - y, _cur_color);
vdevice.cpVx = x;
vdevice.cpVy = y;
return(0);
}
|
80c7a3bece6a6b081d37dd87d2e16f1f8d50b8acb50c83bf57993d97bdcca344 | C | 325 | 37 | #include "vogl.h"
/*
* pushattributes_
*/
void
pushattributes_()
{
pushattributes();
}
/*
* pushat_ (same as pushattributes_)
*/
void
pushat_()
{
pushattributes();
}
/*
* popattributes_
*/
void
popattributes_()
{
popattributes();
}
/*
* popatt_ (same as popattributes_)
*/
void
popatt_()
{
popattributes(... |
0dc8e31eed4e96fe56bcb6219024adaa0d4159361ec5cb9f31da518914ad457f | C | 331 | 23 |
#include <stdio.h>
extern char *malloc();
/*
* hallocate
*
* Allocate some memory, barfing if malloc returns NULL.
*/
char *
hallocate(size)
unsigned size;
{
char *p;
if ((p = (char *)malloc(size)) == (char *)NULL) {
fprintf(stderr,"hallocate: request for %d bytes returned NULL", size);
exit(1);
}
ret... |
b3ffe6f525b8a16c6a80023bdb0afe1d74d5a5294f9c4cec3e2ff12163fa06b0 | C | 343 | 20 | #include "plot.h"
int dotX (int x, int y, int dx, int n, char *pattern)
{
switch (*(short *)pattern) {
case ('c' * 256 + 'i'):
case ('c' * 256 + 'r'):
case ('p' * 256 + 'l'):
case ('p' * 256 + 'o'):
pointX (x, y);
break;
case ('s' * 256 + 't'):
pointX (x, y);
break;
default:
bre... |
86d491f444774bc009aafe0464cb2bc50f92b9f4c8957369b8523a31742cf3bc | C | 346 | 17 | #define Py_LIMITED_API 0x03060000
#include <Python.h>
#include <numpy/arrayobject.h>
#include <numpy/ufuncobject.h>
static PyModuleDef moduledef = {
.m_base = PyModuleDef_HEAD_INIT,
.m_name = "limited_api1"
};
PyMODINIT_FUNC PyInit_limited_api1(void)
{
import_array();
import_umath();
return PyMod... |
9be0aa49b3405e3acd82c74267182c815f71532170ca3ccce86354f3f08d8ada | C | 348 | 31 | #include "vogl.h"
static int have_mouse = 0;
extern int ismouse(), readmouse();
pc_locinit(x, y)
int x, y;
{
if ((have_mouse = ismouse(x, y)))
showmouse();
return(0);
}
int
pc_locator(x, y)
int *x, *y;
{
int ix, iy, b;
if (!have_mouse)
return (-1);
b = readmouse(&ix, &iy);
*x = ix;
*y = vdevice.... |
c4801343bd9285080eff3095462c877e786c41ba3e9a3a22628bb8aa9a623083 | C | 348 | 21 | #include "vogl.h"
#include <stdlib.h>
#include <stdio.h>
/*
* vallocate
*
* Allocate some memory, barfing if malloc returns NULL.
*/
char *
vallocate(unsigned int size)
{
char *p, buf[60];
if ((p = (char *)malloc(size)) == (char *)0) {
sprintf(buf,"vallocate: request for %d bytes returned NULL", size);
verr... |
fb194ccebff26ebd9478f49fbbc2b86917e226cda8d0e0ab999e1487310d8890 | C | 352 | 26 | #include <stdio.h>
main()
{
int c1, c2, c3;
while ((c1 = getchar()) != EOF) {
if (c1 == '_') {
if ((c2 = getchar()) == 'c') {
if ((c3 = getchar()) == '_') {
putchar(c3);
} else {
putchar(c1);
putchar(c2);
putchar(c3);
}
} else {
putchar(c1);
putchar(c2);
}
} else... |
b211ef21065f474a3eb0d79f3ade3d04e878582980d01a49be3e1bec5f5476f4 | C | 354 | 12 | /**
* Assembler may not fully support the following VSX3 scalar
* instructions, even though compilers report VSX3 support.
*/
int main(void)
{
unsigned short bits = 0xFF;
double f;
__asm__ __volatile__("xscvhpdp %x0,%x1" : "=wa"(f) : "wa"(bits));
__asm__ __volatile__ ("xscvdphp %x0,%x1" : "=wa" (bits... |
68c5b415ddf3ff39c2d299f8fddc244e4c040d3df0d6f85856a4e8c7b13ab634 | C | 370 | 20 | #include <stdlib.h>
#include <math.h>
#include "stat.h"
float gammln(float xx) {
double x,tmp,ser;
static double cof[6]={76.18009173,-86.50532033,24.01409822,
-1.231739516,0.120858003e-2,-0.536382e-5};
int j;
x=xx-1.0;
tmp=x+5.5;
tmp -= (x+0.5)*log(tmp);
ser=1.0;
for (j=0;j<=5;j++) {
x += 1.0;
ser += co... |
f302ea30db3370a0a2124bd9799b4685c218e7bda47b2fd79334ba253a595f1a | C | 371 | 18 | /* this file is the box routine, which is a standard part of the plot(3)
library. It draws a box given the coordinates of the diagonal corners, x0,y0
and x1,y1 */
#include "plot.h"
int
boxID (x0, y0, x1, y1)
int x0, y0, x1, y1;
{
moveID (x0, y0);
contID (x0, y1);
contID (x1, y1);
contID (x1, y0);
... |
ae2fa06841510f8b19605e004285c1cd3dba57f656b5b0d713597c5365e02547 | C | 378 | 18 | /*
* pythag function modified from the Numerical Recipes 2.0
* -- Bernd Feige 17.09.1993
*/
#include <math.h>
#include "bfmath.h"
GLOBAL DATATYPE
pythag(DATATYPE a, DATATYPE b) {
DATATYPE absa,absb, tmp;
absa=fabs(a);
absb=fabs(b);
tmp=absb/absa;
tmp*=tmp;
if (absa > absb) return absa*sqrt(1.0+tmp);
el... |
49fc2b10403fd3dd6d9b2238bcddc134bb3bca9527ac5fd56d383a80f97ea1cb | C | 379 | 15 | #ifdef _MSC_VER
#include <Intrin.h>
#endif
#include <arm_neon.h>
int main(int argc, char **argv)
{
float16_t *src = (float16_t*)argv[argc-1];
float16x8_t vhp = vdupq_n_f16(src[0]);
float16x4_t vlhp = vdup_n_f16(src[1]);
int ret = (int)vgetq_lane_f16(vabdq_f16(vhp, vhp), 0);
ret += (int... |
23ccef7317f851c777aa8fb6414f14e73ffa29662455fdf51c402d6be1dcd63e | C | 415 | 51 | /*
* setlin_
*/
setlin_(n)
int *n;
{
setlinestyle(*n);
}
/*
* deflin_
*/
deflin_(n, s)
int *n, *s;
{
deflinestyle(*n, *s);
}
/*
* setlinestyle_
*/
setlinestyle_(n)
int *n;
{
setlinestyle(*n);
}
/*
* deflinestyle_
*/
deflinestyle_(n, s)
int *n, *s;
{
deflinestyle(*n, *s);
}
/*
* linewi_
*/
linewi_(n)... |
bb3a1eb0466dd04c06f2faf03edeccee8026a569bfecb9dfd4119202a398dad6 | C | 416 | 17 | /*
* Copyright (C) 1993 Bernd Feige
* This file is part of avg_q and released under the GPL v3 (see avg_q/COPYING).
*/
/*
* array_reset.c tiny function to reset the array position counters
* to the start of the array -- Bernd Feige 15.09.1993
*
*/
#include "array.h"
GLOBAL void
array_reset(array *thisarray) {... |
6b66bfca21d7e453396c270f8f0ce767368197f4cf3717a43edfc51a4afa2c90 | C | 426 | 20 | #include <stdlib.h>
#include <math.h>
#include "stat.h"
float betai(float a, float b, float x) {
float bt;
if (isnan(x)) return NAN;
if (x < 0.0 || x > 1.0) {
nrerror("Bad x in routine BETAI");
return NAN;
}
if (x == 0.0 || x == 1.0) bt=0.0;
else
bt=exp(gammln(a+b)-gammln(a)-gammln(b)+a*log(x)+b*log(1.0-x... |
1386fdcd3d487527c6476002649890a11f81a9a783b7316a44d5bc94139701a6 | C | 432 | 16 | #ifdef _MSC_VER
#include <Intrin.h>
#endif
#include <arm_neon.h>
int main(int argc, char **argv)
{
unsigned char *src = (unsigned char*)argv[argc-1];
uint8x16_t v1 = vdupq_n_u8(src[0]), v2 = vdupq_n_u8(src[1]);
uint32x4_t va = vdupq_n_u32(3);
int ret = (int)vgetq_lane_u32(vdotq_u32(va, v1, v2), 0);... |
bd9153e172331055b9f274eb3df16d41fd0ff9578efc2b0db0e853f8757e3f97 | C | 448 | 29 |
struct YOBBA {
union {
struct {
unsigned alpha : 1;
unsigned beta : 2;
unsigned fixe : 3;
unsigned kralb : 1;
} vals;
struct {
unsigned char yobbav;
} yobbavals;
} yobba;
} *yobbaray;
/*
* yobbarays
*
* Turns on (or off) yobba rays, as described by Larry Dart's friend.
*
*... |
96d04b6eb97583d5f10f6c2f37ffa0dcd8488b373c9b19e1d99eb00b25e8fbc1 | C | 452 | 19 | #if Py_LIMITED_API != PY_VERSION_HEX & 0xffff0000
# error "Py_LIMITED_API not defined to Python major+minor version"
#endif
#include <Python.h>
#include <numpy/arrayobject.h>
#include <numpy/ufuncobject.h>
static PyModuleDef moduledef = {
.m_base = PyModuleDef_HEAD_INIT,
.m_name = "limited_api_latest"
};
... |
b88e0c59239c5e7dea902ff8b7fa61e0701261b2d6ba2c014ded5f8507f8831e | C | 456 | 26 | /*
* Copyright (C) 1999 Bernd Feige
* This file is part of avg_q and released under the GPL v3 (see avg_q/COPYING).
*/
#include <stdlib.h>
#include <stdio.h>
#include "bf.h"
int
main(int argc, char **argv) {
short int sum=0;
char const * in_string=get_avg_q_signature();
if (argc!=1) {
fprintf(stderr, "Usage:... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.