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
test/Fail/Issue4121-2.agda
shlevy/agda
1,989
8471
module _ where module M where data D : Set where c : D pattern c′ = c open M hiding (c′) x : D x = c′
game/banks/chr_data.asm
benoitryder/super-tilt-bro
0
247325
<reponame>benoitryder/super-tilt-bro * = $8000 ; Reserved for characters tiles (no need for static initialization, game logic handles it) .dsb CHARACTERS_END_TILES_OFFSET, 0 ; Tiles moved elsewhere ;TODO move all other tiles in more appropriate locations .dsb 27*16, 0 ; TILE $7d - Blood particle ; ; 02000000 ; 22200...
oeis/065/A065958.asm
neoneye/loda-programs
11
89199
; A065958: a(n) = n^2*Product_{distinct primes p dividing n} (1+1/p^2). ; Submitted by <NAME> ; 1,5,10,20,26,50,50,80,90,130,122,200,170,250,260,320,290,450,362,520,500,610,530,800,650,850,810,1000,842,1300,962,1280,1220,1450,1300,1800,1370,1810,1700,2080,1682,2500,1850,2440,2340,2650,2210,3200,2450,3250,2900,3400,2810...
pwnlib/shellcraft/templates/thumb/linux/readfile.asm
IMULMUL/python3-pwntools
325
242204
<reponame>IMULMUL/python3-pwntools <% from pwnlib.shellcraft import thumb from pwnlib.util.net import sockaddr %> <%page args="path, dst='r6'"/> <%docstring> Args: [path, dst (imm/reg) = r6] Opens the specified file path and sends its content to the specified file descriptor. Leaves the destination fil...
3-mid/opengl/source/lean/light/opengl-light.adb
charlie5/lace
20
3705
<gh_stars>10-100 package body openGL.Light is function is_On (Self : in Item) return Boolean is begin return Self.On; end is_On; procedure is_On (Self : in out Item; Now : in Boolean := True) is begin Self.On := Now; end is_On; function Site (Self : in Item) return openGL....
libsrc/_DEVELOPMENT/adt/p_forward_list_alt/c/sccz80/p_forward_list_alt_init.asm
jpoikela/z88dk
640
8672
; void p_forward_list_alt_init(void *p) SECTION code_clib SECTION code_adt_p_forward_list_alt PUBLIC p_forward_list_alt_init EXTERN asm_p_forward_list_alt_init defc p_forward_list_alt_init = asm_p_forward_list_alt_init ; SDCC bridge for Classic IF __CLASSIC PUBLIC _p_forward_list_alt_init defc _p_forward_list_alt...
source/nodes/program-relative_access_types.ads
reznikmm/gela
0
23525
<filename>source/nodes/program-relative_access_types.ads -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- generic type Object is limited private; type Object_Access is access all Object; package Program.Relative_Ac...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_761.asm
ljhsiun2/medusa
9
7826
.global s_prepare_buffers s_prepare_buffers: push %r13 push %rcx push %rdi push %rsi lea addresses_normal_ht+0x9bb3, %rsi lea addresses_WC_ht+0x35b3, %rdi nop nop nop nop xor %r13, %r13 mov $76, %rcx rep movsb nop dec %rcx pop %rsi pop %rdi pop %rcx pop %r13 ret .global s_faulty_load s_faulty_load: push %r8 push %...
src/jsa.ads
sparre/JSA
1
1749
-- Root name-space for general, reusable packages from -- JSA Research & Innovation. -- -- Licence: ISC package JSA with Pure is end JSA;
music/Clear Work.applescript
casey/local
18
2964
<reponame>casey/local property my_title : "Clear Work" tell application "Music" set sel to selection repeat with outerTrack in sel set innerTrack to contents of outerTrack set work of innerTrack to "" end end
src/Track.g4
hdgarrood/klasma
7
6415
grammar Track; track: decl+ ; decl: channel_decl | block_decl | endline ; channel_decl: ID SPACE COLON SPACE CHANNEL SPACE WAVE channel_body ; channel_body: block_list_line+ ; block_list_line: endline (SPACE block_name)+ SPACE? ; block_name: ID ; block_decl: ID SPACE COLON SPACE BLOCK block_body ; block_body: note_...
net/testdata/JsonParser.dll.asm
lillobillo/completion
300
12774
ModuleRow &{Generation:0 Name:JsonParser.dll Mvid:FA75A08B-59E8-4D4A-B10E-2114294958F4 EncId:nil EncBaseId:nil} TypeRefRow &{ResolutionScope:AssemblyRefRow[1] TypeName:NumberStyles TypeNamespace:System.Globalization} &{ResolutionScope:AssemblyRefRow[1] TypeName:IDictionary`2 TypeNamespace:System.Collections.Generic}...
Driver/Mouse/CasioPen/casiopen.asm
steakknife/pcgeos
504
91010
<reponame>steakknife/pcgeos COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: Mouse Driver -- Casio Zoomer pen mouse driver FILE: casiopen.asm AUTHOR: <NAME>, November 4, 1992 ROUTINES: Name De...
libsrc/_DEVELOPMENT/adt/b_vector/c/sccz80/b_vector_read_block_callee.asm
teknoplop/z88dk
8
99959
<reponame>teknoplop/z88dk ; size_t b_vector_read_block(void *dst, size_t n, b_vector_t *v, size_t idx) SECTION code_clib SECTION code_adt_b_vector PUBLIC b_vector_read_block_callee EXTERN b_array_read_block_callee defc b_vector_read_block_callee = b_array_read_block_callee
Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48.log_21829_2342.asm
ljhsiun2/medusa
9
171970
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r15 push %r8 push %rax push %rbx lea addresses_normal_ht+0x4e7d, %r15 nop nop nop sub $34827, %r10 mov (%r15), %eax nop add $19724, %r11 lea addresses_D_ht+0x477d, %r15 nop nop add $55906, %r8 mov $0x6162636465666768, %rbx movq %rbx, %xmm2...
PRG/levels/Giant/4-2.asm
narfman0/smb3_pp1
0
15866
; Original address was $B067 ; 4-2 .word W504_EndL ; Alternate level layout .word W504_EndO ; Alternate object layout .byte LEVEL1_SIZE_08 | LEVEL1_YSTART_140 .byte LEVEL2_BGPAL_00 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18 | LEVEL2_UNUSEDFLAG .byte LEVEL3_TILESET_11 | LEVEL3_VSCROLL_LOCKLOW | LEVEL3_PIPENOTEXIT .byte...
source/streams/a-sostio.ads
ytomino/drake
33
23792
pragma License (Unrestricted); -- extended unit with System.Storage_Elements; package Ada.Streams.Overlaps_Storage_IO is -- Overlapping stream access to existing memory. pragma Preelaborate; pragma Compile_Time_Error ( Standard'Storage_Unit /= Stream_Element'Size, "this is not 8-bit machine."); ...
Task/Count-in-factors/Ada/count-in-factors.ada
LaudateCorpus1/RosettaCodeData
1
11029
<reponame>LaudateCorpus1/RosettaCodeData<gh_stars>1-10 with Ada.Command_Line, Ada.Text_IO, Prime_Numbers; procedure Count is package Prime_Nums is new Prime_Numbers (Number => Natural, Zero => 0, One => 1, Two => 2); use Prime_Nums; procedure Put (List : Number_List) is begin for Index in List'Ran...
oeis/112/A112850.asm
neoneye/loda-programs
11
171209
<reponame>neoneye/loda-programs ; A112850: Number of graph endomorphisms of undirected cycles of even length: |End(C_2n)|. ; Submitted by <NAME>(s2) ; 2,32,132,576,2540,11112,48076,205952,875196,3695160,15519548,64899792,270415652,1123264856,4653525660,19234572544,79342611548,326704870872,1343120024476,5513861152880,22...
src/BasicIO.agda
cruhland/agda-editor
0
11393
<filename>src/BasicIO.agda module BasicIO where open import Agda.Builtin.IO public open import Data.Char open import Data.List {-# FOREIGN GHC import Control.Exception #-} {-# FOREIGN GHC import System.Environment #-} -- This is easier than using the IO functions in the standard library, -- but it's technically not ...
cql/src/main/java/com/huawei/streaming/cql/semanticanalyzer/parser/Identifiers.g4
chenqixu/StreamCQL
8
1641
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
asm/fpga_bootloader.asm
FKD13/RCPU
17
2026
.text .global main: ; (blocking) reads one char from uart to the D register ; pollutes A, B, C, D ; needs 1 stack space uart_read_char: ; push address of misc.in (which contains if uart is writeable/readable), and read option LDV B, (0b110) PSH B SYS ; pop read value in B POP B ; get second-to-last bit...
libsrc/_DEVELOPMENT/adt/wa_priority_queue/c/sdcc_iy/wa_priority_queue_data_fastcall.asm
jpoikela/z88dk
640
174726
<filename>libsrc/_DEVELOPMENT/adt/wa_priority_queue/c/sdcc_iy/wa_priority_queue_data_fastcall.asm ; void *wa_priority_queue_data_fastcall(wa_priority_queue_t *q) SECTION code_clib SECTION code_adt_wa_priority_queue PUBLIC _wa_priority_queue_data_fastcall EXTERN asm_wa_priority_queue_data defc _wa_priority_queue_da...
src/main/antlr/BibLexer.g4
vlsergey/tex2html
0
2634
lexer grammar BibLexer ; @header { package com.github.vlsergey.tex2html.grammar; } CURLY_BRACKET_OPEN : '{' ; CURLY_BRACKET_CLOSE : '}' ; AT : '@' ; COMMA : ',' ; EQUAL : '=' ; AND : ' and ' ; ALPHANUMERIC : [a-zA-Z0-9]+ ; ETC : ~[a-zA-Z0-9={}@, \t\r\n]+ ; SPACES : [ \t\r\n]+ ;
school2/8B/mid1.asm
momomeomo/School
0
103059
INCLUDE asmlib.inc .data prompt byte "How many numbers to enter: ",0 sump byte "The sum of the ",0 sumx byte " values is ",0 counter DWORD 0 sum DWORD 0 .code main PROC ;//sets all registers to 0 mov edx, 0 mov ecx, 0 mov eax, 0 mov ebx, 0 mov ah, 0 mov ax, 0 mov al, 0 mov edx, offset prompt cal...
test/Compiler/simple/Issue561.agda
alhassy/agda
4
4585
<filename>test/Compiler/simple/Issue561.agda module Issue561 where open import Common.Prelude hiding (primIsDigit) primitive primIsDigit : Char → Bool main : IO Bool main = return true
lab07/demo/demo.asm
adinasm/iocla-demos
0
87759
<reponame>adinasm/iocla-demos %include "../../utils/printf32.asm" struc demo_struct .num: resw 1 name: resb 20 endstruc struc another_struct x: resd 3 y: resb 1 z: resw 12 .num: resb 1 endstruc section .data array dw 12, 3, 45, 1, 24, 17, 5, 6, 9, 10 arr2 times 5 dw 12 len equ 10 ...
src/Groupoid.agda
nad/equality
3
3118
------------------------------------------------------------------------ -- Groupoids ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} open import Equality module Groupoid {reflexive} (eq : ∀ {a p} → Equality-with-J a p reflexive) where open import Prelud...
programs/oeis/153/A153260.asm
karttu/loda
0
246697
<gh_stars>0 ; A153260: a(n) = n^3 - 3*(n+3)^2. ; -27,-47,-67,-81,-83,-67,-27,43,149,297,493,743,1053,1429,1877,2403,3013,3713,4509,5407,6413,7533,8773,10139,11637,13273,15053,16983,19069,21317,23733,26323,29093,32049,35197,38543,42093,45853,49829,54027,58453,63113,68013,73159,78557,84213,90133,96323,102789,109537,11657...
src/cobs-stream-decoder.adb
Fabien-Chouteau/COBS
0
5927
package body COBS.Stream.Decoder is subtype Dispatch is Instance'Class; -------------- -- Do_Flush -- -------------- procedure Do_Flush (This : in out Instance) is begin if This.Out_Index > This.Buffer'First then Dispatch (This).Flush (This.Buffer (This.Buffer'First .. Thi...
stm32f1/stm32gd-timer.ads
ekoeppen/STM32_Generic_Ada_Drivers
1
19048
with STM32_SVD.TIM; with STM32_SVD; use STM32_SVD; package STM32GD.Timer is type Timer_Callback_Type is access procedure; type Timer_Type is (Timer_2, Timer_3, Timer_4, Timer_5, Timer_14, Timer_15, Timer_16, Timer_17); end STM32GD.Timer;
programs/oeis/071/A071121.asm
karttu/loda
0
86071
<reponame>karttu/loda<filename>programs/oeis/071/A071121.asm ; A071121: a(n) = a(n-1) + sum of decimal digits of n^3. ; 1,9,18,28,36,45,55,63,81,82,90,108,127,144,162,181,198,216,244,252,270,289,306,324,343,369,396,415,441,450,478,504,531,550,576,603,622,648,675,685,711,738,766,792,810,838,855,873,901,909,927,946,981,1...
programs/oeis/214/A214493.asm
neoneye/loda
22
1717
<filename>programs/oeis/214/A214493.asm ; A214493: Numbers of the form ((6k+5)^2+9)/2 or 2(3k+4)^2-9. ; 17,23,65,89,149,191,269,329,425,503,617,713,845,959,1109,1241,1409,1559,1745,1913,2117,2303,2525,2729,2969,3191,3449,3689,3965,4223,4517,4793,5105,5399,5729,6041,6389,6719,7085,7433,7817,8183,8585,8969,9389,9791,1022...
src/boot.asm
krzem5/Assembly-32bit_OS_Simple_Kernel
0
243084
<filename>src/boot.asm<gh_stars>0 section .boot [bits 16] [org 0x7c00] BOOT_DRIVE db 0 boot16: mov [BOOT_DRIVE], dl mov bp, 0x9000 mov sp, bp mov bx, 0x1000 mov dh, 2 mov dl, [BOOT_DRIVE] pusha push dx mov ah, 0x02 mov al, dh mov cl, 0x02 mov ch, 0 mov dh, 0 int 0x13 jc err pop dx cmp al, dh jne err ...
programs/oeis/033/A033394.asm
karttu/loda
1
163198
<reponame>karttu/loda<gh_stars>1-10 ; A033394: [ 74/n ]. ; 74,37,24,18,14,12,10,9,8,7,6,6,5,5,4,4,4,4,3,3,3,3,3,3,2,2,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,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 add $0,1 mov $1,74 div $1,$0
thirdparty/adasdl/thin/adasdl/AdaSDL/binding/sdl-thread.ads
Lucretia/old_nehe_ada95
0
3176
-- ----------------------------------------------------------------- -- -- AdaSDL -- -- Binding to Simple Direct Media Layer -- -- Copyright (C) 2001 A.M.F.Vargas -- -- <NAME> ...
regtests/stemmer-tests.ads
stcarrez/ada-stemmer
3
5315
----------------------------------------------------------------------- -- stemmer-tests -- Tests for stemmer -- Copyright (C) 2020 <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. -- You...
programs/oeis/165/A165394.asm
neoneye/loda
22
10079
; A165394: Number of slanted 2 X n (i=1..2) X (j=i..n+i-1) 1..4 arrays with all 1s connected, all 2s connected, all 3s connected, all 4s connected, 1 in the upper left corner, 2 in the upper right corner, 3 in the lower left corner, 4 in the lower right corner, and with no element having more than 3 neighbors with the ...
test/Fail/Issue5531.agda
cruhland/agda
1,989
9153
<filename>test/Fail/Issue5531.agda {-# OPTIONS --type-in-type --rewriting #-} open import Agda.Builtin.Sigma open import Agda.Builtin.Equality coe : {A B : Set} → A ≡ B → A → B coe refl x = x {-# BUILTIN REWRITE _≡_ #-} Tel = Set U = Set variable Δ : Tel A B : Δ → U δ₀ δ₁ : Δ postulate IdTel : (Δ : Tel)(δ...
Type/Equiv.agda
Lolirofle/stuff-in-agda
6
7945
<filename>Type/Equiv.agda<gh_stars>1-10 module Type.Equiv where open import Function.Proofs open import Logic.Predicate import Lvl open import Structure.Function open import Structure.Function.Domain open import Structure.Setoid open import Type private variable ℓ ℓ₁ ℓ₂ ℓₑ₁ ℓₑ₂ : Lvl.Level -- Invertible functio...
basic/basic.asm
paulscottrobson/cosmac-vip-replica
0
4488
r2 = 2 r3 = 3 r4 = 4 cpu 1802 org 8000h ldi 080h phi r2 ldi 008h plo r2 sex r2 sep r2 out 4 idl sex r2 ldi s1/256 phi r4 ldi s1&255 plo r4 sep r4 s1: ldi 01 phi r2 ldi 00 plo r2 Variables = 0D00h return macro ; allows subroutine returns to disable/enable in...
alloy4fun_models/trashltl/models/1/vdyFS6uHLKMQTM2aA.als
Kaixi26/org.alloytools.alloy
0
3771
open main pred idvdyFS6uHLKMQTM2aA_prop2 { no File eventually some File } pred __repair { idvdyFS6uHLKMQTM2aA_prop2 } check __repair { idvdyFS6uHLKMQTM2aA_prop2 <=> prop2o }
wof/lcs/enemy/E.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
6
88602
copyright zengfr site:http://github.com/zengfr/romhack 0010D0 rts [123p+ C, 123p+ E, enemy+ C, enemy+ E] 001590 lea ($20,A0), A0 007D44 move.b #$4, ($2a,A0) [123p+ C, 123p+ E, enemy+ C, enemy+ E] 011CEE clr.l ($c,A0) [123p+ 40, enemy+40] 011CF2 addq.b #2, ($2b,A0) [123p+ C, 123p+ E, enemy+ C, enemy...
.oh-my-zsh/custom/applescript/new_terminal.scpt
JannikWibker/dots
2
346
if application "iTerm2" is running then tell application "iTerm" create window with default profile end tell else activate application "iTerm" end if
programs/oeis/020/A020871.asm
jmorken/loda
1
100505
<reponame>jmorken/loda ; A020871: Number of spanning trees in a Moebius ladder M_n with 2n vertices. ; 0,3,16,81,392,1815,8112,35301,150544,632043,2620880,10759353,43804824,177105279,711809392,2846259405,11330543648,44929049811,177540878736,699402223137,2747583822760,10766828545767,42095796462896,164244726238389,639620...
programs/oeis/127/A127752.asm
neoneye/loda
22
9827
; A127752: Row sums of inverse of number triangle A(n,k) = 1/(3n+1) if k <= n <= 2k, 0 otherwise. ; 1,4,3,7,3,6,3,10,3,6,3,9,3,6,3,13,3,6,3,9,3,6,3,12,3,6,3,9,3,6,3,16,3,6,3,9,3,6,3,12,3,6,3,9,3,6,3,15,3,6,3,9,3,6,3,12,3,6,3,9,3,6,3,19,3,6,3,9,3,6,3,12,3,6,3,9,3,6,3,15,3,6,3,9,3,6,3,12,3,6,3,9,3,6,3,18,3,6,3,9 mov $2,...
gcc-gcc-7_3_0-release/gcc/ada/a-synbar.adb
best08618/asylo
7
10940
<reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/ada/a-synbar.adb ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
programs/oeis/259/A259110.asm
karttu/loda
1
18328
; A259110: 2*A000447(n). ; 0,2,20,70,168,330,572,910,1360,1938,2660,3542,4600,5850,7308,8990,10912,13090,15540,18278,21320,24682,28380,32430,36848,41650,46852,52470,58520,65018,71980,79422,87360,95810,104788,114310,124392,135050,146300,158158,170640,183762,197540,211990,227128,242970,259532,276830,294880,313698,333300,...
parser/DIDLexer.g4
zkung/ic-py
65
2670
<gh_stars>10-100 lexer grammar DIDLexer; BlockComment: '/*' .*? '*/' -> skip; LineComment: '//' ~[\r\n]* -> skip; S: [ \t\r\n] -> skip; Type: 'type'; Query: 'query'; Oneway: 'oneway'; PrimType: NumType | 'bool' | 'text' | 'null' | 'reserved' | 'empty' | 'principal'; NumType: 'nat' | 'nat8' | 'nat16' ...
BCK.agda
oisdk/agda-playground
6
5226
{-# OPTIONS --cubical --safe #-} module BCK where open import Prelude hiding (B; C) infixl 4 _$$_ data BCK : Type where _$$_ : BCK → BCK → BCK B C K : BCK open import Data.List stack : BCK → Maybe BCK stack xs = go xs [] where go : BCK → List BCK → Maybe BCK go (f $$ x) xs = go f (x ∷ xs) go B (f ∷ g ∷...
libsrc/_DEVELOPMENT/adt/w_vector/c/sccz80/w_vector_erase.asm
jpoikela/z88dk
640
89666
<reponame>jpoikela/z88dk<gh_stars>100-1000 ; size_t w_vector_erase(w_vector_t *v, size_t idx) SECTION code_clib SECTION code_adt_w_vector PUBLIC w_vector_erase EXTERN w_array_erase defc w_vector_erase = w_array_erase ; SDCC bridge for Classic IF __CLASSIC PUBLIC _w_vector_erase defc _w_vector_erase = w_vector_era...
src/Bijection.agda
nad/equality
3
5465
<reponame>nad/equality ------------------------------------------------------------------------ -- Bijections ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} open import Equality module Bijection {reflexive} (eq : ∀ {a p} → Equality-with-J a p reflexive) ...
etc/applescripts/omnifocus-task-randomizer.applescript
romkatv/dotfiles
2
414
<reponame>romkatv/dotfiles #!/usr/bin/osascript property tagName : "Randomizer" set theResult to {} tell application "OmniFocus" tell default document set theTag to (first flattened tag whose name is tagName) tell theTag set taskCount to count tasks if taskCount is 0 display notification...
oeis/073/A073718.asm
neoneye/loda-programs
11
91961
<filename>oeis/073/A073718.asm ; A073718: Powers of 2 with composite exponents. ; Submitted by <NAME> ; 16,64,256,512,1024,4096,16384,32768,65536,262144,1048576,2097152,4194304,16777216,33554432,67108864,134217728,268435456,1073741824,4294967296,8589934592,17179869184,34359738368,68719476736 seq $0,72668 ; Numbers one...
oeis/206/A206809.asm
neoneye/loda-programs
11
18910
<reponame>neoneye/loda-programs ; A206809: Sum_{0<j<k<=n} k^3-j^3. ; 7,52,208,608,1463,3080,5880,10416,17391,27676,42328,62608,89999,126224,173264,233376,309111,403332,519232,660352,830599,1034264,1276040,1561040,1894815,2283372,2733192,3251248,3845023,4522528,5292320,6163520,7145831,8249556,9485616,10865568,12401623,1...
Library/Pref/Prefvid/prefvidDeviceList.asm
steakknife/pcgeos
504
168525
<gh_stars>100-1000 COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: prefvidDeviceList.asm AUTHOR: <NAME> ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date Descri...
extensions/xada-dispatching-tts.adb
rocher/TTS-Runtime-Ravenscar
2
10734
------------------------------------------------------------ -- -- GNAT RUN-TIME EXTENSIONS -- -- XADA . DISPATCHING . TIME-TRIGGERED SCHEDULING -- -- @file x-distts.adb / xada-dispatching-tts.adb -- -- @package XAda.Dispatching.TTS (BODY) -- -- @author <NAME> <<EMAIL>> -- @author <NAME> <<EMAIL>> -- ------------...
libsrc/graphics/tiki100/w_line.asm
grancier/z180
0
13653
INCLUDE "graphics/grafix.inc" PUBLIC w_line EXTERN w_line_r EXTERN __gfx_coords ; ; $Id: w_line.asm,v 1.2 2016/07/02 09:01:36 dom Exp $ ; ; ****************************************************************************** ; ; Draw a pixel line from (x0,y0) defined in COORDS (word,word) - the starting point coord...
test/asm/scas.asm
nigelperks/BasicAssembler
0
173706
IDEAL SEGMENT SEG1 ASSUME CS:SEG1,DS:SEG1,ES:SEG1,SS:SEG1 ORG 100h start: jmp over ; force resize pass ; source: SI ; destination: AL scas [byte di] scas [byte es:di] scas [word di] scas [word es:di] over: int 20h ENDS SEG1 END start
data/prizes.asm
etdv-thevoid/pokemon-rgb-enhanced
1
18231
<filename>data/prizes.asm<gh_stars>1-10 PrizeDifferentMenuPtrs: dw PrizeMenuMon1Entries dw PrizeMenuMon1Cost dw PrizeMenuMon2Entries dw PrizeMenuMon2Cost dw PrizeMenuTMsEntries dw PrizeMenuTMsCost NoThanksText: db "NO THANKS@" PrizeMenuMon1Entries: db ABRA db CLEFAIRY db DRATINI db "@" PrizeMenuMon1Cost...
test/Fail/Issue1012.agda
shlevy/agda
3
3090
open import Common.Prelude open import Common.Reflection id : {A : Set} → A → A id x = x idTerm : Term idTerm = lam visible (abs "x" (def (quote id) (arg₁ ∷ arg₂ ∷ []))) where arg₁ = arg (argInfo hidden relevant) (def (quote Nat) []) arg₂ = arg (argInfo visible relevant) (var 0 []) -- Should fail since id...
source/oasis/program-elements-known_discriminant_parts.ads
optikos/oasis
0
16917
<gh_stars>0 -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Elements.Definitions; with Program.Lexical_Elements; with Program.Elements.Discriminant_Specifications; package Program.Eleme...
oeis/342/A342912.asm
neoneye/loda-programs
11
94992
; A342912: a(n) = [x^n] (1 - 2*x - sqrt((1 - 3*x)/(1 + x)))/(2*x^3). ; Submitted by <NAME> ; 1,1,3,6,15,36,91,232,603,1585,4213,11298,30537,83097,227475,625992,1730787,4805595,13393689,37458330,105089229,295673994,834086421,2358641376,6684761125,18985057351,54022715451,154000562758,439742222071,1257643249140,3602118427...
ioq3/build/release-js-js/baseq3/game/g_team.asm
RawTechnique/quake-port
1
244981
export Team_InitGame code proc Team_InitGame 0 12 ADDRGP4 teamgame ARGP4 CNSTI4 0 ARGI4 CNSTU4 36 ARGU4 ADDRGP4 qk_memset CALLP4 pop ADDRGP4 g_gametype+12 INDIRI4 CNSTI4 4 EQI4 $57 ADDRGP4 $55 JUMPV LABELV $57 ADDRGP4 teamgame+8 CNSTI4 -1 ASGNI4 CNSTI4 1 ARGI4 CNSTI4 0 ARGI4 ADDRGP4 Team_SetFlagStatus CALLV pop ADDRGP4...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/nested_subtype_byref.ads
best08618/asylo
7
9314
package Nested_Subtype_Byref is procedure Check; end;
test/Succeed/SizedTypesMergeSort.agda
redfish64/autonomic-agda
3
14767
-- {-# OPTIONS -v tc.size:100 #-} module SizedTypesMergeSort where open import Common.Size open import Common.Prelude using (Bool; true; false; if_then_else_) open import Common.Product module Old where -- sized lists data List (A : Set) : {_ : Size} -> Set where [] : {size : Size} -> List A {↑ size} ...
oeis/071/A071799.asm
neoneye/loda-programs
11
104010
; A071799: Number of lattice paths in the lattice [0..2n] X [0..2n] which do not pass through the point (n,n). ; Submitted by <NAME> ; 2,34,524,7970,121252,1850380,28337976,435443490,6711230900,103711749284,1606464657096,24935144010764,387746052588104,6039349005200440,94203136553911024,1471326505700038434,2300732348521...
45/beef/cw/user/editmgr1.asm
minblock/msdos
0
25762
<gh_stars>0 ;* ;* COW : Character Oriented Windows ;* ;* editmgr1.asm : Multi-line edit manager (part1) ;* (included by editmgr.asm) cProc InternalEditWndProc,<FAR,PUBLIC>,<SI,DI> parmW pwnd parmW message parmW wParam parmD lParam localW oln l...
tysos/x86_64/switcher.asm
jncronin/tysos
5
95377
global _ZN11tysos#2Edll14tysos#2Ex86_6412TaskSwitcher_16do_x86_64_switch_Rv_P5yU5tysos6Threadyyy:function _ZN11tysos#2Edll14tysos#2Ex86_6412TaskSwitcher_16do_x86_64_switch_Rv_P5yU5tysos6Threadyyy: ; static void do_x86_64_switch(ulong cur_thread_pointer, ; Thread next_thread, ; ulong tsi_offset_within_thread, ; ulo...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/test_8bitlong_overflow.adb
best08618/asylo
7
21617
<gh_stars>1-10 -- { dg-do run } -- { dg-options "-gnato" } procedure Test_8bitlong_Overflow is pragma Unsuppress (Overflow_Check); generic type T is range <>; package G is LO : T := T'first; ONE : T := T(1); type A2 is array(T range <>) of T; subtype SA2 is A2(LO..4*ONE); ...
data/test_bit.asm
colinw7/C6502
0
96929
LDA #$37 BIT $44 OUT A
programs/oeis/113/A113841.asm
jmorken/loda
1
89521
<reponame>jmorken/loda ; A113841: a(n) = a(n-1) + 2^A047240(n) for n>1, a(1)=1. ; 1,3,7,71,199,455,4551,12743,29127,291271,815559,1864135,18641351,52195783,119304647,1193046471,3340530119,7635497415,76354974151,213793927623,488671834567,4886718345671,13682811367879,31274997412295,312749974122951,875699927544263,2001599...
test/Fail/AttributeUnparenthesized.agda
shlevy/agda
1,989
1411
-- Andreas, 2018-06-09, issue #2513, parsing attributes postulate fail : ∀ @0 A → A → A -- Should fail.
s-inmaop.ads
ytomino/gnat4drake
0
21894
<reponame>ytomino/gnat4drake<filename>s-inmaop.ads pragma License (Unrestricted); package System.Interrupt_Management.Operations is procedure Set_Interrupt_Mask (Mask : access Interrupt_Mask); procedure Set_Interrupt_Mask ( Mask : access Interrupt_Mask; OMask : access Interrupt_Mask); procedure...
Projetos/F-Assembly/src/nasm/factorial.nasm
LiuSeeker/Z01-Coldzera
1
246120
<gh_stars>1-10 ; Arquivo: Factorial.nasm ; Curso: Elementos de Sistemas ; Criado por: <NAME> ; Data: 27/03/2017 ; Calcula o fatorial do número em R0 e armazena o valor em R1. leaw $R0, %A movw (%A), %D movw (%A), %S decw %D decw %D leaw $R1, %A movw %D, (%A) leaw $R0, %A addw (%A), %S, %S leaw $R2, %A movw %S...
Programming for Embedded Systems/Labs/Lab 1/Assembler/Assembler/main.asm
sathwikkannam/courses-HKR
0
98561
<reponame>sathwikkannam/courses-HKR ; ; Assembler.asm ; ; Created: 2022-02-09 13:51:50 ; Author : SAKA0191 ; .INCLUDE "m48def.inc" LDI R16, 3 LDI R17, 10 LDI R18, 2 MOV R2, R18 MOV R1, R17 START: ADD R1, R2 DEC R16 BRNE start OUT PORTD, R1 FOREVER: RJMP FOREVER
experiments/test-suite/mutation-based/10/1/balancedBST.als
kaiyuanw/AlloyFLCore
1
3634
pred test80 { some disj BinaryTree0: BinaryTree {some disj Node0: Node { BinaryTree = BinaryTree0 root = BinaryTree0->Node0 Node = Node0 left = Node0->Node0 no right elem = Node0->1 }} } run test80 for 4 expect 0 pred test78 { some disj BinaryTree0: BinaryTree {some disj Node0, Node1: Node { BinaryTree = BinaryTree0 ro...
stressfs.asm
jhsie007/xv6
0
8011
_stressfs: file format elf32-i386 Disassembly of section .text: 00001000 <main>: #include "fs.h" #include "fcntl.h" int main(int argc, char *argv[]) { 1000: 55 push %ebp 1001: 89 e5 mov %esp,%ebp 1003: 83 e4 f0 and $0xfffffff0,%esp 1006: 8...
P6/data_P6_2/MDTest52.asm
alxzzhou/BUAA_CO_2020
1
16170
<filename>P6/data_P6_2/MDTest52.asm ori $ra,$ra,0xf div $4,$ra sll $6,$1,22 sb $5,14($0) mult $5,$4 addu $4,$4,$2 lui $5,30477 mthi $3 lui $1,7599 multu $5,$5 multu $3,$4 mthi $3 mtlo $0 ori $5,$4,25195 mflo $1 mfhi $4 lb $6,11($0) srav $2,$4,$2 mfhi $4 addiu $6,$2,-17947 sll $5,$1,31 mfhi $2 divu $5,$ra ori $2,$5,3863...
xv6-pdx/date.asm
budiwa/CS333
0
5981
<gh_stars>0 _date: file format elf32-i386 Disassembly of section .text: 00000000 <dayofweek>: static char *days[] = {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"}; int dayofweek(int y, int m, int d) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 53 ...
source/slim-menu_models.ads
reznikmm/slimp
0
18557
<reponame>reznikmm/slimp<gh_stars>0 -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with League.Strings; with Slim.Menu_Commands; package Slim.Menu_Models is type Menu_Path is private; type ...
source/amf/uml/amf-uml-redefinable_elements.ads
svn2github/matreshka
24
17360
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
programs/oeis/015/A015441.asm
neoneye/loda
22
4967
; A015441: Generalized Fibonacci numbers. ; 0,1,1,7,13,55,133,463,1261,4039,11605,35839,105469,320503,953317,2876335,8596237,25854247,77431669,232557151,697147165,2092490071,6275373061,18830313487,56482551853,169464432775,508359743893,1525146340543,4575304803901,13726182847159,41178011670565,123535108753519,37060317877...
experiments/realbugs/fsm2.als
saiema/ARepair
5
1232
<reponame>saiema/ARepair one sig FSM { start: set State, stop: set State } sig State { transition: set State } // Part (a) fact OneStartAndStop { // FSM only has one start state. #FSM.start = 1 // FSM only has one stop state. #FSM.stop = 1 } // Part (b) fact ValidStartAndStop { // A state cannot be b...
learn-assembly/asm101/asm101-04.asm
hailehong95/Practice-Coding
0
173996
; asm101-04: Xuat chuoi ky tu .model small .stack 100h .data tb1 db "Le <NAME>$" .code main proc ; Khoi tao thanh ghi ds mov ax, @data mov ds, ax ; Doan in ra chuoi tb1 mov ah, 09h lea dx, tb1 int 21h ; Ket thuc chuong trinh mov ah, 4ch int 21h main endp end m...
fish.asm
mgr-inz-rafal/wytyczne-rybne
0
246887
opt m+r+ ; Selected ATARI registes icl 'atari.inc' pstart equ $2000 scr_rowsize equ 40 scr_lines equ 96 scr_lastb equ scr_mem_0+scr_rowsize*(scr_lines-1)+(scr_rowsize-1) scr_size equ scr_lastb-scr_mem_0+1 fishdimx equ 32 ; Horizontal dimension of fish (in pixels) fishdimy equ 32 ; V...
collision_detection.asm
DavidR86/c64-pong
0
23542
/* This file handles collision detection. It does NOT work in the following circumstances: Sprites very big (Should not happen) Sprites very close to x=255 */ #import "data_exchange.asm" .var spr9th = $d010 //00000000 .var spr0_x = $d000 //spr0 is right paddle .var spr0_y = $d001 .var spr1_x = $d002 //spr1 is left...
software/hal/boards/common/hil/hil-clock.ads
TUM-EI-RCS/StratoX
12
23577
-- Institution: Technische Universität München -- Department: Realtime Computer Systems (RCS) -- Project: StratoX -- -- Authors: <NAME> (<EMAIL>) with HIL.Devices; with Ada.Real_Time; -- @summary -- Target-independent specification for HIL of Clocks package HIL.Clock with SPARK_Mode is procedure conf...
V2/src/ASH VGA/Old/ASH_VGA_BITEST.z80.asm
anjennings/Tom80
55
47
<reponame>anjennings/Tom80 ;ASH - Aidan's SHell (VGA Output Only Test) STACK equ 0xFFF0 OUTPUT_SEL equ STACK+1 ;Indicates if output is via serial or VGA PROP_ENABLED equ STACK+2 ;Set to 0 if Prop is detected at boot PROP_WRITE_FLAG equ STACK+3 PROP_READ_FLAG equ STACK+4 ;First byte of ...
oeis/016/A016273.asm
neoneye/loda-programs
11
2056
<reponame>neoneye/loda-programs ; A016273: Expansion of 1/((1-2x)(1-3x)(1-5x)). ; Submitted by <NAME> ; 1,10,69,410,2261,11970,61909,315850,1598421,8050130,40425749,202656090,1014866581,5079099490,25409813589,127092049130,635589254741,3178333432050,15892828897429,79467630222970,397348609370901,1986774423719810,99339662...
Rings/Examples/Proofs.agda
Smaug123/agdaproofs
4
135
<reponame>Smaug123/agdaproofs {-# OPTIONS --safe --warning=error --without-K #-} open import LogicalFormulae open import Functions.Definition open import Groups.Groups open import Groups.Definition open import Rings.Definition open import Numbers.Naturals.Semiring open import Numbers.Naturals.Naturals open import Numb...
tools-src/gnu/gcc/gcc/ada/sem_elim.ads
enfoTek/tomato.linksys.e2000.nvram-mod
80
17966
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
core/support/src/main/antlr/au/com/dius/pact/core/support/Version.g4
psliwa/pact-jvm
127
3744
grammar Version; @header { package au.com.dius.pact.core.support; } version returns [ Version v ] : { Integer major, minor, patch = null; } INT { major = $INT.int; } '.' INT { minor = $INT.int; } ('.' INT { patch = $INT.int; })? EOF { if (patch != null) { $v = new Version(major, minor, patch); }...
8085_programming/YT/p3_add_n_nos_with_carry.asm
SayanGhoshBDA/code-backup
16
24702
<filename>8085_programming/YT/p3_add_n_nos_with_carry.asm MVI C,09 MVI E,00 LXI H,2060 MOV A,M L1: INX H MOV B,M ADD B JC L2 L3: DCR C JNZ L1 STA 2070 MOV A,E STA 2071 HLT L2: INR E STC CMC JMP L3 // to store the memory contents # ORG 2060H # DB 01...
src/libYARP_dev/56f807/cotroller_dc/Support/DSP56800_xromxram.asm
robotology-legacy/yarp1
0
3191
<reponame>robotology-legacy/yarp1 ; metrowerks sample code ; this __romCopy copies xROM to xRAM ; define which __romCopy routine to assemble ; see alternative routine below ; use the software loop routine ; if you have more than 8191 elements to zero ; use the hardware loop routine ; if you have less...
src/pygamer-time.adb
Fabien-Chouteau/pygamer-bsp
0
14313
with Cortex_M.Systick; with System.Machine_Code; use System.Machine_Code; package body PyGamer.Time is package Systick renames Cortex_M.Systick; Clock_Ms : Time_Ms := 0 with Volatile; Period_Ms : constant Time_Ms := 1; Subscribers : array (1 .. 10) of Tick_Callback := (others => null); procedure I...
src/ada_containers_indefinite_holders.ads
egilhh/Futures-in-Ada
1
1953
with Ada.Finalization; generic type Element_Type(<>) is private; with function "=" (Left, Right : Element_Type) return Boolean is <>; package Ada_Containers_Indefinite_Holders is pragma Preelaborate(Ada_Containers_Indefinite_Holders); type Holder is tagged private; pragma Preelaborable_Initialization (...
test/Fail/Issue2840.agda
cruhland/agda
1,989
16663
<reponame>cruhland/agda -- Andreas, 2017-11-06, issue #2840 reported by wenkokke Id : (F : Set → Set) → Set → Set Id F = F data D (A : Set) : Set where c : Id _ A -- WAS: internal error in positivity checker -- EXPECTED: success, or -- The target of a constructor must be the datatype applied to its -- parameters,...
src/stm32-gpio.ads
damaki/EVB1000
9
27408
-- This spec has been automatically generated from STM32F105xx.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; with System; package STM32.GPIO is pragma Preelaborate; --------------- -- Registers -- --------------- ------------------ -- CRL_Register -- ------------------ s...
oeis/277/A277253.asm
neoneye/loda-programs
11
98509
<filename>oeis/277/A277253.asm<gh_stars>10-100 ; A277253: a(n) = a(n-2) + a(n-3) + a(n-4) for n>3, a(0)=1, a(1)=a(2)=0, a(3)=2. ; Submitted by <NAME> ; 1,0,0,2,1,2,3,5,6,10,14,21,30,45,65,96,140,206,301,442,647,949,1390,2038,2986,4377,6414,9401,13777,20192,29592,43370,63561,93154,136523,200085,293238,429762,629846,9230...