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
hopesup/src/main.asm
gb-archive/libbet
28
25807
.include "src/sms.inc" .asciitable map " " to "~" = $20 .enda .def STACK_SIZE 60 .export STACK_SIZE .ramsection "StackAndSAT" bank 0 slot WRAM0 align 256 stack_top ds STACK_SIZE sat_unused1 db sat_unused2 db sat_unused3 db sat_used db ; SAT fill level: $40 minimum, $80 maximum sat_y ds NUM_SPRITES sat_xn ds NUM_SPR...
.emacs.d/elpa/ada-mode-5.3.1/debug_gps_indent.adb
caqg/linux-home
0
2516
<filename>.emacs.d/elpa/ada-mode-5.3.1/debug_gps_indent.adb -- Abstract : -- -- call the GPS indentation engine with debug text -- -- Copyright (C) 2017 All Rights Reserved. -- -- This program is free software; you can redistribute it and/or -- modify it under terms of the GNU General Public License as -- publis...
assembler/tests/t_scmp/t_scmp.asm
paulscottrobson/RCA-Cosmac-VIP-III
1
166408
cpu sc/mp lde xae ane ore xre dae ade cae sio sr srl rr rrl halt ccl scl dint ien csa cas nop ldi 0x12 ani 0x23 ori 0x34 ...
src/day-11/adventofcode-day_11.ads
persan/advent-of-code-2020
0
13506
<reponame>persan/advent-of-code-2020 package Adventofcode.Day_11 is end Adventofcode.Day_11;
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1130.asm
ljhsiun2/medusa
9
90038
<filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1130.asm<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1e1cd, %rsi lea addresses_WC_ht+0xe78f, %rdi nop nop nop nop sub $45953, ...
soundness/STT.agda
frelindb/agsyHOL
17
12671
<filename>soundness/STT.agda module STT where -- simple type theory {- open import Data.Bool open import Relation.Binary.PropositionalEquality open import Data.Nat hiding (_>_) -} open import StdLibStuff open import Syntax -- inference system data ⊢_ : ∀ {n} → {Γ : Ctx n} → Form Γ $o → Set where ax-1 : ∀ {n} → ...
Cubical/Algebra/Polynomials/Multivariate/EquivCarac/An[Am[X]]-Anm[X].agda
guilhermehas/cubical
1
9134
<filename>Cubical/Algebra/Polynomials/Multivariate/EquivCarac/An[Am[X]]-Anm[X].agda {-# OPTIONS --safe --experimental-lossy-unification #-} module Cubical.Algebra.Polynomials.Multivariate.EquivCarac.An[Am[X]]-Anm[X] where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Isomorphism open import ...
agda/BBHeap/Push.agda
bgbianchi/sorting
6
13115
<filename>agda/BBHeap/Push.agda open import Relation.Binary.Core module BBHeap.Push {A : Set} (_≤_ : A → A → Set) (tot≤ : Total _≤_) (trans≤ : Transitive _≤_) where open import BBHeap _≤_ open import BBHeap.Equality _≤_ open import BBHeap.Equality.Properties _≤_ ...
src/ada/src/uxas-common-sentinel_serial_buffers.adb
pat-rogers/OpenUxAS
0
27516
<gh_stars>0 package body UxAS.Common.Sentinel_Serial_Buffers is ----------------------------- -- Get_Next_Payload_String -- ----------------------------- procedure Get_Next_Payload_String (This : in out Sentinel_Serial_Buffer; New_Data_Chunk : String; Result : out String...
oeis/095/A095126.asm
neoneye/loda-programs
11
91446
; A095126: Expansion of x*(4+5*x-x^2)/ (1-2*x-3*x^2+x^3). ; Submitted by <NAME> ; 4,13,37,109,316,922,2683,7816,22759,66283,193027,562144,1637086,4767577,13884268,40434181,117753589,342925453,998677492,2908377754,8469862531,24666180832,71833571503,209195822971,609226179619 mov $2,1 lpb $0 sub $0,1 add $1,2 add $...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1956.asm
ljhsiun2/medusa
9
240419
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r9 push %rbp push %rcx push %rdi lea addresses_WC_ht+0x1e94a, %r13 clflush (%r13) nop nop nop nop cmp %rcx, %rcx mov $0x6162636465666768, %r9 movq %r9, %xmm7 vmovups %ymm7, (%r13) xor %rdi, %rdi lea addresses_WT_ht+0x1008a, ...
non_regression/other_x86_linux_20.o.asm
LRGH/plasmasm
1
177377
<filename>non_regression/other_x86_linux_20.o.asm .file "regexmodule.c" .section .text.__x86.get_pc_thunk.bx,"axG",@progbits,__x86.get_pc_thunk.bx,comdat .hidden __x86.get_pc_thunk.bx .globl __x86.get_pc_thunk.bx .type __x86.get_pc_thunk.bx, @function __x86.get_pc_thunk.bx: movl (%esp), %ebx ret ...
programs/oeis/042/A042970.asm
neoneye/loda
22
4250
; A042970: a(n) = binomial(n, floor(n/2)) mod n. ; 0,0,0,2,0,2,0,6,0,2,0,0,0,2,0,6,0,2,0,16,0,2,0,4,0,2,0,20,0,0,0,6,0,2,0,24,0,2,0,20,0,6,0,28,0,2,0,12,0,2,0,32,0,20,0,0,0,2,0,4,0,2,0,6,0,42,0,40,0,42,0,52,0,2,0,44,0,20,0,20,0,2,0,0,0,2,0,48,0,0,0,52,0,2,0,60,0,2,0,56 mov $1,$0 add $1,1 dif $1,2 bin $0,$1 mod $0,$1 m...
src/third_party/nasm/test/elif.asm
Mr-Sheep/naiveproxy
2,219
161776
;Testname=unoptimized; Arguments=-O0 -fobj -oelif.obj; Files=stdout stderr elif.obj ;Testname=optimized; Arguments=-Ox -fobj -oelif.obj; Files=stdout stderr elif.obj %macro DosPrintMsg 1+ %ifnid %1 section .data %%str_to_print:db %1 section .text mov dx,%%str_to_print mov ah,9 int 0x21 %else mov dx,(%1) mov ah,...
Base/Change/Equivalence/Base.agda
inc-lc/ilc-agda
10
11778
------------------------------------------------------------------------ -- INCREMENTAL λ-CALCULUS -- -- Delta-observational equivalence - base definitions ------------------------------------------------------------------------ module Base.Change.Equivalence.Base where open import Relation.Binary.PropositionalEqualit...
src/sockets-can.ads
glencornell/ada-socketcan
2
4514
-- MIT License -- -- Copyright (c) 2021 <NAME> <<EMAIL>> -- -- 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, copy, mo...
libsrc/stdio/ansi/f_ansi.asm
Frodevan/z88dk
38
18923
<reponame>Frodevan/z88dk ; ; Z80 ANSI Library ; ;--------------------------------------------------- ; ANSI specifics handling. ; (Intel 8086 to Z80 port) ; ; Optimized for speed in the case of multi-character write requests. ; Original NANSI terminal driver (C) 1986 <NAME> - http://www.kegel.com ; Modifications...
software/hal/hpl/STM32/svd/stm32f429x/stm32_svd-syscfg.ads
TUM-EI-RCS/StratoX
12
27191
-- This spec has been automatically generated from STM32F429x.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; with HAL; with System; package STM32_SVD.SYSCFG is pragma Preelaborate; --------------- -- Registers -- --------------- -------------------- -- MEMRM_Register -- -----...
programs/oeis/206/A206351.asm
karttu/loda
0
161832
; A206351: a(n) = 7*a(n-1) - a(n-2) - 4 with a(1)=1, a(2)=3. ; 1,3,16,105,715,4896,33553,229971,1576240,10803705,74049691,507544128,3478759201,23843770275,163427632720,1120149658761,7677619978603,52623190191456,360684711361585,2472169789339635 mov $3,1 lpb $0,1 sub $0,1 add $4,$3 add $1,$4 add $3,$4 mov $2,$...
programs/oeis/022/A022776.asm
neoneye/loda
22
165153
; A022776: Place where n-th 1 occurs in A023115. ; 1,2,4,7,10,14,19,24,30,37,45,53,62,72,82,93,105,118,131,145,160,175,191,208,225,243,262,282,302,323,345,367,390,414,439,464,490,517,544,572,601,630,660,691,723,755,788,822,856,891,927,964,1001,1039,1078,1117,1157,1198,1240,1282,1325,1369,1413,1458,1504,1550,1597,1645,1...
msp430x2/msp430g2553/svd/msp430_svd-usci_a0_uart_mode.ads
ekoeppen/MSP430_Generic_Ada_Drivers
0
18602
-- This spec has been automatically generated from msp430g2553.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with System; -- USCI_A0 UART Mode package MSP430_SVD.USCI_A0_UART_MODE is pragma Preelaborate; --------------- -- Registers -- --------------- ...
archive/agda-3/src/Oscar/Class/Transitivity/Function.agda
m0davis/oscar
0
8065
open import Oscar.Prelude open import Oscar.Class open import Oscar.Class.Transitivity module Oscar.Class.Transitivity.Function where module _ {a} where instance 𝓣ransitivityFunction : Transitivity.class Function⟦ a ⟧ 𝓣ransitivityFunction .⋆ f g = g ∘ f
oeis/030/A030657.asm
neoneye/loda-programs
11
166286
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A030657: Parity of digits of Pi. ; Submitted by <NAME> ; 1,1,0,1,1,1,0,0,1,1,1,0,1,1,1,1,0,1,0,0,0,0,0,0,1,1,0,1,0,1,1,1,0,0,0,0,0,1,1,1,1,0,1,1,1,1,1,1,1,1,0,1,0,0,0,1,1,0,1,0,0,1,1,0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,1,1,0,0,1,1,1,0,0,1 mov $1,1 mov...
FoldingText 2 plugins and scripts/FTGroupByTag.applescript
korm/tree-tools
134
744
property pTitle : "FoldingText Report - Group lines by Tags" property pVer : "0.1" property pAuthor : "<NAME>" property pblnDebug : false property pDescription : " Creates a new report, based on the active FoldingText document. The new document contains only tagged lines, and these are grouped under (sorted) tag hea...
src/ffi-c/src/stdint_h.ads
shintakezou/adaplayground
0
28592
<gh_stars>0 pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with Interfaces.C.Extensions; package stdint_h is subtype uint8_t is unsigned_char; -- /usr/include/stdint.h:48 end stdint_h;
src/obdh.adb
STR-UPM/ToyOBDH
1
21762
<reponame>STR-UPM/ToyOBDH<filename>src/obdh.adb ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017, Universidad Politécnica de Madrid -- -- ...
Assignment7/prog1.asm
nikhilnayak98/CSE2011
0
165211
<filename>Assignment7/prog1.asm # Copy string to another string .data msg1 : .asciiz "Enter a string - " msg2 : .asciiz "\nString - " str : .word 0 buffer : .space 20 .text main: la $a0, msg1 li $v0, 4 syscall li $v0, 8 la $a0, buffer li $a1, 20 move $t0, $a0 syscall la $a0, msg2 li $v0, 4 sysca...
src/main/antlr/Jass.g4
Cokemonkey11/wc3libs
22
5114
// Define a grammar called Jass grammar Jass; options { language = Java; } @header { package net.moonlightflower.wc3libs.antlr; } BOOL_LITERAL: 'true' | 'false' ; int_literal: ID_INT_LITERAL | DEC_INT_LITERAL | OCT_INT_LITERAL | HEX_INT_LITERAL ; DEC_INT_LITERAL: [1-9] [0-9]* | [0-9] ; OCT_INT_LITERA...
asm/negative.asm
tigercosmos/16bitjs
509
93153
.data .number -10 .text .global main: main: lda b, .number mvi a, 0 mvi c, 0 sys hlt
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_51.asm
ljhsiun2/medusa
9
89759
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r9 push %rbp push %rbx push %rcx push %rdi lea addresses_WT_ht+0x1dd0b, %r15 nop nop nop nop xor $39361, %rdi movw $0x6162, (%r15) nop nop nop nop add %r9, %r9 lea addresses_D_ht+0x13f0b, %rdi nop nop xor $57260, %rcx vmovups (%rdi), %ymm0 vextracti...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_272.asm
ljhsiun2/medusa
9
164676
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r8 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x109fd, %rsi lea addresses_A_ht+0x123d, %rdi nop add $46793, %r13 mov $127, %rcx rep movsl nop add %rbx, %rbx lea addresses_normal_ht+0x177e5, %rsi lea addresses_WC_ht+0x1...
src/resources/music_game_over.asm
h1romas4/z88dk-msx-template
5
84390
<reponame>h1romas4/z88dk-msx-template<filename>src/resources/music_game_over.asm ; license:MIT License ; copyright-holders:<NAME> _music_game_over: DB 0 DW _music_game_over_trk1 DW _music_game_over_trk2 DW _music_game_over_trk3 _music_game_over_trk1: DB 201, %10, 200, 15 , 21 , 28 , 20 , 28 , 1...
Library/Config/Pref/prefFileSelector.asm
steakknife/pcgeos
504
26043
<filename>Library/Config/Pref/prefFileSelector.asm<gh_stars>100-1000 COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: prefFileSelector.asm AUTHOR: <NAME> ROUTINES: Name Description ---- ---...
pwnlib/shellcraft/templates/aarch64/linux/setsockopt_timeout.asm
zaratec/pwntools
5
20483
<% from pwnlib.shellcraft.aarch64.linux import setsockopt from pwnlib.shellcraft.aarch64 import mov from pwnlib.constants import SOL_SOCKET, SO_RCVTIMEO %> <%page args="sock, secs"/> <%docstring> Invokes the syscall for setsockopt with specified timeout. See 'man 2 setsockopt' for more information. Argum...
build-utils/protocol-base-mspec/src/main/antlr4/org/apache/plc4x/plugins/codegenerator/language/mspec/expression/Expression.g4
amrod-/plc4x
0
2273
grammar Expression; /* This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. In jurisdiction...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_720.asm
ljhsiun2/medusa
9
176235
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r8 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x12498, %rax nop nop xor %r10, %r10 movb (%rax), %r8b nop add %rsi, %rsi lea addresses_D_ht+0x7d28, %rsi lea addresses_UC_ht+0x1be18, %rdi nop nop no...
Engines/Win32/Blm.asm
Mingzhi5/MalwareRepository
0
177948
<filename>Engines/Win32/Blm.asm use32 BLM: cld lea ebx, [esi+ecx] ; ebx = ptr to end of code to morph nextcode: push ebx xor ecx, ecx push 4 pop ebx call .innext pop ebx rol edx, 7 ; simple RAND function neg dx cmp ebx, esi ja nextcode ret .next: movsb .innext: mov al, [esi] and al, 11100...
src/drivers/eic_u2254/sam-eic.ads
Fabien-Chouteau/samd51-hal
1
16306
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2020, AdaCore -- -- -- -- ...
test/Succeed/ProjectionLikeFunctions.agda
shlevy/agda
1,989
3156
<filename>test/Succeed/ProjectionLikeFunctions.agda -- Getting projection like functions right was a little tricky. -- Here are the cases that didn't work and weren't caught by -- existing test cases. module ProjectionLikeFunctions where record Wrap (A : Set) : Set where constructor [_] field unwrap : A postulate...
dropin/src/lexer-source-c_handler.adb
robdaemon/AdaYaml
32
14592
-- part of AdaYaml, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "copying.txt" with Interfaces.C; package body Lexer.Source.C_Handler is use type Yaml.C.Bool; procedure Read_Data (S : in out Instance; Buffer : out String; Length : out Natural) is beg...
programs/oeis/033/A033297.asm
neoneye/loda
22
4998
; A033297: Number of ordered rooted trees with n edges such that the rightmost leaf of each subtree is at even level. Equivalently, number of Dyck paths of semilength n with no return descents of odd length. ; 1,1,4,10,32,100,329,1101,3761,13035,45751,162261,580639,2093801,7601044,27756626,101888164,375750536,139151265...
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2.log_9297_1145.asm
ljhsiun2/medusa
9
161736
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %r8 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_normal_ht+0x10e58, %rsi lea addresses_A_ht+0x1ccf0, %rdi clflush (%rsi) cmp %r12, %r12 mov $2, %rcx rep movsl xor %rax, %rax lea addresses_UC_ht+0x12658, %r9 cmp %r8, %r8 mov $0x61626...
Override/IntelFsp2Pkg/FspSecCore/Ia32/FspHelper.nasm
LeeLeahy/quarkfsp
2
87541
<reponame>LeeLeahy/quarkfsp<filename>Override/IntelFsp2Pkg/FspSecCore/Ia32/FspHelper.nasm ;; @file ; Provide FSP helper function. ; ; Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR> ; This program and the accompanying materials ; are licensed and made available under the terms and condition...
src/norx-compare_tags.ads
jhumphry/SPARK_NORX
9
27756
<gh_stars>1-10 -- NORX.Compare_Tags -- Compare two Tag_Type values using a constant-time approach. This is split out -- into a separate child unit from NORX so that different compilation flags can -- be used. It is advisable to prevent optimisation of this function or else -- a clever compiler might use a short-circui...
reference_asm/font_from_rom.asm
tashiww/maten_tools
1
247554
; ######################################################################################## ; # Generated by the active disassembly feature of the Exodus emulation platform ; # ; # Creation Date: 2020-11-25 22:30:31 ; # Analysis Region: 0x00001FE8 - 0x0000200C ; ########################################################...
src/features/paging/set_kernel_break.asm
FranchuFranchu/fran-os
1
174957
<reponame>FranchuFranchu/fran-os<filename>src/features/paging/set_kernel_break.asm ; Implements sbrk() for the kernel kernel_break_point dd 0 ; Needs to be done after paging kernel_set_break_setup: call kernel_paging_new_kernel_page.calculate_virtual_address mov [kernel_break_point], ebx mov eax, [kernel_break_poi...
oeis/144/A144739.asm
neoneye/loda-programs
11
244203
; A144739: 7-factorial numbers A114799(7*n+3): Partial products of A017017(k) = 7*k+3, a(0) = 1. ; 1,3,30,510,12240,379440,14418720,648842400,33739804800,1990648483200,131382799891200,9590944392057600,767275551364608000,66752972968720896000,6274779459059764224000,633752725365036186624000,68445294339423908155392000,7871...
src/sys/processes/util-processes-tools.adb
RREE/ada-util
60
9445
<gh_stars>10-100 ----------------------------------------------------------------------- -- util-processes-tools -- System specific and low level operations -- Copyright (C) 2018, 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use thi...
alloy4fun_models/trashltl/models/9/zRxamj9XpATDrckN8.als
Kaixi26/org.alloytools.alloy
0
12
open main pred idzRxamj9XpATDrckN8_prop10 { always no Protected - Protected' } pred __repair { idzRxamj9XpATDrckN8_prop10 } check __repair { idzRxamj9XpATDrckN8_prop10 <=> prop10o }
src/risi_script-types-implementation-creators.ads
OneWingedShark/Risi
1
11152
<reponame>OneWingedShark/Risi With Risi_Script.Types.Internals; Private With Risi_Script.Types.Implementation; Private Package Risi_Script.Types.Implementation.Creators is Package Internal renames Risi_Script.Types.Internals; Function Create ( Item : Internal.Integer_Type ) return Representation; -- Functi...
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_15_1836.asm
ljhsiun2/medusa
9
1992
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %rbp push %rdx lea addresses_normal_ht+0x1727d, %r11 nop nop and $44337, %rbp movl $0x61626364, (%r11) nop nop nop nop nop inc %r15 pop %rdx pop %rbp pop %r15 pop %r11 ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r13 push %...
programs/oeis/335/A335756.asm
neoneye/loda
22
176882
<gh_stars>10-100 ; A335756: A cup filling problem starting with 2 empty cups of sizes 3 and n, where a(n) is the number of unreachable states (see details in comments). ; 2,0,2,12,6,8,22,12,14,32,18,20,42,24,26,52,30,32,62,36,38,72,42,44,82,48,50,92,54,56,102,60,62,112,66,68,122,72,74,132,78,80,142,84,86,152,90,92,162,...
test/Fail/Safe-flag-only-scope-checking-1.agda
alhassy/agda
3
899
<filename>test/Fail/Safe-flag-only-scope-checking-1.agda {-# OPTIONS --safe #-} useful-lemma : ∀ {a} {A : Set a} → A useful-lemma = useful-lemma
include/sf-network-tcpsocket.ads
Fabien-Chouteau/ASFML
0
26068
--////////////////////////////////////////////////////////// -- SFML - Simple and Fast Multimedia Library -- Copyright (C) 2007-2015 <NAME> (<EMAIL>) -- This software is provided 'as-is', without any express or implied warranty. -- In no event will the authors be held liable for any damages arising from the use of this...
AntlrLeftRecursionBenchmark/LeftRecursionGrammar.g4
KvanTTT/AntlrBenchmarks
2
6600
<filename>AntlrLeftRecursionBenchmark/LeftRecursionGrammar.g4 grammar LeftRecursionGrammar; leftRecExprRoot : leftRecExpr EOF ; notLeftRecExprRoot : notLeftRecExpr EOF ; leftRecExpr : atom | <assoc=right> leftRecExpr '^' leftRecExpr | leftRecExpr ('*' | '/' | '%') leftRecExpr | leftR...
test/Succeed/Issue1724.agda
KDr2/agda
0
6475
<reponame>KDr2/agda {-# OPTIONS --cubical-compatible --rewriting --confluence-check #-} module _ where {- Rewriting relation -} postulate _↦_ : ∀ {i} {A : Set i} → A → A → Set i idr : ∀ {i} {A : Set i} {a : A} → a ↦ a {-# BUILTIN REWRITE _↦_ #-} {- Identity type -} infixr 3 _==_ data _==_ {i} {A : Set i} (a :...
handyman.raven/src/main/antlr/in.handyman.raven/gmr/Raven.g4
SP-2827/handyman
1
1999
<gh_stars>1-10 grammar Raven; import JSON; process: 'process' name=STRING '{' tryBlock=tryClause catchBlock=catchClause finallyBlock= finallyClause '}'; tryClause : 'try' '{' (actions+=action)* '}' ; finallyClause: 'finally' '{' (actions+=action)* '}' ; catchClause: 'catch' '{' (action...
2 Year/2015 Pattern/MPL/Assignment 8.asm
bhushanasati25/College
4
240258
<reponame>bhushanasati25/College<gh_stars>1-10 ;Problem Statement:Write X86 menu driven Assembly Language Program (ALP) to implement OS (DOS) commands TYPE, COPY and DELETE using file operations. User is supposed to provide ;command line arguments in all cases. %macro cmn 4 ;input/output mov rax,%1 ...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt35_pkg.ads
best08618/asylo
7
27510
package Opt35_Pkg is pragma Pure; E : Exception; function F (I : Integer) return Integer; end Opt35_Pkg;
examples/timer/peripherals.ads
ekoeppen/STM32_Generic_Ada_Drivers
1
5469
with STM32GD.Timer; with STM32GD.Timer.Peripheral; with STM32_SVD.Interrupts; package Peripherals is package Timer is new STM32GD.Timer.Peripheral; end Peripherals;
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0_notsx.log_21829_192.asm
ljhsiun2/medusa
9
247417
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r12 push %r14 push %r15 push %rcx push %rsi // Faulty Load mov $0x26e097000000015a, %rcx nop add %rsi, %rsi mov (%rcx), %r15w lea oracles, %rcx and $0xff, %r15 shlq $12, %r15 mov (%rcx,%r15,1), %r15 pop %rsi pop ...
oeis/097/A097708.asm
neoneye/loda-programs
11
29877
; A097708: Sum of prime length repunits; sum_k=1..n (r(p(k))), where r()= A002275 and p(k) is the k-th prime. ; Submitted by <NAME> ; 0,11,122,11233,1122344,11112233455,1122223344566,11112233334455677,1122223344445566788,11112233334455556677899,11111122223344445566667789010,1122222233334455556677778900121 lpb $0 sub...
programs/oeis/089/A089013.asm
neoneye/loda
22
27156
<filename>programs/oeis/089/A089013.asm<gh_stars>10-100 ; A089013: a(n) = (A088567(8n) mod 2). ; 1,0,0,1,0,0,1,1,0,0,0,1,1,0,1,1,0,0,0,1,0,0,1,1,1,0,0,1,1,0,1,1,0,0,0,1,0,0,1,1,0,0,0,1,1,0,1,1,1,0,0,1,0,0,1,1,1,0,0,1,1,0,1,1,0,0,0,1,0,0,1,1,0,0,0,1,1,0,1,1,0,0,0,1,0,0,1,1,1,0,0,1,1,0,1,1,1,0,0,1 mul $0,3 seq $0,38189 ...
mc-sema/validator/x86_64/tests/FINIT.asm
randolphwong/mcsema
2
241990
<gh_stars>1-10 BITS 64 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS= ;TEST_FILE_META_END FLDZ ;TEST_BEGIN_RECORDING FINIT ;TEST_END_RECORDING
programs/oeis/021/A021040.asm
jmorken/loda
1
103448
; A021040: Decimal expansion of 1/36. ; 0,2,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7 mul $0,6 mov $1,6 add $1,$0 sub $0,1 mod $1,$0
3-mid/opengl/source/lean/text/private/opengl-fontimpl-texture.adb
charlie5/lace-alire
1
18917
<filename>3-mid/opengl/source/lean/text/private/opengl-fontimpl-texture.adb with openGL.Glyph.texture, openGL.Glyph.Container, openGL.Palette, openGL.Tasks, GL.Binding, GL.lean, GL.Pointers, freetype_c.Binding, ada.unchecked_Conversion; package body openGL.FontImpl.Textur...
Rust-massaged.g4
jbclements/rust-antlr
39
6335
grammar Rust; // splitting issues: &&, <<, >>, >>=, || // be more consistent in use of *_list, *_seq, and *s. // NB: associativity may be wrong all over the place. // re-check trailing comma legal locations // UNICODE: okay, I just got lost in Unicode Standard Annex #31, // "Unicode Identifier and Pattern Syntax". //...
programs/oeis/059/A059977.asm
neoneye/loda
22
100487
<gh_stars>10-100 ; A059977: a(n) = binomial(n+2, 2)^4. ; 1,81,1296,10000,50625,194481,614656,1679616,4100625,9150625,18974736,37015056,68574961,121550625,207360000,342102016,547981281,855036081,1303210000,1944810000,2847396321,4097152081,5802782976,8100000000,11156640625,15178486401,20415837456,27170906896,35806100625,...
Ada/inc/Problem_17.ads
Tim-Tom/project-euler
0
23953
<gh_stars>0 package Problem_17 is procedure Solve; end Problem_17;
oeis/143/A143861.asm
neoneye/loda-programs
11
240521
; A143861: Ulam's spiral (NNE spoke). ; 1,14,59,136,245,386,559,764,1001,1270,1571,1904,2269,2666,3095,3556,4049,4574,5131,5720,6341,6994,7679,8396,9145,9926,10739,11584,12461,13370,14311,15284,16289,17326,18395,19496,20629,21794,22991,24220,25481,26774,28099,29456,30845,32266,33719,35204,36721,38270,39851,41464,43109,...
main.asm
Zeturic/bpre-pokerus
0
24238
.gba .thumb .open "rom.gba", "test.gba", 0x08000000 .org allocation .area allocation_size .importobj "build/linked.o" .endarea .org 0x08043A68 .area 8, 0xFE ldr r3, =RandomlyGivePartyPokerus |1 bx r3 .pool .endarea .org 0x08043B38 .area 8, 0xFE ldr r3, =UpdatePartyPokerusTime |1 bx r3 .p...
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca_notsx.log_17_638.asm
ljhsiun2/medusa
9
171594
<filename>Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca_notsx.log_17_638.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_WC_ht+0x466f, %rsi nop nop nop nop nop dec %r14 mov $0x6162636465666768, %r9 movq %r9, %xmm6 movups %xmm6,...
Examples/Lib16/TestLib.asm
satadriver/LiunuxOS
0
174702
TITLE Testing the Link Library (TestLib.asm) ; Use this program to test individual Irvine16 ; library procedures. INCLUDE Irvine16.inc .data .code main PROC mov ax,@data mov ds,ax exit main ENDP END main
src/native/third_party/isa-l/igzip/igzip_deflate_hash.asm
eshelmarc/noobaa-core
178
13152
%include "options.asm" %include "lz0a_const.asm" %include "data_struct2.asm" %include "huffman.asm" %include "reg_sizes.asm" %define DICT_SLOP 8 %define DICT_END_SLOP 4 %ifidn __OUTPUT_FORMAT__, win64 %define arg1 rcx %define arg2 rdx %define arg3 r8 %define swap1 rdi %define swap2 rsi %else %define arg1 rdi %define ...
gyak/gyak3/sumDiagonal.adb
balintsoos/LearnAda
0
30085
<reponame>balintsoos/LearnAda with Ada.Text_IO; use Ada.Text_IO; procedure SumDiagonal is type Index is new Integer; type Elem is new Integer; type Matrix is array (Index range <>, Index range <>) of Elem; procedure Print ( M: in Matrix ) is begin for I in M'Range(1) loop for J ...
Cubical/Data/Group.agda
limemloh/cubical
1
2151
{-# OPTIONS --cubical --safe #-} module Cubical.Data.Group where open import Cubical.Data.Group.Base public
shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-mysql/src/main/antlr4/imports/mysql/BaseRule.g4
jlcon/shardingsphere
0
560
<filename>shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-mysql/src/main/antlr4/imports/mysql/BaseRule.g4 /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional in...
Monitor/common.asm
Martin-H1/6502
3
87250
<filename>Monitor/common.asm ; ----------------------------------------------------------------------------- ; Common module to define monitor aliases, data segments and macros. ; <NAME> <<EMAIL>> ; ----------------------------------------------------------------------------- ; establish module level scope to hide mod...
programs/oeis/324/A324129.asm
neoneye/loda
22
243502
; A324129: a(n) = n*Fibonacci(n) + ((-1)^n + 1)/2. ; 1,1,3,6,13,25,49,91,169,306,551,979,1729,3029,5279,9150,15793,27149,46513,79439,135301,229866,389643,659111,1112833,1875625,3156219,5303286,8898709,14912641,24961201,41734339,69705889,116311074,193898159,322961275,537492673,893839229,1485350423,2466593454,4093366201,...
libsrc/math/math48/ftoa.asm
jpoikela/z88dk
640
178703
SECTION code_fp_math48 PUBLIC ftoa EXTERN _ftoa_impl ; sccz80 points to the implementation defc ftoa = _ftoa_impl
libsrc/_DEVELOPMENT/string/c/sccz80/strpbrk.asm
Frodevan/z88dk
640
165031
<filename>libsrc/_DEVELOPMENT/string/c/sccz80/strpbrk.asm<gh_stars>100-1000 ; char *strpbrk(const char *s1, const char *s2) SECTION code_clib SECTION code_string PUBLIC strpbrk EXTERN asm_strpbrk strpbrk: pop de pop de pop hl push hl push de push de IF __CLASSIC && __CPU_GBZ80__ call asm_...
MySource/14-loop-1....n sum.asm
mdabdullahibnaharun/Assembly-Language
0
165250
<filename>MySource/14-loop-1....n sum.asm org 100h include "emu8086.inc" .model small .stack 100h .data n db ? sum db 0 .code main proc mov ax,@data mov ds,ax print "Enter N: " mov ah,1 int 21h sub al,48 mov n,al printn mov bl...
libsrc/_DEVELOPMENT/compress/zx7/c/sccz80/dzx7_standard.asm
meesokim/z88dk
0
20283
; void dzx7_standard(void *src, void *dst) SECTION code_compress_zx7 PUBLIC dzx7_standard EXTERN asm_dzx7_standard dzx7_standard: pop af pop de pop hl push hl push de push af jp asm_dzx7_standard
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/ifaces.adb
best08618/asylo
7
6946
<reponame>best08618/asylo with Text_IO; use Text_IO; package body Ifaces is procedure op1 (this : Root) is begin null; end; procedure op2 (this : DT) is begin null; end; end;
programs/oeis/059/A059421.asm
karttu/loda
1
91773
; A059421: A diagonal of A059419. ; 16,136,616,2016,5376,12432,25872,49632,89232,152152,248248,390208,594048,879648,1271328,1798464,2496144,3405864,4576264,6063904,7934080,10261680,13132080,16642080,20900880,26031096,32169816,39469696 mov $1,5 add $1,$0 bin $1,$0 mov $2,2 add $2,$0 mul $2,5 add $2,2 mul $1,$2 sub $1,1...
lib/am335x_sdk/ti/csl/arch/c66x/src/intvecs.asm
brandonbraun653/Apollo
2
94375
<reponame>brandonbraun653/Apollo ;/* ; * Copyright (C) 2013-2017 Texas Instruments Incorporated - http://www.ti.com/ ; * ; * Redistribution and use in source and binary forms, with or without ; * modification, are permitted provided that the following conditions ; * are met: ; * ; * Redistributions of source cod...
Transynther/x86/_processed/AVXALIGN/_st_zr_sm_/i7-7700_9_0x48.log_21829_1086.asm
ljhsiun2/medusa
9
99717
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r13 push %r14 push %r9 push %rax push %rbp push %rbx push %rcx // Store lea addresses_normal+0x145d9, %r13 nop nop nop and %rbp, %rbp movw $0x5152, (%r13) nop nop nop dec %rax // Store lea addresses_WC+0xd4d9, %rcx nop no...
bugs/bug15.ada
daveshields/AdaEd
3
19009
package Tables is procedure Foo ; end Tables; ---------------------------- package Checked_text_io is procedure Foo; end Checked_text_io; ---------------------------- package body Checked_text_io is procedure Foo is begin null; end Foo; end Checked_text_io; ---------------------------- with Checked_Text_Io; ...
Transynther/x86/_processed/P/_zr_/i7-7700_9_0x48.log_1_1129.asm
ljhsiun2/medusa
9
161804
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r8 push %r9 lea addresses_WT_ht+0x3775, %r13 sub $28437, %r9 movups (%r13), %xmm0 vpextrq $1, %xmm0, %r14 nop nop nop add $28681, %r8 pop %r9 pop %r8 pop %r14 pop %r13 ret .global s_faulty_load s_faulty_load: push %r12 push %r14 ...
references/DentShavit.g4
wevrem/wren
5
4195
<reponame>wevrem/wren /* * DentShavit.g4 * https://github.com/wevrem/wry * Author: <NAME> */ /* * This grammar is rigged up to test the DenterHelper class created by Yuval Shavit. */ grammar DentShavit; tokens { INDENT, DEDENT } //@lexer::header { // import DenterHelper; //} @lexer::members { private final Den...
apps/nrf24_modem/main.adb
ekoeppen/STM32_Generic_Ada_Drivers
1
7974
with Modem; procedure Main is begin if Modem.Init then Modem.Run; else Modem.Error; end if; end Main;
src/main/fragment/mos6502-common/vbuaa=vbuaa_minus_vbum1.asm
jbrandwood/kickc
2
172254
sec sbc {m1}
oeis/268/A268899.asm
neoneye/loda-programs
11
87919
<filename>oeis/268/A268899.asm ; A268899: Number of n X 3 0..2 arrays with some element plus some horizontally or antidiagonally adjacent neighbor totalling two exactly once. ; Submitted by <NAME> ; 12,168,1584,12960,98496,715392,5038848,34712064,235146240,1572120576,10400182272,68205846528,444063596544,2873352683520,1...
print.asm
rodolfovalentim/sistemb2016-1
0
87353
segment code ..start: mov ax, data mov ds, ax mov ax, stack mov ss, ax mov sp, stacktop ;abre arquivo mov ah, 3Dh mov al, 00 mov dx, filename mov cx, 1 int 21h mov word[handle], ax mov si, image read: mov ah, 3Fh mov bx, word[handle] mov cx, 1 mov dx, input int 21h ;verifica se o arquivo acabo...
repl/libmarkab/debugging.nasm
samblenny/markab-lab
0
91252
<gh_stars>0 ; Copyright (c) 2022 <NAME> ; SPDX-License-Identifier: MIT ; ; MarkabForth debugging words (meant to be included in ../libmarkab.nasm) ; This include path is relative to the working directory that will be in effect ; when running the Makefile in the parent directory of this file. So the ; include path is r...
tests/typing/bad/testfile-type-1.adb
xuedong/mini-ada
0
7702
with Ada.Text_IO; use Ada.Text_IO; procedure P is type t; begin put('a'); end;
test/Fail/ShapeIrrelevantIndexNoBecauseOfRecursion.agda
shlevy/agda
1,989
15618
{-# OPTIONS --experimental-irrelevance #-} module ShapeIrrelevantIndexNoBecauseOfRecursion where data ⊥ : Set where record ⊤ : Set where constructor trivial data Bool : Set where true false : Bool True : Bool → Set True false = ⊥ True true = ⊤ data D : ..(b : Bool) → Set where c : {b : Bool} → True b → D b ...
oeis/046/A046184.asm
neoneye/loda-programs
11
7149
; A046184: Indices of octagonal numbers which are also squares. ; Submitted by <NAME> ; 1,9,121,1681,23409,326041,4541161,63250209,880961761,12270214441,170902040409,2380358351281,33154114877521,461777249934009,6431727384198601,89582406128846401,1247721958419651009,17378525011746267721,242051628206028097081,33713442698...
regtests/util-streams-buffered-lzma-tests.adb
My-Colaborations/ada-util
0
6758
<reponame>My-Colaborations/ada-util<filename>regtests/util-streams-buffered-lzma-tests.adb ----------------------------------------------------------------------- -- util-streams-buffered-lzma-tests -- Unit tests for encoding buffered streams -- Copyright (C) 2018, 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- L...
home/bankswitch.asm
opiter09/ASM-Machina
1
170830
BankswitchHome:: ; switches to bank # in a ; Only use this when in the home bank! ld [wBankswitchHomeTemp], a ldh a, [hLoadedROMBank] ld [wBankswitchHomeSavedROMBank], a ld a, [wBankswitchHomeTemp] ldh [hLoadedROMBank], a ld [MBC1RomBank], a ret BankswitchBack:: ; returns from BankswitchHome ld a, [wBankswitch...