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
programs/oeis/276/A276878.asm
karttu/loda
1
241205
<filename>programs/oeis/276/A276878.asm<gh_stars>1-10 ; A276878: Sums-complement of the Beatty sequence for 2*Pi. ; 1,2,3,4,5,8,9,10,11,14,15,16,17,20,21,22,23,24,27,28,29,30,33,34,35,36,39,40,41,42,45,46,47,48,49,52,53,54,55,58,59,60,61,64,65,66,67,68,71,72,73,74,77,78,79,80,83,84,85,86,89,90,91,92,93,96 mov $1,2 mov...
oeis/302/A302999.asm
neoneye/loda-programs
11
243793
; A302999: a(n) = Product_{k=1..n} (Fibonacci(k+2) - 1). ; Submitted by <NAME>(s2) ; 1,1,2,8,56,672,13440,443520,23950080,2107607040,301387806720,69921971159040,26290661155799040,16011012643881615360,15786858466867272744960,25195826113120167300956160,65080818850189392138369761280,272037822793791659138385602150400,18400...
programs/oeis/213/A213397.asm
karttu/loda
0
15810
<reponame>karttu/loda ; A213397: Number of (w,x,y) with all terms in {0,...,n} and 2*w >= |x+y-z|. ; 1,5,18,43,83,144,229,341,486,667,887,1152,1465,1829,2250,2731,3275,3888,4573,5333,6174,7099,8111,9216,10417,11717,13122,14635,16259,18000,19861,21845,23958,26203,28583,31104,33769,36581,39546,42667,45947,49392,53005,567...
Source/Levels/L0005.asm
AbePralle/FGB
0
176765
<filename>Source/Levels/L0005.asm ; L0005.asm trakktor clearing ; Generated 08.24.2000 by mlevel ; Modified 08.24.2000 by <NAME> INCLUDE "Source/Defs.inc" INCLUDE "Source/Levels.inc" ;--------------------------------------------------------------------- SECTION "Level0005Section",ROMX ;-----------------------------...
src/main/fragment/mos6502-common/pbuz1_derefidx_vbuyy=_byte_vwum2.asm
jbrandwood/kickc
2
175704
<filename>src/main/fragment/mos6502-common/pbuz1_derefidx_vbuyy=_byte_vwum2.asm lda {m2} sta ({z1}),y
externals/mpir-3.0.0/mpn/x86_64/k8/double.asm
JaminChan/eos_win
12
86748
dnl mpn_double dnl Copyright 2011 The <NAME> dnl This file is part of the MPIR Library. dnl The MPIR Library is free software; you can redistribute it and/or modify dnl it under the terms of the GNU Lesser General Public License as published dnl by the Free Software Foundation; either version 2.1 of the Licens...
oeis/344/A344791.asm
neoneye/loda-programs
11
163669
<filename>oeis/344/A344791.asm ; A344791: a(n) is the number of 2-point antichains in the poset D_{2n+1} of type D, whose elements are compositions of 2n+1. ; Submitted by <NAME>(s1) ; 2,10,29,66,129,228,374,580,860,1230,1707,2310,3059,3976,5084,6408,7974,9810,11945,14410,17237,20460,24114,28236,32864,38038,43799,50190...
sharding-core/src/main/antlr4/imports/PostgreSQLTCLStatement.g4
chuanandongxu/sharding-sphere
0
1478
grammar PostgreSQLTCLStatement; import PostgreSQLKeyword, Keyword, BaseRule, DataType, Symbol; /** * each statement has a url, * each base url : https://www.postgresql.org/docs/current/static/. * current version is 11 */ //sql-set-transaction.html setTransaction : SET TRANSACTION (transactionMode (COMMA ...
Task/Averages-Median/AppleScript/averages-median-2.applescript
LaudateCorpus1/RosettaCodeData
1
3292
<reponame>LaudateCorpus1/RosettaCodeData<filename>Task/Averages-Median/AppleScript/averages-median-2.applescript -- MEDIAN --------------------------------------------------------------------- -- median :: [Num] -> Num on median(xs) -- nth :: [Num] -> Int -> Maybe Num script nth on |λ|(xxs, n) ...
libsrc/_DEVELOPMENT/stdio/z80/asm_funlockfile.asm
jpoikela/z88dk
640
21061
; =============================================================== ; Jan 2014 ; =============================================================== ; ; void funlockfile(FILE *file) ; ; Reduce lock count of file by one. ; ; =============================================================== SECTION code_clib SECTION code_stdi...
test/Succeed/Options-in-right-order.agda
redfish64/autonomic-agda
1
7907
<filename>test/Succeed/Options-in-right-order.agda module Options-in-right-order where data Unit : Set where unit : Unit postulate IO : Set → Set {-# COMPILED_TYPE IO IO #-} {-# BUILTIN IO IO #-} postulate return : {A : Set} → A → IO A {-# COMPILED return (\_ -> return) #-} main = return unit
atlatl/std.asm
richRemer/atlatl
0
170963
<reponame>richRemer/atlatl global std.out global std.outln global std.outs global std.outsln global std.outb global std.outbln global std.outd global std.outdln global std.outq global std.outqln global std.endln extern zstr.len %include "util.inc" %include "String.inc" section .text ; std.out(RAX) ; print null-term...
deps/openssl/asm/x64-win32-masm/x86_64cpuid.asm
sgallagher/node
2
103792
<filename>deps/openssl/asm/x64-win32-masm/x86_64cpuid.asm<gh_stars>1-10 OPTION DOTNAME EXTERN OPENSSL_cpuid_setup:NEAR .CRT$XCU SEGMENT READONLY DWORD DQ OPENSSL_cpuid_setup .CRT$XCU ENDS .text$ SEGMENT ALIGN(64) 'CODE' PUBLIC OPENSSL_atomic_add ALIGN 16 OPENSSL_atomic_add PROC PUBLIC mov eax,DWORD PTR[rcx] $L$sp...
aux/2600/resx_during_draw/missile_late_hblank_66.asm
6502ts/6502.ts
49
105022
<filename>aux/2600/resx_during_draw/missile_late_hblank_66.asm DELAY_CYCLES = 16 INCLUDE missile_late_hblank.inc
src/Automata/Nondeterministic.agda
armkeh/agda-computability
0
15886
<reponame>armkeh/agda-computability module Automata.Nondeterministic where -- Standard libraries imports ---------------------------------------- open import Level using () renaming (zero to ℓ₀) open import Data.Nat using (ℕ) open import Data.Product using (_×_) open import Data.Vec using (Vec ; [] ; _∷_) open imp...
FormalAnalyzer/models/apps/SmartNightlightPlus.als
Mohannadcse/IoTCOM_BehavioralRuleExtractor
0
2055
module app_SmartNightlightPlus open IoTBottomUp as base open cap_motionSensor open cap_switch open cap_illuminanceMeasurement one sig app_SmartNightlightPlus extends IoTApp { lightSensor : one cap_illuminanceMeasurement, state : one cap_state, motionSensor : one cap_motionSensor, lights : some c...
oeis/193/A193651.asm
neoneye/loda-programs
11
162809
; A193651: a(n) = ((2*n + 1)!! + 1)/2. ; 1,2,8,53,473,5198,67568,1013513,17229713,327364538,6874655288,158117071613,3952926790313,106729023338438,3095141676814688,95949391981255313,3166329935381425313,110821547738349885938,4100397266318945779688,159915493386438885407813,6556535228843994301720313,28193101484029175497397...
programs/oeis/255/A255187.asm
karttu/loda
1
28827
; A255187: 29-gonal numbers: a(n) = n*(27*n-25)/2. ; 0,1,29,84,166,275,411,574,764,981,1225,1496,1794,2119,2471,2850,3256,3689,4149,4636,5150,5691,6259,6854,7476,8125,8801,9504,10234,10991,11775,12586,13424,14289,15181,16100,17046,18019,19019,20046,21100,22181,23289,24424,25586,26775,27991,29234,30504,31801,33125,34476...
print_functions.asm
Highwind360/NimbOS
0
245296
<filename>print_functions.asm ; ; Print function ; Expects bx to point to a null-terminated string ; Prints the string to the console ; print: push ax push bx push cx mov ah, 0x0e ; scrolling teletype routine .print_char: mov cx, [bx] test cl, cl je .exit add bx, 1 mov ...
src/lumen-binary.ads
darkestkhan/lumen
8
8963
<filename>src/lumen-binary.ads -- <NAME>, Phoenix AZ, April 2007 -- Lumen would not be possible without the support and contributions of a cast -- of thousands, including and primarily <NAME>. -- This code is covered by the ISC License: -- -- Copyright © 2010, NiEstu -- -- Permission to use, copy, modify, and/or dis...
src/NewSuperMarioBrosU/Workarounds/CrashFix/patch_CrashFix.asm
lilystudent2016/cemu_graphic_packs
1,002
21433
[NSMBU+LU_CrashFix_V0] moduleMatches = 0x1049CED8, 0x777D7B44 ; remove check for mii data 0x024D7394 = b .+0xE8 [NSMBU_CrashFix_V64USV80EU] moduleMatches = 0x6CAEA914, 0xFA29C89F 0x024D71C4 = b .+0xE8 [NSMBU_CrashFix_V0USV0EU] moduleMatches = 0xA7A5ECF1, 0xC7B938AD 0x024BDE70 = b .+0xE8 [NSLU_CrashFix_V0EUv0US] m...
SystemsProgramming/p13.asm
aaiijmrtt/JUCSE
6
86932
<filename>SystemsProgramming/p13.asm<gh_stars>1-10 %include "util.mac" extern buffer, array, inprompt, newline, arraysize, inpromptsize, newlinesize, outprompt, outpromptsize, inputarray, printarray section .text global _start _start: call inputarray write inprompt, inpromptsize write newline, newlinesize call p...
programs/oeis/138/A138452.asm
neoneye/loda
22
28995
; A138452: a(n) = ((n-th prime)^6-(n-th prime)^3))/2. ; 28,351,7750,58653,885115,2412306,12066328,23519511,74011861,297399466,443736945,1282837878,2375017660,3160641771,5389555753,11082106126,21090164131,25760073690,45229040703,64049963005,75666918636,121543481241,163469900791,248490292996,416485546128,530759560150,597...
oeis/087/A087584.asm
neoneye/loda-programs
11
6001
<reponame>neoneye/loda-programs<filename>oeis/087/A087584.asm ; A087584: a(n)=(1/7)*sum(k=0,n,binomial(n,k)*Fibonacci(k)*7^k). ; Submitted by <NAME> ; 1,9,122,1467,18205,223992,2762333,34044669,419657674,5172750495,63760719089,785929242096,9687552661513,119411072879553,1471889315038010,18142857823403763,223633182327192...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/hyper_flat.adb
best08618/asylo
7
3541
-- { dg-do run } -- { dg-options "-gnatp" } procedure Hyper_Flat is type Unsigned is mod 2 ** 32; x : Integer := 0; pragma Volatile (X); S : constant String := (1 .. X - 3 => 'A'); -- Hyper-flat null string begin if Unsigned'(S'Length) /= 0 then raise Program_Error; end if; end;
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr42_pkg.ads
best08618/asylo
7
18816
package Discr42_Pkg is type Rec (D : Boolean := False) is record case D is when True => N : Natural; when False => null; end case; end record; function F (Pos : in out Natural) return Rec; end Discr42_Pkg;
SMP9_4.X/SMP9_4.asm
tabinohito/I4_PIC
0
95885
<filename>SMP9_4.X/SMP9_4.asm LIST P=PIC16F84A #INCLUDE<P16F84A.INC> __CONFIG _HS_OSC&_CP_OFF&_WDT_OFF&_PWRTE_ON W_TEMP EQU 0CH STATUS_TEMP EQU 0DH CNT1 EQU 0EH CNTB EQU 0FH TMPA EQU 010H OUT EQU 011H REG1 EQU 012H ORG 0H GOTO MAIN ORG 04H ;PUSH MOVWF W_TEMP MOVF STATUS,W MOVW...
test/Succeed/Issue162.agda
cruhland/agda
1,989
15864
-- Now you don't need a mutual keyword anymore! module Issue162 where data Odd : Set data Even : Set where zero : Even suc : Odd → Even data Odd where suc : Even → Odd -- This means you can have all kinds of things in -- mutual blocks. -- Like postulates _o+e_ : Odd → Even → Odd _e+e_ : Even → Even → Even z...
src/Progress.agda
boystrange/FairSubtypingAgda
4
3303
<reponame>boystrange/FairSubtypingAgda -- MIT License -- Copyright (c) 2021 <NAME> and <NAME> -- Permission is hereby granted, free of charge, to any person -- obtaining a copy of this software and associated documentation -- files (the "Software"), to deal in the Software without -- restriction, including without li...
QuantitativeAlloy/models/alloy/league/league_history_quantitative.als
pf7/QAlloy
0
4040
sig Team{ History : set Result } sig Date{} sig Game{ home : one Team, away : one Team, date : one Date, s : one Game } abstract sig Result{} one sig Win, Lose extends Result{} fact{ --(a) No team can play two games on the same date; --(away + home) . ~(away + home) & date . ~date in iden ~(away + home) . d...
programs/oeis/157/A157657.asm
neoneye/loda
22
10396
<filename>programs/oeis/157/A157657.asm ; A157657: a(1) = 1, a(n) = -mu(n) for n >= 2. ; 1,1,1,0,1,-1,1,0,0,-1,1,0,1,-1,-1,0,1,0,1,0,-1,-1,1,0,0,-1,0,0,1,1,1,0,-1,-1,-1,0,1,-1,-1,0,1,1,1,0,0,-1,1,0,0,0,-1,0,1,0,-1,0,-1,-1,1,0,1,-1,0,0,-1,1,1,0,-1,1,1,0,1,-1,0,0,-1,1,1,0,0,-1,1,0,-1,-1,-1,0,1,0,-1,0,-1,-1,-1,0,1,0,0,0 ...
src/loga.adb
mangl-auf/loga
1
5515
<filename>src/loga.adb with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; with Ada.Environment_Variables; with GNAT.String_Split; package body Loga is ---------------- -- New_Logger -- ---------------- Current_Color : Natural range Colors_As_Integer (Colors'Val (1)) .. Colors_As_Integer (C...
3-mid/opengl/source/lean/model/opengl-model-segment_line.adb
charlie5/lace-alire
1
3762
<reponame>charlie5/lace-alire<filename>3-mid/opengl/source/lean/model/opengl-model-segment_line.adb<gh_stars>1-10 with openGL.Primitive.indexed, openGL.Primitive, ada.unchecked_Deallocation; package body openGL.Model.segment_line is function to_segment_line_Model (Color : in openGL.Color) return I...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/requeue1.adb
best08618/asylo
7
14027
<gh_stars>1-10 -- { dg-do run } with Ada.Text_Io; use Ada.Text_Io; procedure requeue1 is protected P is entry Requeue_Without_Abort; entry Queue_Without; procedure Open; private Opened: Boolean := False; end P; protected body P is entry Requeue_Without_Abort when True is be...
main/src/parser/SVM.g4
kode-git/project-compiler-antlr4
1
980
grammar SVM; @header { import java.util.HashMap; } @lexer::members { public int lexicalErrors=0; } /*------------------------------------------------------------------ * PARSER RULES *------------------------------------------------------------------*/ assembly: (instruction)* ; instruction: ( PUSH n=NUMBE...
src/el-contexts-default.adb
My-Colaborations/ada-el
0
28538
----------------------------------------------------------------------- -- EL.Contexts -- Default contexts for evaluating an expression -- Copyright (C) 2009, 2010, 2011, 2012, 2018 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use ...
programs/vesachk2.asm
informer2016/MichalOS
0
16890
; ------------------------------------------------------------------ ; MichalOS VESA mode checker ; ------------------------------------------------------------------ BITS 16 %INCLUDE "michalos.inc" ORG 100h start: mov di, 800h ; 2kB after the program loads call os_vesa_scan mov bx, 4000h mov ax, [di + 2]...
_tests/trrup/Gold/t4.g4
SKalt/Domemtech.Trash
16
939
grammar t4; p : '+=' | '?=' ; p : '+=' | '?=' ; p : '+=' | '?=' ; p : a ( '+=' | '?=' ) ; p : a ( '+=' | '?=' ) ; p : a ( '+=' | '?=' ) ; a : a 'a' a; a : a 'a'? a; a : 'a' b; a : ('a' b)?; a : c 'a' b d; a : e ( 'a' | b) f; a : ( '=>' | '->' )?; d : a b | c; d : (a b | c)?; d : x (a b | c) y; assignment : ( '=>' | '->...
bezout/main.adb
Stykk-Gruppen/math-tools
1
734
with Ada.Text_IO; use ADA.Text_IO; with Ada.Command_Line; use Ada.Command_Line; procedure main is procedure extended_gcd(a : Integer; b : Integer) is old_r : Integer := a; r : Integer := b; old_s : Integer := 1; s : Integer := 0; old_t : Integer := 0; t : Integer := 1; quotient : Integer; temp : Integer; be...
source/debugs.adb
jquorning/CELLE
0
12111
-- -- -- with Ada.Text_IO; with Rules; with Types; with Symbols.IO; package body Debugs is procedure JQ_Dump_Rules (Session : in Sessions.Session_Type; Mode : in Integer) is use Ada.Text_IO; use type Rules.Rule_Symbol_Access; subtype Index_Number is Rules.Index...
library/fmGUI_ManageDatabase/fmGUI_ManageDb_FieldListFocus.applescript
NYHTC/applescript-fm-helper
1
1517
-- fmGUI_ManageDb_FieldListFocus({}) -- <NAME>, NYHTC -- Focus in the list of fields in the "Fields" tab of Manage Database (* HISTORY: 1.1 - 1.0 - created REQUIRES: fmGUI_AppFrontMost fmGUI_ManageDb_GoToTab_Fields *) on run fmGUI_ManageDb_FieldListFocus({}) end run -------------------- -- START OF CODE --...
extern/gnat_sdl/gnat_sdl2/src/sdl_sensor_h.ads
AdaCore/training_material
15
29265
<gh_stars>10-100 pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with SDL_stdinc_h; with Interfaces.C.Strings; package SDL_sensor_h is SDL_STANDARD_GRAVITY : constant := 9.80665; -- ..\SDL2_tmp\SDL_sensor.h:97 -- Simple DirectMedia Layer -- Copyright (C) 1997-2018 <NAME> ...
libsrc/_DEVELOPMENT/target/rc2014/device/acia/acia_init.asm
witchcraft2001/z88dk
2
23161
<filename>libsrc/_DEVELOPMENT/target/rc2014/device/acia/acia_init.asm INCLUDE "config_private.inc" SECTION code_driver EXTERN _acia_reset, aciaControl PUBLIC _acia_init _acia_init: ; initialise the ACIA ld a,__IO_ACIA_CR_RESET ; Master Reset the ACIA out (__IO_ACIA...
SOAS/Variable.agda
JoeyEremondi/agda-soas
0
11039
-- Concrete definition of variables, context maps, and map operations module SOAS.Variable {T : Set} where open import SOAS.Common open import SOAS.Context open import SOAS.Sorting open import SOAS.Families.Core {T} -- Sorted family of variables, as typed, scoped de Bruijn indices data ℐ : Familyₛ where new : {α ...
03_UTIL_timestamp/win64/timestamp64.asm
jacwil/nasm-on-windows
13
14334
[BITS 64] DEFAULT REL GLOBAL _main EXTERN ExitProcess EXTERN GetStdHandle EXTERN WriteFile SECTION .bss sHexstring: resb 16 lHexstring equ $-sHexstring sHexstring_end equ sHexstring+lHexstring-1 SECTION .text _main: ;align stack to 16 bytes for Win64 calls and rsp, -10h ;give ro...
Task/Multiple-distinct-objects/Ada/multiple-distinct-objects-1.ada
LaudateCorpus1/RosettaCodeData
1
24656
<reponame>LaudateCorpus1/RosettaCodeData A : array (1..N) of T;
src/Dodo/Binary/Disjoint.agda
sourcedennis/agda-dodo
0
11860
{-# OPTIONS --without-K --safe #-} module Dodo.Binary.Disjoint where -- Stdlib imports open import Level using (Level; _⊔_) renaming (suc to ℓsuc) open import Data.Empty using (⊥) open import Data.Product using (_,_) open import Relation.Unary using (Pred) open import Relation.Binary using (REL) open import Data.List...
oeis/026/A026008.asm
neoneye/loda-programs
11
28726
<filename>oeis/026/A026008.asm ; A026008: a(n) = T(n, floor(n/2)), where T = Catalan triangle (A008315). ; Submitted by <NAME> ; 1,1,2,3,5,9,14,28,42,90,132,297,429,1001,1430,3432,4862,11934,16796,41990,58786,149226,208012,534888,742900,1931540,2674440,7020405,9694845,25662825,35357670,94287120,129644790,347993910,4776...
HydroModels2/src/interpreter/HydroModels.g4
marcusbfs/HydroModel
0
110
<reponame>marcusbfs/HydroModel grammar HydroModels; // grammar program : variablesStmt inputStmt outputStmt? modelStmt + END EOF ; inputStmt : INPUT LEFT_BRACE varDecl+ RIGHT_BRACE ; varDecl : IDENTIFIER EQUAL expression SEMICOLON ; variablesStmt : VARIABLES LEFT_BRACE ( varassignments SEMICOLON ) + RIGHT_BRACE ; ...
src/Util/HoTT/Equiv/Induction.agda
JLimperg/msc-thesis-code
5
2587
-- This module closely follows a section of <NAME>'s HoTT lecture notes: -- https://www.cs.bham.ac.uk/~mhe/HoTT-UF-in-Agda-Lecture-Notes/HoTT-UF-Agda.html#equivalenceinduction {-# OPTIONS --without-K #-} module Util.HoTT.Equiv.Induction where open import Util.HoTT.HLevel.Core open import Util.HoTT.Equiv open import Ut...
reference/lab1/assembly/examples/linux/array1.asm
Leser2020/6.828
2
15384
; ; file: array1.asm ; This program demonstrates arrays in assembly ; ; To create executable: ; nasm -f coff array1.asm ; gcc -o array1 array1.o array1c.c ; %define ARRAY_SIZE 100 %define NEW_LINE 10 segment .data FirstMsg db "First 10 elements of array", 0 Prompt db "Enter index of element to d...
projects/08/ProgramFlow/FibonacciSeries/FibonacciSeries.asm
WuShaoa/Nand2Tetris
0
161703
@ARG D=M @1 A=D+A D=M @SP A=M M=D @SP M=M+1 @4 D=A @R15 M=D @SP M=M-1 A=M D=M @R15 A=M M=D @0 D=A @SP A=M M=D @SP M=M+1 @THAT D=M @0 D=D+A @R15 M=D @SP M=M-1 A=M D=M @R15 A=M M=D @1 D=A @SP A=M M=D @SP M=M+1 @THAT D=M @1 D=D+A @R15 M=D @SP M=M-1 A=M D=M @R15 A=M M=D @ARG D=M @0 A=D+A D=M @SP A=M M=D @SP M=M+1 @2 D=A @S...
llvm-gcc-4.2-2.9/gcc/ada/s-osprim-vms.ads
vidkidz/crossbridge
1
8292
<reponame>vidkidz/crossbridge ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
Lab5/ask3.asm
mikaelaksil/NTUA-Microprocessors
0
7631
INCLUDE macros.asm CODE SEGMENT ASSUME CS:CODE MAIN PROC FAR START: CALL HEX_KEYB ;Εισαγωγή 1ου ψηφίου CMP AL,'T' ;Ψηφίο = T ? JE FINISH ;Έλεγχος για τερματισμό MOV BL,AL ;Αποθήκευση 1ου ψηφίου ROL BL,4 ; CALL HEX_KEYB ;Εισαγωγή 2ου ψηφίου CMP AL,'T' JE FINISH ...
alloy4fun_models/trashltl/models/18/QS6cySANCTJXecpK9.als
Kaixi26/org.alloytools.alloy
0
3310
<filename>alloy4fun_models/trashltl/models/18/QS6cySANCTJXecpK9.als<gh_stars>0 open main pred idQS6cySANCTJXecpK9_prop19 { all f : Protected | f in Protected until f in Trash } pred __repair { idQS6cySANCTJXecpK9_prop19 } check __repair { idQS6cySANCTJXecpK9_prop19 <=> prop19o }
src/case/jmp.asm
dberkerdem/Assebmler
0
160185
NOP JMP LABEL2 LABEL1: PRINT 'A' LABEL2: PRINT 'B' HALT
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/a-stzhas.adb
JCGobbi/Nucleo-STM32G474RE
0
23153
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sdcc/___schar2h_callee.asm
ahjelm/z88dk
640
169587
SECTION code_fp_math16 PUBLIC ___schar2h_callee PUBLIC _f16_i8_fastcall EXTERN cm16_sdcc___schar2h_callee EXTERN cm16_sdcc___schar2h_fastcall defc ___schar2h_callee = cm16_sdcc___schar2h_callee defc _f16_i8_fastcall = cm16_sdcc___schar2h_fastcall
Transitions/launch_ship.asm
ped7g/EliteNext
9
6290
<reponame>ped7g/EliteNext launchship_page_marker DB "LaunchShipPG65" launchdraw_table DB $7E,$3F, $04,$02, $66 ; purple blue launchdraw_rowsize equ $-launchdraw_table DB $7C,$3E, $08,$04, $66 DB $7A,$3D, $0C,$06, $66 ...
libsrc/math/genmath/dne.asm
andydansby/z88dk-mk2
1
534
<gh_stars>1-10 ; ; Z88dk Generic Floating Point Math Library ; ; TOS >= FA ; ; $Id: dne.asm,v 1.1 2008/07/27 21:44:57 aralbrec Exp $: XLIB dne LIB dcompar LIB f_yes LIB f_no .dne call dcompar jp nz,f_yes jp f_no
oeis/137/A137370.asm
neoneye/loda-programs
11
4622
<filename>oeis/137/A137370.asm<gh_stars>10-100 ; A137370: Brahmagupta matrix in a Markov matrix recursion produces a set of polynomials: the special values of x->Sqrt[z];y->1;t->n gives a set of polynomials as determinants. The triangular sequence of the Coefficients of these polynomials are except for signs A055134. ;...
libsrc/stdio/_fscanf.asm
jpoikela/z88dk
640
168002
<filename>libsrc/stdio/_fscanf.asm<gh_stars>100-1000 MODULE fscanf SECTION code_clib PUBLIC _fscanf EXTERN asm_scanf ; sdcc version ;void fscanf(FILE *fp, char *fmt,...) ;{ ; asm_scanf(fp, sccz80_delta, *ct,ct-1); ;} _fscanf: ld hl,2 add hl,sp ;points to buf push ix ;save callers ld c,(hl) ;fp ...
src/asf-lifecycles-validation.adb
jquorning/ada-asf
12
9260
<reponame>jquorning/ada-asf<gh_stars>10-100 ----------------------------------------------------------------------- -- asf-lifecycles-validation -- Validation phase -- Copyright (C) 2010, 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not...
Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_292_422.asm
ljhsiun2/medusa
9
166929
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0xbb8f, %rbp nop nop xor $44563, %rbx movl $0x61626364, (%rbp) nop nop nop and %r14, %r14 lea addresses_A_ht+0x918f, %rsi lea addresses_normal_ht+0x1...
Cubical/Homotopy/Loopspace.agda
cmester0/cubical
1
2055
<gh_stars>1-10 {-# OPTIONS --cubical --safe #-} module Cubical.Homotopy.Loopspace where open import Cubical.Core.Everything open import Cubical.Data.Nat open import Cubical.Foundations.Prelude open import Cubical.Foundations.Pointed open import Cubical.Foundations.GroupoidLaws {- loop space of a pointed type -} Ω ...
assembly_code/timer.asm
harismuneer/Stop-Watch-Timer-_x86-Assembly
124
84509
[org 0x0100] jmp start ;Orignal Time hrs: dw 0 min: dw 0 s: dw 0 ms: dw 0 ;Lap Time lhrs: dw 0 lmin: dw 0 ls: dw 0 lms: dw 0 oldkb: dd 0 ;For the purpose of saving the old keyboard ISR ;Flags for Modes sMode: db 0 lMode: db 0 ;Flags for other functions startTimer: db 0 snapshot: db 0 lapTime...
tests_resultats/test_geometry.adb
zyron92/banana_tree_generator
0
24528
with Parseur_Temp, Geometry_Helpers, Ada.Text_Io, Ada.Integer_Text_Io; use Parseur_Temp, Geometry_Helpers, Ada.Text_Io, Ada.Integer_Text_Io; procedure Test_Geometry is P1,P2,P3,P4,P5 : Coord_Point; begin P1 := (0.0,0.0); P4 := (-1.0,-1.0); P2 := (0.0,2.0); P3:= (1.0,-1.0); P5 := (1.0,-1.0); P...
src/in_game.asm
Gegel85/RemiFlap
0
24047
<gh_stars>0 game:: di call waitVBLANK reset lcdCtrl ld hl, gameOverText ld de, $9A40 ld bc, 20 call copyMemory ld de, $9A60 ld bc, 20 call copyMemory ld de, $9A80 ld bc, 20 call copyMemory reg bossHpDrainCounterMax, 2 reg VRAMBankSelect, 1 inc a ld [ROMBankSelect], a startGPDMA background, VRAMStart...
src/Implicits/Substitutions/LNMetaType.agda
metaborg/ts.agda
4
5460
<gh_stars>1-10 open import Prelude hiding (lift; Fin′; subst; id) module Implicits.Substitutions.LNMetaType where open import Implicits.Syntax.LNMetaType open import Data.Fin.Substitution open import Data.Star as Star hiding (map) open import Data.Star.Properties module MetaTypeApp {T} (l : Lift T MetaType) where ...
Examples/ch11/WriteColors.asm
satadriver/LiunuxOS_t
0
81050
TITLE Writing Text Colors (WriteColors.asm) ; Demonstration of WriteConsoleOutputCharacter, ; and WriteConsoleOutputAttribute functions. ; Last update: 9/28/01 INCLUDE Irvine32.inc .data outHandle DWORD ? cellsWritten DWORD ? xyPos COORD <10,2> ; Array of character codes: buffer BYTE 1,2,3,4,5,6,7,8,...
puzzle_25/src/puzzle_25.adb
AdaForge/Advent_of_Code_2020
0
29819
<filename>puzzle_25/src/puzzle_25.adb procedure Puzzle_25 is begin null; end Puzzle_25;
day01/tests/day1-test.adb
jwarwick/aoc_2019_ada
0
24213
with AUnit.Assertions; use AUnit.Assertions; package body Day1.Test is procedure Test_Part1 (T : in out AUnit.Test_Cases.Test_Case'Class) is pragma Unreferenced (T); begin Assert (fuel_required(12) = 2, "Wrong fuel 12 => 2"); Assert (fuel_required(14) = 2, "Wrong fuel 14 => 2"); Assert (...
examples/ez-dap/desc.asm
elfmimi/libfx2
0
171004
<reponame>elfmimi/libfx2 .globl _bos_desc, _msos20_desc .area DESC (CODE) VENDOR_MS_OS_20_REQUEST = 0xCC .even _bos_desc: .db 0x05 .db 0x0F _BOS_DESC_SIZE:: .db <(bos_desc_end - _bos_desc) .db >(bos_desc_end - _bos_desc) .db 0x01 .db 0x1C .db 0x10 ....
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_1178.asm
ljhsiun2/medusa
9
90672
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r12 push %r9 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x1d8c5, %rsi lea addresses_WT_ht+0x24b9, %rdi nop and %r9, %r9 mov $107, %rcx rep movsq nop nop nop nop nop xor %rax, %rax lea addresses_D_ht+0xb8c5, ...
tier-1/xcb/source/thin/xcb-xcb_alloc_named_color_reply_t.ads
charlie5/cBound
2
14066
-- This file is generated by SWIG. Please do not modify by hand. -- with Interfaces; with Interfaces.C; with Interfaces.C.Pointers; package xcb.xcb_alloc_named_color_reply_t is -- Item -- type Item is record response_type : aliased Interfaces.Unsigned_8; pad0 : aliased Interfaces.Unsign...
_build/dispatcher/jmp_ippsECCPSetStd128r2_07ee26b6.asm
zyktrcn/ippcp
1
99
<gh_stars>1-10 extern m7_ippsECCPSetStd128r2:function extern n8_ippsECCPSetStd128r2:function extern y8_ippsECCPSetStd128r2:function extern e9_ippsECCPSetStd128r2:function extern l9_ippsECCPSetStd128r2:function extern n0_ippsECCPSetStd128r2:function extern k0_ippsECCPSetStd128r2:function extern ippcpJumpIndexForMergedLi...
src/sys/http/util-http-rest.adb
RREE/ada-util
60
14204
<reponame>RREE/ada-util ----------------------------------------------------------------------- -- util-http-rest -- REST API support -- Copyright (C) 2012, 2013, 2015 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in ...
LaunchBar/Actions/Open In Chrome.scpt
Muffo/dotfiles-1
159
4003
-- -- open currently open URL in Safari in Chrome -- forked from https://gist.github.com/3151932 -- property theURL : "" tell application "Safari" set theURL to URL of current tab of window 1 end tell if appIsRunning("Google Chrome") then tell application "Google Chrome" if (count of (every window where visible is...
programs/oeis/026/A026613.asm
jmorken/loda
1
23381
; A026613: Number of 2's between n-th 3 and (n+1)st 3 in A026600. ; 1,0,2,0,2,0,2,1,1,0,2,0,2,1,1,1,0,1,2,1,1,1,0,2,0,2,1,0,2,0,2,1,1,1,0,1,2,1,1,1,0,2,0,2,1,1,0,2,0,2,0,2,1,0,2,1,1,1,0,2,0,2,1,1,0,2,0,2,0,2,1,1,0,2,0,2,1,1,1,0,2,0,2,0,2,1,1,1,0,1,2,1,1,1,0,2,0,2,1,1,0,2,0,2,0,2,1,0,2,1,1,1,0,2,0,2,1,1,0,2,0,2,0,2,1,1,...
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/ドイツ_PAL/Ger_asm/zel_char0.asm
prismotizm/gigaleak
0
169175
Name: zel_char0.asm Type: file Size: 110186 Last-Modified: '2016-05-13T04:23:03Z' SHA-1: 445B148012A305544DDB6C03E097A352239356A0 Description: null
oeis/247/A247473.asm
neoneye/loda-programs
11
4902
; A247473: Numbers of the form 2^k (k>=0) that are a sum of divisors of n for some n. ; Submitted by <NAME> ; 1,4,8,32,128,256,512,1024,4096,8192,16384,32768,65536,131072,262144,524288,1048576,2097152,4194304,8388608,16777216,33554432,67108864,134217728,268435456,536870912,1073741824,2147483648,4294967296,8589934592,17...
source/tabula-calendar-time_io.adb
ytomino/vampire
1
13413
-- The Village of Vampire by YT, このソースコードはNYSLです with Ada.Calendar.Formatting; package body Tabula.Calendar.Time_IO is function Image (Date : Ada.Calendar.Time) return String is begin return Ada.Calendar.Formatting.Image (Date, Time_Zone => Time_Offset); end Image; function Value (Image : String) return Ada.C...
oeis/174/A174679.asm
neoneye/loda-programs
11
105555
; A174679: a(4n) = n^2. a(4n+1) = (4n-1)^2. a(4n+2) = (2n)^2. a(4n+3) = (4n+1)^2. ; Submitted by <NAME>(s1) ; 0,1,0,1,1,9,4,25,4,49,16,81,9,121,36,169,16,225,64,289,25,361,100,441,36,529,144,625,49,729,196,841,64,961,256,1089,81,1225,324,1369,100,1521,400,1681,121,1849,484,2025,144,2209,576 mov $1,$0 sub $0,3 gcd $1,4...
Student/examples/Correct/Subprograms/Reverse.asm
SoftMoore/CPRL-Kt
6
11078
<reponame>SoftMoore/CPRL-Kt BR L5 L0: PROC 2 LDLADDR 8 GETCH STORE2B LDCB 0 LDCB 0 LDLADDR 8 LOAD2B LDCB 0 LDCB 0 LDCCH 'E' CMP BZ L3 CALL L0 L3: L4: LDLADDR 8 LOAD2B PUTCH RET 0 L5: CALL L0 HALT
programs/oeis/100/A100672.asm
jmorken/loda
1
14097
<reponame>jmorken/loda ; A100672: Second least-significant bit in the binary expansion of the n-th prime. ; 1,1,0,1,1,0,0,1,1,0,1,0,0,1,1,0,1,0,1,1,0,1,1,0,0,0,1,1,0,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,0,1,1,1,1,0,0,1,0,1,0,1,0,1,0,0,1,0,1,1,0,0,1,0,1,0,0,1,1,0,1,1,0,0,0,0,1,0,1,0,1,1,0,0,0,1,1,1,1,1,1,1,0,0,1,0,1,0,1,0,1 c...
Hello-Agda.agda
adithyaselv/Learn-Agda
0
6030
<filename>Hello-Agda.agda {- My first Proof in Agda -} -- define Natural numbers data ℕ : Set where zero : ℕ suc : ℕ → ℕ -- Simply defining 1 one : ℕ one = suc(zero) two : ℕ two = suc(suc(zero)) -- define addition of natural numbers _+_ : ℕ → ℕ → ℕ zero + n = n (suc m) + n = suc (m + n) -- Define equality...
src/05.protection_kernel.asm
myyrakle/os
0
18264
<gh_stars>0 org 0x8000 ; 밑의 :gdtr 레이블을 GDT로 등록 xor ax, ax lgdt [gdtr] ; gdt 로드 명령 cli ; 인터럽트 막음. 전환중에 인터럽트가 걸리면 죽을수도 있음. ; 32비트 보호모드 스위치 mov eax, cr0 or eax, 1 mov cr0, eax ; 파이프라이닝으로 남아있을 수 있는 16비트 크기의 명령어 정리 jmp $+2 nop nop ; 실질적인 로직인 Entry32 부분으로 점프 jmp codeDescriptor:Entry32 ; 32비트 엔트리 [bits 32] Entry32...
problems/UniverseCollapse/UniverseCollapse.agda
danr/agder
1
11886
<filename>problems/UniverseCollapse/UniverseCollapse.agda module UniverseCollapse (down : Set₁ -> Set) (up : Set → Set₁) (iso : ∀ {A} → down (up A) → A) (osi : ∀ {A} → up (down A) → A) where anything : (A : Set) → A anything = {!!}
build/DotnetValidationSingleTarget/Grammar.g4
kaby76/antlr4cs
321
5256
grammar Grammar; compilationUnit : 'text' EOF ; keys : 'keys'; values : 'values'; WS : [ \t\r\n]+ -> skip ;
duel-chat.asm
LeifBloomquist/ArtilleryDuel
1
17750
; duel-chat.asm ; Weather War III Packet Chat routines ; ============================================================== ; Display contents of a chat packet. ; Moved to main game thread. No longer in IRQ. ; ============================================================== SHOWCHATMSG ;First, check for a zero-length ch...
agda/Quicksort/Correctness/Order.agda
bgbianchi/sorting
6
15380
<filename>agda/Quicksort/Correctness/Order.agda {-# OPTIONS --sized-types #-} open import Relation.Binary.Core module Quicksort.Correctness.Order {A : Set} (_≤_ : A → A → Set) (tot≤ : Total _≤_) (trans≤ : Transitive _≤_) where open import Data.List open import Fu...
day01/tests/day1_suite.ads
jwarwick/aoc_2019_ada
0
22540
with AUnit.Test_Suites; use AUnit.Test_Suites; package Day1_Suite is function Suite return Access_Test_Suite; end Day1_Suite;
source/asis/asis-gela-inheritance.adb
faelys/gela-asis
4
26731
<gh_stars>1-10 ------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org ...
programs/oeis/259/A259184.asm
karttu/loda
1
87447
<reponame>karttu/loda ; A259184: a(n) = 1 - sigma(n) + sigma(n)^2. ; 1,7,13,43,31,133,57,211,157,307,133,757,183,553,553,931,307,1483,381,1723,993,1261,553,3541,931,1723,1561,3081,871,5113,993,3907,2257,2863,2257,8191,1407,3541,3081,8011,1723,9121,1893,6973,6007,5113,2257,15253,3193,8557,5113,9507,2863,14281,5113,14281...
devices/devices-disk6061.adb
SMerrony/dgemua
2
23387
<reponame>SMerrony/dgemua<gh_stars>1-10 -- MIT License -- Copyright (c) 2021 <NAME> -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal -- in the Software without restriction, including without limitation the ...
Task/Binary-digits/AppleScript/binary-digits-1.applescript
LaudateCorpus1/RosettaCodeData
1
983
-- showBin :: Int -> String on showBin(n) script binaryChar on |λ|(n) text item (n + 1) of "01" end |λ| end script showIntAtBase(2, binaryChar, n, "") end showBin -- GENERIC FUNCTIONS ---------------------------------------------------------- -- showIntAtBase :: Int -> (Int -> ...
test/Succeed/Issue2487-1.agda
KDr2/agda
0
11834
<filename>test/Succeed/Issue2487-1.agda {-# OPTIONS --safe --cubical-compatible --no-universe-polymorphism --no-sized-types --no-guardedness #-} module Issue2487-1 where import Issue2487.Coinfective
oeis/260/A260484.asm
neoneye/loda-programs
11
93486
<reponame>neoneye/loda-programs ; A260484: Complement of the Beatty sequence for e^(1/Pi) = A179706. ; Submitted by <NAME> ; 3,7,11,14,18,22,25,29,33,36,40,44,47,51,55,58,62,66,69,73,77,80,84,88,91,95,99,102,106,110,113,117,121,124,128,132,135,139,143,146,150,154,157,161,165,168,172,176,179,183,187,190,194,198,201,205,...
src/samples.asm
headkaze/zxnext_dma_sample
0
15138
<filename>src/samples.asm PUBLIC _mothership_start PUBLIC _mothership_end PUBLIC _steam_start PUBLIC _steam_end PUBLIC _explode_start PUBLIC _explode_end PUBLIC _zapzapdii_start PUBLIC _zapzapdii_end PUBLIC _dub1_start PUBLIC _dub1_end PUBLIC _dub2_start PUBLIC _dub2_end PUBLIC _dub3_start PUBLIC _dub3_end PUBLIC _dub4...
tests/src/tests.adb
Fabien-Chouteau/COBS
0
1356
<filename>tests/src/tests.adb with AUnit; use AUnit; with AUnit.Test_Suites; with AUnit.Run; with AUnit.Reporter.Text; with GNAT.OS_Lib; with Ada.Text_IO; with Testsuite.Encode; with Testsuite.Decode; with Testsuite.Encode_Decode; procedure Tests is Failures : Natural := 0; begin for Kind in Testsuite.Encode.E...