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
hello.adb
FDMZ17/Hello-world
7
2800
with Ada.Text_IO; use Ada.Text_IO; procedure AdaHelloworld is begin Put_Line ("Hello world"); end AdaHelloWorld;
src/q_csv-q_read_file.ads
jfuica/bingada
4
1794
<filename>src/q_csv-q_read_file.ads --***************************************************************************** --* --* PROJECT: BingAda --* --* FILE: q_csv-q_read_file.ads --* --* AUTHOR: <NAME> --* --*****************************************************************************...
Task/Strip-a-set-of-characters-from-a-string/AppleScript/strip-a-set-of-characters-from-a-string-1.applescript
LaudateCorpus1/RosettaCodeData
1
2682
stripChar("She was a soul stripper. She took my heart!", "aei") on stripChar(str, chrs) tell AppleScript set oldTIDs to text item delimiters set text item delimiters to characters of chrs set TIs to text items of str set text item delimiters to "" set str to TIs as string ...
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/g-debpoo.adb
djamal2727/Main-Bearing-Analytical-Model
0
30103
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
play.asm
wiebow/tetris.c64
79
87502
// play mode .const linesPerLevel = 10 // level advance threshold .const delayChange = 4 // game goes this much faster each level .const DEFAULT_DROP_DELAY = 70 // -------------------------------------------- // starts a new game // level and drop delay have already been set! StartPlayMode: lda #0 sta soundde...
src/libksIRQ.asm
Kannagi/LKS
6
28910
<reponame>Kannagi/LKS<filename>src/libksIRQ.asm<gh_stars>1-10 VBlank: phd php phb pha phx phy rep #$10 ;16 bit xy sep #$20 ; 8 bit a lda RDNMI jsl LKS_DMA_OAM SNES_DMAX4 $01 SNES_DMAX4_BADD $18 jsl LKS_DMA_BG3 jsl VBlank0 ldy #0 -: lda HVBJOY and #$01 bne - ...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_413.asm
ljhsiun2/medusa
9
83104
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r8 push %r9 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x1aecd, %r10 nop nop xor $20405, %rax mov $0x6162636465666768, %r11 movq %r11, %xmm6 movups %xmm6, (%r10) nop nop nop nop nop xor ...
src/rejuvenation-placeholders.ads
TNO/Rejuvenation-Ada
1
22959
<filename>src/rejuvenation-placeholders.ads -- Internal package -- A placeholder is a hole / wild card for AST matching. -- A placeholder can also act as backreference: -- * when a placeholder occurs multiple times within a single find pattern, -- these parts should be identical to match -- * when a plac...
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_1808_1208.asm
ljhsiun2/medusa
9
98142
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r13 push %r14 push %r8 push %rax push %rbp push %rbx // Store lea addresses_A+0x8562, %r14 nop sub $45653, %r13 movw $0x5152, (%r14) nop nop nop nop add $56090, %rbp // Store lea addresses_UC+0x1f...
LibraBFT/Impl/Properties/VotesOnceDirect.agda
cwjnkins/bft-consensus-agda
0
14068
<filename>LibraBFT/Impl/Properties/VotesOnceDirect.agda {- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9. Copyright (c) 2020, 2021, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl -} {-# OPTIONS --al...
examples/examplesPaperJFP/StatefulObject.agda
agda/ooAgda
23
16318
<filename>examples/examplesPaperJFP/StatefulObject.agda module examplesPaperJFP.StatefulObject where open import Data.Product open import Data.String.Base as Str open import Data.Nat.Base as N open import Data.Vec as Vec using (Vec; []; _∷_; head; tail) open import SizedIO.Console hiding (main) open import Size open...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_341.asm
ljhsiun2/medusa
9
166920
<reponame>ljhsiun2/medusa<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r8 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0xe9c, %rsi lea addresses_A_ht+0x11fbc, %rdi nop nop dec %r13 mov $81, %rcx rep movsq nop nop nop xor %rdx, %rdx lea addresses_D_ht+0x2ad...
test/test9.asm
anantn/glendix
88
162984
section .data hello: db 'Hello world!',10 ; 'Hello world!' plus a linefeed character helloLen: equ $-hello ; Length of the 'Hello world!' string ; (I'll explain soon) section .text global _start _start: mov eax,8 mov ebx,hello int 40h
src/coffee_maker.adb
Fabien-Chouteau/coffee-clock
7
8277
------------------------------------------------------------------------------- -- -- -- Coffee Clock -- -- -- ...
kiwami2/src/interceptor.asm
Palzza/-
105
93944
<reponame>Palzza/- .data PUBLIC get_camera_data PUBLIC get_camera_data_end PUBLIC get_pause_value PUBLIC get_pause_value_end PUBLIC get_controller_input PUBLIC get_controller_input_end ;; Function that intercepts the values written into the camera get_camera_data PROC push r11 lea r11,[get_camera_data+200h];...
OpenCorePkg/Library/OcAppleKernelLib/LegacyBcopy.nasm
CEOALT1/RefindPlusUDK
10,125
163938
<reponame>CEOALT1/RefindPlusUDK ;------------------------------------------------------------------------------ ; @file ; Copyright (C) 2020, vit9696. All rights reserved. ; Copyright (C) 2006, Apple Computer, Inc. All rights reserved. ; ; All rights reserved. ; ; This program and the accompanying materials ; are...
test/Fail/Cumulativity-bad-meta-solution2.agda
cruhland/agda
1,989
3769
<gh_stars>1000+ {-# OPTIONS --cumulativity #-} open import Agda.Builtin.Equality mutual X : Set X = _ Y : Set₁ Y = Set test : _≡_ {A = Set₁} X Y test = refl
Appl/FileMgrs2/CommonDesktop/CShObj/cshobjDelete.asm
steakknife/pcgeos
504
103342
<gh_stars>100-1000 COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: cshobjDelete.asm AUTHOR: <NAME> ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date Description...
runtime/sources/arm/gnu_thumb1_case.asm
wdv4758h/Yeppp-
30
81502
/* * Yeppp! library runtime infrastructure * * This file is part of Yeppp! library and licensed under MIT license. * See runtime/LICENSE.txt for details. * */ .include "common.inc" .syntax unified /** * @brief GCC helper function for switch statements optimized using a jump table wi...
src/main/antlr4/org/xqdoc/XQueryLexer.g4
lcahlander/xqdoc
12
7500
<reponame>lcahlander/xqdoc lexer grammar XQueryLexer; // Note: string syntax depends on syntactic context, so they are // handled by the parser and not the lexer. // Tokens declared but not defined tokens {EscapeQuot, EscapeApos, DOUBLE_LBRACE, DOUBLE_RBRACE} @members { /// /// FIELDS /// ...
utils/src/utils.adb
Heziode/aoc-ada-2021
3
2832
with Ada.Command_Line; with Ada.Directories; with Ada.Strings.Unbounded; package body Utils is --------------- -- Open_File -- --------------- procedure Open_File (File : in out File_Type; Mode : File_Mode; Path : String; File_Form : String := DEFAULT_FILE_FORM_VALUE; Auto : Boolean := Fa...
programs/oeis/181/A181132.asm
jmorken/loda
1
171316
; A181132: a(0)=0; thereafter a(n) = total number of 0's in binary expansions of 1, ..., n. ; 0,0,1,1,3,4,5,5,8,10,12,13,15,16,17,17,21,24,27,29,32,34,36,37,40,42,44,45,47,48,49,49,54,58,62,65,69,72,75,77,81,84,87,89,92,94,96,97,101,104,107,109,112,114,116,117,120,122,124,125,127,128,129,129,135,140,145,149,154,158,162...
src/Data/List/Membership/Propositional/Disjoint.agda
tizmd/agda-distinct-disjoint
0
4415
{-# OPTIONS --safe --without-K #-} module Data.List.Membership.Propositional.Disjoint {ℓ} {A : Set ℓ} where import Relation.Binary.PropositionalEquality as P open import Data.List.Membership.Setoid.Disjoint (P.setoid A) public
alloy4fun_models/trashltl/models/10/R4jw6C2oQyngG9cyz.als
Kaixi26/org.alloytools.alloy
0
3180
<gh_stars>0 open main pred idR4jw6C2oQyngG9cyz_prop11 { Protected' =Protected + (File-Protected ) } pred __repair { idR4jw6C2oQyngG9cyz_prop11 } check __repair { idR4jw6C2oQyngG9cyz_prop11 <=> prop11o }
experiments/models/ctree.als
kaiyuanw/ASketch
1
5044
<filename>experiments/models/ctree.als<gh_stars>1-10 abstract sig Color {} one sig Red extends Color {} one sig Blue extends Color {} sig Node { neighbors: set Node, color: one Color } pred undirected { -- neighbors = ~neighbors \E,e1\ \CO,co\ \E,e1\ -- no iden & neighbors \UO,uo\ \E,e1\ } pred graphI...
oeis/270/A270126.asm
neoneye/loda-programs
11
24988
<reponame>neoneye/loda-programs<filename>oeis/270/A270126.asm ; A270126: Number of active (ON,black) cells at stage 2^n-1 of the two-dimensional cellular automaton defined by "Rule 86", based on the 5-celled von Neumann neighborhood. ; Submitted by <NAME> ; 1,5,24,96,384,1536,6144,24576,98304,393216,1572864,6291456,251...
bundles/org.pgcase.xobot.parsers/grammar/org/pgcase/xobot/parsers/postgres/Sql.g4
pgcase/xobot-ide
2
6218
<reponame>pgcase/xobot-ide<filename>bundles/org.pgcase.xobot.parsers/grammar/org/pgcase/xobot/parsers/postgres/Sql.g4<gh_stars>1-10 grammar Sql; import SqlKeyWords, PlPgSqlKeyWords; stmtblock: stmtmulti ; stmtmulti: stmtmulti ';' stmt | stmt ; stmt: alterDatabaseStmt | alterD...
supercoolQL/grammar/QL.g4
matt-chapman/supercoolQL
1
4867
<gh_stars>1-10 grammar QL; // parser // https://github.com/antlr/antlr4/blob/master/doc/parser-rules.md --parser rule reference formDeclaration : 'form' id=ID OPEN_BRACKET statement* CLOSE_BRACKET ; statement : text=STRING ID ':' type calculatedValue? ';' #question | 'if' '(' expression ')...
codigo/Ensamblador/uno/stepper/stepper.asm
robblack007/clase-interfaces-perifericos-robots
0
175118
; Copyright 2015 <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 agreed to in writing, softw...
src/main/fragment/mos6502-common/vbsaa=pbsc1_derefidx_vbuxx_plus_pbsc2_derefidx_vbuyy.asm
jbrandwood/kickc
2
83540
<reponame>jbrandwood/kickc<filename>src/main/fragment/mos6502-common/vbsaa=pbsc1_derefidx_vbuxx_plus_pbsc2_derefidx_vbuyy.asm lda {c1},x clc adc {c2},y
tests/fn_le/1.asm
NullMember/customasm
414
161824
#d le(0x00) ; = 0x00
SOAS/Abstract/Hom.agda
JoeyEremondi/agda-soas
39
2870
<reponame>JoeyEremondi/agda-soas<filename>SOAS/Abstract/Hom.agda -- Internal hom in families module SOAS.Abstract.Hom {T : Set} where open import SOAS.Common open import SOAS.Construction.Structure open import SOAS.Context open import SOAS.Variable open import SOAS.Families.Core {T} open import SOAS.Families.Isomorph...
Cubical/Codata/M/AsLimit/M.agda
dan-iel-lee/cubical
0
1062
<filename>Cubical/Codata/M/AsLimit/M.agda {-# OPTIONS --cubical --no-import-sorts --guardedness --safe #-} module Cubical.Codata.M.AsLimit.M where open import Cubical.Codata.M.AsLimit.M.Base public open import Cubical.Codata.M.AsLimit.M.Properties public
src/agate-mutexes.adb
Fabien-Chouteau/AGATE
3
12661
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017-2020, <NAME> -- -- -- -- Redistrib...
Cubical/ZCohomology/Groups/Torus.agda
knrafto/cubical
0
4112
{-# OPTIONS --cubical --no-import-sorts --safe #-} module Cubical.ZCohomology.Groups.Torus where open import Cubical.ZCohomology.Base open import Cubical.ZCohomology.Properties open import Cubical.ZCohomology.Groups.Connected open import Cubical.ZCohomology.MayerVietorisUnreduced open import Cubical.ZCohomology.Groups...
programs/oeis/179/A179257.asm
neoneye/loda
22
97972
; A179257: Number of permutations of length n which avoid the patterns 321 and 1324. ; 1,1,2,5,13,32,72,148,281,499,838,1343,2069,3082,4460,6294,8689,11765,15658,20521,26525,33860,42736,53384,66057,81031,98606,119107,142885,170318,201812,237802,278753,325161,377554,436493,502573,576424,658712,750140,851449 mov $1,$0 a...
src/LibraBFT/Impl/Consensus/BlockStorage/BlockStore.agda
LaudateCorpus1/bft-consensus-agda
0
12565
<filename>src/LibraBFT/Impl/Consensus/BlockStorage/BlockStore.agda {- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9. Copyright (c) 2021, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl -} open impor...
oeis/291/A291337.asm
neoneye/loda-programs
11
14167
; A291337: p-INVERT of (1,1,1,1,1,...), where p(S) = 1 - 2 S - 2 S^3. ; Submitted by <NAME> ; 1,3,10,34,115,387,1300,4366,14665,49263,165490,555934,1867555,6273687,21075220,70798066,237832225,798950763,2683918570,9016098634,30287816995,101745987387,341795711140,1148195728966,3857138603785,12957301471863,43527515777650,...
src/rosa/rosa.ads
kisom/rover-mk1
0
8034
<reponame>kisom/rover-mk1 pragma Profile (Ravenscar); package ROSA is end ROSA;
org.alloytools.alloy.diff/misc/paper/v2.als
jringert/alloy-diff
1
4372
sig Endpoint {} abstract sig Request { to: set Endpoint } sig LoginRequest extends Request{ from: one Endpoint, }{ #to = 1 } fact { all r1, r2 : LoginRequest | r1.from = r2.from implies r1 = r2 } run {}
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1957.asm
ljhsiun2/medusa
9
240516
<filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1957.asm .global s_prepare_buffers s_prepare_buffers: push %r8 push %rcx push %rdi lea addresses_WT_ht+0x128ca, %rdi nop nop nop nop nop and %rcx, %rcx mov $0x6162636465666768, %r8 movq %r8, %xmm2 movups %xmm2, (%rdi) sub %rdi, %rdi pop %rdi ...
workshop/src/parentpackage.adb
TNO/Rejuvenation-Ada
0
10775
<reponame>TNO/Rejuvenation-Ada<gh_stars>0 with Ada.Containers; pragma Unreferenced (Ada.Containers); package body ParentPackage is procedure ParentDummy is null; end ParentPackage;
kernel.asm
haniyehnasseri/xv6ProcessScheduling
0
169344
<reponame>haniyehnasseri/xv6ProcessScheduling kernel: file format elf32-i386 Disassembly of section .text: 80100000 <multiboot_header>: 80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh 80100006: 00 00 add %al,(%eax) 80100008: fe 4f 52 decb 0x52(%edi) 8010000b: e4 ...
formal_proofs/brehon.als
prashantpawar/DisputeResolution
1
4527
sig Party, Brehon { } sig Contract { partyA: one Party, partyB: one Party, primaryBrehon: one Brehon, secondaryBrehon: one Brehon, tertiaryBrehon: one Brehon } pred raiseDispute { } run raiseDispute for 2 Contract //sig PartyA, PartyB, PrimaryBrehon, secondaryBrehon, tertiaryBrehon { }
programs/oeis/021/A021061.asm
neoneye/loda
22
167687
; A021061: Decimal expansion of 1/57. ; 0,1,7,5,4,3,8,5,9,6,4,9,1,2,2,8,0,7,0,1,7,5,4,3,8,5,9,6,4,9,1,2,2,8,0,7,0,1,7,5,4,3,8,5,9,6,4,9,1,2,2,8,0,7,0,1,7,5,4,3,8,5,9,6,4,9,1,2,2,8,0,7,0,1,7,5,4,3,8,5,9,6,4,9,1,2,2,8,0,7,0,1,7,5,4,3,8,5,9 add $0,2 mov $1,10 pow $1,$0 mul $1,7 div $1,3990 mod $1,10 mov $0,$1
programs/oeis/230/A230847.asm
jmorken/loda
1
102740
<gh_stars>1-10 ; A230847: 1 + A054541(n). ; 3,2,3,3,5,3,5,3,5,7,3,7,5,3,5,7,7,3,7,5,3,7,5,7,9,5,3,5,3,5,15,5,7,3,11,3,7,7,5,7,7,3,11,3,5,3,13,13,5,3,5,7,3,11,7,7,7,3,7,5,3,11,15,5,3,5,15,7,11,3,5,7,9,7,7,5,7,9,5,9,11,3,11,3,7,5,7,9,5,3,5,13,9,5,9,5,7 mov $9,$0 mov $11,2 lpb $11 clr $0,9 mov $0,$9 sub $11,1 add...
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd1c03c.ada
best08618/asylo
7
24779
<reponame>best08618/asylo -- CD1C03C.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 contai...
Theory-and-Practice-of-Formal-Languages-Parsing/Grammars/LexerSample/LexerSampleParser.g4
KvanTTT/Samples
0
4444
parser grammar LexerSampleParser; options { tokenVocab = LexerSampleLexer; } root : .*? EOF ;
day05/src/day.adb
jwarwick/aoc_2020
3
2758
<reponame>jwarwick/aoc_2020 -- AoC 2020, Day 5 with Ada.Text_IO; package body Day is package TIO renames Ada.Text_IO; function parse_line(line : in String) return Boarding_Pass is curr : Boarding_Pass; begin declare low : Row_Type := Row_Type'first; high : Row_Type := Row_Type'last; tm...
src/Data/TreeRep.agda
L-TChen/agda-prelude
111
17003
module Data.TreeRep where open import Prelude hiding (_>>=_) renaming (_>>=′_ to _>>=_) open import Container.Traversable open import Builtin.Reflection open import Builtin.Float data Leaf : Set where char : Char → Leaf string : String → Leaf float : Float → Leaf name : Name → Leaf data TreeRep : Set w...
data/tilesets/ice_path_collision.asm
Dev727/ancientplatinum
28
192
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 00 tilecoll WALL, WALL, WALL, WALL ; 01 tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 02 tilecoll FLOOR, FLOOR, FLOOR, LADDER ; 03 tilecoll WALL, UP_WALL, WALL, FLOOR ; 04 tilecoll UP_WALL, UP_WALL, FLOOR, FLOOR ; 05 tilecoll UP_WALL, WALL, FLOOR, WALL ; 06 tilecoll FLOOR, FLOOR, F...
Time and Date/Current time.applescript
rogues-gallery/applescript
360
225
<reponame>rogues-gallery/applescript<filename>Time and Date/Current time.applescript (* set crrtdate to current date set crrtdate to (current date) as Unicode text set dateword to every word of crrtdate*) (* set datte to do shell script "date" datte *) set datte to current date set hower to get hours of datte set mi...
dino/lcs/item/80.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
6
11410
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 004D38 move.l D0, (A4)+ 004D3A move.l D0, (A4)+ 0246BC move.b D0, ($80,A6) 0246C0 beq $24714 [item+80] 0248B0 move.b #$1e, ($80,A6) 0248B6 move.l #$2000200, ($4,A6) [item+80] 024934 move.b #$...
test/Succeed/Issue2296b.agda
cruhland/agda
1,989
7191
<gh_stars>1000+ postulate A : Set a : A data D : Set where d : D data E : Set where e₀ : E e₁ : E → E e₂ : E → E → E _[_] : E → E → E e₀ [ y ] = y e₁ x [ y ] = e₁ x e₂ x₁ x₂ [ y ] = e₂ (x₁ [ y ]) (x₂ [ y ]) data P : E → Set where p₁ : ∀ x₁ x₂ → P x₁ → P x₂ → P (e₂ x₁ x₂) p₂ : ∀ x → P (x [...
ProgrammingLanguages/Ada/MergeSort/sort.adb
adithyap/coursework
2
7352
<filename>ProgrammingLanguages/Ada/MergeSort/sort.adb<gh_stars>1-10 package body sort is -- --------------------------------------- procedure MergeSort(A : in out m_array) is begin if SIZE > 0 then MergeSort(A, 1, SIZE); end if; end MergeSort; -- ----------------------...
src/instruction-test/v.mod.asm
brgmnn/uob-cpu-simulator
0
94599
# tests the vector mod instructions mov r4,#5 mov r5,#-3 mov r6,#11 mov r7,#12 v.mod r0,r4,#11
libsrc/_DEVELOPMENT/math/float/am9511/c/sdcc/cam32_sdcc_ldiv.asm
dikdom/z88dk
1
29331
; long __ldiv (long left, long right) SECTION code_clib SECTION code_fp_am9511 PUBLIC cam32_sdcc_ldivs, cam32_sdcc_ldivu EXTERN asm_sdcc_readr, asm_am9511_ldiv .cam32_sdcc_ldivs ; divide sdcc long by sdcc long ; ; enter : stack = sdcc_long right, sdcc_long left, ret ; ; exit : DEHL = sdcc_lon...
programs/oeis/073/A073424.asm
neoneye/loda
22
23936
; A073424: Triangle read by rows: T(m,n) = parity of 0^n + 0^m, n = 0,1,2,3 ..., m = 0,1,2,3, ... n. ; 0,1,0,1,0,0,1,0,0,0,1,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0 mov $1,1 lpb $0 ...
boot.asm
aolvos/imageboot-16
0
14511
;imageboot-16 by aolvos, 2020 Bits 16 ;set videomode mov ah,00h mov al,13h int 10h ;create stack cli mov ax,0x0000 mov ss,ax mov sp,0xFFFF sti ;main module boot_ok: call splash_image cli hlt splash_image: ;load data in memory mov cl,0x02 call read_data xor di,di ;setup palette ...
test/Succeed/TCFlags.agda
shlevy/agda
3
12295
<filename>test/Succeed/TCFlags.agda -- Tests for withNormalisation module _ where open import Agda.Builtin.Reflection open import Agda.Builtin.Nat open import Agda.Builtin.Equality open import Agda.Builtin.Bool open import Agda.Builtin.Unit open import Agda.Builtin.List infixl 4 _>>=_ _>>=_ = bindTC F : Bool → Set...
dev/smartdrv/messages/usa/sdvxdtxt.asm
minblock/msdos
0
244556
PAGE 58,132 ;****************************************************************************** TITLE SDTEXT.ASM -- Text messages for SmartDrv VxD ;****************************************************************************** ; ; (C) Copyright MICROSOFT Corp., 1991 ; ; Title: SDTEXT.ASM -- Text messages for SmartDrv V...
oeis/104/A104550.asm
neoneye/loda-programs
11
98771
; A104550: Number of horizontal segments in all Schroeder paths of length 2n (a horizontal segment is a maximal string of horizontal steps). ; Submitted by <NAME> ; 1,4,20,104,552,2972,16172,88720,489872,2719028,15157188,84799992,475894200,2677788492,15102309468,85347160608,483183316512,2739851422820,15558315261812,884...
output.asm
mena18/Compiler-With-Python
3
167214
<reponame>mena18/Compiler-With-Python section .bss digitSpace resb 100 digitSpacePos resb 8 Vvar1 resb 8 Vvar2 resb 8 Vvar3 resb 8 Vvar4 resb 8 section .data text db "Hello, World!",10 S1 db "arithmetic operation",10,0 S2 db "priority",10,0 section .text global _start _start: mov rax,S1 call _print_stri...
src/smk-main-run_command.adb
mgrojo/smk
0
16241
-- ----------------------------------------------------------------------------- -- smk, the smart make -- © 2018 <NAME> <<EMAIL>> -- SPDX-License-Identifier: APSL-2.0 -- ----------------------------------------------------------------------------- -- Licensed under the Apache License, Version 2.0 (the "License"); -- y...
programs/oeis/124/A124928.asm
jmorken/loda
1
104628
; A124928: Triangle read by rows: T(n,0) = 1, T(n,k) = 3*binomial(n,k) if k>=0 (0<=k<=n). ; 1,1,3,1,6,3,1,9,9,3,1,12,18,12,3,1,15,30,30,15,3,1,18,45,60,45,18,3,1,21,63,105,105,63,21,3,1,24,84,168,210,168,84,24,3,1,27,108,252,378,378,252,108,27,3,1,30,135,360,630,756,630,360,135,30,3,1,33,165,495,990,1386,1386,990,495,1...
oeis/056/A056576.asm
neoneye/loda-programs
11
21651
<filename>oeis/056/A056576.asm ; A056576: Highest k with 2^k <= 3^n. ; 0,1,3,4,6,7,9,11,12,14,15,17,19,20,22,23,25,26,28,30,31,33,34,36,38,39,41,42,44,45,47,49,50,52,53,55,57,58,60,61,63,64,66,68,69,71,72,74,76,77,79,80,82,84,85,87,88,90,91,93,95,96,98,99,101,103,104,106,107,109,110,112,114,115,117,118,120,122,123,125,...
src/lv-theme.ads
Fabien-Chouteau/ada-lvlg
3
18287
private with System; with Lv.Font; package Lv.Theme is type Theme is private; No_Theme : constant Theme; subtype Hue_T is Uint16_T range 0 .. 360; -- Set a theme for the system. -- From now, all the created objects will use styles from this theme by default -- @param th pointer to theme (retu...
rasm_wrapper.asm
derekfountain/z88dk-arkos-tracker2-example
0
88323
; This is a z80asm assembly language file. It wraps the the rasm-generated code ; (i.e. the binaries of the music and player) and assembles into a z88dk object ; which can be linked into the final C program. ; It pulls in the zsdcc-formatted symbols as generated by rasm so it knows where ; the initialisation, player-st...
libsrc/_DEVELOPMENT/math/float/math16/c/sdcc/cm16_sdcc_mul2.asm
Frodevan/z88dk
640
12808
SECTION code_fp_math16 PUBLIC cm16_sdcc_mul2 EXTERN cm16_sdcc_read1 EXTERN asm_f16_mul2 .cm16_sdcc_mul2 call cm16_sdcc_read1 jp asm_f16_mul2
Cubical/Algebra/Module/Base.agda
knrafto/cubical
0
6663
{-# OPTIONS --cubical --safe --no-import-sorts #-} module Cubical.Algebra.Module.Base where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Equiv open import Cubical.Foundations.Equiv.HalfAdjoint open import Cubical.Foundations.HLevels open import Cubical.Foundations.Isomorphism open import Cub...
test/Fail/ModuleArityMismatch.agda
cruhland/agda
1,989
13619
<filename>test/Fail/ModuleArityMismatch.agda module ModuleArityMismatch where module M (A : Set) where postulate A : Set module M′ = M A A
test/Fail/Issue3848.agda
shlevy/agda
1,989
11819
<filename>test/Fail/Issue3848.agda {-# OPTIONS --rewriting --confluence-check #-} open import Agda.Builtin.Equality open import Agda.Builtin.Equality.Rewrite postulate A : Set a : A record R : Set where constructor c field f : A open R postulate r : R rew₁ : ∀ x → c x ≡ r {-# REWRITE rew₁ #-} postulat...
antlr-basics/src/main/java/com/poc/chapter_03_3_4/ArrayInit.g4
cgonul/antlr-poc
0
1143
grammar ArrayInit; /** A rule called init that matches comma-separated values between {...}. */ init : '{' value (',' value)* '}' ; /** A value can be either a nested array/struct or a simple integer (INT) */ value : init | INT ; // parser rules start with lowercase letters, lexer rules with uppercase INT : [0-9]+ ;...
currypp/.cpm/packages/verify/examples/PROOF-permlength.agda
phlummox/curry-tools
0
9096
<filename>currypp/.cpm/packages/verify/examples/PROOF-permlength.agda<gh_stars>0 -- Agda program using the Iowa Agda library open import bool module PROOF-permlength (Choice : Set) (choose : Choice → 𝔹) (lchoice : Choice → Choice) (rchoice : Choice → Choice) where open import eq open import bool open impo...
alloy4fun_models/trashltl/models/17/wD5EGrc5eyMybsBXG.als
Kaixi26/org.alloytools.alloy
0
1253
<reponame>Kaixi26/org.alloytools.alloy<filename>alloy4fun_models/trashltl/models/17/wD5EGrc5eyMybsBXG.als open main pred idwD5EGrc5eyMybsBXG_prop18 { always all p : Protected | p in Protected until p in Trash and p not in Protected } pred __repair { idwD5EGrc5eyMybsBXG_prop18 } check __repair { idwD5EGrc5eyMybsBXG_pr...
source/unary/simpleunary.asm
paulscottrobson/Basic65816
0
83618
<filename>source/unary/simpleunary.asm<gh_stars>0 ; ******************************************************************************************* ; ******************************************************************************************* ; ; Name : simpleunary.asm ; Purpose : Simple unary functions. ; Date : 6th...
testcases/c1.asm
Moodrammer/PDP-11
9
8254
<reponame>Moodrammer/PDP-11<filename>testcases/c1.asm loopa: SUB Bbb,Aaa BNE loopb CLR Aaa loopb: DEC BBB HLT Define Aaa 10 Define Bbb 30
programs/oeis/140/A140724.asm
neoneye/loda
22
2276
<reponame>neoneye/loda ; A140724: Period 10: 1, 5, 9, 7, 7, 9, 5, 1, 3, 3 repeated. ; 1,5,9,7,7,9,5,1,3,3,1,5,9,7,7,9,5,1,3,3,1,5,9,7,7,9,5,1,3,3,1,5,9,7,7,9,5,1,3,3,1,5,9,7,7,9,5,1,3,3,1,5,9,7,7,9,5,1,3,3,1,5,9,7,7,9,5,1,3,3,1,5,9,7,7,9,5,1,3,3,1,5,9,7,7,9,5,1,3,3,1,5,9,7,7,9,5,1,3,3 pow $0,5 add $0,4 dif $0,4 mod $0...
oeis/142/A142985.asm
neoneye/loda-programs
11
165962
; A142985: a(1) = 1, a(2) = 6, a(n+2) = 6*a(n+1) + (n+1)*(n+2)*a(n). ; Submitted by <NAME> ; 1,6,42,324,2784,26424,275472,3132576,38629440,513708480,7331489280,111798455040,1814503057920,31234337164800,568451665152000,10906950910464000,220060558384128000,4657890328906752000,103208052940812288000,2389246642629439488000,...
moveForMonAll.applescript
rcmdnk/AppleScript
11
3169
<reponame>rcmdnk/AppleScript<filename>moveForMonAll.applescript set scriptPath to ((path to me as text) & "::") set moveForMonScpt to scriptPath & "moveForMon.scpt" set moveformon to load script file moveForMonScpt moveformon's moveformon({all:true})
libsrc/_DEVELOPMENT/font/fzx/c/sccz80/fzx_buffer_partition_callee.asm
meesokim/z88dk
0
170002
; char *fzx_buffer_partition(struct fzx_font *ff, char *buf, uint16_t buflen, uint16_t allowed_width) SECTION code_font_fzx PUBLIC fzx_buffer_partition_callee EXTERN asm_fzx_buffer_partition fzx_buffer_partition_callee: pop af pop hl pop bc pop de pop ix push af jp asm_fzx_buffer_partitio...
Task/Digital-root/Ada/digital-root-2.ada
LaudateCorpus1/RosettaCodeData
1
4834
<gh_stars>1-10 package body Generic_Root is procedure Compute_Root(N: Number; Root, Persistence: out Number; Base: Base_Type := 10) is function Digit_Sum(N: Number) return Number is begin if N < Number(Base) then return N; else ...
oeis/152/A152056.asm
neoneye/loda-programs
11
104579
<filename>oeis/152/A152056.asm ; A152056: a(n) = ((9+sqrt(3))^n + (9-sqrt(3))^n)/2. ; Submitted by <NAME>(s1) ; 1,9,84,810,8028,81324,837648,8734392,91882512,972602640,10340011584,110257202592,1178108743104,12605895573696,135013638364416,1446985635811200,15514677652177152,166399318145915136 mov $1,1 mov $3,1 lpb $0 ...
Program.asm
TrymenT-AlphA/MIPS-CPU
6
171578
<filename>Program.asm #$s0=i, $s1=sum 0x00 add $s1, $0, $0 # sum = 0 0x04 addi $s0, $0, 0 # i = 0 0x08 addi $s2, $0, 101 # $s2 = 100 for: 0x0c beq $s0, $s2, done 0x10 add $s1, $s1, $s0 0x14...
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48.log_21829_165.asm
ljhsiun2/medusa
9
243664
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x1a60a, %rbx clflush (%rbx) nop nop cmp %r15, %r15 mov (%rbx), %r9 sub %rsi, %rsi lea addresses_D_ht+0x12ef2, %rsi lea addresses_D_ht+0x1e862, %rdi nop nop ...
src/generated/uctype_h.ads
csb6/libtcod-ada
0
27560
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; package uctype_h is -- * Copyright (c) 2000, 2005, 2008 Apple Inc. All rights reserved. -- * -- * @APPLE_LICENSE_HEADER_START@ -- * -- * This file contains Original Code and/or Modifications of Original Code -- * as defined...
tests/auto_counters_suite.ads
jhumphry/auto_counters
5
17271
-- Auto_Counters_Suite -- Unit tests for Auto_Counters packages -- Copyright (c) 2016, <NAME> - see LICENSE file for details with AUnit.Test_Suites; package Auto_Counters_Suite is function Suite return AUnit.Test_Suites.Access_Test_Suite; end Auto_Counters_Suite;
33_TROVARRAY.asm
aleattene/lc2-exams
0
104192
<gh_stars>0 ; ************ DESCRIZIONE SOTTOPROGRAMMA ************ Il seguente sottoprogramma denominato TROVARRAY riceve nei registri R0 e R1 gli indirizzi delle prime celle di memoria contenenti due array A e B di numeri interi in complemento a due. I due array A e B sono ordinati per valori crescenti, non contengon...
helpers/signal.als
Alan32Liu/SWEN90010A2Marking
0
2704
open util/ordering[State] as ord // Names of you and your partner: // FILL IN HERE // the type of addresses abstract sig Address {} // some addresses are controlled by potential attackers sig AttackerAddress extends Address {} // one address belongs to the User who we model in this file one sig UserAddress extends ...
tests/factions-test_data-tests-careers_container.ads
thindil/steamsky
80
19736
<reponame>thindil/steamsky package Factions.Test_Data.Tests.Careers_Container is end Factions.Test_Data.Tests.Careers_Container;
napoca/boot/acpi_wakeup.nasm
fengjixuchui/napoca
170
176864
<gh_stars>100-1000 ; ; Copyright (c) 2020 Bitdefender ; SPDX-License-Identifier: Apache-2.0 ; section .text %include "system.nasm" %include "loader_interface.nasm" global gWakeupStart global gWakeupEnd global gWakeupData global gWakeupPatchedInstruction global GuestPscStub, GuestPscStubEnd %define RVA(X) X - ...
code/6/t3.asm
GeekHades1/AssemblyCode
1
13620
; 试验3 assume cs:code, ds:data, ss:stack code segment start: mov ax, stack mov ss, ax mov sp, 16 mov ax, data mov ds, ax push ds:[0] push ds:[2] pop ds:[2] pop ds:[0] mov ax, 4c00h int 21h code ends data segment dw 0123H, 0456H data ends stack segment dw 0...
libsrc/spectrum/zxmmc/cs_high.asm
andydansby/z88dk-mk2
1
96836
; ; ZX Spectrum ZXMMC specific routines ; code by <NAME> ; ported to z88dk by <NAME> - Feb 2010 ; ; $Id: cs_high.asm,v 1.1 2010/03/12 15:21:14 stefano Exp $ ; ;------------------------------------------------------------------------------------ ; CHIP_SELECT HIGH subroutine. Destroys no registers. Entire port is tie...
test/Fail/Issue3966.agda
KDr2/agda
0
16193
-- Andreas, 2019-08-07, issue #3966 -- -- Precise error location for unification problem during coverage checking. {-# OPTIONS --cubical-compatible #-} module _ {A : Set} where open import Common.Equality open import Common.List data _⊆_ : (xs ys : List A) → Set where _∷ʳ_ : ∀ {xs ys} → ∀ y → _⊆_ xs ys → _⊆_ xs (...
keynote-extractor.applescript
bevacqua/keynote-extractor
34
3861
<filename>keynote-extractor.applescript<gh_stars>10-100 -- import JSON script tell application "Finder" set json_path to file "json.scpt" of folder of (path to me) end set json to load script (json_path as alias) -- pull data from Keynote tell application "Keynote" activate tell front document set outputFol...
src/test/ref/address-6.asm
jbrandwood/kickc
2
19451
<gh_stars>1-10 // Test declaring a variable as at a hard-coded address // mainmem-page hard-coded address parameter // Commodore 64 PRG executable file .file [name="address-6.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [star...
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/i-fortra.adb
orb-zhuchen/Orb
0
6912
<filename>support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/i-fortra.adb ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
vector.adb
adrianhoe/adactfft
0
15246
-------------------------------------------------------------------------------- -- * Body name vector.adb -- * Project name ctffttest -- * -- * Version 1.0 -- * Last update 11/5/08 -- * -- * Created by <NAME> on 11/5/08. -- * Copyright (c) 2008 AdaStar Informatics http://adastarinformatics.com -- * All...
legend-engine-language-pure-grammar/src/main/antlr4/org/finos/legend/engine/language/pure/grammar/from/antlr4/navigation/NavigationParserGrammar.g4
dave-wathen/legend-engine
32
1296
<filename>legend-engine-language-pure-grammar/src/main/antlr4/org/finos/legend/engine/language/pure/grammar/from/antlr4/navigation/NavigationParserGrammar.g4 parser grammar NavigationParserGrammar; import CoreParserGrammar; options { tokenVocab = NavigationLexerGrammar; } // ------------------------------------...
Source/Input.asm
AAKMakes/ASM-projects
0
13782
; Console Input Assembly Program ; === STACK SEGMENT === MyStack segment stack DB 64 dup('12345678') MyStack endS ; === DATA SEGMENT === MyData Segment ; --- Declare Varibles here --- inputBuffer DB "1234567890123456" inputBufferTwo DB "1234567890123456" firstPrompt DB "What is your first name? ","$" secondProm...