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
ch3/fasmhello.asm
cymonpereira/Mastering-Reverse-Engineering
2
174737
format PE CONSOLE entry start include '%include%\win32a.inc' section '.data' data readable writeable message db 'Hello World!',0 msgformat db '%s',0 section '.code' code readable executable start: push message push msgformat call [printf] push 0 call [ExitProcess] section '.idata' impor...
rts/gcc-9/adainclude/a-tags.adb
letsbyteit/build-avr-ada-toolchain
12
22131
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
programs/oeis/087/A087755.asm
neoneye/loda
22
173107
; A087755: Triangle read by rows: Stirling numbers of the first kind (A008275) mod 2. ; 1,1,1,0,1,1,0,1,0,1,0,0,1,0,1,0,0,1,1,1,1,0,0,0,1,1,1,1,0,0,0,1,0,0,0,1,0,0,0,0,1,0,0,0,1,0,0,0,0,1,1,0,0,1,1,0,0,0,0,0,1,1,0,0,1,1,0,0,0,0,0,1,0,1,0,1,0,1,0,0,0,0,0,0,1,0,1,0,1,0,1,0,0,0,0,0,0,1,1,1 add $0,1 mul $0,2 seq $0,75439 ...
src/main/java/com/xiao/deng/antlr/cacl/Calc.g4
dxCarl/LeetCode
3
7063
grammar Calc; calc: stmt*; stmt: expr NEWLINE # printExpr | ID '=' expr NEWLINE # assign | NEWLINE # blank ; expr: expr op=('*'|'/') expr # mulDiv | expr op=('+'|'-') expr # addSub | NUMBER # literal | ID ...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/ancestor_type.adb
best08618/asylo
7
20663
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/ancestor_type.adb -- { dg-do compile } package body Ancestor_Type is package body B is function make return T is begin return (T with n => 0); -- { dg-error "expect ancestor" } end make; end B; end Ancestor_Type;
programs/oeis/055/A055860.asm
neoneye/loda
22
3536
<filename>programs/oeis/055/A055860.asm ; A055860: a(n) = A000169(n+1) if n > 0; a(0) = 0. ; 0,2,9,64,625,7776,117649,2097152,43046721,1000000000,25937424601,743008370688,23298085122481,793714773254144,29192926025390625,1152921504606846976,48661191875666868481,2185911559738696531968 mov $1,$0 add $0,1 lpb $0 add $0,...
oeis/263/A263895.asm
neoneye/loda-programs
11
241939
; A263895: Expansion of e.g.f.: exp(-x)*x/(1-2*x)^2. ; Submitted by <NAME> ; 0,1,6,51,524,6405,90834,1467319,26607384,535277961,11832460190,285105945531,7437546405156,208846303056781,6280859188226154,201420656725873215,6861297209758777904,247422535745846839569,9416194788956228294454,377156775060354873848131,15859925925...
lib/target/vz/classic/vz_crt0.asm
Toysoft/z88dk
0
245541
<reponame>Toysoft/z88dk ; Startup for VZ200/300 ; ; <NAME> - Apr. 2000 ; ; If an error occurs eg break we just drop back to BASIC ; ; $Id: vz_crt0.asm,v 1.27 2016-07-15 21:03:25 dom Exp $ ; MODULE vz_crt0 ;-------- ; Include zcc_opt.def to find out some info ;-------- ...
oeis/062/A062265.asm
neoneye/loda-programs
11
97393
<filename>oeis/062/A062265.asm ; A062265: Row sums of signed triangle A062140 (generalized a=4 Laguerre). ; Submitted by <NAME> ; 1,4,19,104,641,4364,32251,254176,2091841,17435924,138844931,891248984,263059969,-163754125796,-4970760027029,-117798281164336,-2588474951884159,-55489648295242204,-1184521077396558989,-25406...
source/Music/musicsearch.applescript
wildcard/PopClip-Extensions
1
480
(* This is based on the original iTunesMusic script. But I had to remove the direct UI scripting since the search field is not exposed for scripting. -NM *) -- activate Music app tell application "Music" reveal (some playlist whose special kind is Music) activate end tell -- poke it tell application "System Even...
source/oasis/program-elements-task_body_declarations.ads
reznikmm/gela
0
1514
<reponame>reznikmm/gela<gh_stars>0 -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Declarations; with Program.Lexical_Elements; with Program.Elements.Defining_Identifiers; with Program.Elements.Asp...
src/interface/yaml-dom-dumping.ads
robdaemon/AdaYaml
32
3449
<filename>src/interface/yaml-dom-dumping.ads -- part of AdaYaml, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "copying.txt" with Yaml.Dom.Vectors; with Yaml.Events.Queue; with Yaml.Destination; package Yaml.Dom.Dumping is function To_Event_Queue (Document : Document_Reference) ...
alloy4fun_models/trashltl/models/10/qabkyBCbca5nn529y.als
Kaixi26/org.alloytools.alloy
0
1738
open main pred idqabkyBCbca5nn529y_prop11 { all f : File - Protected - Trash | after f in Protected } pred __repair { idqabkyBCbca5nn529y_prop11 } check __repair { idqabkyBCbca5nn529y_prop11 <=> prop11o }
ada/core/demo/myatexit.adb
auzkok/libagar
286
6475
with Ada.Text_IO; package body myatexit is procedure atexit is begin Ada.Text_IO.Put_Line("myatexit callback..."); end atexit; end myatexit;
src/chord-buster.asm
ras88/stereo-editor
0
20902
<filename>src/chord-buster.asm ;----------------------------------------------------------------------------- ;FILENAME: CHORD.SOURCE Chord buster Translation ;----------------------------------------------------------------------------- ;This source file contains code for the Stereo Edit...
programs/oeis/190/A190321.asm
neoneye/loda
22
84023
<filename>programs/oeis/190/A190321.asm<gh_stars>10-100 ; A190321: Number of nonzero digits when writing n in base where place values are squares, cf. A007961. ; 0,1,1,1,1,2,2,2,1,1,2,2,2,2,3,3,1,2,2,2,2,3,3,3,2,1,2,2,2,2,3,3,3,2,2,3,1,2,2,2,2,3,3,3,2,2,3,3,3,1,2,2,2,2,3,3,3,2,2,3,3,3,3,4,1,2,2,2,2,3,3,3,2,2,3,3,3,3,4,...
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce2401e.ada
best08618/asylo
7
8203
-- CE2401E.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 -- unlimited rights in the software and documentation contained herein. -- Unlimit...
programs/oeis/283/A283028.asm
neoneye/loda
22
102552
<filename>programs/oeis/283/A283028.asm ; A283028: Number of inequivalent 4 X 4 matrices with entries in {1,2,3,...,n} up to vertical and horizontal reflections. ; 0,1,16576,10766601,1073790976,38147265625,705278736576,8308236966001,70368756760576,463255079498001,2500000075000000,11487432626662201,46221065046245376,166...
virus/jumper.asm
roguematter/malware-csg513
0
9198
;stack model ; ;==================================================================================== ;| stack is same as that of freshly opened host >> top: argc, argv[0], argv[1], ... | ;==================================================================================== ; ;%esi = socket(af_inet,sock_str...
agda/BBHeap/DropLast.agda
bgbianchi/sorting
6
452
module BBHeap.DropLast {A : Set}(_≤_ : A → A → Set) where open import BBHeap _≤_ open import BBHeap.Compound _≤_ open import BBHeap.Properties _≤_ open import Bound.Lower A open import Bound.Lower.Order _≤_ open import Data.Empty open import Data.Sum renaming (_⊎_ to _∨_) mutual dropLast : {b : Bound} → BBHeap b →...
puzzle_05/src/puzzle_05.adb
AdaForge/Advent_of_Code_2020
0
29778
procedure Puzzle_05 is begin null; end Puzzle_05;
4-high/gel/source/world/gel-world-client.adb
charlie5/lace-alire
1
8797
with gel.Events, physics.remote.Model, physics.Forge, openGL.remote_Model, openGL.Renderer.lean, lace.Response, lace.Event.utility, ada.unchecked_Deallocation, ada.Text_IO; package body gel.World.client is use linear_Algebra_3D, lace.Event.utility; proce...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/string_comparison.adb
best08618/asylo
7
1121
<gh_stars>1-10 -- { dg-do compile } with Ada.Text_IO; use Ada.Text_IO; procedure String_Comparison is package Bool_IO is new Enumeration_IO (Boolean); use Bool_IO; begin Put (Boolean'Image (True) = "True"); end;
ay_cpc.asm
jorgicor/altair
0
105422
; ---------------------------------------------------------------------------- ; Altair, CIDLESA's 1981 arcade game remade for the ZX Spectrum and ; Amstrad CPC. ; ---------------------------------------------------------------------------- ; --------------------- ; AY-3-8912 sound chip. ; --------------------- ; If ...
examples/labels.asm
Bunogi/c8asm
0
161073
;Flash "0" on the screen repeatedly start: LD V0, 0x10 LD V1, 0x10 LD I, 0x0 startloop: LD V3, 0x2 LD DT, V3 ;flash every two seconds wait: LD V3, DT SE V3, 0 ;if dt == 0 draw jp wait draw: DRW V0, V1, 5 jp startloop
programs/oeis/089/A089357.asm
neoneye/loda
22
29100
<reponame>neoneye/loda<filename>programs/oeis/089/A089357.asm ; A089357: a(n) = 2^(6*n). ; 1,64,4096,262144,16777216,1073741824,68719476736,4398046511104,281474976710656,18014398509481984,1152921504606846976,73786976294838206464,4722366482869645213696,302231454903657293676544,19342813113834066795298816,1237940039285380...
code/main.asm
StardustGear/AMPS
0
179824
<gh_stars>0 include "error/Debugger.asm" include "code/macro.asm" include "AMPS/code/smps2asm.asm" include "AMPS/code/macro.asm" include "AMPS/lang.asm" ; =========================================================================== org 0 StartOfRom: dc.l Stack, EntryPoint, BusError, AddressError dc.l IllegalIns...
LibraBFT/Impl/Handle.agda
oracle/bft-consensus-agda
4
16901
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9. Copyright (c) 2020, 2021, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl -} open import LibraBFT.ImplShared.Base.Types open import LibraBFT.Abstra...
Ada95/src/terminal_interface-curses-forms.adb
Distrotech/ncurses
1
19720
<filename>Ada95/src/terminal_interface-curses-forms.adb<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding -- -- ...
oeis/168/A168609.asm
neoneye/loda-programs
11
91203
; A168609: a(n) = 3^n + 4. ; 5,7,13,31,85,247,733,2191,6565,19687,59053,177151,531445,1594327,4782973,14348911,43046725,129140167,387420493,1162261471,3486784405,10460353207,31381059613,94143178831,282429536485,847288609447,2541865828333,7625597484991,22876792454965,68630377364887,205891132094653,617673396283951,185302...
oeis/072/A072264.asm
neoneye/loda-programs
11
102438
; A072264: a(n) = 3*a(n-1) + 5*a(n-2), with a(0)=1, a(1)=1. ; Submitted by <NAME>(s3.) ; 1,1,8,29,127,526,2213,9269,38872,162961,683243,2864534,12009817,50352121,211105448,885076949,3710758087,15557659006,65226767453,273468597389,1146539629432,4806961875241,20153583772883,84495560694854,354254600948977,1485241606321201...
HW1/Q2.asm
MXS11/Computer-organization
0
80350
# Q2.Assembly Language, Programming a Recursive Method in MIPS # Definition: In this question, you are asked to implement a recursive code assembly in MIPS ISA. # Your application should ask an X value from the console. Then it calculates the sum of all integer values between zero and x recursively. .data promptM...
Assembler/AssemblyCode/LowLevel/POPF_MACRO.asm
KPU-RISC/KPU
8
11304
; Set register XL to "11111111" SET A, "1111" SET B, "1111" SHL MOV_ALU_C_TO_AB A SHL MOV_ALU_C_TO_AB A SHL MOV_ALU_C_TO_AB A SHL MOV_ALU_C_TO_AB A OR MOV_ALU_OUT XL ; Set register XH to "11111111" SET A, "1111" SET B, "1111" SHL MOV_ALU_C_TO_AB A SHL MOV_ALU_C_TO_AB A SHL MOV_ALU_C_TO_AB A SHL MOV_ALU_C_TO_AB A OR MO...
msx/apps/term/screen.asm
zoggins/yellow-msx-series-for-rc2014
19
163449
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; screen.s for MSX ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; 2006/11/26 t.hara ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; SECTION...
tests/inputs/test_report_tests/test_misprediction_exception/test.asm
danielstumpp/tomasulo-simulator
0
11875
beq, R0, R0, 1 sd, R10, 1(R0) sd, R10, 4(R0)
projects/batfish/src/main/antlr4/org/batfish/grammar/cisco_xr/CiscoXr_vrf.g4
adiapel/batfish
1
2340
<reponame>adiapel/batfish parser grammar CiscoXr_vrf; import CiscoXr_common; options { tokenVocab = CiscoXrLexer; } s_vrf: VRF name = vrf_name NEWLINE vrf_inner*; vrf_inner : vrf_address_family | vrf_description | vrf_null ; vrf_address_family : ADDRESS_FAMILY ( IPV4 | IPV6 ) ( ...
Assembly/damage.asm
CaitSith2/Enemizer
2
172402
<reponame>CaitSith2/Enemizer CheckIfLinkShouldDie: ; before this we should have: ; LDA $7EF36D - this gets hooked, but we should have LDA at the end of it CMP $00 : BCC .dead SEC : SBC $00 BRA .done .dead LDA #$00 .done RTL
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_1494.asm
ljhsiun2/medusa
9
163381
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r11 push %r14 push %r15 push %rbp push %rcx push %rsi // Faulty Load lea addresses_RW+0x1f95d, %rsi nop nop nop nop xor %rbp, %rbp vmovups (%rsi), %ymm3 vextracti128 $0, %ymm3, %xmm3 vpextrq $1, %...
programs/oeis/158/A158627.asm
neoneye/loda
22
169210
; A158627: a(n) = 484*n^2-22. ; 462,1914,4334,7722,12078,17402,23694,30954,39182,48378,58542,69674,81774,94842,108878,123882,139854,156794,174702,193578,213422,234234,256014,278762,302478,327162,352814,379434,407022,435578,465102,495594,527054,559482,592878,627242,662574,698874,736142,774378,813582,853754,894894,937002...
programs/oeis/129/A129954.asm
neoneye/loda
22
29015
<filename>programs/oeis/129/A129954.asm ; A129954: Second differences of A129952. ; 1,3,6,14,32,72,160,352,768,1664,3584,7680,16384,34816,73728,155648,327680,688128,1441792,3014656,6291456,13107200,27262976,56623104,117440512,243269632,503316480,1040187392,2147483648,4429185024,9126805504,18790481920,38654705664,794568...
python_src/other/export/screen_6_4.asm
fjpena/sword-of-ianna-msx2
43
244207
org $0000 ; Object types OBJECT_NONE EQU 0 OBJECT_SWITCH EQU 1 OBJECT_DOOR EQU 2 OBJECT_DOOR_DESTROY EQU 3 OBJECT_FLOOR_DESTROY EQU 4 OBJECT_WALL_DESTROY EQU 5 OBJECT_BOX_LEFT EQU 6 OBJECT_BOX_RIGHT EQU 7 OBJECT_JAR EQU 8 OBJECT_TELEPORTER EQU 9 ; Pickable object types OBJECT_KEY_GREEN EQU 11 OBJECT_KEY_BLUE EQU...
programs/oeis/010/A010678.asm
neoneye/loda
22
82756
; A010678: Period 2: repeat (0,7). ; 0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0,7,0 mod $0,2 mul $0,7
src/Data/Maybe/Instance.agda
banacorn/FAM
0
14474
<gh_stars>0 module Data.Maybe.Instance where open import Category.FAM open import Data.Maybe open import Function using (_∘_; id) open import Relation.Binary.PropositionalEquality instance MaybeFunctor : ∀ {ℓ} → Functor {ℓ} Maybe MaybeFunctor {ℓ} = record { _<$>_ = map ; isFunctor = record ...
test/Fail/Issue1523.agda
shlevy/agda
3
5441
<filename>test/Fail/Issue1523.agda -- Andreas, 2015-05-28 example by <NAME> open import Common.Size data Nat (i : Size) : Set where zero : ∀ (j : Size< i) → Nat i suc : ∀ (j : Size< i) → Nat j → Nat i {-# TERMINATING #-} -- This definition is fine, the termination checker is too strict at the moment. fix : ∀ {C...
maps/UnionCave1F.asm
Dev727/ancientplatinum
28
166229
<reponame>Dev727/ancientplatinum<gh_stars>10-100 object_const_def ; object_event constants const UNIONCAVE1F_POKEFAN_M1 const UNIONCAVE1F_SUPER_NERD const UNIONCAVE1F_POKEFAN_M2 const UNIONCAVE1F_FISHER1 const UNIONCAVE1F_FISHER2 const UNIONCAVE1F_POKE_BALL1 const UNIONCAVE1F_POKE_BALL2 const UNIONCAVE1F_POKE_...
experiments/test-suite/cd.als
saiema/ARepair
5
4501
<reponame>saiema/ARepair<filename>experiments/test-suite/cd.als -- Manually generated tests. pred test1001 { some disj Object0: Object {some disj Object0, Class0, Class1: Class { Object = Object0 Class = Object0 + Class0 + Class1 ext = Class0->Class1 + Class1->Class0 AllExtObject[] }} } run test1001 for 3 expect 0 pr...
oeis/006/A006356.asm
neoneye/loda-programs
11
82589
<filename>oeis/006/A006356.asm ; A006356: a(n) = 2*a(n-1) + a(n-2) - a(n-3) for n >= 3, starting with a(0) = 1, a(1) = 3, and a(2) = 6. ; Submitted by <NAME>(s4) ; 1,3,6,14,31,70,157,353,793,1782,4004,8997,20216,45425,102069,229347,515338,1157954,2601899,5846414,13136773,29518061,66326481,149034250,334876920,752461609,...
oeis/227/A227622.asm
neoneye/loda-programs
11
24369
<reponame>neoneye/loda-programs ; A227622: Primes p of the form m^2 + 27. ; Submitted by <NAME> ; 31,43,127,223,283,811,1051,1471,1627,2143,2731,3163,3391,4651,5503,6427,8863,9631,16411,16927,18523,23131,23743,27583,28927,29611,33151,37663,42463,43291,44971,45823,56671,65563,70783,78427,80683,84127,87643,106303,110251,...
tests/inchexstr/2.asm
NullMember/customasm
414
173730
<reponame>NullMember/customasm #d inchexstr("data2.txt") ; = 0x5
programs/oeis/022/A022117.asm
karttu/loda
0
96094
<reponame>karttu/loda ; A022117: Fibonacci sequence beginning 2, 15. ; 2,15,17,32,49,81,130,211,341,552,893,1445,2338,3783,6121,9904,16025,25929,41954,67883,109837,177720,287557,465277,752834,1218111,1970945,3189056,5160001,8349057,13509058,21858115,35367173,57225288,92592461,149817749,242410210,392227959,634638169,102...
src/Data/Lens/Proofs/LensComposition.agda
JonathanBrouwer/research-project
1
1808
module Data.Lens.Proofs.LensComposition where open import Haskell.Prelude renaming (zero to Z; suc to S) open import Data.Lens.Lens open import Data.Logic open import Agda.Primitive open import Data.Lens.Proofs.LensLaws open import Data.Lens.Proofs.LensPostulates -- We proof that if we have 2 valid lenses l1 and l2, ...
action.scpt
RakhithJK/key2png
0
1246
on run {input, parameters} set destDir to item 1 of input as string repeat with a from 2 to length of input tell application "Keynote" set doc to open item a of input set title to the name of doc set exportAlias to destDir & title export doc to alias exportAlias as slide images with properties {image ...
libsrc/graphics/dither_pattern.asm
meesokim/z88dk
0
84769
; ; Dither patterns, ordered by increasing intensity (0..11) ; Functions expects intensity in A and Y coordinate in C ; ; On exit A will hold the current value for pattern ; ; <NAME>, 18/3/2009 ; ; $Id: dither_pattern.asm,v 1.2 2015/01/19 01:32:46 pauloscustodio Exp $ ; PUBLIC dither_pattern .dither_pattern and a...
scripts/Route6Gate.asm
opiter09/ASM-Machina
1
240452
<filename>scripts/Route6Gate.asm<gh_stars>1-10 Route6Gate_Script: call EnableAutoTextBoxDrawing ld hl, Route6Gate_ScriptPointers ld a, [wRoute6GateCurScript] call CallFunctionInTable ret Route6Gate_ScriptPointers: dw Route6GateScript0 dw Route6GateScript1 Route6GateScript0: ld a, [wd728] bit 6, a ret nz ld...
codes/single char display.asm
rupak10987/ASSEMBLY_language_practice
0
241402
.model small .stack 100h .data .code main proc mov ah,2 mov dl,'?' INT 21H main endp end main
src/semantica-declsc3a.ads
alvaromb/Compilemon
1
3317
with Decls.Dgenerals, Semantica, Decls.Dtdesc, Ada.Sequential_Io, Ada.Text_Io, Decls.D_Taula_De_Noms, Semantica.Ctipus, Ada.Strings, Ada.Strings.Fixed, Ada.Strings.Maps; use Decls.Dgenerals, Semantica, Decls.Dtdesc, Decls.D_Taula_De_Noms, Semantica.Ctipus, Ada.Strings, Ada.Strings.Fixed, ...
programs/oeis/290/A290452.asm
neoneye/loda
22
28650
<reponame>neoneye/loda ; A290452: Triangle formed by reading the triangle of Eulerian numbers (A173018) mod 2. ; 1,1,0,1,1,0,1,0,1,0,1,1,1,1,0,1,0,0,0,1,0,1,1,0,0,1,1,0,1,0,1,0,1,0,1,0,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,1,0,1,1,0,0,0,0,0,0,1,1,0,1,0,1,0,0,0,0,0,1,0,1,0,1,1,1,1,0,0,0,0,1,1,1,1,0 sub $0,1 lpb $0 sub $0...
src/syscalls/ewok-syscalls-exiting.adb
PThierry/ewok-kernel
0
20632
<reponame>PThierry/ewok-kernel -- -- Copyright 2018 The wookey project team <<EMAIL>> -- - <NAME> -- - <NAME> -- - <NAME> -- - <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 o...
src/Control/Functor.agda
andreasabel/cubical
0
4736
-- Functors on Set module Control.Functor where open import Function using (id; flip) renaming (_∘′_ to _∘_) open import Relation.Binary.PropositionalEquality open ≡-Reasoning -- Operations of a functor. module T-FunctorOps (F : Set → Set) where -- Type of the map function. T-map = ∀ {A B} → (A → B) → F A → F...
FormalAnalyzer/models/apps/ID13SwitchOnSetHomeMode+.als
Mohannadcse/IoTCOM_BehavioralRuleExtractor
0
2678
<reponame>Mohannadcse/IoTCOM_BehavioralRuleExtractor module app_ID13SwitchOnSetHomeMode open IoTBottomUp as base open cap_userInput open cap_location open cap_switch one sig app_ID13SwitchOnSetHomeMode extends IoTApp { mySwitch : set cap_switch, phone : one cap_userInput, location : one cap_location,...
test/Fail/Issue3541EqualityNotPositive.agda
shlevy/agda
1,989
7277
-- Andreas, 2020-02-15 -- Test case by Jesper to prevent regressions when fixing #3541. -- Jesper, 2019-09-12: The fix of #3541 introduced a regression: the -- index of the equality type is treated as a positive argument. postulate X : Set module EqualityAsPredicate where data _≡_ (A : Set) : Set → Set where ...
generated/natools-static_maps-web-acl-t.ads
faelys/natools-web
1
19549
<filename>generated/natools-static_maps-web-acl-t.ads -- Generated at 2017-03-27 17:51:45 +0000 by Natools.Static_Hash_Maps -- from src/natools-web-acl-maps.sx function Natools.Static_Maps.Web.ACL.T return Boolean; pragma Pure (Natools.Static_Maps.Web.ACL.T);
hello.asm
akx/toyvm
0
241038
<filename>hello.asm<gh_stars>0 li $1 0 ; li $3 1010b a1: lb $2 dt $1 ; $2 = m[$1+(dt)] or $2 $3 out 1 $2 ; output $2 inc $1 jeq $2 $0 a2 ; if zero, jump out jmp a1 a2: hlt dt: sdata Hello, world. data 0
Microprocessor/mouse2.asm
Nmane1612/Nihar-Mane
3
664
; mouse drawing. ; press left mouse button to draw. ; for a real test click external->run from the emulator's menu. name "mouse2" org 100h jmp start oldX dw -1 oldY dw 0 start: mov ah, 00 mov al, 13h ; set screen to 256 colors, 320x200 pixels. int 10h ; reset mouse and get its status:...
BigNum/Mod/Monty/bnDivpow2.asm
FloydZ/Crypto-Hash
11
14993
.686 .model flat,stdcall option casemap:none include .\bnlib.inc include .\bignum.inc .code bnDivpow2 proc bnX:DWORD,bitsY:DWORD,bnQuo:DWORD invoke bnMov,bnQuo,bnX invoke bnShr,bnQuo,bitsY ret bnDivpow2 endp end
3-mid/impact/source/3d/math/impact-d3-min_max.ads
charlie5/lace
20
3410
package impact.d3.min_max -- -- -- is use Math; function btClamped (a : in Real; lower_Bound, upper_Bound : in Real) return Real; procedure btSetMin (a : in out Real; b : in Real); procedure btSetMax (a : in out Real; b : in Real); procedure btClamp (a : in out Real; lower_Bound, upper_Bound...
oeis/117/A117717.asm
neoneye/loda-programs
11
93076
<reponame>neoneye/loda-programs ; A117717: Maximal number of regions obtained by a straight line drawing of the complete bipartite graph K_{n,n}. ; 0,2,13,45,116,250,477,833,1360,2106,3125,4477,6228,8450,11221,14625,18752,23698,29565,36461,44500,53802,64493,76705,90576,106250,123877,143613,165620,190066,217125,246977,2...
src/hypro/parser/antlr4-cif/HybridSystem.g4
hypro/hypro
22
4302
<reponame>hypro/hypro /*exported from CIF3 Sytax*/ grammar HybridSystem; import Expressions, CIFLocation, InputOutput; specification: groupBody; groupBody: optGroupDecls; automatonBody: optAutDecls locations optIoDecls; optGroupDecls: groupDecl*; groupDecl: decl | 'import' imports ';' | 'nam...
org.alloytools.alloy.core/src/main/resources/models/util/int8bits.als
cesarcorne/org.alloytools.alloy
0
1346
module util/int8bits open util/boolean /* * * A collection of utility functions for using Integers in Alloy. * */ /** Representation of a Integer of 8 bits */ sig Number8 { b00: Bool, b01: Bool, b02: Bool, b03: Bool, b04: Bool, b05: Bool, b06: Bool, b07: Bool } /** AdderCarry and AdderS...
Task/XML-DOM-serialization/Ada/xml-dom-serialization.ada
LaudateCorpus1/RosettaCodeData
1
30597
<filename>Task/XML-DOM-serialization/Ada/xml-dom-serialization.ada with Ada.Text_IO.Text_Streams; with DOM.Core.Documents; with DOM.Core.Nodes; procedure Serialization is My_Implementation : DOM.Core.DOM_Implementation; My_Document : DOM.Core.Document; My_Root_Node : DOM.Core.Element; My_Element...
awa/plugins/awa-images/src/awa-images-beans.ads
fuzzysloth/ada-awa
0
29468
----------------------------------------------------------------------- -- awa-images-beans -- Image Ada Beans -- Copyright (C) 2016 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- Yo...
src/misc.asm
tewtal/sm_practice_hack
15
169442
<reponame>tewtal/sm_practice_hack ; Patch out copy protection org $008000 db $FF ; Set SRAM size if !FEATURE_SD2SNES org $00FFD8 db $08 ; 256kb else org $00FFD8 db $05 ; 64kb endif ; Skip intro ; $82:EEDF A9 95 A3 LDA #$A395 org $82EEDF if !FEATURE_PAL LDA #$C065 else LDA #$C100...
test/Succeed/RawFunctor.agda
redfish64/autonomic-agda
3
16958
{-# OPTIONS --universe-polymorphism #-} module RawFunctor where open import Common.Level postulate RawFunctor : ∀ {ℓ} (F : Set ℓ → Set ℓ) → Set (lsuc ℓ) -- Broken occurs check for levels made this not infer properly postulate sequence⁻¹ : ∀ {F}{A} {P : A → Set} → RawFunctor F → F (∀ i → P i) → ∀ ...
src/main/antlr4/de/calamanari/pk/ohbf/bloombox/bbq/PostBbq.g4
KarlEilebrecht/patterns-kompakt-code
2
2542
<reponame>KarlEilebrecht/patterns-kompakt-code<gh_stars>1-10 /* * PostBbq.g4 * Code-Beispiel zum Buch Patterns Kompakt, Verlag Springer Vieweg * Copyright 2014 <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 ...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/array27.adb
best08618/asylo
7
28957
-- { dg-do run } -- { dg-options "-O" } with Array27_Pkg; use Array27_Pkg; procedure Array27 is function Get return Outer_type is Ret : Outer_Type; begin Ret (Inner_Type'Range) := F; return Ret; end; A : Outer_Type := Get; B : Inner_Type := A (Inner_Type'Range); begin if B /= "123" then ...
oeis/049/A049397.asm
neoneye/loda-programs
11
19026
; A049397: Expansion of (1-25*x)^(-9/5). ; Submitted by <NAME> ; 1,45,1575,49875,1496250,43391250,1229418750,34248093750,941822578125,25638503515625,692239594921875,18564607318359375,495056195156250000,13138029794531250000,347219358855468750000,9143443116527343750000,240015381808842773437500,6282755582643237304687500,1...
_tests/trconvert/antlr3/Antlr3.g4
SKalt/Domemtech.Trash
16
4997
/* [The "BSD license"] Copyright (c) 2005-2011 <NAME> All rights reserved. Grammar conversion to ANTLR v3: Copyright (c) 2011 <NAME> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistri...
test/interaction/Highlighting/M.agda
alhassy/agda
3
1264
<reponame>alhassy/agda module Highlighting.M where
sources/ada_pretty-joins.adb
reznikmm/adaside
4
2398
<filename>sources/ada_pretty-joins.adb<gh_stars>1-10 -- Copyright (c) 2017 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Ada_Pretty.Joins is -------------- -- Document -- -------------- overri...
programs/oeis/021/A021928.asm
neoneye/loda
22
246280
<reponame>neoneye/loda<gh_stars>10-100 ; A021928: Decimal expansion of 1/924. ; 0,0,1,0,8,2,2,5,1,0,8,2,2,5,1,0,8,2,2,5,1,0,8,2,2,5,1,0,8,2,2,5,1,0,8,2,2,5,1,0,8,2,2,5,1,0,8,2,2,5,1,0,8,2,2,5,1,0,8,2,2,5,1,0,8,2,2,5,1,0,8,2,2,5,1,0,8,2,2,5,1,0,8,2,2,5,1,0,8,2,2,5,1,0,8,2,2,5,1 add $0,1 mov $1,10 pow $1,$0 mul $1,7 div...
lib/intcode.adb
jweese/Ada_Vent_19
1
9912
with Ada.Text_IO; with Intcode.Op; use Intcode.Op; package body Intcode is protected body Port is entry Put(I: in Memory.Value) when Status /= Full is begin if Status = Empty then Value := I; Status := Full; end if; end Put; entry Get(X: out Maybe_M...
UP1/UP/Q5.asm
rubemfsv/Digital-Control-Systems
0
16154
; Um sistema de medição de nível deve ser executado com um microcontrolador. A porta B funcionará ; como um leitor de um sensor de nível. Logo, esse sensor irá variar de 0 a 255. O sistema funciona ; de duas formas distintas, a depender do estado do pino 1 da porta A: ; Pino 1 da porta A em ALTO. Se o nível estiver...
modular_hashing-sha256.ads
annexi-strayline/ASAP-Modular_Hashing
0
8814
<filename>modular_hashing-sha256.ads ------------------------------------------------------------------------------ -- -- -- Modular Hash Infrastructure -- -- ...
streamingpro-dsl/src/main/resources/DSLSQL.g4
sdjok/MLSQL
0
7399
grammar DSLSQL; @header { package streaming.dsl.parser; } //load jdbc.`mysql1.tb_v_user` as mysql_tb_user; //save csv_input_result as json.`/tmp/todd/result_json` partitionBy uid; statement : (sql ender)* ; sql : ('load'|'LOAD') format '.' path ('options'|'where')? expression? booleanExpression* 'as' t...
programs/oeis/142/A142245.asm
jmorken/loda
1
101805
; A142245: Expansion of 2*x*(6 + 5*x) / ((1 - x)*(1 - x - x^2)). ; 0,12,34,68,124,214,360,596,978,1596,2596,4214,6832,11068,17922,29012,46956,75990,122968,198980,321970,520972,842964,1363958,2206944,3570924,5777890,9348836,15126748,24475606,39602376,64078004,103680402,167758428,271438852,439197302,710636176,1149833500,...
programs/oeis/299/A299290.asm
neoneye/loda
22
103474
; A299290: Partial sums of A299289. ; 1,9,37,97,203,367,603,923,1341,1869,2521,3309,4247,5347,6623,8087,9753,11633,13741,16089,18691,21559,24707,28147,31893,35957,40353,45093,50191,55659,61511,67759,74417,81497,89013,96977,105403,114303,123691 mov $1,$0 lpb $1 mov $2,$1 sub $1,1 seq $2,227541 ; a(n) = floor(13*n...
dimension/cell/lib/string/common/common.asm
ekscrypto/Unununium
7
13408
<gh_stars>1-10 ;; $Header: /cvsroot/uuu/dimension/cell/lib/string/common/common.asm,v 1.5 2002/08/11 07:41:24 lukas2000 Exp $ ;; ;; Common string functions cell -- provides incredibly common string functions ;; Copyright (C) 2001 <NAME> ;; Distributed under the BSD license; see file "license" for details. ;; ;; The co...
oeis/225/A225948.asm
neoneye/loda-programs
11
166894
<gh_stars>10-100 ; A225948: a(0) = -1; for n>0, a(n) = numerator(1/4 - 4/n^2). ; Submitted by <NAME> ; -1,-15,-3,-7,0,9,5,33,3,65,21,105,2,153,45,209,15,273,77,345,6,425,117,513,35,609,165,713,12,825,221,945,63,1073,285,1209,20,1353,357,1505,99,1665,437,1833,30,2009,525,2193,143,2385,621,2585,42,2793,725,3009,195,3233,...
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce3707a.ada
best08618/asylo
7
26198
-- CE3707A.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 -- unlimited rights in the software and documentation contained herein. -- Unlimit...
programs/oeis/021/A021226.asm
karttu/loda
0
103119
; A021226: Decimal expansion of 1/222. ; 0,0,4,5,0,4,5,0,4,5,0,4,5,0,4,5,0,4,5,0,4,5,0,4,5,0,4,5,0,4,5,0,4,5,0,4,5,0,4,5,0,4,5,0,4,5,0,4,5,0,4,5,0,4,5,0,4,5,0,4,5,0,4,5,0,4,5,0,4,5,0,4,5,0,4,5,0,4,5,0,4,5,0,4,5,0,4,5,0,4,5,0,4,5,0,4,5,0,4 mov $1,$0 mul $1,2 trn $1,2 lpb $0,1 mov $0,1 mod $1,3 mul $1,5 lpe mod $1...
Miscellaneous/Text Edit CE/src/routines/keyboard.asm
CiaranGruber/Ti-84-Calculator
1
91516
getTable: ld a,(alphaStatus) bit pressed2ND,(iy+txtFlgs) jr z,noShift or a,a jr nz,lowercaseinput ld hl,CharTable2nd ld b,0 ld d,$18 jr gotit lowercaseinput: ld hl,CharTableSmall ld b,'A' ld d,$18 jr gotit noShift: ld hl,CharTableNormal ld b,'A' ld d,0 or a,a jr nz,gotit ld hl,CharTableNum ld...
oeis/096/A096131.asm
neoneye/loda-programs
11
91038
<filename>oeis/096/A096131.asm ; A096131: Sum of the terms of the n-th row of triangle pertaining to A096130. ; 1,7,105,2386,71890,2695652,120907185,6312179764,375971507406,25160695768715,1869031937691061,152603843369288819,13584174777196666630,1309317592648179024666,135850890740575408906465,15097139890799769408058024,...
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/named.ads
ouankou/rose
488
20385
package Named is XYZ : constant := 2#0100_0000_0000#; end Named;
examples/joyscr.asm
Cichy3D/Komp2IDE
0
3882
:start load a a; mov e a load h 30; joy bxb mov a b div a e add h mov c a; switch c; mov a b mod a e add h mov c a; switch c; mov a bx div a e add h mov d a; switch d; mov a bx mod a e add h mov d a; switch d print c print cx print ", " print d print dx print e goto :start
programs/oeis/181/A181385.asm
jmorken/loda
1
9202
<reponame>jmorken/loda ; A181385: Maximal number that can be obtained by reversing n in an integer base. ; 0,1,2,3,4,7,9,13,16,21,25,31,36,43,49,57,64,73,81,91,100,111,121,133,144,157,169,183,196,211,225,241,256,273,289,307,324,343,361,381,400,421,441,463,484,507,529,553,576,601,625,651,676,703,729,757,784,813,841,871,...
extern/game_support/src/backends/pure_sdl_gnat_sdl/display-basic-utils.adb
AdaCore/training_material
15
26056
with System; use System; with System.Storage_Elements; with System.Address_To_Access_Conversions; package body Display.Basic.Utils is --------------- -- Put_Pixel -- --------------- package Address_To_Pixel is new System.Address_To_Access_Conversions (SDL_SDL_stdinc_h.Uint32); function RGBA_To_...
libsrc/_DEVELOPMENT/arch/zx/display/c/sccz80/zx_cyx2saddr_callee.asm
meesokim/z88dk
0
101218
<filename>libsrc/_DEVELOPMENT/arch/zx/display/c/sccz80/zx_cyx2saddr_callee.asm<gh_stars>0 ; void *zx_cyx2saddr(uchar row, uchar col) SECTION code_arch PUBLIC zx_cyx2saddr_callee, l0_zx_cyx2saddr_callee zx_cyx2saddr_callee: pop af pop hl pop de push af l0_zx_cyx2saddr_callee: ld h,e INCLUDE ...
programs/oeis/133/A133100.asm
neoneye/loda
22
162218
; A133100: Expansion of f(x, x^4) in powers of x where f(, ) is Ramanujan's general theta function. ; 1,1,0,0,1,0,0,1,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 mul $0,5 add $0,2...
oeis/262/A262787.asm
neoneye/loda-programs
11
240583
; A262787: a(n) = 41^(2*n+1). ; 41,68921,115856201,194754273881,327381934393961,550329031716248441,925103102315013629321,1555098314991537910888601,2614120267500775228203738281,4394336169668803158610484050361,7386879101213258109624223688656841,12417343769139486882278320020632149721,20873554875923477449109855954682643681...
tools-src/gnu/gcc/gcc/ada/5vtpopde.adb
enfoTek/tomato.linksys.e2000.nvram-mod
80
9105
<reponame>enfoTek/tomato.linksys.e2000.nvram-mod<filename>tools-src/gnu/gcc/gcc/ada/5vtpopde.adb ------------------------------------------------------------------------------ -- -- -- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS ...