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
data/screens/main_menu_data.asm
SavagePencil/TriloTrackerSMSReplayerApp
0
172412
<reponame>SavagePencil/TriloTrackerSMSReplayerApp .IFNDEF __MAIN_MENU_DATA_ASM__ .DEFINE __MAIN_MENU_DATA_ASM__ .SECTION "Mode - Main Menu Data" FREE Mode_MainMenu_Data: ; Palette entries ; Font .DEFINE MAIN_MENU_DATA_FONT_PAL_BG 0 EXPORT .DEFINE MAIN_MENU_DATA_FONT_PAL_FG 1 EXPORT ; Buttons .DEFIN...
static/files/attiny10_analog.asm
AlanFromJapan/alanWebSites
1
19508
; ; for using the ADC ; Set up a variable voltage divider and connect ; it to pin 3 (PB1). ; connect an LED to pin 1 (PB0) ; If voltage is more than 2.5V, LED is on ; less than 2.5V, LED is off ; ; variables .DEF rsreg = r23 ; to save status register .CSEG ; code section .ORG $0000 ; the address ; interrupt vectors ...
libcpuid/masm-x64.asm
beltoforion/math-parser-benchmark-project
1
24600
.code ; procedure exec_cpuid ; Signature: void exec_cpiud(uint32_t *regs) exec_cpuid Proc push rbx push rcx push rdx push rdi mov rdi, rcx mov eax, [rdi] mov ebx, [rdi+4] mov ecx, [rdi+8] mov edx, [rdi+12] cpuid mov [rdi], eax mov [rdi+4], ebx mov [...
programs/oeis/231/A231683.asm
karttu/loda
0
82003
<filename>programs/oeis/231/A231683.asm<gh_stars>0 ; A231683: a(n) = Sum_{i=0..n} digsum_8(i)^4, where digsum_8(i) = A053829(i). ; 0,1,17,98,354,979,2275,4676,4677,4693,4774,5030,5655,6951,9352,13448,13464,13545,13801,14426,15722,18123,22219,28780,28861,29117,29742,31038,33439,37535,44096,54096,54352,54977,56273,58674,...
test/asset/agda-stdlib-1.0/Data/Char/Base.agda
omega12345/agda-mode
0
16474
<reponame>omega12345/agda-mode<gh_stars>0 ------------------------------------------------------------------------ -- The Agda standard library -- -- Basic definitions for Characters ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} module Data.Char.Base where...
x86/src/ffi/ffi-sysv-64.asm
sneakin/north
2
164289
;; _op loads rax+dict_entry_data ino r11 ;; _r11 calls or jmps to the function in r11 ;; no suffix loads ToS into r11 bits 64 copy_args_1: mov rdi, [rsp+ptrsize*2] ret copy_args_2: mov rdi, [rsp+ptrsize*2] mov rsi, [rsp+ptrsize*3] ret copy_args_3: mov rdi, [rsp+ptrsize*2] mov rsi, [rsp+ptrsize*3] mov rdx, [...
src/gen-commands.ads
Letractively/ada-gen
0
15706
<reponame>Letractively/ada-gen<filename>src/gen-commands.ads ----------------------------------------------------------------------- -- gen-commands -- Commands for dynamo -- Copyright (C) 2011, 2012 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you ...
core/src/main/antlr4/com/elepy/dao/parser/EleQuery.g4
RyanSusana/elepy
128
1933
grammar EleQuery; query : expression (limitSetting | pageNumberSetting | skipSetting)* EOF ; limitSetting: LIMIT EQUALS? NUMERIC; skipSetting: SKIP_ROW EQUALS? NUMERIC; pageNumberSetting: PAGE_NUMBER EQUALS? NUMERIC; expression : '(' expression ')' | expression booleanOperator expressi...
src/fltk-widgets.ads
micahwelf/FLTK-Ada
1
2605
<gh_stars>1-10 with FLTK.Images; limited with FLTK.Widgets.Groups.Windows; private with System.Address_To_Access_Conversions, Ada.Unchecked_Conversion, Interfaces.C; package FLTK.Widgets is type Widget is new Wrapper with private; type Widget_Reference (Data : not null access Wid...
Task/Remove-lines-from-a-file/Ada/remove-lines-from-a-file.ada
LaudateCorpus1/RosettaCodeData
1
14320
<filename>Task/Remove-lines-from-a-file/Ada/remove-lines-from-a-file.ada<gh_stars>1-10 with Ada.Text_IO, Ada.Directories, Ada.Command_Line, Ada.IO_Exceptions; use Ada.Text_IO; procedure Remove_Lines_From_File is Temporary: constant String := ".tmp"; begin if Ada.Command_Line.Argument_Count /= 3 then raise ...
src/main/antlr4/imports/KeyWords.g4
Yucukof/edu-antlr4-toy-parser-to-nbc
0
6444
lexer grammar KeyWords; // Words RETAIN: 'retain'|'RETAIN'; IMPORT: 'import'|'IMPORT'; BY: 'by'|'BY'; DEFAULT: 'default'|'DEFAULT'; WHILE: 'while'|'WHILE'; WHEN: 'when'|'WHEN'; DO: 'do'|'DO'; AS: 'as'|'AS'; SET: 'set'|'SET'; TO: 'to'|'TO'; COMPUTE: 'compute'|'COMPUTE'; NEXT: 'next'|'NEXT'; DONE: 'done'|'DONE'; IF: ...
applet/aide/source/editors/aide-editor-of_exception_handler.ads
charlie5/aIDE
3
11093
with AdaM.exception_Handler, gtk.Widget; private with gtk.Box, gtk.Frame, gtk.Alignment, gtk.Label, gtk.Button; limited with aIDE.Editor.of_block; package aIDE.Editor.of_exception_handler is type Item is new Editor.item with private; type View is access all Item'Class;...
oeis/021/A021799.asm
neoneye/loda-programs
11
22919
<filename>oeis/021/A021799.asm<gh_stars>10-100 ; A021799: Decimal expansion of 1/795. ; 0,0,1,2,5,7,8,6,1,6,3,5,2,2,0,1,2,5,7,8,6,1,6,3,5,2,2,0,1,2,5,7,8,6,1,6,3,5,2,2,0,1,2,5,7,8,6,1,6,3,5,2,2,0,1,2,5,7,8,6,1,6,3,5,2,2,0,1,2,5,7,8,6,1,6,3,5,2,2,0,1,2,5,7,8,6,1,6,3,5,2,2,0,1,2,5,7,8,6 add $0,1 mov $2,10 pow $2,$0 mov ...
alloy4fun_models/trashltl/models/14/kodX2qXkRqTNuCNXC.als
Kaixi26/org.alloytools.alloy
0
2436
<reponame>Kaixi26/org.alloytools.alloy open main pred idkodX2qXkRqTNuCNXC_prop15 { } pred __repair { idkodX2qXkRqTNuCNXC_prop15 } check __repair { idkodX2qXkRqTNuCNXC_prop15 <=> prop15o }
oeis/161/A161225.asm
neoneye/loda-programs
11
3825
; A161225: a(n) = number of distinct integers that can be constructed by removing one or more 0's from the binary representation of n, and concatenating while leaving the remaining digits in their same order. ; Submitted by <NAME> ; 0,1,0,2,1,1,0,3,2,3,1,2,1,1,0,4,3,5,2,5,3,3,1,3,2,3,1,2,1,1,0,5,4,7,3,8,5,5,2,7,5,7,3,5...
experiments/test-suite/addr.als
kaiyuanw/MuAlloy
6
2137
<gh_stars>1-10 pred test1 { some disj Address0: Address {some disj Name0, Name1, Name2: Name {some disj Name0, Name1, Name2, Address0: Listing {some disj Book0, Book1: Book { Address = Address0 Name = Name0 + Name1 + Name2 Listing = Name0 + Name1 + Name2 + Address0 Book = Book0 + Book1 entry = Book0->Name1 + Book0->Nam...
src/hvpp/ia32/context.asm
ExpLife0011/hvpp
1
6364
<gh_stars>1-10 ;++ ; ; Copyright (c) <NAME>. All rights reserved. ; ; Module: ; ; context.asm ; ; Abstract: ; ; This module implements AMD64-specific code to capture and restore ; the context of the caller. ; ; Author: ; ; <NAME> (@PetrBenes) 26-Jul-2018 - Initial version ; ; Environment: ; ; Kernel mode on...
tools/segments_readers.adb
svn2github/matreshka
24
30109
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
kernel/memory.asm
pixie-grasper/operating-system
1
27910
<reponame>pixie-grasper/operating-system %ifndef MEMORY_ASM_ %define MEMORY_ASM_ %include "return.asm" %include "atomic.asm" memory: .init: ; first, check already initialized mov rdi, .initialized call atomic.trylock jc return.false ; check size of the installed memory call .calcsize ; if memory not eno...
oeis/296/A296307.asm
neoneye/loda-programs
11
177804
; A296307: Array read by upwards antidiagonals: f(n,k) = (n+1)*ceiling(n/(k-1)) - 1. ; Submitted by <NAME> ; 1,5,1,11,2,1,19,7,2,1,29,9,3,2,1,41,17,9,3,2,1,55,20,11,4,3,2,1,71,31,13,11,4,3,2,1,89,35,23,13,5,4,3,2,1,109,49,26,15,13,5,4,3,2,1,131,54,29,17,15,6,5,4,3,2,1,155,71,43,29,17,15,6,5,4,3,2,1,181,77,47,32,19,17,7...
oeis/142/A142948.asm
neoneye/loda-programs
11
169738
<filename>oeis/142/A142948.asm ; A142948: Primes congruent to 51 mod 64. ; Submitted by <NAME> ; 179,307,499,563,691,883,947,1459,1523,1907,2099,2803,3187,3251,3571,4019,4211,4339,4723,4787,5107,5171,5683,5939,6067,6131,6323,6451,6899,7027,7219,7283,7411,7603,8179,8243,8563,8627,8819,9011,9203,9587,9907,10099,10163,107...
oeis/157/A157367.asm
neoneye/loda-programs
11
432
; A157367: a(n) = 4802*n^2 + 196*n + 1. ; 4999,19601,43807,77617,121031,174049,236671,308897,390727,482161,583199,693841,814087,943937,1083391,1232449,1391111,1559377,1737247,1924721,2121799,2328481,2544767,2770657,3006151,3251249,3505951,3770257,4044167,4327681,4620799,4923521,5235847,5557777,5889311,6230449,6581191,6...
build/greens_palette.asm
gasman/kisskill
2
88111
<reponame>gasman/kisskill<gh_stars>1-10 db 0, 0, 0, 0, 0, 0, 0, 4, 6, 6, 6, 6, 6, 6, 6, 6 db 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 34, 34, 34, 34 db 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 52, 52, 52, 52, 52 db 52, 52, 52, 52, 52, 52, 112, 54, 54, 116, 116, 116, 116, 116, 116, 116 db 116, 116, 116, 1...
src/loaders/stivale2/stivale2.nasm
Matt8898/TomatBoot-UEFI
88
26381
[BITS 64] [SECTION .data] align 16 gdt_ptr: dw .gdt_end - .gdt_start - 1 ; gdt limit dq .gdt_start ; gdt base align 16 .gdt_start: .null: dw 0x0000 ; limit low dw 0x0000 ; base low db 0x00 ; base mid dw 00000000b ; flags ...
test/Fail/UnifyWithIrrelevantArgument.agda
cruhland/agda
1,989
5916
-- {-# OPTIONS -v tc.meta:20 #-} module UnifyWithIrrelevantArgument where data _≡_ {A : Set}(a : A) : A -> Set where refl : a ≡ a fail : (A : Set) -> let X : .A -> A X = _ in (x : A) -> X x ≡ x fail A x = refl -- error: X cannot depend on its first argument
Quiz and Lab Assessment/Solution/2.asm
sakibsadmanshajib/CSE331L-Section-1-Fall20-NSU
0
4546
org 100h Arr DB 10 MOV BX,OFFSET Arr MOV [BX],1H MOV [BX+1],1H MOV DI,2 MOV SI,0H MOV CX,8 L1: MOV DX,[BX+SI] INC SI ADD DX,[BX+SI] MOV [BX+DI],DX INC DI LOOP L1 ret
A01/input1.asm
HeptaDecane/SPOSL_SEM6
0
166473
START 200 A DS 2 B ADD AREG =10 LTORG MULT BREG A END
libsrc/_DEVELOPMENT/adt/ba_priority_queue/c/sdcc_iy/ba_priority_queue_top.asm
jpoikela/z88dk
640
23917
; int ba_priority_queue_top(ba_priority_queue_t *q) SECTION code_clib SECTION code_adt_ba_priority_queue PUBLIC _ba_priority_queue_top EXTERN asm_ba_priority_queue_top _ba_priority_queue_top: pop af pop hl push hl push af jp asm_ba_priority_queue_top
alloy4fun_models/trainstlt/models/5/iDwWo8GPkaq7oyv8T.als
Kaixi26/org.alloytools.alloy
0
1246
open main pred idiDwWo8GPkaq7oyv8T_prop6 { always all s : Signal | always (s in Green implies s' not in Green) or always (s not in Green implies s' in Green) } pred __repair { idiDwWo8GPkaq7oyv8T_prop6 } check __repair { idiDwWo8GPkaq7oyv8T_prop6 <=> prop6o }
programs/oeis/330/A330002.asm
neoneye/loda
22
94113
; A330002: Beatty sequence for x, where 1/x + 1/(x+1)^2 = 1. ; 1,2,3,4,6,7,8,9,11,12,13,14,16,17,18,19,21,22,23,24,26,27,28,29,31,32,33,34,36,37,38,39,41,42,43,44,46,47,48,49,51,52,53,54,56,57,58,59,61,62,63,64,66,67,68,69,71,72,73,74,76,77,78,79,81,82,83 mul $0,5 div $0,4 add $0,1
ada-containers.ads
mgrojo/adalib
15
87
-- Standard Ada library specification -- Copyright (c) 2003-2018 <NAME> <<EMAIL>> -- Copyright (c) 2004-2016 AXE Consultants -- Copyright (c) 2004, 2005, 2006 Ada-Europe -- Copyright (c) 2000 The MITRE Corporation, Inc. -- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc. -- SPDX-License-...
projects/batfish/src/main/antlr4/org/batfish/vendor/a10/grammar/A10_common.g4
Ashlippers/batfish
0
512
<gh_stars>0 parser grammar A10_common; options { tokenVocab = A10Lexer; } quoted_text: QUOTED_TEXT; double_quoted_string: DOUBLE_QUOTE text = quoted_text? DOUBLE_QUOTE; single_quoted_string: SINGLE_QUOTE text = quoted_text? SINGLE_QUOTE; word_content: (double_quoted_string | single_quoted_string | WORD)+; word: W...
courses/fundamentals_of_ada/labs/prompts/160_genericity/generic_list-output.adb
AdaCore/training_material
15
12601
<gh_stars>10-100 with Ada.Text_IO; use Ada.Text_IO; package body Generic_List.Output is procedure Print (List : List_T) is begin null; end Print; end Generic_List.Output;
alloy4fun_models/trainstlt/models/0/CLhKrJSKHDzZYxTuf.als
Kaixi26/org.alloytools.alloy
0
4619
<gh_stars>0 open main pred idCLhKrJSKHDzZYxTuf_prop1 { once (all t:Track | Green in t.signal implies (before Green not in t.signal)) } pred __repair { idCLhKrJSKHDzZYxTuf_prop1 } check __repair { idCLhKrJSKHDzZYxTuf_prop1 <=> prop1o }
scripts/quit-simulator.scpt
kattrali/redcar-rubymotion
3
1769
<reponame>kattrali/redcar-rubymotion<filename>scripts/quit-simulator.scpt<gh_stars>1-10 tell application "iPhone Simulator" quit end tell
libsrc/_DEVELOPMENT/fcntl/c/sdcc_iy/_exit.asm
meesokim/z88dk
0
98381
; _Noreturn void _exit(int status) SECTION code_fcntl PUBLIC __exit EXTERN __exit_fastcall __exit: pop hl pop hl jp __exit_fastcall
.emacs.d/elpa/wisi-2.1.1/sal-gen_graphs.adb
caqg/linux-home
0
25219
-- Abstract : -- -- See spec. -- -- Copyright (C) 2017, 2019 Free Software Foundation All Rights Reserved. -- -- This library is free software; you can redistribute it and/or modify it -- under terms of the GNU General Public License as published by the Free -- Software Foundation; either version 3, or (at ...
src/ado-audits.ads
My-Colaborations/ada-ado
0
18291
----------------------------------------------------------------------- -- ado-audits -- Auditing support -- Copyright (C) 2018, 2019 <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. -- Y...
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_1391.asm
ljhsiun2/medusa
9
244049
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x113f7, %rax nop nop nop nop inc %r12 and $0xffffffffffffffc0, %rax vmovaps (%rax), %ymm1 vextracti128 $1, %ymm1, %xmm1 vpextrq $0, %xmm1, %rbx nop nop nop nop ...
agent/io/net.asm
jephthai/EvilVM
141
164174
<reponame>jephthai/EvilVM ;;; Optionally encrypt (does add size to payload, so is optional) %ifdef ADDCRYPTO %ifndef INKEY %define INKEY <KEY>` %endif %ifndef OUTKEY %define OUTKEY <KEY>` %endif %endif ;;; TCP transport options configured here %ifndef CONNECTWAIT %define CONNECTWAIT 1000 %endif %ifndef IPADDR %...
arch/ARM/STM32/svd/stm32wl5x_cm4/stm32_svd-ipcc.ads
morbos/Ada_Drivers_Library
2
21001
-- This spec has been automatically generated from STM32WB55x.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.IPCC is pragma Preelaborate; --------------- -- Registers -- --------------- type C1CR_Register is record...
program/system.asm
doowzs/BuggyOS
7
104371
<filename>program/system.asm _init: addi $k0, $zero, 0x10000000 addi $k1, $zero, 0x10000118 addi $gp, $zero, 0x1000D000 addi $sp, $zero, 0x1000FFFC addi $s0, $zero, 0x0000000D # ENTER KEY addi $s1, $zero, 0x0000000A # NEW LINE addi $s2, $zero, 0x100020D0 # frame end addi $s3, $zero, 0x100020D4 # last key addi $s6, $zer...
unittests/ASM/PrimaryGroup/3_F7_02.asm
cobalt2727/FEX
628
3779
%ifdef CONFIG { "RegData": { "RAX": "0x414243444546B8B7", "RBX": "0x51525354AAA9A8A7", "RCX": "0x9E9D9C9B9A999897" }, "MemoryRegions": { "0x100000000": "4096" } } %endif mov rdx, 0xe0000000 mov rax, 0x4142434445464748 mov [rdx + 8 * 0], rax mov rax, 0x5152535455565758 mov [rdx + 8 * 1], rax mo...
data/pokemon/base_stats/froslass.asm
TastySnax12/pokecrystal16-493-plus
2
168580
db 0 ; species ID placeholder db 70, 80, 70, 110, 80, 70 ; hp atk def spd sat sdf db ICE, GHOST ; type db 75 ; catch rate db 168 ; base exp db NO_ITEM, NEVERMELTICE ; items db GENDER_F100 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/frosla...
src/keystore-gpg.adb
thierr26/ada-keystore
25
29891
----------------------------------------------------------------------- -- keystore-gpg -- helpers to open keystores protected with GPG -- Copyright (C) 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance...
tests/lua_examples/trivial/lua_exit.asm
fengjixuchui/sjasmplus
220
25797
LUA pass1 lua_pass = 1 ENDLUA LUA pass3 ; wrong arguments sj.exit(27, 2) ENDLUA LUA allpass if (3 == lua_pass) then sj.exit(13); end ;-- exit precisely in third pass, to exercise certain code path in sjasm.cpp lua_pass = lua_pass + 1 ENDLUA
examples/ada-runtime/compute.ads
sinkinben/pok
2
10291
pragma No_Run_Time; with Interfaces.C; package Compute is procedure Compute; pragma Export (C, Compute, "compute"); end Compute;
oeis/025/A025535.asm
neoneye/loda-programs
11
162887
; A025535: a(n) = (1/C(2n,0) - 1/C(2n,1) + ... + d/C(2n,2n))*L, where d = (-1)^2n, L = LCM{C(2n,0), C(2n,1),..., C(2n,2n)}. ; Submitted by <NAME>(s3) ; 1,3,20,105,504,4620,51480,45045,1361360,23279256,21162960,446185740,2059318800,5736673800,155272637520,4512611027925,8494326640800,8022419605200,281206918792800,2671465...
src/cpu/gdt.asm
ayush7788/wolfx_kernel
6
19436
[bits 32] section .text global gdt_flush ;make gdt_flush a global function gdt_flush: mov eax, DWORD [esp + 4] lgdt [eax] ;lgdt the passed gdt structure mov ax, 10h mov ds, ax mov es, ax mov fs, ax mov gs, ax mov ss, ...
alloy4fun_models/trashltl/models/12/mbvu2PwRPMKkrW9SR.als
Kaixi26/org.alloytools.alloy
0
5070
<reponame>Kaixi26/org.alloytools.alloy open main pred idmbvu2PwRPMKkrW9SR_prop13 { always all f:File | f in Trash implies once f in File-Trash } pred __repair { idmbvu2PwRPMKkrW9SR_prop13 } check __repair { idmbvu2PwRPMKkrW9SR_prop13 <=> prop13o }
src/ada/src/comms/uxas-comms-transport-receiver.ads
VVCAS-Sean/OpenUxAS
88
18301
<filename>src/ada/src/comms/uxas-comms-transport-receiver.ads package UxAS.Comms.Transport.Receiver is type Transport_Receiver_Base is abstract new Transport_Base with private; type Transport_Receiver_Base_Ref is access all Transport_Receiver_Base; type Any_Transport_Receiver_Base is access Transport_Receiv...
libsrc/gfx/wide/w_unplot.asm
Frodevan/z88dk
38
97750
<filename>libsrc/gfx/wide/w_unplot.asm ; ; Z88 Graphics Functions - Small C+ stubs ; ; Written around the Interlogic Standard Library ; ; Stubs Written by <NAME> - 30/9/98 ; ; ; $Id: w_unplot.asm $ ; ; CALLER LINKAGE FOR FUNCTION POINTERS ; ----- void unplot(int x, int y) IF !__CPU_INTEL__ SECTI...
oeis/021/A021987.asm
neoneye/loda-programs
11
9605
; A021987: Decimal expansion of 1/983. ; Submitted by <NAME>(s2) ; 0,0,1,0,1,7,2,9,3,9,9,7,9,6,5,4,1,2,0,0,4,0,6,9,1,7,5,9,9,1,8,6,1,6,4,8,0,1,6,2,7,6,7,0,3,9,6,7,4,4,6,5,9,2,0,6,5,1,0,6,8,1,5,8,6,9,7,8,6,3,6,8,2,6,0,4,2,7,2,6,3,4,7,9,1,4,5,4,7,3,0,4,1,7,0,9,0,5,3 add $0,1 mov $2,10 pow $2,$0 div $2,983 mov $0,$2 mod ...
src/Homotopy.agda
vituscze/HoTT-lectures
0
7117
{-# OPTIONS --without-K #-} module Homotopy where open import GroupoidStructure open import PathOperations open import Types infix 1 _∼_ _∼_ : ∀ {a b} {A : Set a} {B : Set b} (f g : A → B) → Set _ f ∼ g = ∀ x → f x ≡ g x naturality : ∀ {a b} {A : Set a} {B : Set b} {x y : A} (f g : A → B) (H : f ∼ g) (p : x ≡ ...
libsrc/_DEVELOPMENT/font/font_8x8/_font_8x8_einstein_system.asm
Frodevan/z88dk
640
14995
SECTION rodata_font SECTION rodata_font_8x8 PUBLIC _font_8x8_einstein_system PUBLIC _font_8x8_einstein_system_end _font_8x8_einstein_system: IF __CPU_GBZ80__ INCLUDE "target/gb/fonts/lower.asm" ENDIF BINARY "font_8x8_einstein_system.bin" _font_8x8_einstein_system_end:
programs/oeis/049/A049108.asm
jmorken/loda
1
168790
<reponame>jmorken/loda<gh_stars>1-10 ; A049108: a(n) is the number of iterations of Euler phi function needed to reach 1 starting at n (n is counted). ; 1,2,3,3,4,3,4,4,4,4,5,4,5,4,5,5,6,4,5,5,5,5,6,5,6,5,5,5,6,5,6,6,6,6,6,5,6,5,6,6,7,5,6,6,6,6,7,6,6,6,7,6,7,5,7,6,6,6,7,6,7,6,6,7,7,6,7,7,7,6,7,6,7,6,7,6,7,6,7,7,6,7,8,6...
PRG/levels/Plains/Generic4.asm
narfman0/smb3_pp1
0
86036
<reponame>narfman0/smb3_pp1<filename>PRG/levels/Plains/Generic4.asm ; Original address was $BDB8 .word $0000 ; Alternate level layout .word $0000 ; Alternate object layout .byte LEVEL1_SIZE_02 | LEVEL1_YSTART_170 .byte LEVEL2_BGPAL_03 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18 | LEVEL2_UNUSEDFLAG .byte LEVEL3_TILESET_...
src/Ada/ewok-tasks.adb
wookey-project/ewok-legacy
0
7566
<filename>src/Ada/ewok-tasks.adb -- -- 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...
Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2.log_15927_552.asm
ljhsiun2/medusa
9
96055
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r8 push %r9 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x18bec, %rdx nop nop nop nop nop inc %rax movb $0x61, (%rdx) nop inc %rdx lea addresses_WT_ht+0xdb24, %r12 nop nop nop nop xor %rsi, %rsi vmovups (%r12), %ymm5 ve...
programs/oeis/171/A171001.asm
neoneye/loda
22
242826
<reponame>neoneye/loda<gh_stars>10-100 ; A171001: Binomial(n-k,k)^2 where k = ceiling(n/4). ; 1,0,1,4,9,9,36,100,225,400,1225,3136,7056,15876,44100,108900,245025,627264,1656369,4008004,9018009,25050025,64128064,153165376,344622096,1012766976,2538950544,6009350400,13521038400,41408180100,102252852900,240407818596 mov $...
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_5444_885.asm
ljhsiun2/medusa
9
16941
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x63d1, %r14 clflush (%r14) nop nop nop nop sub $32486, %rsi mov (%r14), %r15 nop nop nop sub $43836, %rsi lea addresses_A_ht+0x1e0d1, %rsi lea addresses_WT_ht+0x2fd1, %rdi nop nop ...
programs/oeis/094/A094684.asm
karttu/loda
0
13427
; A094684: Records in A094683. ; 0,1,5,11,18,27,36,46,58,70,82,96,110,125,140,156,172,189,207,225,243,262,281,301,322,343,364,385,407,430,453,476,500,524,548,573,598,623,649,675,702,729,756,783,811,839,868,896,925,955,985 mul $0,2 sub $0,1 mov $3,$0 pow $0,3 mod $3,2 lpb $0,1 add $0,$4 sub $0,1 add $1,17 add $...
src/main/fragment/mos6502-common/vdsm1_lt_0_then_la1.asm
jbrandwood/kickc
2
173604
lda {m1}+3 bmi {la1}
3-mid/opengl/source/lean/io/opengl-io-collada.adb
charlie5/lace-alire
1
5550
<reponame>charlie5/lace-alire<gh_stars>1-10 with collada.Document, collada.Library.geometries, collada.Library.controllers, ada.Text_IO; package body openGL.IO.collada is package std_Collada renames Standard.Collada; function to_Model (model_Path : in String) return IO.Model is us...
include/test/profile.asm
eyalabraham/dragon
0
174309
; ; profile.asm ; ; MC6809E CPU emulation for runing timing profile tests. ; ; This assembly code is used to test emulation timing. ; The code toggles an IO port to generate an external signal ; that can be timed with an oscilloscope. ; The code provide a general driver, and the measurements ; can be added in the "meas...
bits/src/bits.ads
vasil-sd/ada-tlsf
3
12215
<gh_stars>1-10 with BitOperations.Types; with BitOperations.Shift; with BitOperations.Mask; with BitOperations.Extract; with BitOperations.Search; with BitOperations.Shift.Axiom; with BitOperations.Search.Axiom; generic type Modular is mod <>; package Bits with SPARK_Mode, Pure, Preelaborate is package Types is...
generated/natools-static_maps-web-simple_pages.ads
faelys/natools-web
1
20941
-- Generated at 2017-03-10 17:26:29 +0000 by Natools.Static_Hash_Maps -- from src/natools-web-simple_pages-maps.sx package Natools.Static_Maps.Web.Simple_Pages is pragma Pure; type Command is (Unknown_Command, Comment_List, Date, Optional_Date, If_No_Date, Maps, My_Tags, Pat...
oeis/336/A336951.asm
neoneye/loda-programs
11
7271
<reponame>neoneye/loda-programs ; A336951: E.g.f.: 1 / (1 - x * exp(3*x)). ; Submitted by <NAME> ; 1,1,8,69,780,11145,191178,3823785,87406056,2247785073,64228084110,2018771719569,69221032558956,2571290056399545,102860527370221026,4408690840306136505,201557641172689004112,9790792086366911655009,503570143277542340304534 ...
vendor/stdlib/src/Data/Product1.agda
isabella232/Lemmachine
56
3129
------------------------------------------------------------------------ -- Products (variants for Set₁) ------------------------------------------------------------------------ -- I want universe polymorphism. module Data.Product1 where open import Data.Function open import Relation.Nullary infixr 4 _,_ infixr 2 _...
programs/oeis/076/A076457.asm
neoneye/loda
22
86861
<filename>programs/oeis/076/A076457.asm<gh_stars>10-100 ; A076457: Sum of numbers that can be written as t*n + u*(n+1) for nonnegative integers t,u in exactly four ways. ; 13,129,534,1510,3435,6783,12124,20124,31545,47245,68178,95394,130039,173355,226680,291448,369189,461529,570190,696990,843843,1012759,1205844,1425300...
libs/xlibc/syslib/syscall.asm
MUYIio/Mini-OS
5
83446
<reponame>MUYIio/Mini-OS [bits 32] [section .text] SYSCALL_INT EQU 0x40 ; 0个参数 global __syscall0 __syscall0: mov eax, [esp + 4] ; eax = syscall num int SYSCALL_INT ret ; 1个参数 global __syscall1 __syscall1: push ebx mov eax, [esp + 4 + 4] ; eax = syscall num mov ebx, [esp + 4 + 8] ; ebx = arg0 ...
gcc-gcc-7_3_0-release/gcc/ada/s-tpoaal.adb
best08618/asylo
7
27196
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
dv3/java/hd/init.asm
olifink/smsqe
0
91346
; DV3 java HDD inititilization 1.00 @ <NAME> 2020 ; ; based on ; ; DV3 Q40 IDE Initialisation V3.00  1992 <NAME> section dv3 xdef hd_init xref.l hd_vers xref.s hd.rev xref dv3_link xref dv3_acdef xref gu_fopen xref gu_fclos include 'dev8_dv3_keys' include 'dev8_dv3_hd_keys' include 'dev8_dv3_mac' ...
day04/src/password.adb
jwarwick/aoc_2019_ada
0
20937
<filename>day04/src/password.adb pragma Ada_2012; -- with Ada.Text_IO; use Ada.Text_IO; with Ada.Strings.Fixed; package body Password is function is_monotonic(str : in String) return Boolean is curr : Natural := Natural'First; last : Natural := Natural'First; begin for s in str'Range loop curr...
src/asf-converters-numbers.ads
jquorning/ada-asf
12
6824
----------------------------------------------------------------------- -- asf-converters-numbers -- Floating point number converters -- Copyright (C) 2010, 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compli...
src/test/ref/procedure-callingconvention-stack-10.asm
jbrandwood/kickc
2
97297
<filename>src/test/ref/procedure-callingconvention-stack-10.asm // Test a procedure with calling convention stack // Returning and passing struct values // Commodore 64 PRG executable file .file [name="procedure-callingconvention-stack-10.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Cod...
libsrc/_DEVELOPMENT/input/zx/c/sdcc_iy/in_wait_nokey.asm
meesokim/z88dk
0
179851
<filename>libsrc/_DEVELOPMENT/input/zx/c/sdcc_iy/in_wait_nokey.asm<gh_stars>0 ; void in_wait_nokey(void) SECTION code_input PUBLIC _in_wait_nokey EXTERN asm_in_wait_nokey defc _in_wait_nokey = asm_in_wait_nokey
test/Succeed/Issue2670.agda
shlevy/agda
1,989
13245
open import Agda.Builtin.Equality _∋_ : ∀ {a} (A : Set a) → A → A A ∋ x = x cong : ∀ {a b} {A : Set a} {B : Set b} (f : A → B) {x y} → x ≡ y → f x ≡ f y cong f refl = refl record IsRG (Node : Set) (Edge : Set) : Set where field src : Edge → Node tgt : Edge → Node rfl : Node → Edge eq-src-rf...
sw/552tests/inst_tests/unaligned/bnez_1.asm
JPShen-UWM/ThreadKraken
1
105145
// Original test: ./lavallee/hw4/problem6/bnez_1.asm // Author: lavallee // Test source code follows // This program tests the upper limit of the branch lbi r2, 8 // sets r2 to non zero value bnez r2, 127 // branches to largest positive twos comp number halt
tut.fi/cpu.structure.test/cpu_example.setup/1.0/src/storageProgram.asm
berigei/ipxactexamplelib
13
94289
<reponame>berigei/ipxactexamplelib<gh_stars>10-100 nop nop set 0 2 set 1 0x120 set 2 0x1A0 store 1 1 @isoSailoo plus 1 0 cmp 1 2 bne isoSailoo set 1 0x1A0 set 2 0x1E0 store 1 1 @hashSailoo plus 1 0 cmp 1 2 bne hashSailoo set 1 0x1A0 set 2 0x220 load 3 1 @hashLukee plus 1 0 cmp 1 2 bne hashLukee nop end
oeis/037/A037500.asm
neoneye/loda-programs
11
9087
; A037500: Base 7 digits are, in order, the first n terms of the periodic sequence with initial period 1,0,2. ; Submitted by <NAME> ; 1,7,51,358,2506,17544,122809,859663,6017643,42123502,294864514,2064051600,14448361201,101138528407,707969698851,4955787891958,34690515243706,242833606705944,1699835246941609 mov $2,1 lp...
Kernel/asm/scheduler.asm
lvittor/kernel-pure64
0
247773
<filename>Kernel/asm/scheduler.asm<gh_stars>0 GLOBAL _buildProcessContext, _openProcessContext GLOBAL _int20 %macro pushState 0 push rax push rbx push rcx push rdx push rbp push rdi push rsi push r8 push r9 push r10 push r11 push r12 push r13 push r14 push r15 %endmacro %macro popState 0 pop r15 pop ...
source/oasis/program-elements-private_extension_definitions.ads
reznikmm/gela
0
20229
<filename>source/oasis/program-elements-private_extension_definitions.ads<gh_stars>0 -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Definitions; with Program.Lexical_Elements; with Program.Element...
src/courbes/courbes-visiteurs.adb
SKNZ/BezierToSTL
0
3520
package body Courbes.Visiteurs is procedure Visiter(Self : Visiteur_Courbe; C : Courbe) is begin null; end; -- En absence d'override, on se ramène au type parent -- C'est à dire la courbe -- Et pour profiter d'une éventuel surcharge dans héritage, on redispatch procedure Visiter(Se...
oeis/083/A083402.asm
neoneye/loda-programs
11
89049
; A083402: Let A_n be the upper triangular matrix in the group GL(n,2) that has zero entries below the main diagonal and 1 elsewhere; a(n) is the size of the conjugacy class of this matrix in GL(n,2). ; Submitted by <NAME>(s4) ; 1,3,42,2520,624960,629959680,2560156139520,41781748196966400,2732860586067178291200,7157033...
programs/oeis/135/A135178.asm
neoneye/loda
22
26334
<reponame>neoneye/loda ; A135178: a(n) = p^3 + p^2 where p = prime(n). ; 12,36,150,392,1452,2366,5202,7220,12696,25230,30752,52022,70602,81356,106032,151686,208860,230702,305252,362952,394346,499280,578676,712890,922082,1040502,1103336,1236492,1306910,1455666,2064512,2265252,2590122,2704940,3330150,3465752,3894542,4357...
src/lab/lab7.asm
luishendrix92/lenguajezinterfaz
0
160187
<gh_stars>0 .model small .stack 64 .data num db "caca" .code MAIN PROC mov si,offset num mov cx,4 CICLO: lodsb mov dl,al mov ah,02h int 21h loop CICLO CLD rep movsb .exit ENDP end MAIN
programs/oeis/135/A135481.asm
karttu/loda
1
98953
; A135481: a(n) = 2^A007814(n+1) - 1. ; 0,1,0,3,0,1,0,7,0,1,0,3,0,1,0,15,0,1,0,3,0,1,0,7,0,1,0,3,0,1,0,31,0,1,0,3,0,1,0,7,0,1,0,3,0,1,0,15,0,1,0,3,0,1,0,7,0,1,0,3,0,1,0,63,0,1,0,3,0,1,0,7,0,1,0,3,0,1,0,15,0,1,0,3,0,1,0,7,0,1,0,3,0,1,0,31,0,1,0,3,0,1,0,7,0,1,0,3,0,1,0,15,0,1,0,3,0,1,0,7,0,1,0,3,0,1,0,127,0,1,0,3,0,1,0,7...
oeis/037/A037757.asm
neoneye/loda-programs
11
11462
<gh_stars>10-100 ; A037757: Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 2,3,1,0. ; Submitted by <NAME> ; 2,23,231,2310,23102,231023,2310231,23102310,231023102,2310231023,23102310231,231023102310,2310231023102,23102310231023,231023102310231,2310231023102310,231023...
agda-stdlib/src/Relation/Binary/Properties/Setoid.agda
DreamLinuxer/popl21-artifact
5
15183
------------------------------------------------------------------------------ -- The Agda standard library -- -- Additional properties for setoids ------------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} open import Relation.Binary module Relation.Binary.Prop...
PRG/levels/Giant/W8HTrap3.asm
narfman0/smb3_pp1
0
245741
<reponame>narfman0/smb3_pp1 ; Original address was $BD8F ; Cheep Cheep hand trap .word W8H_PrizeL ; Alternate level layout .word W8H_PrizeO ; Alternate object layout .byte LEVEL1_SIZE_08 | LEVEL1_YSTART_140 .byte LEVEL2_BGPAL_03 | LEVEL2_OBJPAL_09 | LEVEL2_XSTART_18 .byte LEVEL3_TILESET_11 | LEVEL3_VSCROLL_LOCKED ...
test/Succeed/Issue1886-omit-hidden.agda
pthariensflame/agda
0
6587
-- Andreas, 2016-12-30, issues #555 and #1886, reported by nad -- Hidden parameters can be omitted in the repetition -- of the parameter list. record R {a} (A : Set a) : Set a record R A where field f : A data D {a} (A : Set a) : Set a data D A where c : A → D A
programs/oeis/118/A118608.asm
neoneye/loda
22
104845
; A118608: Start with 1 and repeatedly reverse the digits and add 19 to get the next term. ; 1,20,21,31,32,42,43,53,54,64,65,75,76,86,87,97,98,108,820,47,93,58,104,420,43,53,54,64,65,75,76,86,87,97,98,108,820,47,93,58,104,420,43,53,54,64,65,75,76,86,87,97,98,108,820,47,93,58,104,420,43,53,54,64,65,75,76 mov $2,$0 mov ...
alloy4fun_models/trashltl/models/10/vQAxgBb3F22X8m2j7.als
Kaixi26/org.alloytools.alloy
0
2074
open main pred idvQAxgBb3F22X8m2j7_prop11 { Protected' = File } pred __repair { idvQAxgBb3F22X8m2j7_prop11 } check __repair { idvQAxgBb3F22X8m2j7_prop11 <=> prop11o }
programs/oeis/158/A158249.asm
neoneye/loda
22
240756
; A158249: 256n^2 - 2n. ; 254,1020,2298,4088,6390,9204,12530,16368,20718,25580,30954,36840,43238,50148,57570,65504,73950,82908,92378,102360,112854,123860,135378,147408,159950,173004,186570,200648,215238,230340,245954,262080,278718,295868,313530,331704,350390,369588,389298,409520,430254,451500,473258,495528,518310,54160...
test_cases/caso liset/casoprueba.asm
lorainemg/s-mipsv2-processor
0
14215
<filename>test_cases/caso liset/casoprueba.asm addi r1 r0 76 addi r2 r0 105 addi r3 r0 115 addi r4 r0 101 addi r30 r0 1 add r5 r30 r3 j salta addi r1 r0 99 tty r1 addi r1 r1 12 tty r1 push r1 sw r1, 0(r31) addi r2 r0 2 sub r1 r1 r2 tty r1 lw r1, 0(r31) tty r1 pop r1 addi r25 r0 1 pop r5 pop r4 pop r3 pop r2 pop r...
alfred-chrome-canary-incognito/src/canary_incognito.applescript
wad3g/alfred-workflows
0
816
<filename>alfred-chrome-canary-incognito/src/canary_incognito.applescript on alfred_script(q) tell application "Google Chrome Canary" activate tell application "System Events" keystroke "n" using {command down, shift down} end tell end tell end alfred_script
smsq/java/driver/snd/job.asm
olifink/smsqe
0
161773
; Soundfile jobs (2 & 3) v. 1.00 (c) <NAME> 2004 ******************************************************************** ; set up independant job to play the soundfile ; soundfile2 - that job belongs to caller ; soundfile3 - totally independent job ; ; SOUNDFILE "file_to_play" ; ; v. 1.00 2004 Nov 12 23:19:59 ; ; copyri...
Cubical/Talks/EPA2020.agda
dan-iel-lee/cubical
0
11129
{- Cubical Agda - A Dependently Typed PL with Univalence and HITs ============================================================== <NAME> Every Proof Assistant - September 17, 2020 Link to slides: https://staff.math.su.se/anders.mortberg/slides/EPA2020.pdf Link to video: https://vimeo.com/4...
src/Calf/Types/List.agda
jonsterling/agda-calf
29
11996
{-# OPTIONS --prop --without-K --rewriting #-} module Calf.Types.List where open import Calf.Prelude open import Calf.Metalanguage open import Data.List public using (List; []; _∷_; _∷ʳ_; [_]; length; _++_) list : tp pos → tp pos list A = U (meta (List (val A)))