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
oeis/129/A129555.asm
neoneye/loda-programs
11
3476
; A129555: A054523 * A129372. ; Submitted by <NAME> ; 1,1,1,3,0,1,2,1,0,1,5,0,0,0,1,3,3,1,0,0,1,7,0,0,0,0,0,1,4,2,0,1,0,0,0,1,9,0,3,0,0,0,0,0,1,5,5,0,0,1,0,0,0,0,1 seq $0,126988 ; Triangle read by rows: T(n,k) = n/k if k is a divisor of n; T(n,k) = 0 if k is not a divisor of n (1 <= k <= n). dif $0,2
scim-spec/scim-spec-protocol/src/main/antlr4/imports/Urn.g4
bdemers/directory-scimple
20
5170
/* * 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 may no...
oeis/163/A163607.asm
neoneye/loda-programs
11
97818
; A163607: a(n) = ((5 + 2*sqrt(2))*(1 + sqrt(2))^n + (5 - 2*sqrt(2))*(1 - sqrt(2))^n)/2. ; Submitted by <NAME>(s4) ; 5,9,23,55,133,321,775,1871,4517,10905,26327,63559,153445,370449,894343,2159135,5212613,12584361,30381335,73347031,177075397,427497825,1032071047,2491639919,6015350885,14522341689,35060034263,84642410215,...
intro/tests/test1.agda
KMx404/selfev.agda
2
15365
-- this is the first test I run -- Its been a while since i used my brain, @KMx404 module test1 where data 𝕟 : Set where --zero : 𝕟 --its not practical to do so, we can use more efficient math formulas suc : 𝕟 → 𝕟 -- since We have the value of zero => n, any next item succ will consider it as n.num _+_ : �...
oeis/098/A098159.asm
neoneye/loda-programs
11
247407
; A098159: Numbers n with property that when writing down all the nonnegative numbers from 0 to n one uses n odd digits. ; Submitted by <NAME> ; 1,17,18,20,21,37,38,40,41,57,58,60,61,77,78,80,81,97,98 mov $4,$0 add $4,1 mov $7,$0 lpb $4 mov $0,$7 sub $4,1 sub $0,$4 add $0,3 gcd $0,4 mov $2,$0 mov $3,$0 ...
src/hardware.asm
Amjad50/rtc3test
19
179515
; Mostly taken from hardware.inc (https://github.com/gbdev/hardware.inc) rJOYP EQU $FF00 rDIV EQU $FF04 rTIMA EQU $FF05 rTMA EQU $FF06 rTAC EQU $FF07 rIF EQU $FF0F rNR52 EQU $FF26 rLCDC EQU $FF40 rSCY EQU $FF42 rSCX EQU $FF43 rBGP EQU $FF47 rVBK EQU $FF4F rBCPS EQU $FF68 rBCPD EQU $FF69 rIE EQU $FFFF ; MBC...
home/pokemon.asm
opiter09/ASM-Machina
1
3156
<reponame>opiter09/ASM-Machina<filename>home/pokemon.asm DrawHPBar:: ; Draw an HP bar d tiles long, and fill it to e pixels. ; If c is nonzero, show at least a sliver regardless. ; The right end of the bar changes with [wHPBarType]. push hl push de push bc ; Left ld a, $71 ; "HP:" ld [hli], a ld a, $62 ld [hl...
agda/Transformation.agda
halfaya/MusicTools
28
1994
<reponame>halfaya/MusicTools {-# OPTIONS --erased-cubical --safe #-} module Transformation where open import Data.Integer using (ℤ; +_; _-_; -_) open import Data.List using (List; _∷_; []; map; reverse) open import Data.Product using (_,_) open import Note using (Note; tone; rest) open import Pitch ...
unittests/ASM/Primary/Primary_18_3.asm
cobalt2727/FEX
628
20105
%ifdef CONFIG { "RegData": { "RBX": "0x09", "RCX": "0x9919", "RDX": "0x9A999929", "RBP": "0x9E9D9C9B9A999939", "RDI": "0x81", "RSP": "0x7F81", "R8": "0x7F7F7F81", "R9": "0x02", "R10": "0x4142427344754777", "R11": "0x5152535455565687", "R12": "0x6162636465666768" }, "M...
src/core/interrupts.asm
jonasbantunes/tictactoe-gb
0
246545
SERIAL_TYPE EQU $0 SECTION "Interruptions", ROM0 SerialInt: ld a, [rSC] .if bit SERIAL_TYPE, a jp z, .else ; branch if external clock .then ld a, 0 ld [serial_turn], a call ListenData jp .end .else ld a, [rSB] ld [serial_data], a ld a, 1 ld [serial_turn], a .end ret V...
target/cos_117/disasm/iop_overlay1/VMEWT.asm
jrrk2/cray-sim
49
23532
<reponame>jrrk2/cray-sim<gh_stars>10-100 0x0000 (0x000000) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0001 (0x000002) 0x2925- f:00024 d: 293 | OR[293] = A 0x0002 (0x000004) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0003 (0x000006) 0x292C- f:00024...
data/mapObjects/Route11Gate1F.asm
AmateurPanda92/pokemon-rby-dx
9
11386
Route11Gate1F_Object: db $a ; border block db 5 ; warps warp 0, 4, 0, -1 warp 0, 5, 1, -1 warp 7, 4, 2, -1 warp 7, 5, 3, -1 warp 6, 8, 0, ROUTE_11_GATE_2F db 0 ; signs db 1 ; objects object SPRITE_GUARD, 4, 1, STAY, NONE, 1 ; person ; warp-to warp_to 0, 4, ROUTE_11_GATE_1F_WIDTH warp_to 0, 5, ROUTE_11_...
source/amf/uml/amf-internals-uml_generalization_sets.ads
svn2github/matreshka
24
15078
<filename>source/amf/uml/amf-internals-uml_generalization_sets.ads<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- ...
oeis/248/A248575.asm
neoneye/loda-programs
11
99143
; A248575: Rounded sums of the non-integer cube roots of n, as partitioned by the integer roots: round[sum(j from n^3+1 to (n+1)^3-1, j^(1/3))]. ; Submitted by <NAME>(s1) ; 0,10,46,128,272,498,822,1264,1840,2570,3470,4560,5856,7378,9142,11168,13472,16074,18990,22240,25840,29810,34166,38928,44112,49738,55822,62384,69440...
work/ff3_present_scene.asm
ypyp-pprn-mnmn/ff3_hack
4
101876
<filename>work/ff3_present_scene.asm ;; encoding: utf-8 ; ff3_present_scene.asm ; ; replaces presentScene() ; ;version: ; 0.2 (2017-12-17) ; ;====================================================================================================== ff3_present_scene_begin: ; [in] u8 A : commandId (00-25h) ; 0...
old_materials/workshop01/hello.asm
MrBat13/hse-acos-course
9
91575
# First program in MIPS assembly language. # Prints "Hello World!" .data str: .asciiz "Hello, world!" .text .globl main main: la $a0, str li $v0, 4 syscall
oeis/307/A307467.asm
neoneye/loda-programs
11
172169
<gh_stars>10-100 ; A307467: The number of points, corresponding to the first n primes, and placed on the unit circle according to an algorithm using the data from A077218 (in the spirit of Ulam's spiral, and described in the COMMENTS section below), which lie on the closed arc of the unit circle from 0 to 45 degrees. ;...
oeis/087/A087275.asm
neoneye/loda-programs
11
12185
<filename>oeis/087/A087275.asm ; A087275: Write n in binary: 1ab..yz, then a(n) = 1b..yz + ... + 1yz + 1z + 1. ; Submitted by <NAME>(s3) ; 0,1,1,3,4,3,4,7,9,9,11,7,9,9,11,15,18,19,22,19,22,23,26,15,18,19,22,19,22,23,26,31,35,37,41,39,43,45,49,39,43,45,49,47,51,53,57,31,35,37,41,39,43,45,49,39,43,45,49,47,51,53,57,63,68...
oeis/344/A344508.asm
neoneye/loda-programs
11
245209
<gh_stars>10-100 ; A344508: a(n) = Sum_{k=1..n} k * lcm(k,n). ; Submitted by <NAME> ; 1,6,24,64,175,270,686,928,1647,2150,4356,3792,8619,8526,11250,14592,25721,19926,40432,31200,44835,53966,87814,58272,108125,106470,132678,124656,224547,132750,294066,232960,284229,316166,372400,291168,600991,496014,560742,484000,909421...
libsrc/stdio/ansi/oz/f_ansi_bel.asm
jpoikela/z88dk
640
25409
; ; ANSI Video handling for Sharp OZ family ; ; BEL - chr(7) Beep it out (still nothing here) ; ; -- ONLY FOO STUFF, FOR NOW !! -- ; ; <NAME> - Aug. 2002 ; ; ; $Id: f_ansi_bel.asm,v 1.3 2016-06-12 16:06:43 dom Exp $ ; SECTION code_clib PUBLIC ansi_BEL .ansi_BEL ret
oeis/268/A268827.asm
neoneye/loda-programs
11
241523
<gh_stars>10-100 ; A268827: Permutation of nonnegative integers: a(0) = 0, a(n) = A268717(1+A268825(n-1)). ; Submitted by <NAME> ; 0,1,3,2,6,7,5,12,4,10,14,13,15,30,26,25,27,11,9,24,8,54,50,49,51,19,17,48,16,31,29,20,28,18,22,21,23,102,98,97,99,35,33,96,32,47,45,36,44,34,38,37,39,55,53,60,52,58,62,61,63,46,42,41,43,59,...
pdf2keynote/applescripts/insert_image.scpt
majorpb/pdf2keynote
9
3330
<reponame>majorpb/pdf2keynote on run argv set lastIndex to item 1 of argv as number set theImage to item 2 of argv as POSIX file tell application "Keynote" tell the front document set docWidth to its width set docHeight to its height tell slide lastIndex ...
programs/oeis/262/A262037.asm
neoneye/loda
22
165090
<reponame>neoneye/loda<filename>programs/oeis/262/A262037.asm ; A262037: Replace the second half of digits of n with the first half in reverse order. ; 0,1,2,3,4,5,6,7,8,9,11,11,11,11,11,11,11,11,11,11,22,22,22,22,22,22,22,22,22,22,33,33,33,33,33,33,33,33,33,33,44,44,44,44,44,44,44,44,44,44,55,55,55,55,55,55,55,55,55,5...
sharding-core/src/main/antlr4/imports/PostgreSQLDALStatement.g4
supercharles/sharding-sphere
0
4455
grammar PostgreSQLDALStatement; import PostgreSQLKeyword, Keyword, BaseRule, DataType, Symbol; show : SHOW showParam ; showParam : ALL | ID ;
test/interaction/Issue2487-2.agda
shlevy/agda
1,989
13962
<gh_stars>1000+ {-# OPTIONS --safe #-} module Issue2487-2 where import Issue2487.A
programs/oeis/080/A080239.asm
neoneye/loda
22
28292
; A080239: Antidiagonal sums of triangle A035317. ; 1,1,2,3,6,9,15,24,40,64,104,168,273,441,714,1155,1870,3025,4895,7920,12816,20736,33552,54288,87841,142129,229970,372099,602070,974169,1576239,2550408,4126648,6677056,10803704,17480760,28284465,45765225,74049690,119814915,193864606,313679521,507544127,821223648,1328767...
title.asm
unlink2/nesrpg
5
176821
; this file contains the title screen ; inits title mode init_title: lda #%00010000 ; pattern table 1 sta gfx_flags lda #GAME_MODE_TITLE sta game_mode lda #<update_title sta update_sub lda #>update_title sta update_sub+1 lda #<update_title_crit sta update_sub_crit lda #>u...
RMonads/RMonadMorphs.agda
jmchapman/Relative-Monads
21
2394
<reponame>jmchapman/Relative-Monads<gh_stars>10-100 module RMonads.RMonadMorphs where open import Library open import Functors open import Categories open import RMonads open Fun open RMonad record RMonadMorph {a b c d}{C : Cat {a}{b}}{D : Cat {c}{d}}{J : Fun C D} (M M' : RMonad J) : Set (a ⊔ b ⊔ ...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1375.asm
ljhsiun2/medusa
9
170183
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1375.asm .global s_prepare_buffers s_prepare_buffers: push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x151c4, %rsi lea addresses_D_ht+0x1d784, %rdi nop nop nop nop nop dec %rbx mov $116, %...
programs/oeis/028/A028293.asm
jmorken/loda
1
176275
; A028293: Period 7. ; 1,2,1,3,1,2,1,1,2,1,3,1,2,1,1,2,1,3,1,2,1,1,2,1,3,1,2,1,1,2,1,3,1,2,1,1,2,1,3,1,2,1,1,2,1,3,1,2,1,1,2,1,3,1,2,1,1,2,1,3,1,2,1,1,2,1,3,1,2,1,1,2,1,3,1,2,1,1,2,1 mov $3,$0 add $0,1 mov $1,$0 mov $0,$3 mul $0,$1 mov $2,$0 add $0,1 mov $1,2 add $2,1 mod $2,7 lpb $0 mov $0,$2 sub $0,1 add $1,1 ...
example.adb
MicroJoe/ada_menu
1
21298
<filename>example.adb with Ada.Text_IO; use Ada.Text_IO; with Ada.Strings.Unbounded; with Menu; procedure Example is package SU renames Ada.Strings.Unbounded; M : Menu.T_Menu; begin M.Title := SU.To_Unbounded_String("Do you want to recurse?"); Menu.Add_Item(M, (Symbol => 'y', ...
src/coremac.asm
ronaaron/reva
9
105275
<reponame>ronaaron/reva<filename>src/coremac.asm ; Linux core: OS = 2 EOF=4 include 'macros' format elf section '.flat' writeable executable public _start public start extrn _dlopen extrn _dlclose extrn _dlsym extrn _malloc extrn _free extrn _realloc macro ccall proc,[arg] ; call CD...
source/tasking/a-sytaco.ads
ytomino/drake
33
5941
<reponame>ytomino/drake<gh_stars>10-100 pragma License (Unrestricted); private with Ada.Finalization; private with System.Storage_Barriers; private with System.Synchronous_Objects; package Ada.Synchronous_Task_Control is pragma Preelaborate; type Suspension_Object is limited private; procedure Set_True (S : ...
ada_gui-gnoga-colors.adb
jrcarter/Ada_GUI
19
14919
<gh_stars>10-100 -- Ada_GUI implementation based on Gnoga. Adapted 2021 -- -- -- GNOGA - The GNU Omnificent GUI for Ada -- -- -- -- ...
simd/x86_64/jdmrgext-sse2.asm
t-head-aosp/platform-external-libjpeg-turbo
3,597
240591
<gh_stars>1000+ ; ; jdmrgext.asm - merged upsampling/color conversion (64-bit SSE2) ; ; Copyright 2009, 2012 <NAME> <<EMAIL>> for Cendio AB ; Copyright (C) 2009, 2012, 2016, <NAME>. ; Copyright (C) 2018, <NAME>. ; ; Based on the x86 SIMD extension for IJG JPEG library ; Copyright (C) 1999-2006, MIYASAKA Masaru. ; For c...
ffight/lcs/container/36.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
6
22010
copyright zengfr site:http://github.com/zengfr/romhack 003A02 movem.l D0-D3, -(A6) 003A06 movem.l D0-D3, -(A6) 00621C move.b ($a,A3), ($36,A4) [boss+14, container+14, enemy+14] 006222 move.b ($b,A3), ($62,A4) [boss+36, container+36, enemy+36] 009ACA dbra D5, $9ac8 0517D4 move.b ($3e,A6), ($36,A6) 0517D...
Task/Horizontal-sundial-calculations/Ada/horizontal-sundial-calculations.ada
LaudateCorpus1/RosettaCodeData
1
13912
<reponame>LaudateCorpus1/RosettaCodeData with Ada.Text_IO; with Ada.Numerics.Elementary_Functions; procedure Sundial is use Ada.Numerics.Elementary_Functions; use Ada.Numerics; package Float_IO is new Ada.Text_IO.Float_IO (Float); Latitude, Longitude, Meridian : Float; Latitude_Sine : Fl...
test/arch/Timer.asm
yunxu1019/efront
1
543
<filename>test/arch/Timer.asm .386 .model flat,stdcall option casemap:none __UNICODE__ equ 1 include windows.inc include user32.inc includelib user32.lib include kernel32.inc includelib kernel32.lib ID_TIMER1 equ 1 ID_TIMER2 equ 2 ICO_1 equ 1 ICO_2 equ 2 DLG_MAIN equ 1 IDC_SECTION equ 100 IDC_COUNT equ 101 .data? hInst...
src/main/antlr/LA.g4
explodingnuggets/LA-Lang
0
3913
<gh_stars>0 grammar LA; @header { package org.lalang; } // REGRAS SINTÁTICAS programa : declaracoes 'algoritmo' corpo 'fim_algoritmo'; declaracoes : (decl_local_global)* ; decl_local_global : declaracao_local | declaracao_global ; declaracao_local : 'declare' variavel ...
oeis/010/A010019.asm
neoneye/loda-programs
11
9103
; A010019: a(0) = 1, a(n) = 29*n^2 + 2 for n>0. ; 1,31,118,263,466,727,1046,1423,1858,2351,2902,3511,4178,4903,5686,6527,7426,8383,9398,10471,11602,12791,14038,15343,16706,18127,19606,21143,22738,24391,26102,27871,29698,31583,33526,35527,37586,39703,41878,44111,46402,48751,51158,53623,56146,58727,61366,64063,66818,6963...
programs/oeis/207/A207401.asm
neoneye/loda
22
81334
<reponame>neoneye/loda ; A207401: Number of n X 6 0..1 arrays avoiding 0 0 1 and 0 1 1 horizontally and 0 0 1 and 1 1 0 vertically. ; 16,256,1296,4356,11664,26896,55696,106276,190096,322624,524176,820836,1245456,1838736,2650384,3740356,5180176,7054336,9461776,12517444,16353936,21123216,26998416,34175716,42876304,533484...
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c91004c.ada
best08618/asylo
7
24466
-- C91004C.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...
source/network-managers-tcp_v4_out.adb
reznikmm/network
1
21571
<reponame>reznikmm/network<gh_stars>1-10 -- SPDX-FileCopyrightText: 2021 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Interfaces.C; with Ada.Exceptions; package body Network.Managers.TCP_V4_Out is procedure Change_Watch (Self : in o...
oeis/065/A065500.asm
neoneye/loda-programs
11
175091
<gh_stars>10-100 ; A065500: Number of distinct functions from a set with n^n elements to itself that can be defined naturally (in n) by typed lambda-calculus expressions. ; Submitted by <NAME> ; 1,1,3,8,15,64,65,426,847,2528,2529,27730,27731,360372,360373,360374,720735,12252256,12252257,232792578,232792579,232792580,23...
test-resources/ExamplesFromRoy/md_example4.ads
hergin/ada2fuml
0
235
<reponame>hergin/ada2fuml with Globals_Example1; package Md_Example4 is type T is tagged record Attribute : Globals_Example1.Itype; end record; -- Ada Rules state that all tagged operations must be defined here function Unrelated (The_I : Globals_Example1.Itype) return Globals_Example1.Itype...
_incObj/12 Light.asm
kodishmediacenter/msu-md-sonic
9
179505
; --------------------------------------------------------------------------- ; Object 12 - lamp (SYZ) ; --------------------------------------------------------------------------- SpinningLight: moveq #0,d0 move.b obRoutine(a0),d0 move.w Light_Index(pc,d0.w),d1 jmp Light_Index(pc,d1.w) ; =====================...
projects/batfish/src/org/batfish/grammar/cisco/CiscoParser.g4
Alexia23/batfish
1
4750
<gh_stars>1-10 parser grammar CiscoParser; import Cisco_common, Cisco_acl, Cisco_bgp, Cisco_ignored, Cisco_interface, Cisco_isis, Cisco_mpls, Cisco_ospf, Cisco_rip, Cisco_routemap, Cisco_static; options { superClass = 'org.batfish.grammar.BatfishParser'; tokenVocab = CiscoLexer; } @header { package org.batfish...
libraries/pxcrt/amd64/src/crt0.asm
betopp/pathetix
0
15875
;crt0.asm ;Entry point for C runtime ;<NAME> <<EMAIL>> 2021 bits 64 section .text ;Entry point, for both initial startup and for signal handling align 16 global _pxcrt_entry _pxcrt_entry: jmp _pxcrt_entry_startup ;Symbol + 0 = initial entry align 16 jmp _pxcrt_entry_signal ;Symbol + 16 = entry on signal ;Entry ...
oeis/059/A059830.asm
neoneye/loda-programs
11
12213
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A059830: a(n) = n^6 + n^4 + n^2 + 1. ; 1,4,85,820,4369,16276,47989,120100,266305,538084,1010101,1786324,3006865,4855540,7568149,11441476,16843009,24221380,34117525,47176564,64160401,85961044,113614645,148316260,191435329,244531876,309373429,387952660,482505745,595531444...
string/s005.asm
czfshine/assembly-exercise
1
166310
; 8086 assembly file ; by:czfshine ; date: 2018/03/31 17:04:48 ;从键盘上输入一串字符(用回车键结束,使用10号功能调用。)放在STRING中, ;试编制一个程序测试字符串中是否存在数字。 ;如有,则把CL的第5位置1,否则将该位置置0。 ; The Main Data segment DATA SEGMENT buf DB 80,?,80 dup(?) ; DATA ENDS ;entry code segment CODE SEGMENT ASSUME CS:CODE ,DS:DATA START: ;entry p...
oeis/021/A021173.asm
neoneye/loda-programs
11
93660
; A021173: Decimal expansion of 1/169. ; Submitted by <NAME>iga ; 0,0,5,9,1,7,1,5,9,7,6,3,3,1,3,6,0,9,4,6,7,4,5,5,6,2,1,3,0,1,7,7,5,1,4,7,9,2,8,9,9,4,0,8,2,8,4,0,2,3,6,6,8,6,3,9,0,5,3,2,5,4,4,3,7,8,6,9,8,2,2,4,8,5,2,0,7,1,0,0,5,9,1,7,1,5,9,7,6,3,3,1,3,6,0,9,4,6,7 add $0,1 mov $3,1 lpb $0 sub $0,1 add $2,$3 div $...
stm32l0/stm32gd-i2c-peripheral.adb
ekoeppen/STM32_Generic_Ada_Drivers
1
9746
<filename>stm32l0/stm32gd-i2c-peripheral.adb with Utils; package body STM32GD.I2C.Peripheral is Default_Timeout : constant Natural := 10000; Count_Down : Natural; procedure Start (Duration : Natural := Default_Timeout) is begin Count_Down := Duration; end Start; function Timed_Out return Boo...
oeis/321/A321213.asm
neoneye/loda-programs
11
82142
<reponame>neoneye/loda-programs ; A321213: a(n) is the number of divisors of n-th Fermat number (A000215). ; 2,2,2,2,2,4,4,4,4,8,16,32 lpb $0 add $1,$0 sub $2,$0 lpb $0 mod $0,5 add $0,$2 mov $1,$0 add $2,$0 lpe max $2,$1 mov $0,$2 sub $0,4 add $3,4 mul $3,2 lpe mov $0,$3 div $0,4 add...
src/natools-web-exchanges.adb
faelys/natools-web
1
17568
<gh_stars>1-10 ------------------------------------------------------------------------------ -- Copyright (c) 2014-2019, <NAME> -- -- -- -- Permission to use, copy, modify, and distribute this software for any ...
.emacs.d/elpa/wisi-2.2.1/wisitoken-bnf-generate.adb
caqg/linux-home
0
26919
<gh_stars>0 -- Abstract : -- -- Parser for Wisi grammar files, producing Ada source -- files for a parser. -- -- Copyright (C) 2012 - 2015, 2017 - 2019 Free Software Foundation, Inc. -- -- The WisiToken package is free software; you can redistribute it -- and/or modify it under terms of the GNU General Public Lic...
programs/oeis/314/A314038.asm
neoneye/loda
22
80175
<reponame>neoneye/loda ; A314038: Coordination sequence Gal.6.616.5 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; 1,5,11,15,21,25,31,35,41,45,51,56,61,67,71,77,81,87,91,97,101,107,112,117,123,127,133,137,143,147,153,157,163,168,173...
utilities/tt_patterns.ads
rocher/TTS-Runtime-Ravenscar
2
21821
with Ada.Real_Time; with XAda.Dispatching.TTS; generic with package TTS is new XAda.Dispatching.TTS(<>); package TT_Patterns is type Task_State is abstract tagged record Release_Time: Ada.Real_Time.Time := Ada.Real_Time.Time_First; Work_Id : TTS.TT_Work_Id; Sync_Id : TTS.TT_Sync_Id; end re...
oeis/021/A021539.asm
neoneye/loda-programs
11
92628
<reponame>neoneye/loda-programs ; A021539: Decimal expansion of 1/535. ; Submitted by Jon Maiga ; 0,0,1,8,6,9,1,5,8,8,7,8,5,0,4,6,7,2,8,9,7,1,9,6,2,6,1,6,8,2,2,4,2,9,9,0,6,5,4,2,0,5,6,0,7,4,7,6,6,3,5,5,1,4,0,1,8,6,9,1,5,8,8,7,8,5,0,4,6,7,2,8,9,7,1,9,6,2,6,1,6,8,2,2,4,2,9,9,0,6,5,4,2,0,5,6,0,7,4 seq $0,199689 ; 8*10^n+...
Assembler/AssemblyCode/RET.asm
KPU-RISC/KPU
8
15168
<reponame>KPU-RISC/KPU<filename>Assembler/AssemblyCode/RET.asm ; Initialize the stack pointer MOV XL, 0xFF MOV XH, 0xFF MOV SP, X MOV F, 11110000b ; Call a subroutine... CALL :SUBROUTINE MOV F, 10101010b ; Write register F to the Output Port OUTB F ; Stops program execution HLT :SUBROUTINE MOV F, 01010101b RET
programs/oeis/017/A017198.asm
neoneye/loda
22
87443
; A017198: a(n) = (9*n + 3)^2. ; 9,144,441,900,1521,2304,3249,4356,5625,7056,8649,10404,12321,14400,16641,19044,21609,24336,27225,30276,33489,36864,40401,44100,47961,51984,56169,60516,65025,69696,74529,79524,84681,90000,95481,101124,106929,112896,119025,125316,131769,138384,145161,152100,159201,166464,173889,181476,189...
Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2_notsx.log_2948_71.asm
ljhsiun2/medusa
9
82111
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x1764c, %r11 clflush (%r11) nop nop cmp $40913, %rbx vmovups (%r11), %ymm3 vextracti128 $0, %ymm3, %xmm3 vpextrq $0, %xmm3, %rsi nop nop xor $11308,...
test/Fail/ShapeIrrelevantConstructor.agda
cruhland/agda
1,989
14308
<filename>test/Fail/ShapeIrrelevantConstructor.agda -- Andreas, 2018-06-14, issue #2513, surviving shape-irrelevance annotations. data Wrap (A : Set) : Set where @shape-irrelevant wrap : A → Wrap A
apps/web-firmware/demo.asm
MasterQ32/spu-mark-ii
13
85060
.equ ROM_START, 0x0000 .equ SERIAL_PORT, 0x7FFE .equ RAM_START, 0x8000 .org RAM_START entry_point: push message .loop: ld8 [i0:peek] [f:yes] [ex:zero] jmp .done st SERIAL_PORT add 1 jmp .loop .done: pop ; remove 0 byte pop ; remove address ret ; return to bios message: .asciiz "Hello, World!\r\...
joystick.asm
bsutherland/c64lib
1
9722
<filename>joystick.asm #importonce #import "cia.asm" // confusingly, joystick 1 is on port B .const JOYSTICK1_PORT = CIA_PORT_B .const JOYSTICK1_DDR = CIA_DDR_PORT_B // joystick 2 is on port A .const JOYSTICK2_PORT = CIA_PORT_A .const JOYSTICK2_DDR = CIA_DDR_PORT_A // bitmasks for joystick switches .const JOYSTICK_...
src/flcagl.agda
shinji-kono/automaton-in-agda
0
11316
<gh_stars>0 {-# OPTIONS --sized-types #-} open import Relation.Nullary open import Relation.Binary.PropositionalEquality module flcagl (A : Set) ( _≟_ : (a b : A) → Dec ( a ≡ b ) ) where open import Data.Bool hiding ( _≟_ ) -- open import Data.Maybe open import Level renaming ( zero to Zero ; suc to succ ) ope...
test/asset/agda-stdlib-1.0/Data/Maybe/Base.agda
omega12345/agda-mode
0
11212
------------------------------------------------------------------------ -- The Agda standard library -- -- The Maybe type and some operations ------------------------------------------------------------------------ -- The definitions in this file are reexported by Data.Maybe. {-# OPTIONS --without-K --safe #-} modu...
Prob1asm_delay10ms/Prob1asm_delay10ms.asm
sachinraghav2/AVR
2
91353
; ****************************************************** ;Prob 4.1.........Write a delay subroutine to give an exact delay of 10ms using Timer 1 .(Test by outputting 0x55 and 0xaa alternately on the LED's using port B).or AVR ; ****************************************************** .include "C:\VMLAB\include\m...
examples/Sized/CounterCell.agda
agda/ooAgda
23
17157
module Sized.CounterCell where open import Data.Product open import Data.Nat.Base open import Data.Nat.Show open import Data.String.Base using (String; _++_) open import SizedIO.Object open import SizedIO.IOObject open import SizedIO.Base open import SizedIO.Console hiding (main) open import SizedIO.ConsoleObject o...
TotalRecognisers.agda
yurrriq/parser-combinators
7
9808
<gh_stars>1-10 ------------------------------------------------------------------------ -- Total recognisers based on the same principles as the parsers in -- TotalParserCombinators.Parser -- -- <NAME> ------------------------------------------------------------------------ -- Recognisers are less complicated than par...
Transynther/x86/_processed/NC/_ht_zr_/i7-8650U_0xd2_notsx.log_176_450.asm
ljhsiun2/medusa
9
89877
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x6886, %rbp nop nop nop nop inc %r10 mov (%rbp), %r12d nop nop nop nop nop cmp %rdx, %rdx lea addresses_normal_ht+0x12392, %r9 cmp %rbp, %rbp vmovups...
programs/oeis/264/A264147.asm
neoneye/loda
22
81154
<reponame>neoneye/loda ; A264147: a(n) = n*F(n+1) - (n+1)*F(n), where F = A000045. ; 0,-1,1,1,5,10,22,43,83,155,285,516,924,1639,2885,5045,8773,15182,26162,44915,76855,131119,223101,378696,641400,1084175,1829257,3081193,5181893,8702290,14594830,24446971,40902299,68359619,114132765,190373580,317258388,528265207,87890887...
models/tests/test04.als
transclosure/Amalgam
4
3964
<gh_stars>1-10 module tests/test open util/ordering[Int] as ord sig A {} one sig A1,A2,A3 extends A {} run {} for 0 expect 1 run {} for 1 expect 1 run {} for 2 expect 1 run {} for 3 expect 1 run {} for 4 expect 1
src/arch/cores/armv7-m/m4-scb.ads
PThierry/ewok-kernel
0
29058
<filename>src/arch/cores/armv7-m/m4-scb.ads<gh_stars>0 -- -- 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. --...
programs/oeis/074/A074909.asm
neoneye/loda
22
4049
<filename>programs/oeis/074/A074909.asm ; A074909: Running sum of Pascal's triangle (A007318), or beheaded Pascal's triangle read by beheaded rows. ; 1,1,2,1,3,3,1,4,6,4,1,5,10,10,5,1,6,15,20,15,6,1,7,21,35,35,21,7,1,8,28,56,70,56,28,8,1,9,36,84,126,126,84,36,9,1,10,45,120,210,252,210,120,45,10,1,11,55,165,330,462,462,...
oeis/167/A167353.asm
neoneye/loda-programs
11
88018
<filename>oeis/167/A167353.asm<gh_stars>10-100 ; A167353: Totally multiplicative sequence with a(p) = (p+1)*(p+3) = p^2+4p+3 for prime p. ; Submitted by <NAME> ; 1,15,24,225,48,360,80,3375,576,720,168,5400,224,1200,1152,50625,360,8640,440,10800,1920,2520,624,81000,2304,3360,13824,18000,960,17280,1088,759375,4032,5400,3...
src/databases.ads
skordal/databases
0
21654
<reponame>skordal/databases<gh_stars>0 -- Databases - A simple database library for Ada applications -- (c) <NAME> 2019 <<EMAIL>> -- Report bugs and issues on <https://github.com/skordal/databases/issues> -- vim:ts=3:sw=3:et:si:sta with Ada.Unchecked_Deallocation; with Interfaces; package Databases is pragma P...
programs/oeis/139/A139615.asm
karttu/loda
1
242745
; A139615: a(n) = 105*n + 15. ; 15,120,225,330,435,540,645,750,855,960,1065,1170,1275,1380,1485,1590,1695,1800,1905,2010,2115,2220,2325,2430,2535,2640,2745,2850,2955,3060,3165,3270,3375,3480,3585,3690,3795,3900,4005,4110,4215,4320,4425,4530,4635,4740,4845,4950,5055,5160,5265,5370,5475,5580,5685,5790,5895,6000,6105,6210...
P.agda
JacquesCarette/pi-dual
14
6527
<filename>P.agda {-# OPTIONS --without-K #-} module P where open import Data.Empty open import Data.Unit open import Data.Sum open import Data.Product open import Relation.Binary.PropositionalEquality ------------------------------------------------------------------------------ -- For now, a groupoid i...
test/Succeed/Issue222.agda
shlevy/agda
1,989
16022
-- There were some serious bugs in the termination checker -- which were hidden by the fact that it didn't go inside -- records. They should be fixed now. module Issue222 where record R (A : Set) : Set where module M (a : A) where -- Bug.agda:4,17-18 -- Panic: unbound variable A -- when checking that the expressio...
src/ada-core/src/linted-kos.ads
mstewartgallus/linted
0
14306
<gh_stars>0 -- Copyright 2015,2016 <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/licenses/LICENSE-2.0 -- -- Unless required by applicable law or a...
oeis/006/A006152.asm
neoneye/loda-programs
11
17436
<reponame>neoneye/loda-programs ; A006152: Exponential generating function x*exp(x/(1-x)). ; Submitted by <NAME> ; 1,2,9,52,365,3006,28357,301064,3549177,45965530,648352001,9888877692,162112109029,2841669616982,53025262866045,1049180850990736,21937381717388657,483239096122434354,11184035897992673017,2712874738717711634...
oeis/051/A051731.asm
neoneye/loda-programs
11
6876
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A051731: Triangle read by rows: T(n,k) = 1 if k divides n, T(n,k) = 0 otherwise (for n >= 1 and 1 <= k <= n). ; Submitted by <NAME> ; 1,1,1,1,0,1,1,1,0,1,1,0,0,0,1,1,1,1,0,0,1,1,0,0,0,0,0,1,1,1,0,1,0,0,0,1,1,0,1,0,0,0,0,0,1,1,1,0,0,1,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,1,1,1,...
fclib/nes/runtime_init.asm
haramako/fc
2
102959
.export runtime_init .include "_nes.s" .segment "CODE" runtime_init: ;; initialize hardwares ;; See: http://wiki.nesdev.com/w/index.php/Init_code ldx #$40 stx $4017 ldx #0 stx $2000 stx $2001 stx $4010 ;; wait for PPU worm-up ;; See: http://wiki.nesdev.com/w/index.php/PPU_power_up_state#Best_practice ...
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i9-9900K_12_0xca.log_21829_1719.asm
ljhsiun2/medusa
9
11482
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0xc86d, %rsi lea addresses_WC_ht+0x1a52d, %rdi clflush (%rsi) nop nop nop and %rdx, %rdx mov $62, %rcx rep movsq nop nop nop nop nop and %rsi, %rsi lea addresse...
vendor/stdlib/src/Relation/Unary.agda
isabella232/Lemmachine
56
7518
<reponame>isabella232/Lemmachine ------------------------------------------------------------------------ -- Unary relations ------------------------------------------------------------------------ module Relation.Unary where open import Data.Empty open import Data.Function open import Data.Unit open import Data.Prod...
programs/oeis/187/A187949.asm
jmorken/loda
1
83053
<gh_stars>1-10 ; A187949: Positions of 0 in A187948; complement of A187953. ; 2,5,10,13,15,18,23,26,31,34,36,39,44,47,49,52,57,60,65,68,70,73,78,81,86,89,91,94,99,102,104,107,112,115,120,123,125,128,133,136,138,141,146,149,154,157,159,162,167,170,175,178,180,183,188,191,193,196,201,204,209,212,214,217 mov $2,$0 add $2...
programs/oeis/174/A174928.asm
neoneye/loda
22
24523
<reponame>neoneye/loda<gh_stars>10-100 ; A174928: Partial sums of A174927. ; 1,65,66,130,131,195,196,260,261,325,326,390,391,455,456,520,521,585,586,650,651,715,716,780,781,845,846,910,911,975,976,1040,1041,1105,1106,1170,1171,1235,1236,1300,1301,1365,1366,1430,1431,1495,1496,1560 mov $1,$0 mod $0,2 mov $2,$1 add $1,$...
agda/Esterel/Lang/CanFunction/MergePotentialRuleCan.agda
florence/esterel-calculus
3
9196
{- The equivalent "goodness" of can w.r.t. the rmerge reduction. The lemma proved in this file is can-irr : ∀ {BV} {FV} θ₁ θ₂ q → CorrectBinding q BV FV → (distinct' (proj₁ FV) (proj₁ (Dom θ₂))) → Can q θ₁ ≡ Can q (θ₁ ← θ₂) That is, the result of the Can function will not change provided that t...
titanfp/fpbench/antlr/FPY.g4
billzorn/fpunreal
4
7320
<filename>titanfp/fpbench/antlr/FPY.g4 grammar FPY; // see: https://github.com/antlr/grammars-v4/blob/master/python/python3-py/Python3.g4 tokens { INDENT, DEDENT } @lexer::header{ from antlr4.Token import CommonToken import re import importlib # Pre-compile re only_spaces = re.compile("[^\r\n\f]+") only_newlines = ...
src/gen-artifacts.ads
My-Colaborations/dynamo
0
26753
----------------------------------------------------------------------- -- gen-artifacts -- Artifacts for Code Generator -- Copyright (C) 2011, 2012, 2018 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance wi...
oeis/142/A142037.asm
neoneye/loda-programs
11
16430
<reponame>neoneye/loda-programs ; A142037: Primes congruent to 7 mod 32. ; Submitted by <NAME> ; 7,71,103,167,199,263,359,487,647,743,839,967,1031,1063,1223,1319,1447,1511,1543,1607,1831,2087,2311,2503,2663,2791,2887,3079,3271,3463,3527,3559,3623,3719,3847,3911,3943,4007,4231,4327,4391,4423,4519,4583,4679,4871,4903,496...
tests/addr/5.asm
NullMember/customasm
414
7553
#ruledef test { ld {x} => 0x55 @ x`8 } #bankdef test { #addr 0x1_0000_0000_0000_0000, #outp 0 } #ruledef test2 { ld2 {x} => 0x55 @ x`128 } ld2 $ ; = 0x55_0000_0000_0000_0001_0000_0000_0000_0000 #addr 0x1_0000_0000_0000_0020 ; = 0x00_0000_0000_0000_0000_0000_0000_0000 ld2 $ ; = 0x55_0000_0000_0000_0001_0000_...
oeis/057/A057105.asm
neoneye/loda-programs
11
244097
; A057105: Triangle of numbers (when unsigned) related to congruum problem: T(n,k)=k^2+2nk-n^2 with n>k>0 and starting at T(2,1)=1. ; Submitted by <NAME>(s4) ; 1,-2,7,-7,4,17,-14,-1,14,31,-23,-8,9,28,49,-34,-17,2,23,46,71,-47,-28,-7,16,41,68,97,-62,-41,-18,7,34,63,94,127,-79,-56,-31,-4,25,56,89,124,161,-98,-73,-46,-17,...
experiments/tests/deadlock.als
kaiyuanw/ASketch
1
2088
pred Test0{ some disj State0, State1, State2 : State { Process = none State = State0 + State1 + State2 Mutex = none holds = none -> none -> none waits = none -> none -> none !Deadlock[] } } pred Test1{ some disj Mutex0, Mutex1, Mutex2 : Mutex | some disj State0, State1, State2 : State { ...
src/Examples/Main.agda
Zalastax/thesis
1
12996
<filename>src/Examples/Main.agda module Examples.Main where import Examples.PingPong as PingPong import Examples.InfiniteBind as InfiniteBind import Examples.TestSelectiveReceive as SelectiveReceive import Examples.TestCall as Call open import Runtime open import SimulationEnvironment open import ActorMonad import IO o...
sprite/539E34.spr.asm
RockmanEXEZone/MMBN45-English-Translation
6
98972
.include "sprite/template.asm" .gba .create TEMP+"/539E34.dmp",0 header anim frame @tile,@pal,@sub,@oam,1,ANIM_END tiles @tile, TEMP+"/539E34.img.bin" pal @pal, TEMP+"/539E34.pal.bin" subanim_none @sub oamlist_single @oam // tile x y size flip pal oam 0, -88, -10, SIZE_16x16, FLIP_NONE, 0 oam 4...
misc/terminal.asm
arpruss/ozdev
6
242702
<filename>misc/terminal.asm<gh_stars>1-10 ; ; Terminal Emulator for ZQ700 ; 25/06/2000 ; <NAME> ; ; ; Assemble with TASM31 as follows ; C:>TASM -80 -g3 <filename.asm> <filename.wzd> ; This generates a text list file: <filename.lst> ; and a binary object file: <filen...
_build/dispatcher/jmp_ippsECCPGetSizeStd192r1_e530da88.asm
zyktrcn/ippcp
1
247201
extern m7_ippsECCPGetSizeStd192r1:function extern n8_ippsECCPGetSizeStd192r1:function extern y8_ippsECCPGetSizeStd192r1:function extern e9_ippsECCPGetSizeStd192r1:function extern l9_ippsECCPGetSizeStd192r1:function extern n0_ippsECCPGetSizeStd192r1:function extern k0_ippsECCPGetSizeStd192r1:function extern ippcpJumpInd...
oeis/324/A324476.asm
neoneye/loda-programs
11
25763
<filename>oeis/324/A324476.asm ; A324476: Packing numbers for n-tripods. ; 1,2,5,8,11,14,19,23,28,32,38 mov $2,$0 lpb $0 sub $0,1 mov $1,3 add $2,$0 trn $0,3 lpe mul $1,$2 div $1,2 mov $0,$1 add $0,1
oeis/065/A065440.asm
neoneye/loda-programs
11
100443
<gh_stars>10-100 ; A065440: a(n) = (n-1)^n. ; 1,0,1,8,81,1024,15625,279936,5764801,134217728,3486784401,100000000000,3138428376721,106993205379072,3937376385699289,155568095557812224,6568408355712890625,295147905179352825856,14063084452067724991009,708235345355337676357632,37589973457545958193355601,2097152000000000000...