max_stars_repo_path
stringlengths
4
261
max_stars_repo_name
stringlengths
6
106
max_stars_count
int64
0
38.8k
id
stringlengths
1
6
text
stringlengths
7
1.05M
STM32F4/ToyOBDH/host_app/tm_receiver.ads
AntonioRamosNieto/TFG-STM32F429
0
6720
<reponame>AntonioRamosNieto/TFG-STM32F429<gh_stars>0 with System; package TM_Receiver is task TM_Receiver_Task with Priority => System.Default_Priority; end TM_Receiver;
examples/MicroBit/servos/src/main.adb
Kidev/Ada_Drivers_Library
0
5962
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2018, AdaCore -- -- -- -- ...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1841.asm
ljhsiun2/medusa
9
4664
.global s_prepare_buffers s_prepare_buffers: push %r12 push %rcx push %rdi push %rsi lea addresses_D_ht+0x64a9, %rsi lea addresses_normal_ht+0x12541, %rdi nop sub $8495, %r12 mov $116, %rcx rep movsw nop nop nop nop xor %rdi, %rdi pop %rsi pop %rdi pop %rcx pop %r12 ret .global s_faulty_load s_faulty_load: push %r...
static/pages/over15/assets/arrays.asm
gorcajo/undermykeys
0
246965
<filename>static/pages/over15/assets/arrays.asm // EXAMPLE #2: Arrays // ----------------------------------------- // This program will add 2 to all the 16 // array elements. // R0 will act as our array object // R1 will be the array length // R2 will act as the current array element pointer // R3 will act as the curr...
programs/oeis/135/A135013.asm
karttu/loda
0
162930
; A135013: Partial sums of A000265. ; 1,2,5,6,11,14,21,22,31,36,47,50,63,70,85,86,103,112,131,136,157,168,191,194,219,232,259,266,295,310,341,342,375,392,427,436,473,492,531,536,577,598,641,652,697,720,767,770,819,844,895,908,961,988,1043,1050,1107,1136,1195,1210,1271,1302,1365,1366,1431,1464,1531,1548,1617,1652,1723,1...
parseur.ads
zyron92/banana_tree_generator
0
9973
with Ada.Text_IO; use Ada.Text_IO; package Parseur is Erreur_Lecture_Config,Erreur_Option,Fichier_Trop_Long : exception; Max_X, Max_Y:Float:=Float'first; Min_X, Min_Y : Float:=Float'Last; type Arrete_Adj; type Ptr_Liste_Arretes_Adj is access Arrete_Adj; type Coord_Point is record X,Y...
regtests/keystore-coverage.adb
My-Colaborations/ada-keystore
25
8753
<filename>regtests/keystore-coverage.adb ----------------------------------------------------------------------- -- keystore-io-tests -- Tests for keystore IO -- Copyright (C) 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this fi...
programs/oeis/250/A250723.asm
neoneye/loda
22
6933
<filename>programs/oeis/250/A250723.asm ; A250723: Number of (n+1) X (2+1) 0..1 arrays with nondecreasing x(i,j)+x(i,j-1) in the i direction and nondecreasing min(x(i,j),x(i-1,j)) in the j direction. ; 22,46,85,144,230,350,513,728,1006,1358,1797,2336,2990,3774,4705,5800,7078,8558,10261,12208,14422,16926,19745,22904,264...
programs/oeis/212/A212982.asm
karttu/loda
0
23835
<gh_stars>0 ; A212982: Number of (w,x,y) with all terms in {0,...,n} and w<x+y and x<=y. ; 0,3,11,27,53,92,146,218,310,425,565,733,931,1162,1428,1732,2076,2463,2895,3375,3905,4488,5126,5822,6578,7397,8281,9233,10255,11350,12520,13768,15096,16507,18003,19587,21261,23028,24890,26850,28910,31073,33341,35717,38203,40802,43...
programs/oeis/134/A134169.asm
karttu/loda
1
245701
; A134169: a(n) = 2^(n-1)*(2^n - 1) + 1. ; 1,2,7,29,121,497,2017,8129,32641,130817,523777,2096129,8386561,33550337,134209537,536854529,2147450881,8589869057,34359607297,137438691329,549755289601,2199022206977,8796090925057,35184367894529,140737479966721,562949936644097,2251799780130817,9007199187632129 mov $1,2 pow $1...
oeis/020/A020987.asm
neoneye/loda-programs
11
2823
; A020987: Zero-one version of Golay-Rudin-Shapiro sequence (or word). ; Submitted by <NAME>(s4) ; 0,0,0,1,0,0,1,0,0,0,0,1,1,1,0,1,0,0,0,1,0,0,1,0,1,1,1,0,0,0,1,0,0,0,0,1,0,0,1,0,0,0,0,1,1,1,0,1,1,1,1,0,1,1,0,1,0,0,0,1,1,1,0,1,0,0,0,1,0,0,1,0,0,0,0,1,1,1,0,1,0,0,0,1,0,0,1,0,1,1,1,0,0,0,1,0,1,1,1,0 lpb $0 lpb $0 ...
oeis/190/A190980.asm
neoneye/loda-programs
11
176384
; A190980: a(n) = 9*a(n-1) - 3*a(n-2), with a(0)=0, a(1)=1. ; Submitted by <NAME>(s2) ; 0,1,9,78,675,5841,50544,437373,3784725,32750406,283399479,2452344093,21220898400,183631053321,1589016784689,13750257902238,118985270766075,1029616663187961,8909594156393424,77097497417976933,667148694292612125,5773045756379578326,49...
Task/Hickerson-series-of-almost-integers/Ada/hickerson-series-of-almost-integers.ada
LaudateCorpus1/RosettaCodeData
1
30136
with Ada.Text_IO; with Ada.Numerics.Generic_Elementary_Functions; procedure Almost_Integers is type Real is new Long_Long_Float; package Real_IO is new Ada.Text_IO.Float_IO (Real); package Integer_IO is new Ada.Text_IO.Integer_IO (Integer); function Faculty (N : in Long_Long_Integer) return ...
contrib/gnu/gdb/dist/zlib/contrib/ada/test.adb
TheSledgeHammer/2.11BSD
3
12625
<filename>contrib/gnu/gdb/dist/zlib/contrib/ada/test.adb ---------------------------------------------------------------- -- ZLib for Ada thick binding. -- -- -- -- Copyright (C) 2002-2003 <NAME> -- -- ...
oeis/178/A178821.asm
neoneye/loda-programs
11
10791
; A178821: Triangle read by rows: T(n,k) = binomial(n+4,4) * binomial(n,k), 0 <= k <= n. ; Submitted by <NAME> ; 1,5,5,15,30,15,35,105,105,35,70,280,420,280,70,126,630,1260,1260,630,126,210,1260,3150,4200,3150,1260,210,330,2310,6930,11550,11550,6930,2310,330,495,3960,13860,27720,34650,27720,13860,3960,495,715,6435,2574...
src/aco-protocols-error_control-masters.adb
jonashaggstrom/ada-canopen
6
6391
<reponame>jonashaggstrom/ada-canopen package body ACO.Protocols.Error_Control.Masters is procedure Periodic_Actions (This : in out Master; T_Now : in Ada.Real_Time.Time) is begin This.Timers.Process (T_Now); This.Monitor.Update_Alarms (T_Now); end Periodic_Actions; functio...
presentationsAndExampleCode/agdaImplementorsMeetingGlasgow22April2016AntonSetzer/objectOrientedGui.agda
agda/ooAgda
23
5457
<reponame>agda/ooAgda<gh_stars>10-100 module objectOrientedGui where open import Data.Product hiding (map) open import Data.List open import Data.Bool.Base open import SizedIO.Base open import NativeIO open import Relation.Binary.PropositionalEquality hiding ([_]) open import Size open import Function open import St...
oeis/108/A108793.asm
neoneye/loda-programs
11
27790
<reponame>neoneye/loda-programs ; A108793: Semiprimes that can be partitioned into a sum of semiprimes in more than one way. ; Submitted by <NAME> ; 10,14,15,21,22,25,26,33,34,35,38,39,46,49,51,55,57,58,62,65,69,74,77,82,85,86,87,91,93,94,95,106,111,115,118,119,121,122,123,129,133,134,141,142,143,145,146,155,158,159,16...
Drivers/HelloAmdHvDxe/X64/ExceptionHandlers.asm
morelli690/HelloAmdHvPkg
63
3853
<filename>Drivers/HelloAmdHvDxe/X64/ExceptionHandlers.asm<gh_stars>10-100 ; ; @file ExceptionHandlers.asm ; ; @brief Exception handlers for the host. ; ; @author <NAME> ; ; @copyright Copyright (c) 2020 - , <NAME>. All rights reserved. ; include Macros.inc .code extern HandleHostException : proc ; ; The index to trac...
oeis/151/A151383.asm
neoneye/loda-programs
11
103304
<reponame>neoneye/loda-programs ; A151383: Number of walks within N^2 (the first quadrant of Z^2) starting at (0,0), ending on the vertical axis and consisting of 2 n steps taken from {(-1, -1), (-1, 0), (-1, 1), (1, 1)} ; Submitted by <NAME>(s1) ; 1,3,18,135,1134,10206,96228,938223,9382230,95698746,991787004,104137635...
kernel/src/cpu/irq.asm
Stoozy/osdev
0
4057
[bits 64] global load_idt global irq0 global irq1 global irq2 global irq3 global irq4 global irq5 global irq6 global irq7 global irq8 global irq9 global irq10 global irq11 global irq12 global irq13 global irq14 global irq15 global dummy_irq %macro pushaq 0 push r8 push r9 push r10 push r11 push ...
src/natools-smaz_implementations-base_64_tools.ads
faelys/natools
0
4307
<filename>src/natools-smaz_implementations-base_64_tools.ads ------------------------------------------------------------------------------ -- Copyright (c) 2016-2017, <NAME> -- -- -- -- Permission to use, copy, m...
libsrc/math/genmath/hlsub.asm
meesokim/z88dk
0
92288
<filename>libsrc/math/genmath/hlsub.asm<gh_stars>0 ; Small C+ Math Library ; General "fudging routine" PUBLIC hlsub EXTERN ldbchl EXTERN fsub ; .hlsub CALL ldbchl JP fsub ;
experiments/test-suite/mutation-based/10/1/dll.als
kaiyuanw/AlloyFLCore
1
2090
<gh_stars>1-10 pred test22 { some disj DLL0: DLL {some disj Node0, Node1: Node { DLL = DLL0 header = DLL0->Node1 Node = Node0 + Node1 no pre nxt = Node1->Node0 elem = Node0->-8 + Node1->0 Sorted[] }} } run test22 for 3 expect 0 pred test35 { some disj DLL0: DLL {some disj Node0, Node1: Node { DLL = DLL0 header = DLL0->...
programs/oeis/191/A191484.asm
karttu/loda
1
104761
<filename>programs/oeis/191/A191484.asm ; A191484: Number of compositions of even natural numbers into 5 parts <= n. ; 1,16,122,512,1563,3888,8404,16384,29525,50000,80526,124416,185647,268912,379688,524288,709929,944784,1238050,1600000,2042051,2576816,3218172,3981312,4882813,5940688,7174454,8605184,10255575,12150000,14...
include/fontconfig.ads
docandrew/troodon
5
26309
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with Interfaces.C.Strings; with System; limited with bits_struct_stat_h; package fontconfig is FC_MAJOR : constant := 2; -- /usr/include/fontconfig/fontconfig.h:54 FC_MINOR : constant := 13; -- /usr/include/fontconfig/fontconf...
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_2_1207.asm
ljhsiun2/medusa
9
88843
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r15 push %rsi lea addresses_A_ht+0xfb93, %r10 nop nop inc %r15 mov (%r10), %r11 nop nop dec %rsi pop %rsi pop %r15 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r11 push %r15 push %rax push %rcx push %rdi push %rdx push %rsi ...
oeis/045/A045320.asm
neoneye/loda-programs
11
86554
; A045320: Primes not congruent to 5 mod 7. ; Submitted by <NAME> ; 2,3,7,11,13,17,23,29,31,37,41,43,53,59,67,71,73,79,83,97,101,107,109,113,127,137,139,149,151,157,163,167,179,181,191,193,197,199,211,223,227,233,239,241,251,263,269,277,281,283,293,307,311,317,331,337,347,349,353,359,367,373,379,389,401,409,419,421,431...
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0_notsx.log_2_1243.asm
ljhsiun2/medusa
9
83588
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r14 push %r15 push %r8 push %rbp push %rdi // Store mov $0xfd, %rdi clflush (%rdi) nop nop cmp %r8, %r8 movb $0x51, (%rdi) nop xor %rbp, %rbp // Load lea addresses_US+0x11428, %r14 clflush (%r14) nop n...
tools-src/gnu/gcc/gcc/ada/restrict.ads
enfoTek/tomato.linksys.e2000.nvram-mod
80
2107
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
Lab2/Preliminary_Work/preLIMQuestion3.asm
zeynepCankara/Computer_Organization_Labs
3
16465
<reponame>zeynepCankara/Computer_Organization_Labs .text again: addi $t0, $0,2 addi $t1, $0, 3 addi $t2, $0, 0 addi $t3, $0, 0 beq $t0, $t1, next bne $t2, $t3, again add $t0, $0, $t0 add $t0, $0, $t0 jr $ra next: j again
April/rod_control.ads
Black-Photon/Programming-Language-of-the-Month
0
3767
with types; package rod_control is procedure callback (Control_Rods : in out types.Rod_Array; Temperature : types.Kilojoule; Output : types.Kilojoule); private Last_Temp : types.Kilojoule := 0.000; end rod_control;
test/Succeed/ParameterisedAnonymousModule.agda
shlevy/agda
1,989
11825
<filename>test/Succeed/ParameterisedAnonymousModule.agda module _ (A : Set) where id : A → A id x = x
IMU/VTK-6.2.0/Rendering/VolumeOpenGL/vtkHAVSVolumeMapper_k2BeginFP.asm
timkrentz/SunTracker
4
88026
!!ARBfp1.0 #------------------------------------------------------------------------------ # Copyright 2005 by University of Utah # # Hardware-Assisted Visibility Sorting # # The program consists of the following steps: # # 1. Clear k-buffers entries 1 and 2 to -1.0 # # The following textures are used: # # ...
tpantlr2-code/code/reference/DynScope.g4
cgonul/antlr-poc
10
2507
grammar DynScope; prog: block ; block /* List of symbols defined within this block */ locals [ List<String> symbols = new ArrayList<String>() ] : '{' decl* stat+ '}' // print out all symbols found in block // $block::symbols evaluates to a List as defined in scope {System.out....
specs/ada/common/tkmrpc.ads
DrenfongWong/tkm-rpc
0
13595
package Tkmrpc is end Tkmrpc;
Some Basic Programs/3.asm
moni-kishore-dhar/Problem-Solving-by-Assembly-Language
1
22098
;if ax>bx and ax>cx then, dx=1 ;if bx>ax and bx>cx then, dx=2 ;if cx>ax and cx>bx then, dx=3 mov ax,5 mov bx,8 mov cx,10 cmp ax,bx jg L1 jl L3 jmp L8 L1: cmp ax,cx jg L2 jmp L8 L2: mov dx,1 jmp exit L3: cmp bx,cx jg L4 jmp L8 L4: mov dx,2 jm...
theorems/cohomology/Coproduct.agda
timjb/HoTT-Agda
294
484
<filename>theorems/cohomology/Coproduct.agda {-# OPTIONS --without-K --rewriting #-} open import HoTT open import cohomology.Theory module cohomology.Coproduct {i} (CT : CohomologyTheory i) (n : ℤ) (X Y : Ptd i) where open CohomologyTheory CT open import cohomology.Sigma CT private P : Bool → Ptd i P true = X...
int10_override.asm
p2mate/focus_loader
0
8481
<filename>int10_override.asm .MODEL SMALL .CODE public int10_override_, setup_int10_ int10_override_ proc far cmp ax, 4f01h je check_mode01 cmp ax, 4f02h jne chain_to_prev cmp bx, 4136h jne chain_to_prev push cx push bx and bx, 4000h or bx, [mode] jmp chain_to_prev_and_restore check_mode01: cmp cx...
problems/013/a013.adb
melwyncarlo/ProjectEuler
0
15551
<filename>problems/013/a013.adb with Ada.Text_IO; with Ada.Strings.Fixed; with Ada.Numerics.Elementary_Functions; -- Copyright 2021 <NAME> procedure A013 is use Ada.Text_IO; use Ada.Strings.Fixed; use Ada.Numerics.Elementary_Functions; Fifty_Digit_Numbers : constant array (Integer range 1 .. 100) of ...
oeis/000/A000168.asm
neoneye/loda-programs
11
82509
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A000168: a(n) = 2*3^n*(2*n)!/(n!*(n+2)!). ; Submitted by <NAME>(s3) ; 1,2,9,54,378,2916,24057,208494,1876446,17399772,165297834,1602117468,15792300756,157923007560,1598970451545,16365932856990,169114639522230,1762352559231660,18504701871932430,195621134074714260,2080697...
src/model/io/lse-model-io-turtle.ads
mgrojo/lsystem-editor
2
15581
<gh_stars>1-10 ------------------------------------------------------------------------------- -- LSE -- L-System Editor -- Author: Heziode -- -- License: -- MIT License -- -- Copyright (c) 2018 <NAME> (Heziode) <<EMAIL>> -- -- Permission is hereby granted, free of charge, to any person obtaining a -- copy of th...
data/pokemon/base_stats/clefable.asm
opiter09/ASM-Machina
1
177264
<reponame>opiter09/ASM-Machina db DEX_CLEFABLE ; pokedex id db 95, 70, 73, 60, 85 ; hp atk def spd spc db SOUND, SOUND ; type db 25 ; catch rate db 129 ; base exp INCBIN "gfx/pokemon/front/clefable.pic", 0, 1 ; sprite dimensions dw ClefablePicFront, ClefablePicBack db SING, DOUBLESLAP, MINIMIZE,...
oeis/176/A176221.asm
neoneye/loda-programs
11
1926
; A176221: Decimal expansion of sqrt(110). ; Submitted by <NAME> ; 1,0,4,8,8,0,8,8,4,8,1,7,0,1,5,1,5,4,6,9,9,1,4,5,3,5,1,3,6,7,9,9,3,7,5,9,8,4,7,5,2,7,1,8,5,7,6,8,1,5,0,3,9,8,4,8,7,5,7,5,5,7,6,3,5,8,0,0,0,5,9,2,5,5,0,1,1,0,0,6,9,1,4,1,9,3,8,5,2,8,8,9,3,3,1,9,4,4,1,7 mov $3,$0 mul $3,4 lpb $3 add $1,$2 add $5,$2 ...
SuperMerge/~SuperMerge_1_PREP~ALEX.applescript
AlexanderGalen/applescripts
3
2942
--function to replace "oldItem" with "newItem" in "someText" and return the new string on replaceText(someText, oldItem, newItem) set {tempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, oldItem} try set {itemList, AppleScript's text item delimiters} to {text items of someText, ne...
src/PathStructure/Coproduct.agda
vituscze/HoTT-lectures
0
7646
<gh_stars>0 {-# OPTIONS --without-K #-} module PathStructure.Coproduct {a b} {A : Set a} {B : Set b} where open import Equivalence open import PathOperations open import Types -- We need to use Lift here, because Agda doesn't have -- cumulative universes. F : A ⊎ B → A ⊎ B → Set (a ⊔ b) F = case (λ _ → A ⊎ B → Set _)...
oeis/127/A127777.asm
neoneye/loda-programs
11
169732
; A127777: A127773 * A002260 as infinite lower triangular matrices. ; Submitted by <NAME> ; 1,3,6,6,12,18,10,20,30,40,15,30,45,60,75,21,42,63,84,105,126,28,56,84,112,140,168,196,36,72,108,144,180,216,252,288,45,90,135,180,225,270,315,360,405,55,110,165,220,275,330,385,440,495,550,66,132,198,264,330,396,462,528,594,660,...
programs/oeis/066/A066481.asm
neoneye/loda
22
7070
; A066481: Largest anti-divisor of n. ; 2,3,3,4,5,5,6,7,7,8,9,9,10,11,11,12,13,13,14,15,15,16,17,17,18,19,19,20,21,21,22,23,23,24,25,25,26,27,27,28,29,29,30,31,31,32,33,33,34,35,35,36,37,37,38,39,39,40,41,41,42,43,43,44,45,45,46,47,47,48,49,49,50,51,51,52,53,53,54,55,55,56,57,57,58,59,59,60,61,61,62,63,63,64,65,65,66,6...
data/pokemon/base_stats/loudred.asm
TastySnax12/pokecrystal16-493-plus
2
167646
<reponame>TastySnax12/pokecrystal16-493-plus db 0 ; species ID placeholder db 84, 71, 43, 48, 71, 43 ; hp atk def spd sat sdf db NORMAL, NORMAL ; type db 120 ; catch rate db 126 ; base exp db NO_ITEM, MINT_BERRY ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatc...
programs/oeis/292/A292543.asm
karttu/loda
1
243655
; A292543: Number of 5-cycles in the n-Sierpinski tetrahedron graph. ; 0,96,384,1536,6144,24576,98304,393216,1572864,6291456,25165824,100663296,402653184,1610612736,6442450944,25769803776,103079215104,412316860416,1649267441664,6597069766656,26388279066624,105553116266496,422212465065984,1688849860263936 mov $1,4 pow ...
oeis/241/A241747.asm
neoneye/loda-programs
11
24090
<filename>oeis/241/A241747.asm ; A241747: Triangle read by rows: T(n,k) = (4*n+3)*(4*k+3). ; Submitted by <NAME> ; 9,21,49,33,77,121,45,105,165,225,57,133,209,285,361,69,161,253,345,437,529,81,189,297,405,513,621,729,93,217,341,465,589,713,837,961,105,245,385,525,665,805,945,1085,1225,117,273,429,585,741,897,1053,1209,...
share/cowrie/arch/src/nop-hppa64.asm
a-M0nster/cowrie-1
2,316
10950
<filename>share/cowrie/arch/src/nop-hppa64.asm<gh_stars>1000+ .text .globl main main: nop
Sources/PT.PM/LanguageDetectors/SqlDialectsLexer.g4
KvanTTT/PT.PM
65
817
lexer grammar SqlDialectsLexer; channels { MY_SQL, PL_SQL, MY_PL_SQL, PL_T_SQL, T_SQL } @lexer::members {protected bool IsNewlineAtPos(int pos) { int la = _input.La(pos); return la == -1 || la == '\n'; }} // Sql common ADD : 'ADD'; ALTER : 'ALTER'; ALL : 'ALL'; ...
oeis/052/A052906.asm
neoneye/loda-programs
11
29072
; A052906: Expansion of (1-x^2)/(1-3*x-x^2). ; 1,3,9,30,99,327,1080,3567,11781,38910,128511,424443,1401840,4629963,15291729,50505150,166807179,550926687,1819587240,6009688407,19848652461,65555645790,216515589831,715102415283,2361822835680,7800570922323,25763535602649,85091177730270,281037068793459,928202384110647,30656...
src/Data/Fin/Substitution/TypedRelation.agda
Blaisorblade/f-omega-int-agda
0
11048
------------------------------------------------------------------------ -- Well-typed binary relations lifted to substitutions ------------------------------------------------------------------------ {-# OPTIONS --safe --without-K #-} module Data.Fin.Substitution.TypedRelation where open import Data.Context hiding ...
test/Succeed/ImpredicativeData.agda
shlevy/agda
1,989
14640
-- Andreas, 2017-03-08 -- Impredicative data types are incompatible with structural recursion -- (Coquand, Pattern Matching with Dependent Types, 1992) {-# OPTIONS --type-in-type #-} data ⊥ : Set where -- An impredicative data type data D : Set where c : (f : (A : Set) → A → A) → D -- Structural recursion with ...
src/router_cb.adb
Robert-Tice/AdaFractalCPP
0
30446
with Ada.Calendar; use Ada.Calendar; with Ada.Text_IO; use Ada.Text_IO; with Ada.Unchecked_Conversion; with AWS.MIME; with AWS.Messages; with AWS.Response; with AWS.Utils; use AWS.Utils; with Fractal; with Interfaces.C.Strings; use Interfaces.C.Strings; with Interfaces.C.Extensions; use Interfaces.C.Extensions; pa...
hello_random_array.asm
EdTheBass/asm_tutorial
97
6674
<reponame>EdTheBass/asm_tutorial ; This program allocates and fills an array with random numbers and then computes ; the minimum value of the array. If the array size <= 20, it prints the values ; in the array. ; TODO: Crashing when specifying 10000 on the command line ; TODO: Not printing the indices correctly...
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c9a009h.ada
best08618/asylo
7
30001
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c9a009h.ada -- C9A009H.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimi...
Script/7.asm
santo6774/CSE331L_Section_7_Summer20_NSU_Final
0
25565
DATA SEGMENT NUM1 DB ? NUM2 DB ? MSG1 DB 10,13,"ENTER INT 1 : $" MSG2 DB 10,13,"ENTER INT 2 : $" MSG3 DB 10,13,"SMALLEST INT : $" ENDS CODE SEGMENT ASSUME DS:DATA CS:CODE START: MOV AX,DATA MOV DS,AX LEA DX,MSG1 MOV AH,9 INT 21H MOV AH,1 INT 21H MOV NUM1,AL LEA DX,MSG2 MOV AH,9 INT 21H MOV AH,1 IN...
agda/paper/2009-Dependent_Types_at_Work-Bove_and_Dybjer/x01.agda
haroldcarr/learn-haskell-coq-ml-etc
36
4158
import Relation.Binary.PropositionalEquality as PE module x01 where import Data.Empty.Polymorphic as DEP open import Data.Unit.Polymorphic import Data.Maybe as Maybe {- Dependent Types at Work <NAME> and <NAME> Chalmers University of Technology, Göteborg, Sweden intro to functional programming with dependent type...
src/main/resources/grammar/Donkey.g4
pandanotbreathing/donkey-core
7
6296
<filename>src/main/resources/grammar/Donkey.g4 // Copyright 2018 Upwork Global Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // ...
data/pokemon/base_stats/chingling.asm
TastySnax12/pokecrystal16-493-plus
2
173842
<gh_stars>1-10 db 0 ; species ID placeholder db 45, 30, 50, 45, 65, 50 ; hp atk def spd sat sdf db PSYCHIC, PSYCHIC ; type db 120 ; catch rate db 57 ; base exp db NO_ITEM, BERRY ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 25 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/p...
src/arch/cores/armv7-m/m4-mpu.ads
PThierry/ewok-kernel
0
2631
-- -- Copyright 2018 The wookey project team <<EMAIL>> -- - <NAME> -- - Arnauld Michelizza -- - Mathieu Renard -- - <NAME> -- - <NAME> -- -- 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 Lic...
test/Fail/ConflictingRelevance2.agda
shlevy/agda
1,989
6193
-- Andreas, 2018-06-14, issue #2513, do not allow conflicting relevance info. postulate Foo : {A : Set} → ..(@irrelevant A) → A -- Should fail. (Currently: parse error)
oeis/078/A078172.asm
neoneye/loda-programs
11
21766
; A078172: a(n)=A051201[A000040(n)]. ; Submitted by <NAME> ; 3,4,8,13,22,29,40,44,56,74,84,104,113,124,133,155,177,184,207,217,232,247,266,283,316,337,342,353,360,382,434,445,475,480,522,529,561,579,589,622,639,649,692,700,725,732,787,823,851,858,871,889,915,944,982 seq $0,6093 ; a(n) = prime(n) - 1. seq $0,51201 ; Su...
sbsext/ext/basic.asm
olifink/smsqe
0
163278
<gh_stars>0 * BASIC execution V0.02  1985 <NAME> QJUMP * * 2005-11-01 0.02 added call to re-set home directory on load (wl) * 2005-11-17 0.03 if A1 absoute, use Supervisor mode, only set home dir if basic name set (mk) section exten * * CLEAR clear variables, returns, when error and heap * NEW clear ...
Chapter1/#6.agda
CodaFi/HoTT-Exercises
0
9435
module #6 where open import Level open import Data.Bool open import Relation.Binary.PropositionalEquality {- Exercise 1.6. Show that if we define A × B :≡ ∏(x:2) rec2(U, A, B, x), then we can give a definition of indA×B for which the definitional equalities stated in §1.5 hold propositionally (i.e. using equality t...
Assembly/Devansyah/ShellMaker.asm
TrojanIsHere/HellHous3
0
102816
;-- <NAME> (<NAME>, JENGKI) -- ;-- THANKS GOD! MY LIFE IS GOOD MOV CH,AL MOV AL,[CHR] CMP AL,CH MOV CL,35 MOV DL,AL MOV DH,0 JNZ L0003 CALL ZERLEN L0003: CALL GETCHR MOV CL,37 TEST AH,2 JZ ERR30 TEST AH,4 MOV CL,38 JNZ ERR30 ;-------------------------------------------- ; Berfungsi mendebug dan melihat ...
source/strings/a-stzunb.ads
ytomino/drake
33
11342
pragma License (Unrestricted); with Ada.Strings.Unbounded_Wide_Wide_Strings.Functions.Maps; with Ada.Strings.Wide_Wide_Maps; package Ada.Strings.Wide_Wide_Unbounded is pragma Preelaborate; -- type Unbounded_Wide_Wide_String is private; -- pragma Preelaborable_Initialization (Unbounded_Wide_Wide_String); subtyp...
x64/ascii/mixedcase/rm64/RAX.asm
mitthu/alpha3
137
90602
<filename>x64/ascii/mixedcase/rm64/RAX.asm BITS 64 ; Some complex math is needed to get static values in certain registers because ; there is no alphanumeric way to do it directly: mult_code equ 0x33333333 ; mult_code ^ mult_dword must be alphanumeric mult_dword equ 0x05050503 ; mult_...
programs/oeis/134/A134816.asm
neoneye/loda
22
28548
<gh_stars>10-100 ; A134816: Padovan's spiral numbers. ; 1,1,1,2,2,3,4,5,7,9,12,16,21,28,37,49,65,86,114,151,200,265,351,465,616,816,1081,1432,1897,2513,3329,4410,5842,7739,10252,13581,17991,23833,31572,41824,55405,73396,97229,128801,170625,226030,299426,396655,525456,696081,922111,1221537,1618192,2143648,2839729,376184...
PA5/samples/pa9-sum.asm
atomic/CSE131
1
3885
<filename>PA5/samples/pa9-sum.asm .data text: .asciiz "Enter a number: " output: .asciiz "Sum output: " .text main: # Printing out the text li $v0, 4 la $a0, text syscall # Getting user input to register $t1 li $v0, 5 syscall move $t1, $v0 # Sum starts with 0 li ...
main_jp.asm
RockmanEXEZone/MMBN45-English-Translation
6
85360
<reponame>RockmanEXEZone/MMBN45-English-Translation .definelabel VAR_DEAD_CLOCK, 0 .definelabel VAR_JP, 1 .definelabel FREE_SPACE,0x87D3E04 .definelabel IWRAM_BLOB,0x81EE700 .gba .open ROM_IN,ROM_OUT,0x8000000 // Bug fixes .include "asm/_bugfix.asm" // JP only bug fix .org 0x8035BCC // wrong size .dw 0xF40 ...
Library/Text/TextGraphic/tgOptimize.asm
steakknife/pcgeos
504
175426
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: Text/TextGraphic FILE: tgOptimize.asm AUTHOR: <NAME>, Mar 9, 1994 ROUTINES: Name Description ---- ----------- REVISION HISTORY: N...
oeis/100/A100170.asm
neoneye/loda-programs
11
240840
; A100170: Structured pentagonal hexacontahedral numbers (vertex structure 10). ; 1,92,444,1228,2615,4776,7882,12104,17613,24580,33176,43572,55939,70448,87270,106576,128537,153324,181108,212060,246351,284152,325634,370968,420325,473876,531792,594244,661403,733440,810526,892832,980529,1073788,1172780,1277676,1388647,150...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_2715.asm
ljhsiun2/medusa
9
103201
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x173be, %r12 nop nop nop sub %r13, %r13 mov (%r12), %eax nop add $34680, %r10 lea addresses_A_ht+0x17750, %r12 sub %rbp, %rbp mov (%r12), %ebx nop nop xor %rbp, %rb...
04_spectre_full/attacker/01.asm
msmania/microarchitectural-attack
17
247753
global memory_access global flush_reload global evict section .text memory_access: mov r9, rcx rdtscp shl rdx, 20h or rax, rdx mov r8, rax mov rax, [r9] rdtscp shl rdx, 20h or rax, rdx sub rax,r8 ret flush_reload: mov r9, rcx rdtscp shl rdx, 20h or rax, ...
oeis/267/A267581.asm
neoneye/loda-programs
11
4084
; A267581: Decimal representation of the middle column of the "Rule 167" elementary cellular automaton starting with a single ON (black) cell. ; Submitted by <NAME> ; 1,3,6,13,26,53,107,215,430,861,1723,3447,6895,13791,27583,55167,110334,220669,441339,882679,1765359,3530719,7061439,14122879,28245759,56491519,112983039,...
oeis/041/A041030.asm
neoneye/loda-programs
11
19212
; A041030: Numerators of continued fraction convergents to sqrt(20). ; Submitted by <NAME> ; 4,9,76,161,1364,2889,24476,51841,439204,930249,7881196,16692641,141422324,299537289,2537720636,5374978561,45537549124,96450076809,817138163596,1730726404001,14662949395604,31056625195209,263115950957276,557288527109761,47214241...
Transynther/x86/_processed/NC/_zr_/i3-7100_9_0xca_notsx.log_11_1751.asm
ljhsiun2/medusa
9
174710
.global s_prepare_buffers s_prepare_buffers: push %r8 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x1ce8d, %rsi lea addresses_WC_ht+0x7e8d, %rdi nop nop dec %r8 mov $17, %rcx rep movsl nop nop nop nop nop and $46741, %rbx lea addresses_A_ht+0x174fd, %rbx nop nop and $38467, %rdx movb $0x61...
MoveSelectedItemsToNewDirectory.scpt
mateuscassaniga/applescript_itunes_move_files
0
2692
-- Move the iTunes selected files to a new path -- Created to move my iTunes U media files to the external hard drive. But works with any kind of file. -- Used to show the script progress on console on logMessage(logMessage) log "[" & (time string of (current date)) & "]: " & logMessage end logMessage -- true if iTu...
imsaisim/srcucsd-iv/boot.asm
qoelet/z80pack
85
96144
<reponame>qoelet/z80pack<filename>imsaisim/srcucsd-iv/boot.asm ; ; THIS PROGRAM IS A SKELETAL OUTLINE FOR A 128-BYTE PRIMARY ; BOOTSTRAP FOR AUTOMATICALLY BOOTING TO UCSD PASCAL (TM). ; SET THE CORRECT ORIGIN FOR THIS PROGRAM FOR YOUR SYSTEM, SET ; 'MSIZE' FOR THE APPROPRIATE NUMBER OF KILOBYTES OF RAM MEMORY ; FOR...
EjerciciosMIPS/ejercicio4.asm
PauloBarrantes/Niark
1
95603
.data prompt: .asciiz "Enter a number: " string1: .asciiz "El numero es menor a 0" string2: .asciiz "El numero es mayor o igual a 0" .text .globl main main: li $v0, 4 la $a0, prompt syscall li $v0, 5 syscall move $t0, $v0 li $t1, 0 ...
programs/oeis/047/A047536.asm
neoneye/loda
22
20011
<reponame>neoneye/loda ; A047536: Numbers that are congruent to {0, 4, 7} mod 8. ; 0,4,7,8,12,15,16,20,23,24,28,31,32,36,39,40,44,47,48,52,55,56,60,63,64,68,71,72,76,79,80,84,87,88,92,95,96,100,103,104,108,111,112,116,119,120,124,127,128,132,135,136,140,143,144,148,151,152,156,159,160,164,167,168,172,175,176,180,183,18...
Cubical/Algebra/Structures.agda
bijan2005/univalent-foundations
0
12908
{-# OPTIONS --cubical --no-import-sorts --safe #-} open import Cubical.Core.Everything module Cubical.Algebra.Structures {a} (A : Type a) where -- The file is divided into sections depending on the arities of the -- components of the algebraic structure. open import Cubical.Foundations.Prelude using (isSet; cong; _...
test/asm/shift.asm
michealccc/rgbds
265
26475
<filename>test/asm/shift.asm test: macro ; Test the rpn system, as well as the linker... dl \1 + zero ; ...as well as the constexpr system result\@ equ \1 println "\1 = {result\@}" endm section "test", ROM0[0] test 1 << 1 test 1 << 32 test 1 << 9001 test -1 << 1 test -1 << 32 test -1 << -9001 test -1 >> ...
src/spread/main/wsiz.asm
olifink/qspread
0
242585
; calculate window size include win1_mac_oli include win1_keys_wdef_long include win1_keys_wman include win1_keys_wwork include win1_keys_wstatus section utility xdef qwm_wsiz xdef qwm_rset ;+++ ; re-setup a window into a given definition ; ; Entry Exit ; d1.l size (or 0, or -1) position ; a2 wman vec...
oeis/127/A127067.asm
neoneye/loda-programs
11
175846
; A127067: Define an array by d(m, 0) = 1, d(m, 1) = m; d(m, k) = (m - k + 1) d(m+1, k-1) - (k-1) (m+1) d(m+2, k-2). Sequence gives d(2,n). ; Submitted by <NAME> ; 1,2,0,-24,-60,720,5040,-40320,-589680,3628800,99792000,-479001600,-23740516800,87178291200,7682586912000,-20922789888000,-3281772285792000,6402373705728000,...
src/common/ook_driver.asm
electrondave/wgnet
0
244043
;******************************************************************************* ; * ; Filename: ook_driver.asm * ; Date: April 4, 2018 ...
ZX-Spectrum/l_lamps/l_lamps.asm
peroff/8-Bit-Tea-Party
13
82998
<reponame>peroff/8-Bit-Tea-Party<gh_stars>10-100 ;GLOBAL SYSTEM NAMES AND CONSTANTS. ;SCREEN PARAMETERS, PIXELS AND ATTRIBUTES. SCREEN_ADDR EQU #4000 SCREEN_SIZE EQU #1800 SCREEN_ATTRIB EQU #5800 ATTRIB_SIZE EQU #300 SCREEN_X_SIZE EQU #20 SCREEN_Y_SIZE EQU #18 ;KEMPSTON JOYSTICK BITS TO CHECK AND PO...
alloy4fun_models/trashltl/models/19/F99yY7xQb6wnDwDHG.als
Kaixi26/org.alloytools.alloy
0
2513
<reponame>Kaixi26/org.alloytools.alloy open main pred idF99yY7xQb6wnDwDHG_prop20 { always all f : File | f in Trash => historically f not in Protected } pred __repair { idF99yY7xQb6wnDwDHG_prop20 } check __repair { idF99yY7xQb6wnDwDHG_prop20 <=> prop20o }
programs/oeis/033/A033382.asm
karttu/loda
1
9476
<gh_stars>1-10 ; A033382: [ 62/n ]. ; 62,31,20,15,12,10,8,7,6,6,5,5,4,4,4,3,3,3,3,3,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 add $0,1 mov $1,62 div $1,$0
dpadinvert.asm
Catobat/z3randomizer
2
1507
<reponame>Catobat/z3randomizer ;================================================================================ ; D-Pad Invert ; runs in NMI, must use minimum possible # of cycles ;-------------------------------------------------------------------------------- ; Filtered Joypad 1 Register: [AXLR | ????] ; Filtered Jo...
Cubical/Codata/EverythingSafe.agda
marcinjangrzybowski/cubical
301
861
<filename>Cubical/Codata/EverythingSafe.agda<gh_stars>100-1000 {-# OPTIONS --safe #-} module Cubical.Codata.EverythingSafe where
Tests/Core/Exponential/Exponential.asm
mzxrules/armips
0
178249
<gh_stars>0 .gba .create "output.bin",0 .definelabel label,1234 .definelabel e,5678 // Should be parsed as exponentials .notice 314e2 .notice 314e+2 .notice 314e-2 .notice 314E2 .notice 314E+2 .notice 314E-2 // Should NOT be parsed as exponentials .notice 0xE2 .notice 0xE+2 .notice 0xE-2 .notice 0xE+label .notice 0...
oeis/199/A199552.asm
neoneye/loda-programs
11
94487
; A199552: 4*8^n+1. ; 5,33,257,2049,16385,131073,1048577,8388609,67108865,536870913,4294967297,34359738369,274877906945,2199023255553,17592186044417,140737488355329,1125899906842625,9007199254740993,72057594037927937,576460752303423489,4611686018427387905,36893488147419103233,295147905179352825857,236118324143482260684...
src/SlimShader.Tests/Shaders/Internal/Textures_PS.asm
tgjones/slimshader
125
165365
<filename>src/SlimShader.Tests/Shaders/Internal/Textures_PS.asm<gh_stars>100-1000 // // Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.20714 // // /// // Resource Bindings: // // Name Type Format Dim Slot Elements // ------------------------------ ---------- ------- -...
complexity-drafts/Source-lang.agda
benhuds/Agda
2
8164
<reponame>benhuds/Agda {- Name: Bowornmet (<NAME> -- define the source language from the paper -} open import Preliminaries open import Preorder-withmax module Source-lang where -- define the source language from the paper -- we want to focus on arrow, cross, and nat types data Tp : Set where unit : Tp ...
SMZ80_SDK/V1/tools/windows/sdcc/lib/src/mcs51/crtxpushr0.asm
alfreedom/smz80-SDK
1
20780
;-------------------------------------------------------------------------- ; crtxpush0.asm - C run-time: push R0 and other registers to xstack ; ; Copyright (C) 2009, <NAME> ; ; This library is free software; you can redistribute it and/or modify it ; under the terms of the GNU General Public License as published ...