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
compiler/ProjectQ.g4
czhao39/xacc-projectq
1
7609
<reponame>czhao39/xacc-projectq<gh_stars>1-10 /*********************************************************************************** * Copyright (c) 2018, UT-Battelle * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followin...
rot13.asm
Ciremun/practice
1
24501
global main extern malloc, puts, exit rot13: push r13 push r12 push rbp push rbx sub rsp, 8 cmp BYTE [rdi], 0 je .malloc_str mov rbx, rdi mov eax, 1 .strlen: mov edi, eax lea ebp, [rax-1] ...
oeis/165/A165829.asm
neoneye/loda-programs
11
241786
<reponame>neoneye/loda-programs ; A165829: Totally multiplicative sequence with a(p) = 8. ; Submitted by <NAME> ; 1,8,8,64,8,64,8,512,64,64,8,512,8,64,64,4096,8,512,8,512,64,64,8,4096,64,64,512,512,8,512,8,32768,64,64,64,4096,8,64,64,4096,8,512,8,512,512,64,8,32768,64,512,64,512,8,4096,64,4096,64,64,8,4096,8,64,512,262...
zfp-gba/gnat_user/s-allare.adb
98devin/ada-gba-dev
7
19591
<filename>zfp-gba/gnat_user/s-allare.adb<gh_stars>1-10 -- Copyright (c) 2021 <NAME> -- zlib License -- see LICENSE for details. with System.Parameters; package body System.Allocation.Arenas is use SSE; use all type System.Parameters.Size_Type; procedure Allocate (Pool : in out Heap_Arena...
programs/oeis/132/A132369.asm
neoneye/loda
22
165001
; A132369: PrimePi(n)!. ; 1,1,2,2,6,6,24,24,24,24,120,120,720,720,720,720,5040,5040,40320,40320,40320,40320,362880,362880,362880,362880,362880,362880,3628800,3628800,39916800,39916800,39916800,39916800,39916800,39916800,479001600 add $0,1 seq $0,230980 ; Number of primes <= n, starting at n=0. seq $0,142 ; Factorial n...
unittests/ASM/TwoByte/0F_0E.asm
cobalt2727/FEX
628
26279
%ifdef CONFIG { "RegData": { }, "MemoryRegions": { "0x100000000": "4096" } } %endif femms ; Just ensure it runs hlt
test/src/yaml-dumping_tests-suite.adb
robdaemon/AdaYaml
32
21734
<filename>test/src/yaml-dumping_tests-suite.adb -- part of AdaYaml, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "copying.txt" with Yaml.Dom.Dumping.Test; package body Yaml.Dumping_Tests.Suite is Result : aliased AUnit.Test_Suites.Test_Suite; Dom_Dumping_TC : aliased Dom.Dumpin...
libsrc/cpc/cpc_GetScrAddress_callee.asm
jpoikela/z88dk
640
160772
; ; Amstrad CPC library ; ****************************************************** ; ** Librería de rutinas para Amstrad CPC ** ; ** <NAME>, Artaburu 2009 ** ; ****************************************************** ; ; cpc_GetScrAddress(int x, int y) __smallc ; ; ; $Id: cpc_GetScrA...
src/main/java/org/q2p0/jw4a/parser/jw4a.g4
q2p0/jw4a
5
2709
grammar jw4a; //@header { // TODO: 4 Future usage //} definitions: description+; description: entity BRACKET_OPEN method* BRACKET_CLOSE; method: ( entity | PRIMITIVE_TYPE | VOID ) ID PARENTHESIS_OPEN parameter* PARENTHESIS_CLOSE; parameter: ( entity | PRIMITIVE_TYPE ) ID; entity: package_expr ID; package_expr...
test/Succeed/Squash.agda
cruhland/agda
1,989
6570
module Squash where data _==_ {A : Set}(a : A) : A -> Set where refl : a == a data Wrap (A : Set) : Set where wrap : A -> Wrap A data Squash (A : Set) : Set where squash : .A -> Squash A postulate A : Set a1 a2 : A irr : squash a1 == squash a2 irr = refl
source_cpc/Source/EG_Sprites_Laser.asm
kieranhj/edge-beeb
0
14592
<reponame>kieranhj/edge-beeb .LaserFrame0 ; defb 0,0,0,0,0,0,0,0,0,0,0,0 ; ld e,(ix+0) ; inc ixl ; ld d,(ix+0) ; inc ixl ; defb 0,0,0,0,64,0,44,0,44,0,8,0 ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3...
rts/gcc-9/adainclude/a-cgcaso.ads
letsbyteit/build-avr-ada-toolchain
7
30350
<filename>rts/gcc-9/adainclude/a-cgcaso.ads ------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- ...
testsuite/tests/virtual_file_system/src/tc_nested_mount.adb
morbos/Ada_Drivers_Library
2
16186
<filename>testsuite/tests/virtual_file_system/src/tc_nested_mount.adb with Ada.Text_IO; use Ada.Text_IO; with Native.Filesystem; use Native.Filesystem; with Virtual_File_System; use Virtual_File_System; with Helpers; use Helpers; procedure TC_Nested_Mount is Strict_Mode : constant Boolean := False; -- Debug...
LAB1/LAB1_2_2.asm
m4hi2/microprocessor-lab-codes
0
7856
;LAB_1 ;PROBLEM 2: WRITE A 8086 ASSEMBLY PROGRAM TO CHANGE THE CASE OF ;A UPPER CASE LETTER TO LOWER CASE .MODEL SMALL .STACK 100H .DATA MSG1 DB 'ENTER A UPPER CASE LETTER: $' MSG2 DB 0DH, 0AH, 'IN LOWER CASE THE LETTER IS: ' CHAR DB ?, '$' .CODE MAIN PROC ;INITIALIZE DATA SEGMENT MOV AX, @DATA ;GET DATA ...
source/strings/a-suwsfu.ads
ytomino/drake
33
14650
<filename>source/strings/a-suwsfu.ads pragma License (Unrestricted); -- extended unit with Ada.Strings.Generic_Unbounded.Generic_Functions; with Ada.Strings.Wide_Functions; package Ada.Strings.Unbounded_Wide_Strings.Functions is new Generic_Functions (Wide_Functions); pragma Preelaborate (Ada.Strings.Unbounded_Wide...
chapter7/improve/lib/kernel/print.asm
liulinboyi/os
6
24381
<reponame>liulinboyi/os ; 内核打印功能实现 TI_GDT equ 0 RPL0 equ 0 SELECTOR_VIDEO equ (0x0003 << 3) + TI_GDT + RPL0 section .data put_int_buffer dd 0, 0 [bits 32] section .text ; put_char,将栈中的一个字符写入光标所在处 global put_char global put_str global put_int put_int: pushad mov ebp, esp mov eax, [ebp + 4 * 9] mov edx...
io.asm
maikmerten/tinyload
5
164552
<filename>io.asm IOBASE = $FFD1 ; register to read/write data from ACIA IOSTATUS = $FFD0 ; location of status register IOCMD = $FFD0 ; location of command register IOCMD_INIT = $15; ; init value for ACIA IOSTATUS_RXFULL = $01; IOSTATUS_TXEMPTY = $02; SDDATA = $FFD8 SDSTATUS = $FFD9 SDCONTROL = $FFD9 SDLBA0 = $FFD...
libsrc/msx/gen_vwrite_direct.asm
Toysoft/z88dk
0
173827
<reponame>Toysoft/z88dk<filename>libsrc/msx/gen_vwrite_direct.asm ; ; z88dk library: Generic VDP support code ; ; extern void msx_vwrite_direct(void *source, u_int dest, u_int count) ; ; Transfer count bytes from RAM (current memory page) to VRAM ; ; $Id: gen_vwrite_direct.asm,v 1.3 2016-06-16 19:30:25 dom Exp $ ; ...
src/misc/Rejuvenation_Lib_Generator/src/generator-match_pattern_specific.adb
Fabien-Chouteau/Renaissance-Ada
0
9079
with Ada.Strings; use Ada.Strings; with Ada.Strings.Fixed; use Ada.Strings.Fixed; with Ada.Text_IO; use Ada.Text_IO; with Libadalang.Analysis; use Libadalang.Analysis; with Libadalang.Common; use Libadalang.Common; with Rejuvenation.Finder; with Rejuvenat...
Projetos/F-Assembly/src/nasm/mod.nasm
gabrielvf1/Z01---Grupo-H
0
13758
leaw $R1,%A movw (%A),%D leaw $R3,%A movw %D,(%A) ;valor R0 salvo em R3. leaw $R2,%A movw (%A),%D ; d com valor de R1 leaw $R4,%A movw %D,(%A) ; R1 em R4 while1: leaw $R3, %A movw (%A),%D leaw $R4, %A subw %D,(%A),%S leaw $R3,%A movw %S,(%A) leaw $R5,%A movw (%A),%D incw %D leaw $R5,%A movw %D,(%A) leaw $R...
src/camera/pixy/src/misc/gcc/m0/Release/exec_m0.asm
wowHollis/SmartCart
0
84149
<filename>src/camera/pixy/src/misc/gcc/m0/Release/exec_m0.asm<gh_stars>0 1 .syntax unified 2 .cpu cortex-m0 3 .fpu softvfp 4 .eabi_attribute 20, 1 5 .eabi_attribute 21, 1 6 .eabi_attribute 23, 3 7 ...
input_tests.asm
jwestfall69/ddragon-diag
0
176607
<reponame>jwestfall69/ddragon-diag<gh_stars>0 include "ddragon.inc" include "ddragon_diag.inc" include "error_codes.inc" include "macros.inc" global manual_input_tests global STR_INPUT_TESTS section text g_start_b_pressed equ g_local_vars_start g_vblank_pulses equ g_local_vars_start+1 manual_input_tests: ...
programs/oeis/077/A077648.asm
neoneye/loda
22
84187
; A077648: Initial digits of prime numbers. ; 2,3,5,7,1,1,1,1,2,2,3,3,4,4,4,5,5,6,6,7,7,7,8,8,9,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5 seq $0,40 ; The prime numbers. mov $1,$0 lpb $1 div $0,10 sub $1,$0 l...
Cubical/HITs/Truncation/Properties.agda
borsiemir/cubical
0
1427
{-# OPTIONS --cubical --safe #-} module Cubical.HITs.Truncation.Properties where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Function open import Cubical.Foundations.Equiv open import Cubical.Foundations.Isomorphism open import Cubical.Foundations.HLevels open import Cubical.Foundations.Pat...
libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sccz80/inv.asm
jpoikela/z88dk
0
166059
<reponame>jpoikela/z88dk<filename>libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sccz80/inv.asm SECTION code_fp_math32 PUBLIC inv EXTERN cm32_sccz80_fsinv defc inv = cm32_sccz80_fsinv ; SDCC bridge for Classic IF __CLASSIC PUBLIC _inv defc _inv = inv ENDIF
oeis/028/A028362.asm
neoneye/loda-programs
11
89984
<reponame>neoneye/loda-programs<filename>oeis/028/A028362.asm ; A028362: Total number of self-dual binary codes of length 2n. Totally isotropic spaces of index n in symplectic geometry of dimension 2n. ; Submitted by <NAME> ; 1,3,15,135,2295,75735,4922775,635037975,163204759575,83724041661975,85817142703524375,17583932...
tools-src/gnu/gcc/gcc/ada/gnatlink.adb
enfoTek/tomato.linksys.e2000.nvram-mod
80
18102
<filename>tools-src/gnu/gcc/gcc/ada/gnatlink.adb ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
programs/oeis/278/A278481.asm
neoneye/loda
22
22389
; A278481: Number of neighbors of the n-th term in a full isosceles triangle read by rows. ; 2,4,4,4,6,4,4,6,6,4,4,6,6,6,4,4,6,6,6,6,4,4,6,6,6,6,6,4,4,6,6,6,6,6,6,4,4,6,6,6,6,6,6,6,4,4,6,6,6,6,6,6,6,6,4,4,6,6,6,6,6,6,6,6,6,4,4,6,6,6,6,6,6,6,6,6,6,4,4,6,6,6,6,6,6,6,6,6,6,6,4 mov $1,$0 lpb $0 mov $0,2 lpe seq $1,7318 ...
examples/outdated-and-incorrect/Termination/comb.agda
shlevy/agda
1,989
13611
module comb where infixr 50 _⟶_ data Ty : Set where ι : Ty _⟶_ : Ty -> Ty -> Ty data Tm : Ty -> Set where K : {σ τ : Ty} -> Tm (σ ⟶ τ ⟶ σ) S : {σ τ ρ : Ty} -> Tm ((σ ⟶ τ ⟶ ρ) ⟶ (σ ⟶ τ) ⟶ σ ⟶ ρ) _$_ : {σ τ : Ty} -> Tm (σ ⟶ τ) -> Tm σ -> Tm τ data Nf : Ty -> Set where Kⁿ : {σ τ : Ty} -> Nf (σ ⟶ τ ⟶ σ) K...
src/main/antlr4/imports/Items.g4
Yucukof/edu-antlr4-toy-parser-to-nbc
0
316
lexer grammar Items; MAP: 'map'|'MAP'; RADAR: 'radar'|'RADAR'; RADIO: 'radio'|'RADIO'; FRUITS: 'fruits'|'FRUITS'; SODA: 'soda'|'SODA'; AMMO: 'ammo'|'AMMO'; GRAAL: 'graal'|'GRAAL'; DIRT: 'dirt'|'DIRT'; ROCK: 'rock'|'ROCK'; VINES: 'vines'|'VINES'; ZOMBIE: 'zombie'|'ZOMBIE'; PLAYER: 'player'|'PLAYER'; ENNEMI: 'ennemi'|...
oeis/028/A028004.asm
neoneye/loda-programs
11
82457
; A028004: Expansion of 1/((1-2x)(1-6x)(1-11x)(1-12x)). ; Submitted by <NAME> ; 1,31,633,10787,166481,2416827,33681481,456072739,6046236801,78876961163,1016157547769,12960408919731,163959874019761,2060322716086939,25744836645629097,320169349603453763 mov $1,1 mov $2,$0 mov $3,$0 lpb $2 mov $0,$3 sub $2,1 sub $0,...
inst/scripts/list-master-slides.applescript
gaborcsardi/keynote
27
3333
on run argv set out to "[" tell document id (item 1 of argv) of application "Keynote" set nms to name of every master slide repeat with i from 1 to the count of nms set rec to "{" & ¬ "\"name\": \"" & item i of nms & "\"" & ¬ "}" if i > 1 ...
programs/oeis/005/A005183.asm
neoneye/loda
22
16257
; A005183: a(n) = n*2^(n-1) + 1. ; 1,2,5,13,33,81,193,449,1025,2305,5121,11265,24577,53249,114689,245761,524289,1114113,2359297,4980737,10485761,22020097,46137345,96468993,201326593,419430401,872415233,1811939329,3758096385,7784628225,16106127361,33285996545,68719476737,141733920769,292057776129,601295421441,1236950581...
Numeral/Finite/Conversions.agda
Lolirofle/stuff-in-agda
6
1987
module Numeral.Finite.Conversions where import Lvl open import Data using (Empty ; Unit ; <>) open import Data.Boolean using (Bool ; 𝐹 ; 𝑇) open import Data.Tuple using (_,_) open import Logic.Propositional using (_↔_) open import Numeral.Finite open import Numeral.Natural open import Syntax.Number private var...
Cubical/Data/Int/Properties.agda
ecavallo/cubical
0
4204
<reponame>ecavallo/cubical {-# OPTIONS --safe #-} module Cubical.Data.Int.Properties where open import Cubical.Core.Everything open import Cubical.Foundations.Prelude open import Cubical.Foundations.Equiv open import Cubical.Foundations.Transport open import Cubical.Foundations.HLevels open import Cubical.Foundations...
src/ado-sessions-factory.ads
Letractively/ada-ado
0
5371
----------------------------------------------------------------------- -- factory -- Session Factory -- Copyright (C) 2009, 2010, 2011, 2012 <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 Licens...
src/security-oauth-clients.ads
Letractively/ada-security
0
22322
----------------------------------------------------------------------- -- security-oauth -- OAuth Security -- Copyright (C) 2012, 2013 <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. -- ...
src/rand.asm
howprice/specnext-invaders
17
12802
; ; Ion pseudo random number generator ; 123 T-states ; A <- random number in range [0,255] ; Modifies: AF ; ; See https://wikiti.brandonw.net/index.php?title=Z80_Routines:Math:Random#Ion_Random ; ; TODO: Optimise this by pre-calulating a 256 array of random numbers and just iterating through CalcRandomByte: ...
test/succeed/Test1.agda
UlrikBuchholtz/HoTT-Agda
1
1012
<filename>test/succeed/Test1.agda {-# OPTIONS --without-K #-} open import lib.Base module test.succeed.Test1 where module _ where private data #I : Type₀ where #zero : #I #one : #I I : Type₀ I = #I zero : I zero = #zero one : I one = #one postulate seg : zero == one absurd :...
Parametric/Change/Correctness.agda
inc-lc/ilc-agda
10
6509
------------------------------------------------------------------------ -- INCREMENTAL λ-CALCULUS -- -- Correctness of differentiation (Lemma 3.10 and Theorem 3.11). ------------------------------------------------------------------------ import Parametric.Syntax.Type as Type import Parametric.Syntax.Term as Term imp...
oeis/339/A339051.asm
neoneye/loda-programs
11
178981
<filename>oeis/339/A339051.asm ; A339051: Even bisection of the infinite Fibonacci word A096270. ; Submitted by <NAME> ; 0,0,1,1,1,0,1,1,1,0,0,1,1,0,0,1,1,0,0,1,1,1,0,1,1,1,0,0,1,1,0,0,1,1,0,0,1,1,1,0,1,1,1,0,1,1,1,0,0,1,1,0,0,1,1,1,0,1,1,1,0,1,1,1,0,0,1,1,0,0,1,1,1,0,1,1,1,0,1,1,1,0,0,1,1,0 add $0,1 trn $0,2 mul $0,2...
src/lumen-image.ads
darkestkhan/lumen
8
18234
-- Lumen.Image -- Load and save image data -- -- <NAME>, NiEstu, Phoenix AZ, Spring 2010 -- This code is covered by the ISC License: -- -- Copyright © 2010, NiEstu -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that the above -...
programs/oeis/280/A280193.asm
neoneye/loda
22
161937
<filename>programs/oeis/280/A280193.asm ; A280193: a(2*n) = 2, a(2*n + 1) = -1, a(0) = 1. ; 1,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-...
src/asm/esxDOS.asm
Threetwosevensixseven/espupdate
8
169249
<reponame>Threetwosevensixseven/espupdate<filename>src/asm/esxDOS.asm ; esxDOS.asm ; Copyright 2020 <NAME> ; ; Licensed under the Apache License, Version 2.0 (the "License"); ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apache.org/lice...
Transynther/x86/_processed/AVXALIGN/_st_sm_/i9-9900K_12_0xa0_notsx.log_21829_1387.asm
ljhsiun2/medusa
9
98022
<reponame>ljhsiun2/medusa<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r13 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x1e47c, %rsi lea addresses_A_ht+0x605c, %rdi inc %r13 mov $44, %rcx rep movsl inc %rbp lea addresses_UC_ht+0x1de02, %r9 clflush (%r9) nop and %rd...
SLAE_assignments/assignment6/execve_poly.nasm
RomainLanglois/SLAE_x86
0
168419
<gh_stars>0 ;Shellcode size: 33 bytes global _start _start: xor eax, eax ;Initialize eax to NULL push eax ;Push a NULL Byte on the stack mov edx, 0xb6de91c0 ;Move 0xb6de91c0 into edx xor edx, 0xdeadbeef ;Xor 0xb6de91c0 with 0xdeadbeef push edx ...
src/fot/FOTC/Data/List/Consistency/Axioms.agda
asr/fotc
11
648
------------------------------------------------------------------------------ -- Test the consistency of FOTC.Data.List ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymor...
libtool/src/gmp-6.1.2/mpn/powerpc32/750/lshift.asm
kroggen/aergo
1,602
18788
<reponame>kroggen/aergo dnl PowerPC 750 mpn_lshift -- mpn left shift. dnl Copyright 2002, 2003 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or modify dnl it under the terms of either: dnl dnl * the GNU Less...
pwnlib/shellcraft/templates/arm/linux/ptrace.asm
IMULMUL/python3-pwntools
325
28813
<reponame>IMULMUL/python3-pwntools <% from pwnlib.shellcraft.arm.linux import syscall %> <%page args="request, vararg"/> <%docstring> Invokes the syscall ptrace. See 'man 2 ptrace' for more information. Arguments: request(ptrace_request): request vararg(int): vararg </%docstring> ${syscall('SYS_ptrac...
gfx/tilesets/viridian_forest_palette_map.asm
Ebernacher90/pokecrystal-allworld
0
242215
tilepal 0, BROWN, BROWN, WATER, WATER, GREEN, GREEN, GREEN, GREEN tilepal 0, WATER, WATER, BROWN, BROWN, WATER, WATER, BROWN, GREEN tilepal 0, RED, RED, WATER, WATER, GREEN, GREEN, GREEN, GREEN tilepal 0, WATER, WATER, BROWN, BROWN, WATER, GREEN, GREEN, GREEN tilepal 0, WATER, RED, RED, WATER, GREEN, GREEN, GREEN,...
src/tests/display_norx_traces.adb
jhumphry/SPARK_NORX
9
18720
<filename>src/tests/display_norx_traces.adb -- Display_NORX_Traces -- A utility to display traces of the encryption process for the test vectors -- suggested in Appendix A of the NORX specification -- Copyright (c) 2016, <NAME> - see LICENSE file for details with Ada.Text_IO; use Ada.Text_IO; with System.Storage_Elem...
src/backends/output_backend.ads
kqr/qweyboard
33
26200
private with Logging; package Output_Backend is task Output is entry Ready_Wait; entry Enter (Text : Wide_Wide_String; Continues_Word : Boolean); entry Erase (Amount : Positive); entry Shut_Down; end Output; private use Logging; end Output_Backend;
src/firmware/Platform/Arithmetic32/Divide.asm
pete-restall/Cluck2Sesame-Prototype
1
175203
<filename>src/firmware/Platform/Arithmetic32/Divide.asm<gh_stars>1-10 #include "Platform.inc" #include "GeneralPurposeRegisters.inc" radix decimal Arithmetic32 code global div32x16 div32x16: .safelySetBankFor RBC movf RBC, W iorwf RBD, W btfsc STATUS, Z goto divideByZero call setCarryIfDividendMostSignifi...
src/windows/xdg-defaults.ads
darkestkhan/xdg
2
24517
<reponame>darkestkhan/xdg<gh_stars>1-10 ------------------------------------------------------------------------------ -- EMAIL: <<EMAIL>> -- -- License: ISC License (see COPYING file) -- -- ...
Build/Interpreters/beebOzmoo/asm/disk.asm
polluks/Puddle-BuildTools
38
87720
<gh_stars>10-100 first_unavailable_save_slot_charcode !byte 0 current_disks !byte $ff, $ff, $ff, $ff boot_device !byte 0 ask_for_save_device !byte $ff !ifndef VMEM { disk_info !byte 0, 0, 1 ; Interleave, save slots, # of disks !byte 8, 8, 0, 0, 0, 130, 131, 0 } else { device_map !byte 0,0,0,0 nonstored_blocks !...
src/kernel/arch/x86/irq-stubs.asm
narke/Aragveli
4
165785
<reponame>narke/Aragveli ; Copyright (c) 2017, 2020 <NAME>. ; All rights reserved. ; Use of this source code is governed by a MIT license that can be ; found in the LICENSE file. ; Interrupt Requests (IRQs) section .text ; The address of the table of handlers (defined in irq.c) [extern x86_irq_handler_array] ; The ...
source/soundengine.asm
tragicmuffin/untitledarpg-nes
0
175820
<reponame>tragicmuffin/untitledarpg-nes ;;;; Sound Engine ;;;; ;; Based on Nerdy Nights Sound tutorial (http://nintendoage.com/forum/messageview.cfm?catid=22&threadid=23452) ; Sound is organized into 6 streams, including 4 dedicated music streams, and two SFX streams. ; Music/SFX streams are listed by priority. ; Strea...
programs/oeis/017/A017520.asm
neoneye/loda
22
82439
; A017520: a(n) = (11*n + 10)^12. ; 1000000000000,7355827511386641,1152921504606846976,39959630797262576401,614787626176508399616,5688009063105712890625,37133262473195501387776,188031682201497672618081,784716723734800033386496,2812664781782894485727281,8916100448256000000000000,25542038069936263923006961,67214060505664...
registrar-registration.adb
annexi-strayline/AURA
13
8049
<reponame>annexi-strayline/AURA<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE ...
Swapping Numbers/swapNums.asm
KyleErwin/Assembly
0
100384
segment .data fmt db "The correct order is %.2f, %.2f, %.2f", 0xa, 0 segment .text global swapNums extern printf ;An assembly function to ; 1. Accept references to 3 foating point inputs. ; 2. The method must rearrange the numbers from smallest to largest. ;And is called by a c program swapNum...
oeis/017/A017738.asm
neoneye/loda-programs
11
19813
<reponame>neoneye/loda-programs<filename>oeis/017/A017738.asm ; A017738: Binomial coefficients C(n,74). ; 1,75,2850,73150,1426425,22537515,300500200,3477216600,35641470150,328693558050,2761025887620,21335200040700,152902266958350,1023269017336650,6431976680401800,38163061637050680,214667221708410075,1149101010321489225...
libsrc/_DEVELOPMENT/stdio/z80/input_helpers/__stdio_scanf_sm_format.asm
jpoikela/z88dk
640
240788
<filename>libsrc/_DEVELOPMENT/stdio/z80/input_helpers/__stdio_scanf_sm_format.asm SECTION code_clib SECTION code_stdio PUBLIC __stdio_scanf_sm_format PUBLIC __stdio_scanf_sm_format_pct EXTERN asm_isspace, asm_strstrip __stdio_scanf_sm_format: ; FORMAT STRING STATE MACHINE ; match stream chars against format ...
alloy4fun_models/trainstlt/models/1/y7ZtAGLfWdWZAjpaB.als
Kaixi26/org.alloytools.alloy
0
5179
<reponame>Kaixi26/org.alloytools.alloy open main pred idy7ZtAGLfWdWZAjpaB_prop2 { always all s : Signal | eventually s in Green } pred __repair { idy7ZtAGLfWdWZAjpaB_prop2 } check __repair { idy7ZtAGLfWdWZAjpaB_prop2 <=> prop2o }
programs/oeis/229/A229093.asm
neoneye/loda
22
92881
; A229093: The clubs patterns appearing in n X n coins. ; 0,0,1,2,4,6,9,12,17,22,27,34,41,48,57,66,75,86,97,108,121,134,147,162,177,192,209,226,243,262,281,300,321,342,363,386,409,432,457,482,507,534,561,588,617,646,675,706,737,768,801,834,867,902,937,972,1009,1046,1083,1122,1161,1200,1241,1282,1323,1366,1409,1452,1497...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/in_out_parameter.adb
best08618/asylo
7
20657
-- { dg-do run } with Ada.Streams.Stream_IO; procedure In_Out_Parameter is use Ada.Streams; use Stream_IO; File : Stream_IO.File_Type; type Bitmap is array (Natural range <>) of Boolean; for Bitmap'Component_Size use 1; type Message is record B : Bitmap (0 .. 14); end record; for Mes...
src/macros.asm
YuYen/mips_2048
3
89740
<reponame>YuYen/mips_2048<filename>src/macros.asm<gh_stars>1-10 # make sound based on the current maximum .macro MAKE_SOUND(%val) li $a0, 0 move $a1, %val beq $a1, $zero, MAKE_SOUND_return MAKE_SOUND_loopx: srl $a1, $a1, 1 addi $a0, $a0, 1 and $a2, $a1, 1 bne $a2, 1, MAKE_SOUND_loopx MAKE_SOUND_return: ...
src/commands/makestem.adb
lenzomj/whitakers-words
204
3363
<filename>src/commands/makestem.adb -- WORDS, a Latin dictionary, by <NAME> (USAF, Retired) -- -- Copyright <NAME> (1936–2010) -- -- This is a free program, which means it is proper to copy it and pass -- it on to your friends. Consider it a developmental item for which -- there is no charge. However, just for form, it...
src/arch/socs/stm32f439/soc-usart.adb
PThierry/ewok-kernel
65
2462
-- -- 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 of the License at -- -- http...
programs/oeis/157/A157423.asm
neoneye/loda
22
247573
<gh_stars>10-100 ; A157423: Triangle read by rows, T(n,k) = 0 if (n-k+1) is prime, else 1. ; 1,0,1,0,0,1,1,0,0,1,0,1,0,0,1,1,0,1,0,0,1,0,1,0,1,0,0,1,1,0,1,0,1,0,0,1,1,1,0,1,0,1,0,0,1,1,1,1,0,1,0,1,0,0,1,0,1,1,1,0,1,0,1,0,0,1,1,0,1,1,1,0,1,0,1,0,0,1 seq $0,25676 ; Exponent of 8 (value of i) in n-th number of form 8^i*9...
reference/04/mult/mult.asm
ITFS777/n2t
2,011
85546
<filename>reference/04/mult/mult.asm // Multiplies R0 and R1 and stores the result in R2. // (R0, R1, R2 refer to RAM[0], RAM[1], and RAM[2], respectively.) // 3*2 换算成 2个3相加 // 初始化 @2 M = 0 // 判断是否小于0 @0 D = M @END D;JLT (LOOP) @1 M = M - 1 D = M @END D;JLT @0 ...
src/main/antlr4/Cryptator.g4
arnaud-m/cryptator
1
3917
grammar Cryptator; @header{ package cryptator.parser; import cryptator.specs.ICryptaNode; import cryptator.tree.CryptaNode; import cryptator.tree.CryptaLeaf; } // Parser Rules program : equation EOF{}; //additional token to simplify the passage in parameter equation returns [ICryptaNode node]: //create a node of...
day-01/solve.adb
stevancorre/advent-of-code-2021
0
4658
<filename>day-01/solve.adb package body Solve is function Get_Line_Integer (File : File_Type) return Integer is Line_Buffer : Unbounded_String; Result : Integer; begin Line_Buffer := Get_Line (File); Result := Integer'Value (To_String (Line_Buffer)); return Res...
programs/oeis/066/A066560.asm
neoneye/loda
22
10728
; A066560: Smallest composite number divisible by n. ; 4,4,6,4,10,6,14,8,9,10,22,12,26,14,15,16,34,18,38,20,21,22,46,24,25,26,27,28,58,30,62,32,33,34,35,36,74,38,39,40,82,42,86,44,45,46,94,48,49,50,51,52,106,54,55,56,57,58,118,60,122,62,63,64,65,66,134,68,69,70,142,72,146,74,75,76,77,78,158,80,81,82,166,84,85,86,87,88,...
2020/06/day06.asm
winny-/aoc
6
164147
<gh_stars>1-10 section .data answers: times 26 dq 0 sum1: dq 0 sum2: dq 0 nl: db `\n` section .bss char1: resb 1 char2: resb 2 section .text global _start _start: B_read_record: xor r12, r12 ; Zero # of persons read for this record. mov rcx, 26 L_zero: mov...
disorderly/disorderly-random.ads
jscparker/math_packages
30
1621
------------------------------------------------------------------------------- -- package Disorderly.Random, Non-linear Random Number Generator -- Copyright (C) 1995-2018 <NAME> -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided th...
test/succeed/Issue124.agda
asr/agda-kanso
1
13090
<filename>test/succeed/Issue124.agda module Issue124 where module A where data A : Set where c : A module B where data B : Set where c : B module C where open A public open B public open C f : B → B f c = c
robozonky-strategy-natural/src/main/antlr4/imports/Defaults.g4
liry/robozonky
0
4885
<reponame>liry/robozonky<gh_stars>0 grammar Defaults; import Tokens; @header { import com.github.robozonky.api.strategies.*; import com.github.robozonky.strategy.natural.*; import com.github.robozonky.strategy.natural.conditions.*; } defaultExpression returns [DefaultValues result]: ( { ...
src/ada/src/services/atbb/assignment_tree_branch_bound.ads
manthonyaiello/OpenUxAS
0
25934
<gh_stars>0 with Ada.Containers.Formal_Hashed_Maps; with Ada.Containers.Functional_Maps; with Assignment_Tree_Branch_Bound_Communication; use Assignment_Tree_Branch_Bound_Communication; with Common; use Common; with LMCP_Messages; use LMCP_Messages; pack...
PMOO/EXAMEN/1516O/Bombilla.ads
usainzg/EHU
0
2874
package Bombilla is procedure Crear ( id: in String; potencia_nominal: in Float; luminosidad_nominal: in Float; es_regulable: in Boolean; bomb: out Bombilla; ); function Potencia(B: in Bombilla) return Float; function Esta_Encendida(B: in Bombilla) return Bool...
data/tilesets/pallet_collision.asm
Trap-Master/spacworld97-thingy
0
10663
<reponame>Trap-Master/spacworld97-thingy tilecoll WALL, WALL, WALL, WALL ; 00 tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 01 tilecoll FLOOR, FLOOR, FLOOR, WALL ; 02 tilecoll FLOOR, FLOOR, FLOOR, WALL ; 03 tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 04 tilecoll HOP_DOWN, HOP_DOWN, WALL, WALL ; 05 tilecoll HOP_DOWN, FLOOR, WA...
alloy4fun_models/trashltl/models/11/rwAKBXJD5gCoA9cxm.als
Kaixi26/org.alloytools.alloy
0
692
open main pred idrwAKBXJD5gCoA9cxm_prop12 { eventually always all f : File | f not in Trash implies f in Trash' } pred __repair { idrwAKBXJD5gCoA9cxm_prop12 } check __repair { idrwAKBXJD5gCoA9cxm_prop12 <=> prop12o }
programs/oeis/287/A287555.asm
jmorken/loda
1
244771
; A287555: Positions of 3 in A053839. ; 4,7,10,13,19,22,25,32,34,37,44,47,49,56,59,62,67,70,73,80,82,85,92,95,97,104,107,110,116,119,122,125,130,133,140,143,145,152,155,158,164,167,170,173,179,182,185,192,193,200,203,206,212,215,218,221,227,230,233,240,242,245,252,255,259,262,265,272,274,277,284,287,289,296,299,302,308...
programs/oeis/024/A024403.asm
jmorken/loda
1
173765
<reponame>jmorken/loda<filename>programs/oeis/024/A024403.asm ; A024403: [ (4th elementary symmetric function of S(n))/(3rd elementary symmetric function of S(n)) ], where S(n) = {first n+3 positive integers congruent to 2 mod 3}. ; 1,3,5,9,13,18,24,30,37,45,54,64,74,85,97,109,122,136,151,167,183,200,218,236,255,275,29...
smsq/atari/kbd/tables.asm
olifink/smsqe
0
25166
<reponame>olifink/smsqe ; Atari keyboard tables  1988 / 2000 <NAME> section kbd xdef kbd_krtab xdef kbd_atab include 'dev8_smsq_kbd_keys' ; KEYROW table high nibble: bit, low nibble: row kbd_krtab dc.b $08,$31,$34,$16 ; 00 dc.b $14,$60,$20,$26 ; 04 dc.b $70,$06,$05,$56 ; 08 dc.b $55,$53,$18,$...
ga_ref_impl/test_general_inverse/src/general_inverse_test.adb
rogermc2/GA_Ada
3
6159
<filename>ga_ref_impl/test_general_inverse/src/general_inverse_test.adb with Ada.Strings.Unbounded; with Ada.Text_IO; use Ada.Text_IO; with Blade; with Blade_Types; with GA_Maths; with GA_Utilities; with Metric; with Multivectors; use Multivectors; with Multivector_Type; procedure General_Inverse_Test is use Bla...
Univalence/PiIter.agda
JacquesCarette/pi-dual
14
15985
{-# OPTIONS --without-K #-} module PiIter where open import Level using (_⊔_) renaming (zero to l0; suc to lsuc) open import Universe using (Universe) open import Categories.Category using (Category) open import Categories.Groupoid using (Groupoid) open import Categories.Functor using (Functor) open import Data.Emp...
oeis/288/A288937.asm
neoneye/loda-programs
11
25305
<gh_stars>10-100 ; A288937: Positions of 0 in A288936; complement of A288938. ; Submitted by <NAME> ; 1,2,4,5,8,11,15,20,26,33,41,50,60,71,83,96,110,125,141,158,176,195,215,236,258,281,305,330,356,383,411,440,470,501,533,566,600,635,671,708,746,785,825,866,908,951,995,1040,1086,1133,1181,1230,1280,1331,1383,1436,1490,1...
lang/src/main/antlr/FusionParser.g4
sandstorm/fusion4j
2
6290
/* * MIT License * * Copyright (c) 2022 Sandstorm Media GmbH * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, c...
Task/Bitwise-IO/Ada/bitwise-io-3.ada
LaudateCorpus1/RosettaCodeData
1
14412
<reponame>LaudateCorpus1/RosettaCodeData<gh_stars>1-10 with Ada.Streams.Stream_IO; use Ada.Streams.Stream_IO; with Bit_Streams; use Bit_Streams; procedure Test_Bit_Streams is File : File_Type; ABACUS : Bit_Array := ( 1,0,0,0,0,0,1, -- A, big endian 1,0,0,0,0,1,0, ...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1130.asm
ljhsiun2/medusa
9
247671
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x7013, %rsi lea addresses_UC_ht+0x1cdd3, %rdi nop nop nop nop nop inc %rax mov $111, %rcx rep movsl nop xor $46813, %r15 lea addresses_D_ht+0xec83, %rbx cmp %rax, %rax mov (%r...
oeis/173/A173205.asm
neoneye/loda-programs
11
173319
; A173205: a(n) = 98*a(n-1)-a(n-2) for n>2, a(1)=1, a(2)=98. ; Submitted by <NAME>(s3) ; 1,98,9603,940996,92208005,9035443494,885381254407,86758327488392,8501430712608009,833053451508096490,81630736817080848011,7998979154622415008588,783818326416179589993613,76806197009630977404365486,7526223488617419606037824015,73749...
clear_notification/clear.applescript
tomorrowkey/alfred-workflows
4
2455
<reponame>tomorrowkey/alfred-workflows<filename>clear_notification/clear.applescript<gh_stars>1-10 log "Script begin" tell application "System Events" tell process "NotificationCenter" repeat while ((count windows) > 0) try set numwins to (count windows) repeat with i from 0 to numwins by 1 ...
memsim-master/src/parser-parse_trace.adb
strenkml/EE368
0
1641
<filename>memsim-master/src/parser-parse_trace.adb with Memory.Trace; separate (Parser) procedure Parse_Trace(parser : in out Parser_Type; result : out Memory_Pointer) is mem : Memory_Pointer := null; begin if Get_Type(parser) = Open then Parse_Memory(parser, mem); end if; ...
JSON.g4
AILab-FOI/APi
0
7597
<reponame>AILab-FOI/APi /** Taken from "The Definitive ANTLR 4 Reference" by <NAME> */ // Derived from http://json.org // Tweaked a bit for awkward π-nguin grammar JSON; json : value ; obj : '{' pair (',' pair)* '}' | '{' '}' ; pair : STRING ':' value | VARIABLE ':' value ; arr : '[' v...
oeis/199/A199757.asm
neoneye/loda-programs
11
84794
; A199757: (7*11^n+1)/2. ; Submitted by <NAME> ; 4,39,424,4659,51244,563679,6200464,68205099,750256084,8252816919,90780986104,998590847139,10984499318524,120829492503759,1329124417541344,14620368592954779,160824054522502564,1769064599747528199,19459710597222810184,214056816569450912019,2354624982263960032204,2590087480...
Library/Text/Text/textEntry.asm
steakknife/pcgeos
504
8128
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1993 -- All Rights Reserved PROJECT: PC/GEOS MODULE: Text Library FILE: textEntry.asm AUTHOR: <NAME>, Sep 13, 1993 ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name D...
src/asf-views-nodes-factory.adb
jquorning/ada-asf
12
6310
<filename>src/asf-views-nodes-factory.adb ----------------------------------------------------------------------- -- nodes-core -- Tag Factory -- Copyright (C) 2009, 2010 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except ...
PythonParser.g4
RobEin/tiny-python
0
3004
<reponame>RobEin/tiny-python /* Python grammar The MIT License (MIT) Copyright (c) 2021 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the...
oeis/224/A224882.asm
neoneye/loda-programs
11
7248
<gh_stars>10-100 ; A224882: G.f.: 1/(1 - 32*x)^(1/16). ; Submitted by <NAME> ; 1,2,34,748,18326,476476,12864852,356540184,10072260198,288738125676,8373405644604,245112419778408,7230816383463036,214699624924363992,6410317372741724904,192309521182251747120,5793324325615333881990,175162864903898918549580 mov $1,1 mov $2,...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/overriding_ops.ads
best08618/asylo
7
1133
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/overriding_ops.ads with overriding_ops_p; use overriding_ops_p; package overriding_ops is task type Light_Programmer is new Device with overriding entry Set_Name (Name : Name_Type); end Light_Programmer; -- Object that represents a light protecte...