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
src/architecture/multiboot_h.asm
Owensa/x86_kernel
2
175469
section.multiboot_h header_start: dd 0xe85250d6 ; multiboot 2 dd 0 ; architecture 0 dd header_end - header_start ; header length ;checksum dd 0x100000000 - (0xe8525 + 0 + (header_end - header_start)) ; multiboot tags are gonna go here ; end tag requires dw 0 ;type dw 0 ;flags dw 8 ;size header_en...
tests/syntax_test_object_files.asm
dougmasten/dougmasten-sublime-assembly-6809
5
166462
# SYNTAX TEST "Packages/Assembly-6809/Assembly-6809.sublime-syntax" # <- source.mc6809 section sect .area endsection endsect sym EXTERN sym EXTERNAL sym IMPORT sym EXPORT sym .GLOBL EXPORT sym .globl sym sym EXTDEP
macros/debug.asm
ISSOtm/Aevilia-GB
53
20466
debug_message: MACRO IF DEF(DebugMode) ld d, d jr .debugMessage\@ dw $6464 dw $0000 REPT _NARG db \1 shift ENDR .debugMessage\@ ENDC ENDM debug_break: MACRO IF DEF(DebugMode) ld b, b ENDC ENDM
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0x48.log_21829_2727.asm
ljhsiun2/medusa
9
24626
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r8 push %rcx push %rdi push %rsi lea addresses_A_ht+0x13513, %rdi nop xor %r11, %r11 mov (%rdi), %r8 nop nop nop nop xor $58321, %r8 lea addresses_WT_ht+0x16f5b, %rsi lea addresses_UC_ht+0x975b, %rdi nop nop nop nop cmp %r14, %r14 mov $46, %rcx rep ...
programs/oeis/098/A098352.asm
karttu/loda
0
19465
; A098352: Multiplication table of the even numbers read by antidiagonals. ; 4,8,8,12,16,12,16,24,24,16,20,32,36,32,20,24,40,48,48,40,24,28,48,60,64,60,48,28,32,56,72,80,80,72,56,32,36,64,84,96,100,96,84,64,36,40,72,96,112,120,120,112,96,72,40,44,80,108,128,140,144,140,128,108,80,44,48,88,120,144,160,168,168,160,144,12...
source/amf/mof/amf-internals-element_collections.ads
svn2github/matreshka
24
4408
<reponame>svn2github/matreshka<filename>source/amf/mof/amf-internals-element_collections.ads<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project ...
LibraBFT/Yasm/Yasm.agda
oracle/bft-consensus-agda
4
8109
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9. Copyright (c) 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.Base.PKCS open import LibraBFT.Base.Types open import Lib...
programs/oeis/061/A061803.asm
neoneye/loda
22
9976
<filename>programs/oeis/061/A061803.asm ; A061803: Sum of n-th row of triangle of 4th powers: 1; 1 16 1; 1 16 81 16 1; 1 16 81 256 81 16 1; ... ; 1,18,115,452,1333,3254,6951,13448,24105,40666,65307,100684,149981,216958,305999,422160,571217,759714,995011,1285332,1639813,2068550,2582647,3194264,3916665,4764266,5752683,68...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sso/p12.adb
best08618/asylo
7
10366
-- { dg-do run } with Init12; use Init12; with Text_IO; use Text_IO; with Dump; procedure P12 is Local_A1 : Arr1; Local_A11 : Arr11; Local_A2 : Arr2; Local_A22 : Arr22; begin Put ("My_A1 :"); Dump (My_A1'Address, Arr1'Max_Size_In_Storage_Elements); New_Line; -- { dg-output "My_A1 : 12 00 a...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_384.asm
ljhsiun2/medusa
9
3283
.global s_prepare_buffers s_prepare_buffers: push %r15 push %rax push %rdi lea addresses_WT_ht+0x24cc, %rdi xor %rax, %rax movb $0x61, (%rdi) nop nop cmp %rax, %rax pop %rdi pop %rax pop %r15 ret .global s_faulty_load s_faulty_load: push %r13 push %r15 push %r9 push %rax push %rbp push %rsi // Faulty Load lea add...
data/RelocateCount.asm
Threetwosevensixseven/ZXRelocate
1
242818
; RelocateCount.asm ; Generated automatically by Relocate.exe RelocateCount EQU 3 ; Relocation table is 6 byte(s) long BA_ZX0 EQU $003D ; A bank ID will get patched here BA_ZX1 EQU $003F ; A bank ID will get patched here BA_MM0 EQU $0041 ; A ba...
Univalence/Pi1Cat.agda
JacquesCarette/pi-dual
14
13933
{-# OPTIONS --without-K #-} module Pi1Cat where -- Proving that Pi with one level of interesting 2 path structure is a -- symmetric rig 2-groupoid open import Level using () renaming (zero to lzero) open import Data.Unit using (tt) open import Data.Product using (_,_) open import Function using (flip) open import C...
dimension/cell/lib/string/utf8/utf8.asm
ekscrypto/Unununium
7
243123
<filename>dimension/cell/lib/string/utf8/utf8.asm ; UTF-8 and UCS-4 String Routines ; Copyright (C) 2002, <NAME> & <NAME> ; Distributed under the X11 License ; ; UTF-8 and UCS-4 string routines section .c_init global _start _start: ;; no initialisation required ;; do nothing retn section .c_info db 0,0,1,'a' ...
src/ships-saveload.ads
thindil/steamsky
80
24859
-- Copyright 2017-2020 <NAME> -- -- This file is part of Steam Sky. -- -- Steam Sky is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) a...
boot.asm
HUSKI3/Pyra-OS
0
242846
<filename>boot.asm ;boot.asm:the bootloader to boot are operating system with grub [bits 32] ;we are in 32 bit global start ;start's the operating system:we call it in the linker script extern _kernel_main ;this is in are .cpp file and it is the main function of are kernel section .mbHeader ALIGN 4 ; setting up the M...
Library/Spell/ICS/icsManager.asm
steakknife/pcgeos
504
165916
<reponame>steakknife/pcgeos<filename>Library/Spell/ICS/icsManager.asm COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1991 -- All Rights Reserved PROJECT: Spell Library MODULE: ICS FILE: icsManager.asm AUTHOR: <NAME>, Aug 6, 1991 ROUTINE...
src/game/bird.asm
icebreaker/floppybird
354
166270
reset_bird: mov word [bird_pos+0], 60 mov word [bird_pos+2], 60 ret center_bird: mov word [bird_pos+0], 144 mov word [bird_pos+2], 60 ret update_bird: mov ax, word [bird_pos + 2] ; sy cmp ax, 0 ; top jle .collide ; reached sky? add ax, word [bird_pos + 6] ; sh cmp ax, 156 ; bottom (ground) jg ...
libsrc/stdio/vg5k/set_character.asm
jpoikela/z88dk
38
23563
MODULE set_character SECTION code_clib PUBLIC set_character PUBLIC set_character8 ; Redefine a VG5k character using an 8 high font ; ; Entry: hl = 8 bytes to define ; c = character to redefine set_character8: ex de,hl ld hl,-10 add hl,sp ld sp,hl push hl ld (hl),0 inc hl ld b,8 loop: ld a,(de...
HW1/a.asm
yuya737/tiny_vm
0
9600
.class Sample:Obj .method $constructor const 3 const 4 call Int:plus
src/gen-artifacts-distribs-concat.ads
My-Colaborations/dynamo
15
19656
----------------------------------------------------------------------- -- gen-artifacts-distribs-concat -- Concatenate based distribution artifact -- Copyright (C) 2012 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except i...
calc.asm
AppLoidx/calc.asm
0
86105
;author - http://github.com/flouthoc ;Contributors - Add your name here ;; ----------------- calc.asm - Minimal arithmetic calculator in x86 assembly ------------------- section .data FEW_ARGS: db "Too Few Arguments", 0xA INVALID_OPERATOR: db "Invalid Operator", 0xA INVALID_OPERAND: db "Invalid Operand", 0XA ...
stm32f0/stm32f072x/svd/stm32_svd-comp.ads
ekoeppen/STM32_Generic_Ada_Drivers
1
19451
<gh_stars>1-10 -- This spec has been automatically generated from STM32F072x.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with System; package STM32_SVD.COMP is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CSR_COMP1EN_Fie...
programs/oeis/063/A063158.asm
neoneye/loda
22
27449
; A063158: Dimension of the space of weight 2n cusp forms for Gamma_0( 90 ). ; 11,46,82,118,154,190,226,262,298,334,370,406,442,478,514,550,586,622,658,694,730,766,802,838,874,910,946,982,1018,1054,1090,1126,1162,1198,1234,1270,1306,1342,1378,1414,1450,1486,1522,1558,1594,1630,1666,1702 mul $0,36 trn $0,1 add $0,11
src/static/antlr4/grammars/Statements.g4
jlenoble/ecmascript-parser
0
3677
<filename>src/static/antlr4/grammars/Statements.g4<gh_stars>0 /* Source: ECMAScript® 2018 Language Specification - Annex A-3 */ // A.3 Statements grammar Statements; import BindingElement, BindingPattern, LexicalDeclaration, Declaration, TryStatement, WithStatement, LabelledStatement, SwitchStatement, ...
src/ada/src/afrl-impact-impactpointsearchtask-spark_boundary.ads
pat-rogers/OpenUxAS
0
5078
package afrl.impact.ImpactPointSearchTask.SPARK_Boundary with SPARK_Mode is pragma Annotate (GNATprove, Terminating, SPARK_Boundary); -- This wrapper is only introduced for termination function Get_SearchLocationID (X : ImpactPointSearchTask) return Int64; end afrl.impact.ImpactPointSearchTask.SPARK_Boundar...
programs/oeis/164/A164438.asm
jmorken/loda
1
26419
; A164438: Number of binary strings of length n with no substrings equal to 0000 0110 or 0111 ; 13,21,32,49,73,109,161,238,350,515,756,1110,1628,2388,3501,5133,7524,11029,16165,23693,34725,50894,74590,109319,160216,234810,344132,504352,739165,1083301,1587656,2326825,3410129,4997789,7324617,10734750,15732542,23057163,33...
src/main/antlr/YokohamaUnitLexer.g4
tkob/yokohamaunit
1
6764
<filename>src/main/antlr/YokohamaUnitLexer.g4 lexer grammar YokohamaUnitLexer; STAR_LBRACKET: '*[' [ \t]* -> mode(ABBREVIATION); HASHES: Hashes [ \t]* -> mode(UNTIL_EOL) ; TEST: Hashes [ \t]* 'Test:' [ \t]* -> mode(UNTIL_EOL); SETUP: Hashes [ \t]* 'Setup:' [ \t]* -> mode(UNTIL_EOL); EXERCISE: Hashes [ ...
calculator.g4
ashleyf1996/Calculator_grammar_code_2017
0
3052
/* Assignment 1: Grammar for a calculator Class: Programming languages Author: <NAME> Student ID: 2015118779 Date: 16/09/17 */ grammar calculator; start : declaration* assign*; declaration : 'var' ID (',' ID)* ':' TYPE ';'; assign: ID '=' expr ';' ; expr : term (('-'| '+') term)*; term : factor ...
oeis/122/A122932.asm
neoneye/loda-programs
11
81426
<reponame>neoneye/loda-programs ; A122932: a(n) = A000085(n) - A000079(n-1). ; Submitted by <NAME> ; 0,0,0,2,10,44,168,636,2364,8984,34672,138104,564408,2382288,10333152,46173968,211733776,997182752,4809439296,23758139808,119951644320,618882541760,3257839688320,17492182188992,95680426983360 add $0,1 mov $1,1 mov $2,1 ...
programs/oeis/198/A198395.asm
neoneye/loda
22
240625
; A198395: Ceiling(n*sqrt(17)). ; 0,5,9,13,17,21,25,29,33,38,42,46,50,54,58,62,66,71,75,79,83,87,91,95,99,104,108,112,116,120,124,128,132,137,141,145,149,153,157,161,165,170,174,178,182,186,190,194,198,203,207,211,215,219,223,227,231,236,240,244,248,252,256,260,264,269,273,277,281,285,289,293,297,301,306,310,314,318,32...
src/cobs-queue-encoder.adb
Fabien-Chouteau/COBS
0
7639
with BBqueue; use BBqueue; package body COBS.Queue.Encoder is procedure Ensure_Buffer (This : in out Instance; Success : out Boolean); procedure Set (This : in out Instance; Index : Storage_Offset; Data : Storage_Element) with ...
tests/src/multi_palette.adb
Fabien-Chouteau/GESTE
13
25011
<filename>tests/src/multi_palette.adb with GESTE; with GESTE.Sprite; with GESTE.Tile_Bank; with Ada.Text_IO; with Console_Char_Screen; procedure Multi_Palette is package Console_Screen is new Console_Char_Screen (Width => 16, Height => 16, Buffer_Size => 256, Init_Char => ' ');...
models/hol/sygus/integer_benchmarks/max-4.als
johnwickerson/alloystar
2
1174
<filename>models/hol/sygus/integer_benchmarks/max-4.als open max -------------------------------------------------------------------------------- -- Variables and Values -------------------------------------------------------------------------------- one sig X, Y, Z, U extends IntVar {} ------------------------------...
program.asm
zxYin/mips-pipeline-simulator
19
80208
# Load some data into memory addi $t0, $zero, 15 # $t0 = 0xF sw $t0, 0($zero) # Copy $t0 to memory[0] addi $t1, $zero, 240 # $t1 = 0xF0 sw $t1, 4($zero) # Copy $t1 to memory[4] # Do some calculations # memory[8] = 0xF0 * (0xF + 0xF0) add $t3, $t0, $t1 # $t3 = $t0 + $t1 lw $t4, 4($...
tests/typing/bad/testfile-params-3.adb
xuedong/mini-ada
0
21165
with Ada.Text_IO; use Ada.Text_IO; procedure Test is function F(A, A: integer) return integer is begin return 0; end; begin New_Line; end;
PocketCfg/PocketCfg.Res/Res.g4
dresswithpockets/pocketcfg
0
2131
grammar Res; translationUnit : (NEWLINE? (DIRECTIVE | object))*; objectList : (NEWLINE? object)*; name : IDENT | STRING_LITERAL; flagSpecifier : LBRACKET EXCL? FLAG RBRACKET; object : name flagSpecifier? objectBody; objectBody : STRING_LITERAL | (NEWLINE? LBRACE NEWLINE objectList NEWLINE RBRACE); fra...
src/armvx-m/agate-arch-armvx_m.adb
Fabien-Chouteau/AGATE
3
19382
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017-2020, <NAME> -- -- -- -- Redistrib...
Cubical/Data/Strict2Group/Explicit/ToXModule.agda
Schippmunk/cubical
0
15332
<gh_stars>0 {-# OPTIONS --cubical --safe #-} module Cubical.Data.Strict2Group.Explicit.ToXModule where open import Cubical.Foundations.Prelude hiding (comp) open import Cubical.Data.Group.Base open import Cubical.Data.XModule.Base open import Cubical.Data.Group.Action.Base open import Cubical.Data.Sigma open impor...
ZX-Spectrum/assembly/streams_01-09.asm
peroff/8-Bit-Tea-Party
13
81681
<filename>ZX-Spectrum/assembly/streams_01-09.asm ;WELCOME TO 8-BIT TEA PARTY! ; ;MAIN FILE FOR ASSEMBLER CODE ON STREAMS. ;WE USING PENTAGON-128K MODEL EMULATION. ; ;CPU: Zilog Z80, 3.5HhZ, 1976. ;RAM: 48Kb, 128Kb With more memory. ;ROM: 16Kb, base and more with 128Kb. ;SCREEN:256x192 monohrome pixels, ...
src/System/IO/Transducers/Bytes.agda
ilya-fiveisky/agda-system-io
10
4352
open import Coinduction using ( ♯_ ) open import Data.Bool using ( Bool ; true ; false ; not ) open import Data.ByteString using ( null ) renaming ( span to #span ) open import Data.Natural using ( Natural ) open import Data.Product using ( _×_ ; _,_ ) open import Data.Word using ( Byte ) open import System.IO.Transduc...
programs/oeis/003/A003151.asm
neoneye/loda
22
167474
; A003151: Beatty sequence for 1+sqrt(2); a(n) = floor(n*(1+sqrt(2))). ; 2,4,7,9,12,14,16,19,21,24,26,28,31,33,36,38,41,43,45,48,50,53,55,57,60,62,65,67,70,72,74,77,79,82,84,86,89,91,94,96,98,101,103,106,108,111,113,115,118,120,123,125,127,130,132,135,137,140,142,144,147,149,152,154,156,159,161,164,166,168,171,173,176,...
bb-runtimes/runtimes/ravenscar-sfp-stm32g474/gnarl/s-musplo.ads
JCGobbi/Nucleo-STM32G474RE
0
27043
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
src/hershey_fonts/giza-hershey_fonts.ads
Fabien-Chouteau/Giza
7
30469
<filename>src/hershey_fonts/giza-hershey_fonts.ads ------------------------------------------------------------------------------ -- -- -- Giza -- -- ...
u7bg/eop-produceItemLabelText.asm
JohnGlassmyer/UltimaHacks
68
28851
%include "include/u7bg-all-includes.asm" %macro callProduceItemDisplayName 0 push word [bp+var_itemFrame] push word [bp+var_itemQuantity] push word [bp+var_itemType] push word [bp+arg_pn_string] callFromOverlay produceItemDisplayName add sp, 8 %endmacro %include "../u7-common/patch-eop-produceItemLabelText.asm"...
test/Fail/Issue1499.agda
cruhland/agda
1,989
2186
<reponame>cruhland/agda -- 2015-05-05 Bad error message _=R_ : Rel → Rel → Set R =R S : (R ⊆ S) × (S ⊆ R) -- here is a typo, : instead of = ldom : Rel → Pred ldom R a = ∃ λ b → R a b -- More than one matching type signature for left hand side ldom R a -- it could belong to any of: ldom R
src/test/resources/data/generationtests/sjasmplus-test7-expected.asm
cpcitor/mdlz80optimizer
36
89185
; Test case for the repetition macro in sjasmplus (and also, adding a BASIC-style EOF character at the end of this file) N: equ 1 call f1 ; this should be repeated 4 times call f1 ; this should be repeated 4 times call f1 ; this should be repeated 4 times call f1 ; this should be repeated 4 times ...
_anim/obj1F.asm
vladjester2020/Sonic1TMR
0
21532
<gh_stars>0 ; --------------------------------------------------------------------------- ; Animation script - Crabmeat enemy ; --------------------------------------------------------------------------- dc.w byte_972A-Ani_obj1F, byte_972E-Ani_obj1F, byte_9732-Ani_obj1F dc.w byte_9736-Ani_obj1F, byte_973C-Ani_o...
misc/Parallel/Index.agda
yurrriq/parser-combinators
7
11621
<reponame>yurrriq/parser-combinators ------------------------------------------------------------------------ -- Indices ------------------------------------------------------------------------ module Parallel.Index where open import Data.Product.Record import Data.Product as Prod; open Prod using () renaming (_,_ to...
Samveen's example OS/seos/interpret.asm
samveen/teasers
0
245115
<filename>Samveen's example OS/seos/interpret.asm ; Code for the main command interpreter executable ; Copyright (c) 2003 onwards, <NAME> ; The SEOS executable format lacks a signature ; This is purely machine instructions and data jmp _main start_interpreter_byte db 0xFF ; this is the commands table ; it...
Transynther/x86/_processed/US/_ht_zr_un_/i9-9900K_12_0xa0_notsx.log_339_923.asm
ljhsiun2/medusa
9
99858
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %rax push %rbp push %rdx lea addresses_UC_ht+0x1bdd9, %r11 nop nop nop nop nop mfence mov (%r11), %rbp nop nop nop nop nop cmp $59435, %r12 lea addresses_D_ht+0xf899, %rax nop nop nop and $7805, %rdx mov (%rax), %r11w nop nop...
base/mvdm/dos/v86/doskrnl/bios/sysinit2.asm
npocmaka/Windows-Server-2003
17
170292
<reponame>npocmaka/Windows-Server-2003 page ,160 title bios system initialization ; ;---------------------------------------------------------------------------- ; ; Modification history ; ; 26-Feb-1991 sudeepb Ported for NT DOSEm ;----------------------------------------------------------------------------...
commands/media/apple-music/apple-music-volume-up.applescript
daviddzhou/script-commands
1
3517
<filename>commands/media/apple-music/apple-music-volume-up.applescript #!/usr/bin/osascript # Required parameters: # @raycast.schemaVersion 1 # @raycast.title Apple Music Volume Up # @raycast.mode silent # Optional parameters: # @raycast.icon images/apple-music-logo.png # Documentation: # @raycast.author <NAME> # @r...
RecursiveTypes/Subterm/RestrictedHypothesis.agda
nad/codata
1
6433
<gh_stars>1-10 ------------------------------------------------------------------------ -- Restricted hypotheses ------------------------------------------------------------------------ -- A restricted hypothesis is a hypothesis where both types are -- sub/terms/ of either one of two given types. open import Recursiv...
src/fltk-widgets-groups-windows-single-menu.adb
micahwelf/FLTK-Ada
1
13370
with Interfaces.C, System; use type System.Address, Interfaces.C.unsigned; package body FLTK.Widgets.Groups.Windows.Single.Menu is procedure menu_window_set_draw_hook (W, D : in System.Address); pragma Import (C, menu_window_set_draw_hook, "menu_window_set_draw_hook"); pr...
oeis/324/A324293.asm
neoneye/loda-programs
11
26581
<filename>oeis/324/A324293.asm ; A324293: a(n) = A002487(sigma(n)). ; Submitted by <NAME> ; 1,2,1,3,2,2,1,4,5,4,2,3,3,2,2,5,4,10,3,8,1,4,2,4,5,8,3,3,4,4,1,6,2,8,2,19,7,4,3,12,8,2,5,8,10,4,2,5,10,16,4,9,8,4,4,4,3,12,4,8,5,2,5,7,8,4,5,6,2,4,4,20,11,10,5,9,2,8,3,16,13,6,8,3,8,6,4,12,12,18,3,8,1,4,4,6,9,34,10,27 seq $0,20...
oeis/349/A349360.asm
neoneye/loda-programs
11
174242
<reponame>neoneye/loda-programs ; A349360: Number of positive integer pairs (s,t), with s,t <= n and s <= t such that either both s and t divide n or both do not. ; Submitted by <NAME> ; 1,3,4,7,9,13,18,20,27,31,48,42,69,65,76,81,123,99,156,126,163,181,234,172,259,263,286,274,381,289,438,372,445,475,506,423,633,605,640...
libsrc/_DEVELOPMENT/font/fzx/fonts/dkud3/SteAff/_ff_dkud3_SteAff.asm
meesokim/z88dk
0
83312
SECTION rodata_font_fzx PUBLIC _ff_dkud3_SteAff _ff_dkud3_SteAff: BINARY "font/fzx/fonts/dkud3/SteAff/ste-aff.fzx"
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_21829_1697.asm
ljhsiun2/medusa
9
17333
<filename>Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_21829_1697.asm .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %r15 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0x1ba59, %r9 nop nop nop sub $18327, %r15 mov $0x6162636465666768, %r11 movq...
test/Succeed/Issue2732-termination.agda
shlevy/agda
1,989
15212
-- Andreas, 2017-09-09, re issue #2732 -- eta-contraction needed in termination checker -- {-# OPTIONS -v term:30 #-} open import Agda.Builtin.Equality data O (A : Set) : Set where leaf : O A node : (A → O A) → O A postulate A : Set a : A test1 : (t u : O A) → O A test1 leaf leaf = leaf test1 leaf ...
AirMessage/AppleScript/AppleScriptSource/FaceTime/queryIncomingCall.applescript
ryanspecter/airmessage-server-next
23
3056
<filename>AirMessage/AppleScript/AppleScriptSource/FaceTime/queryIncomingCall.applescript --Checks Notification Center for incoming calls, and returns the caller's name tell application "System Events" --Wait for a notification call to appear if not (exists group 1 of UI element 1 of scroll area 1 of window 1 of appl...
stdlib-exts/Data/Vec/Exts.agda
WhatisRT/meta-cedille
35
8703
module Data.Vec.Exts where open import Data.Fin open import Data.Maybe open import Data.Nat open import Data.Vec using (Vec; []; _∷_) open import Relation.Nullary open import Relation.Unary open import Data.Vec.Relation.Unary.Any findIndex : {n : ℕ} {A : Set} {P : A -> Set} -> Decidable P -> Vec A n -> Maybe (Fin n) ...
src/cm_mainmenu_rng.asm
helgefmi/lttphack
28
18284
; RNG CONTROL {{{ cm_main_goto_rng_control: %cm_submenu("RNG control", cm_submenu_rng_control) cm_submenu_rng_control: dw cm_rng_drops dw cm_rng_pokey dw cm_rng_agahnim dw cm_rng_helmasaur dw cm_rng_ganon_warp dw cm_rng_ganon_warp_location dw cm_rng_eyegore dw cm_rng_arrghus dw cm_rng_turtles dw cm_rng_can...
oeis/168/A168463.asm
neoneye/loda-programs
11
14304
; A168463: a(n) = 5 + 11*floor(n/2). ; Submitted by <NAME> ; 5,16,16,27,27,38,38,49,49,60,60,71,71,82,82,93,93,104,104,115,115,126,126,137,137,148,148,159,159,170,170,181,181,192,192,203,203,214,214,225,225,236,236,247,247,258,258,269,269,280,280,291,291,302,302,313,313,324,324,335,335,346,346,357,357,368,368,379,379,3...
Z80/basic_usr_test/bak.asm
BleuLlama/LlamaVampireDrive
4
29520
<reponame>BleuLlama/LlamaVampireDrive<gh_stars>1-10 ; example code for a BASIC USR function TermStatus = 0x80 TermData = 0x81 DEINT = 0x0a07 ABPASS = 0x117D .module BASIC_USR .area .CODE (ABS) .org 0xF800 usr: ld a, r ld b, #0 call ABPASS ret call DEINT ld a, e cp #10 jr c, usr_00 ...
alloy4fun_models/trashltl/models/3/2YEPgmcbg9WPCs4Y4.als
Kaixi26/org.alloytools.alloy
0
3938
<gh_stars>0 open main pred id2YEPgmcbg9WPCs4Y4_prop4 { some f : File | eventually (f not in Trash and f in Trash') } pred __repair { id2YEPgmcbg9WPCs4Y4_prop4 } check __repair { id2YEPgmcbg9WPCs4Y4_prop4 <=> prop4o }
courses/fundamentals_of_ada/labs/prompts/090_overloading/main.adb
AdaCore/training_material
15
14745
with Ada.Text_IO; use Ada.Text_IO; procedure Main is --Conversion_Functions type Digit_T is range 0 .. 9; type Digit_Name_T is (Zero, One, Two, Three, Four, Five, Six, Seven, Eight, Nine); -- functions to convert between Digit_T, Digit_Name_T, and input values -- function Convert ( ? -- functi...
test/asset/agda-stdlib-1.0/Data/List/Any.agda
omega12345/agda-mode
0
15432
------------------------------------------------------------------------ -- The Agda standard library -- -- This module is DEPRECATED. Please use Data.List.Relation.Unary.Any -- directly. ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} module Data.List.Any w...
data/pokemon/dex_entries/kricketune.asm
AtmaBuster/pokeplat-gen2
6
241525
db "CRICKET@" ; species name db "By allowing its" next "cry to resonate in" next "the hollow of its" page "belly, it can" next "produce a" next "captivating sound.@"
experiments/test-suite/mutation-based/10/8/fsm.als
kaiyuanw/AlloyFLCore
1
1126
<filename>experiments/test-suite/mutation-based/10/8/fsm.als<gh_stars>1-10 pred test8 { some disj FSM0: FSM {some disj State0, State1, State2: State { FSM = FSM0 start = FSM0->State2 no stop State = State0 + State1 + State2 transition = State1->State1 + State2->State0 + State2->State1 }} } run test8 for 3 expect 0
tests/asm/16/disp.asm
ReneNyffenegger/udis86
710
11621
[bits 16] mov ax, [eax-0x10] add bx, [esi+0x10] add ax, [0xffff] add ax, [esi+edi*4-0x10] add ax, [bx+si-0x4877]
src/core0/test/loop_none.asm
uarc/nexys4-u0-32
0
87839
8 0 loop:+ 0 :+ # Align the program palign:0xC0,32
drivers/NVMSIM/test/bandwidth-1.9.3/routines-arm-rpi-32bit.asm
huqianshan/OperatingSystemAndCompiler
1
14689
<reponame>huqianshan/OperatingSystemAndCompiler @============================================================================ @ bandwidth, a benchmark to estimate memory transfer bandwidth. @ ARM assembly module. @ Copyright (C) 2010, 2016 by <NAME>. @ @ This program is free software; you can redistribute it and/or mod...
Project.asm
Ivan-Medvedev/Integrals_Counting
0
3863
<reponame>Ivan-Medvedev/Integrals_Counting ;%include "io.inc" section .bss x resq 1 section .data ln2 dq 0.69314718056 one dq 1.0 two dq 2.0 e dq 2.71828182845904523536 three dq 3.0 four dq 4.0 neight dq -8.0 section .rodata lf db "%lf", 0 section .text EXTERN p...
programs/oeis/134/A134498.asm
neoneye/loda
22
16916
<reponame>neoneye/loda ; A134498: a(n) = Fibonacci(7n). ; 0,13,377,10946,317811,9227465,267914296,7778742049,225851433717,6557470319842,190392490709135,5527939700884757,160500643816367088,4660046610375530309,135301852344706746049,3928413764606871165730 mul $0,7 seq $0,45 ; Fibonacci numbers: F(n) = F(n-1) + F(n-2) wit...
src/Constants.agda
nad/chi
2
17322
------------------------------------------------------------------------ -- Various constants ------------------------------------------------------------------------ open import Atom module Constants (atoms : χ-atoms) where open χ-atoms atoms c-zero : Const c-zero = C.name 0 c-suc : Const c-suc = C.name 1 c-nil ...
alloy4fun_models/trainstlt/models/7/Ai3YLCtZf8Ep83mpE.als
Kaixi26/org.alloytools.alloy
0
5330
<reponame>Kaixi26/org.alloytools.alloy open main pred idAi3YLCtZf8Ep83mpE_prop8 { always (all t:Train |( (some t.pos and some t.pos.signal and some t.pos.prox) and (t.pos.signal) in (Signal-Green) ) implies(some t.pos') since ((t.pos'.signal) in Green)) } pred __repair { idAi3YLCtZf8Ep83mpE_prop8 } check __repai...
sw/552tests/rand_simple/t_4_slbi.asm
JPShen-UWM/ThreadKraken
1
81501
<reponame>JPShen-UWM/ThreadKraken<gh_stars>1-10 // seed 4 lbi r0, 243 // icount 0 slbi r0, 155 // icount 1 lbi r1, 219 // icount 2 slbi r1, 103 // icount 3 lbi r2, 136 // icount 4 slbi r2, 74 // icount 5 lbi r3, 208 // icount 6 slbi r3, 2 // icount 7 lbi r4, 29 // icount 8 slbi r4, 135 // icount 9 lbi r5, 121 // icount...
3-mid/physics/interface/source/private/bullet/bullet_physics-shape.adb
charlie5/lace
20
2717
<filename>3-mid/physics/interface/source/private/bullet/bullet_physics-shape.adb with bullet_c.Binding, c_math_c.Vector_2, c_math_c.Vector_3, c_math_c.Conversion, c_math_c.Triangle, ada.unchecked_Deallocation, ada.Unchecked_Conversion, interfaces.C; package body bullet_Physic...
tools/parser/css-analysis-parser-parser.ads
stcarrez/ada-css
3
22253
package CSS.Analysis.Parser.Parser is error_count : Natural := 0; function Parse (Content : in String) return Integer; end CSS.Analysis.Parser.Parser;
generated/natools-static_maps-web-list_templates-commands.ads
faelys/natools-web
1
25510
package Natools.Static_Maps.Web.List_Templates.Commands is pragma Pure; function Hash (S : String) return Natural; end Natools.Static_Maps.Web.List_Templates.Commands;
programs/oeis/143/A143128.asm
jmorken/loda
1
99254
<reponame>jmorken/loda ; A143128: a(n) = Sum_{k=1..n} k*sigma(k). ; 1,7,19,47,77,149,205,325,442,622,754,1090,1272,1608,1968,2464,2770,3472,3852,4692,5364,6156,6708,8148,8923,10015,11095,12663,13533,15693,16685,18701,20285,22121,23801,27077,28483,30763,32947,36547,38269,42301,44193,47889,51399,54711,56967,62919,65712,7...
regtests/files/test-ada-1/src/test1.adb
stcarrez/resource-embedder
7
1422
<filename>regtests/files/test-ada-1/src/test1.adb<gh_stars>1-10 with Resources1; with Ada.Command_Line; with Ada.Text_IO; procedure Test1 is use Resources1; C : Content_Access := Get_Content ("main.html"); begin if C = null then Ada.Text_IO.Put_Line ("FAIL: No content 'main.html'"); Ada.Command_Li...
linked lists/linked list test.asm
IAmAnubhavSaini/blog-posts
0
89944
; Listing generated by Microsoft (R) Optimizing Compiler Version 17.00.60610.1 TITLE d:\source\blog posts\linked lists\linked list test.c .686P .XMM include listing.inc .model flat INCLUDELIB LIBCMT INCLUDELIB OLDNAMES _DATA SEGMENT $SG4315 DB 0aH, 'Found %d in list.', 00H ORG $+1 $SG4317 DB 0aH, 'Did not fin...
oeis/081/A081411.asm
neoneye/loda-programs
11
173134
; A081411: Partial product of prime gaps: a(n) = a(n-1)*(prime(n+1) - prime(n)). ; Submitted by <NAME> ; 1,2,4,16,32,128,256,1024,6144,12288,73728,294912,589824,2359296,14155776,84934656,169869312,1019215872,4076863488,8153726976,48922361856,195689447424,1174136684544,9393093476352,37572373905408,75144747810816,3005789...
src/lab-code/calendar_package/src/mycalendar.adb
hannesb0/rtpl18
0
1427
with Ada.Text_IO; use Ada.Text_IO; package body mycalendar is procedure makecal(w: in weekday; d: in daynum; m:in monthnum) is today_weekday: weekday := w; today_daynum: daynum := d; today_monthnum: monthnum := m; begin -- print cal Put_Line("Calendar for the next 30 days:"); for d in Integer range 1 .. 31...
oeis/124/A124758.asm
neoneye/loda-programs
11
245725
; A124758: Product of the parts of the compositions in standard order. ; Submitted by <NAME> ; 1,1,2,1,3,2,2,1,4,3,4,2,3,2,2,1,5,4,6,3,6,4,4,2,4,3,4,2,3,2,2,1,6,5,8,4,9,6,6,3,8,6,8,4,6,4,4,2,5,4,6,3,6,4,4,2,4,3,4,2,3,2,2,1,7,6,10,5,12,8,8,4,12,9,12,6,9,6,6,3,10,8,12,6,12,8,8,4,8,6,8,4,6,4,4,2,6,5,8,4 mov $1,10 lpb $0 ...
tools-src/gnu/gcc/gcc/ada/5vtpopde.ads
enfoTek/tomato.linksys.e2000.nvram-mod
80
15365
<reponame>enfoTek/tomato.linksys.e2000.nvram-mod<filename>tools-src/gnu/gcc/gcc/ada/5vtpopde.ads<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- GNU ADA RUN-TIME LIBRARY (GNARL...
programs/oeis/261/A261695.asm
neoneye/loda
22
15805
<reponame>neoneye/loda ; A261695: First differences of A256534. ; 0,4,12,12,36,12,36,60,84,12,36,60,84,108,132,156,180,12,36,60,84,108,132,156,180,204,228,252,276,300,324,348,372,12,36,60,84,108,132,156,180,204,228,252,276,300,324,348,372,396,420,444,468,492,516,540,564,588,612,636,660,684,708,732,756,12,36,60,84,108 ...
oeis/155/A155724.asm
neoneye/loda-programs
11
80821
<reponame>neoneye/loda-programs<filename>oeis/155/A155724.asm ; A155724: Triangle read by rows: T(m,n) = 2mn + m + n - 4. ; Submitted by <NAME> ; 0,3,8,6,13,20,9,18,27,36,12,23,34,45,56,15,28,41,54,67,80,18,33,48,63,78,93,108,21,38,55,72,89,106,123,140,24,43,62,81,100,119,138,157,176,27,48,69,90,111,132,153,174,195,216...
source/s-runcon.adb
ytomino/drake
33
23977
<reponame>ytomino/drake<gh_stars>10-100 package body System.Runtime_Context is pragma Suppress (All_Checks); -- I hope it will be zero-initialized... Environment_Task_Local_Storage : aliased Task_Local_Storage; -- implementation function Get_Environment_Task_Local_Storage return not null Task_...
modular_hashing-sha512.ads
annexi-strayline/ASAP-Modular_Hashing
0
13103
------------------------------------------------------------------------------ -- -- -- Modular Hash Infrastructure -- -- -- -- ...
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc3017c.ada
best08618/asylo
7
9828
-- CC3017C.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...
libsrc/graphics/osca/swapgfxbk.asm
jpoikela/z88dk
640
177693
<filename>libsrc/graphics/osca/swapgfxbk.asm ; ; Z88 Graphics Functions - Small C+ stubs ; ; Written around the Interlogic Standard Library ; ; Stubs Written by <NAME> - 15/10/98 ; ; ; Page the graphics bank in/out - used by all gfx functions ; Simply does a swap... ; ; ; Stefano - S...
programs/oeis/039/A039267.asm
neoneye/loda
22
174264
; A039267: Numbers whose base-12 representation has the same number of 7's and 10's. ; 0,1,2,3,4,5,6,8,9,11,12,13,14,15,16,17,18,20,21,23,24,25,26,27,28,29,30,32,33,35,36,37,38,39,40,41,42,44,45,47,48,49,50,51,52,53,54,56,57,59,60,61,62,63,64,65,66,68,69,71,72,73,74,75,76,77,78,80,81,83 add $0,1 seq $0,39218 ; Numbers...
maps/MountMortar1FInside.asm
Dev727/ancientplatinum
28
176028
<reponame>Dev727/ancientplatinum object_const_def ; object_event constants const MOUNTMORTAR1FINSIDE_BOULDER const MOUNTMORTAR1FINSIDE_POKE_BALL1 const MOUNTMORTAR1FINSIDE_POKE_BALL2 const MOUNTMORTAR1FINSIDE_POKE_BALL3 const MOUNTMORTAR1FINSIDE_POKE_BALL4 const MOUNTMORTAR1FINSIDE_POKE_BALL5 const MOUNTMORTAR1...
test/Succeed/Issue2117.agda
shlevy/agda
1,989
8209
-- Andreas, 2016-07-27, issue #2117 reported by <NAME> -- {-# OPTIONS -v tc:10 #-} record R : Set₁ where field A : Set open R {{...}} record S (r : R) : Set where instance i = r field f : A -- ERROR WAS: -- No instance of type R was found in scope. -- when checking that the expression A has type Set -- ...
permissionsex-core/src/main/antlr4/ninja/leaping/permissionsex/util/glob/parser/GlobParser.g4
GhostRealms/PermissionsEx
1
6929
<reponame>GhostRealms/PermissionsEx<gh_stars>1-10 parser grammar GlobParser; options { tokenVocab = GlobLexer; } rootGlob: glob EOF; glob: element+; literal: CHARACTER+; or: OR_START glob (OR_SEPARATOR glob)* OR_END; element: or | literal;
src/loggers/adabase-logger-base-file.ads
jrmarino/AdaBase
30
15211
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../../License.txt package AdaBase.Logger.Base.File is type File_Logger is new Base_Logger and AIL.iLogger with private; type File_Logger_access is access all File_Logger; overriding procedure reaction (listener : Fi...
oeis/158/A158677.asm
neoneye/loda-programs
11
80037
; A158677: Period 6: repeat [3, 4, 0, 5, 6, 3]. ; Submitted by <NAME> ; 3,4,0,5,6,3,3,4,0,5,6,3,3,4,0,5,6,3,3,4,0,5,6,3,3,4,0,5,6,3,3,4,0,5,6,3,3,4,0,5,6,3,3,4,0,5,6,3,3,4,0,5,6,3,3,4,0,5,6,3,3,4,0,5,6,3,3,4,0,5,6,3,3,4,0,5,6,3,3,4,0,5,6,3,3,4,0,5,6,3,3,4,0,5,6,3,3,4,0,5 mod $0,6 lpb $0 mov $2,$0 mod $0,2 seq $2...
Task/Happy-numbers/Ada/happy-numbers.ada
LaudateCorpus1/RosettaCodeData
1
5268
<reponame>LaudateCorpus1/RosettaCodeData with Ada.Text_IO; use Ada.Text_IO; with Ada.Containers.Ordered_Sets; procedure Test_Happy_Digits is function Is_Happy (N : Positive) return Boolean is package Sets_Of_Positive is new Ada.Containers.Ordered_Sets (Positive); use Sets_Of_Positive; function Ne...